Home
last modified time | relevance | path

Searched refs:sk_v6_daddr (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.1.9/net/ipv6/
Dinet6_connection_sock.c64 sin6->sin6_addr = sk->sk_v6_daddr; in inet6_csk_addr2sockaddr()
89 fl6->daddr = sk->sk_v6_daddr; in inet6_csk_route_socket()
133 fl6.daddr = sk->sk_v6_daddr; in inet6_csk_xmit()
Ddatagram.c49 fl6->daddr = sk->sk_v6_daddr; in ip6_datagram_flow_key_init()
123 if (ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in ip6_datagram_release_cb()
202 ipv6_addr_set_v4mapped(inet->inet_daddr, &sk->sk_v6_daddr); in __ip6_datagram_connect()
240 old_daddr = sk->sk_v6_daddr; in __ip6_datagram_connect()
244 sk->sk_v6_daddr = *daddr; in __ip6_datagram_connect()
258 sk->sk_v6_daddr = old_daddr; in __ip6_datagram_connect()
1052 dest = &sp->sk_v6_daddr; in __ip6_dgram_sock_seq_show()
Dtcp_ipv6.c217 !ipv6_addr_equal(&sk->sk_v6_daddr, &usin->sin6_addr)) { in tcp_v6_connect()
223 sk->sk_v6_daddr = usin->sin6_addr; in tcp_v6_connect()
273 fl6.daddr = sk->sk_v6_daddr; in tcp_v6_connect()
329 sk->sk_v6_daddr.s6_addr32, in tcp_v6_connect()
333 sk->sk_v6_daddr.s6_addr32); in tcp_v6_connect()
602 return tcp_v6_md5_do_lookup(sk, &addr_sk->sk_v6_daddr, in tcp_v6_md5_lookup()
746 daddr = &sk->sk_v6_daddr; in tcp_v6_md5_hash_skb()
1303 newsk->sk_v6_daddr = ireq->ir_v6_rmt_addr; in tcp_v6_syn_recv_sock()
1366 key = tcp_v6_md5_do_lookup(sk, &newsk->sk_v6_daddr, l3index); in tcp_v6_syn_recv_sock()
1373 tcp_md5_do_add(newsk, (union tcp_md5_addr *)&newsk->sk_v6_daddr, in tcp_v6_syn_recv_sock()
[all …]
Dudp.c143 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in compute_score()
144 if (!ipv6_addr_equal(&sk->sk_v6_daddr, saddr)) in compute_score()
656 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in __udpv6_queue_rcv_skb()
818 (!ipv6_addr_any(&sk->sk_v6_daddr) && in __udp_v6_is_mcast_sock()
819 !ipv6_addr_equal(&sk->sk_v6_daddr, rmt_addr)) || in __udp_v6_is_mcast_sock()
1381 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
1450 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in udpv6_sendmsg()
1451 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
1462 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
Dinet6_hashtables.c250 const struct in6_addr *saddr = &sk->sk_v6_daddr; in __inet6_check_established()
313 sk->sk_v6_daddr.s6_addr32, in inet6_sk_port_offset()
Draw.c73 (!ipv6_addr_any(&sk->sk_v6_daddr) && in raw_v6_match()
74 !ipv6_addr_equal(&sk->sk_v6_daddr, rmt_addr)) || in raw_v6_match()
818 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in rawv6_sendmsg()
819 daddr = &sk->sk_v6_daddr; in rawv6_sendmsg()
830 daddr = &sk->sk_v6_daddr; in rawv6_sendmsg()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c77 #define sk_v6_daddr __sk_common.skc_v6_daddr macro
220 sk->sk_v6_daddr.s6_addr32); in tcp_estats_conn_id_init()
Dbpf_iter_udp6.c58 dest = &inet->sk.sk_v6_daddr; in dump_udp6()
Dbpf_tracing_net.h78 #define sk_v6_daddr __sk_common.skc_v6_daddr macro
Dbpf_iter_tcp6.c93 dest = &sp->sk_v6_daddr; in dump_tcp6_sock()
/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c63 const struct in6_addr *sk_raddr = &sk->sk_v6_daddr; in __l2tp_ip6_bind_lookup()
438 lsa->l2tp_addr = sk->sk_v6_daddr; in l2tp_ip6_getname()
550 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in l2tp_ip6_sendmsg()
551 daddr = &sk->sk_v6_daddr; in l2tp_ip6_sendmsg()
561 daddr = &sk->sk_v6_daddr; in l2tp_ip6_sendmsg()
Dl2tp_ppp.c952 memcpy(&sp.pppol2tp.addr.sin6_addr, &tunnel->sock->sk_v6_daddr, in pppol2tp_getname()
953 sizeof(tunnel->sock->sk_v6_daddr)); in pppol2tp_getname()
970 memcpy(&sp.pppol2tp.addr.sin6_addr, &tunnel->sock->sk_v6_daddr, in pppol2tp_getname()
971 sizeof(tunnel->sock->sk_v6_daddr)); in pppol2tp_getname()
Dl2tp_debugfs.c149 &np->saddr, &tunnel->sock->sk_v6_daddr); in l2tp_dfs_seq_tunnel_show()
/linux-6.1.9/include/trace/events/
Dnet_probe_common.h32 v6->sin6_addr = sk->sk_v6_daddr; \
Dtcp.h88 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
156 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
407 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
Dsock.h185 *pin6 = sk->sk_v6_daddr;
246 *pin6 = sk->sk_v6_daddr;
/linux-6.1.9/net/dccp/
Dipv6.c62 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr); in dccp_v6_send_check()
501 newsk->sk_v6_daddr = ireq->ir_v6_rmt_addr; in dccp_v6_request_recv_sock()
883 sk->sk_v6_daddr = usin->sin6_addr; in dccp_v6_connect()
920 fl6.daddr = sk->sk_v6_daddr; in dccp_v6_connect()
962 sk->sk_v6_daddr.s6_addr32, in dccp_v6_connect()
Dminisocks.c43 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
/linux-6.1.9/net/smc/
Dsmc_diag.c53 memcpy(&r->id.idiag_dst, &smc->clcsock->sk->sk_v6_daddr, in smc_diag_msg_common_fill()
54 sizeof(smc->clcsock->sk->sk_v6_daddr)); in smc_diag_msg_common_fill()
/linux-6.1.9/include/net/
Dinet6_hashtables.h116 !ipv6_addr_equal(&sk->sk_v6_daddr, saddr) || in inet6_match()
/linux-6.1.9/net/sctp/
Dipv6.c571 sk->sk_v6_daddr.s6_addr32[0] = 0; in sctp_v6_to_sk_daddr()
572 sk->sk_v6_daddr.s6_addr32[1] = 0; in sctp_v6_to_sk_daddr()
573 sk->sk_v6_daddr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v6_to_sk_daddr()
574 sk->sk_v6_daddr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v6_to_sk_daddr()
576 sk->sk_v6_daddr = addr->v6.sin6_addr; in sctp_v6_to_sk_daddr()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c56 &sk->sk_v6_daddr, 16); in accel_fs_tcp_set_ipv6_flow()
104 ipv6_addr_type(&sk->sk_v6_daddr) == IPV6_ADDR_MAPPED) { in mlx5e_accel_fs_add_sk()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c204 memcpy(req->src_ip, &sk->sk_v6_daddr, sizeof(req->src_ip)); in nfp_net_tls_set_ipv6()
293 ipv6_addr_type(&sk->sk_v6_daddr) != IPV6_ADDR_MAPPED) { in nfp_net_tls_add()
/linux-6.1.9/net/ipv4/
Dtcp_metrics.c287 if (ipv6_addr_v4mapped(&sk->sk_v6_daddr)) { in tcp_get_metrics()
293 inetpeer_set_addr_v6(&daddr, &sk->sk_v6_daddr); in tcp_get_metrics()
294 hash = ipv6_addr_hash(&sk->sk_v6_daddr); in tcp_get_metrics()
/linux-6.1.9/net/rds/
Dtcp_listen.c145 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()

123