Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c48 fl6->daddr = sk->sk_v6_daddr; in ip6_datagram_flow_key_init()
118 if (ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in ip6_datagram_release_cb()
197 ipv6_addr_set_v4mapped(inet->inet_daddr, &sk->sk_v6_daddr); in __ip6_datagram_connect()
235 old_daddr = sk->sk_v6_daddr; in __ip6_datagram_connect()
239 sk->sk_v6_daddr = *daddr; in __ip6_datagram_connect()
253 sk->sk_v6_daddr = old_daddr; in __ip6_datagram_connect()
1047 dest = &sp->sk_v6_daddr; in __ip6_dgram_sock_seq_show()
Dtcp_ipv6.c216 !ipv6_addr_equal(&sk->sk_v6_daddr, &usin->sin6_addr)) { in tcp_v6_connect()
222 sk->sk_v6_daddr = usin->sin6_addr; in tcp_v6_connect()
272 fl6.daddr = sk->sk_v6_daddr; in tcp_v6_connect()
323 sk->sk_v6_daddr.s6_addr32, in tcp_v6_connect()
328 sk->sk_v6_daddr.s6_addr32); in tcp_v6_connect()
595 return tcp_v6_md5_do_lookup(sk, &addr_sk->sk_v6_daddr, in tcp_v6_md5_lookup()
736 daddr = &sk->sk_v6_daddr; in tcp_v6_md5_hash_skb()
1323 newsk->sk_v6_daddr = ireq->ir_v6_rmt_addr; in tcp_v6_syn_recv_sock()
1386 key = tcp_v6_md5_do_lookup(sk, &newsk->sk_v6_daddr, l3index); in tcp_v6_syn_recv_sock()
1393 tcp_md5_do_add(newsk, (union tcp_md5_addr *)&newsk->sk_v6_daddr, in tcp_v6_syn_recv_sock()
[all …]
Dudp.c127 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in compute_score()
128 if (!ipv6_addr_equal(&sk->sk_v6_daddr, saddr)) in compute_score()
625 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in __udpv6_queue_rcv_skb()
773 (!ipv6_addr_any(&sk->sk_v6_daddr) && in __udp_v6_is_mcast_sock()
774 !ipv6_addr_equal(&sk->sk_v6_daddr, rmt_addr)) || in __udp_v6_is_mcast_sock()
1330 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
1400 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in udpv6_sendmsg()
1401 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
1412 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
Dinet6_hashtables.c253 const struct in6_addr *saddr = &sk->sk_v6_daddr; in __inet6_check_established()
316 sk->sk_v6_daddr.s6_addr32, in inet6_sk_port_offset()
Draw.c81 if (!ipv6_addr_any(&sk->sk_v6_daddr) && in __raw_v6_lookup()
82 !ipv6_addr_equal(&sk->sk_v6_daddr, rmt_addr)) in __raw_v6_lookup()
852 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in rawv6_sendmsg()
853 daddr = &sk->sk_v6_daddr; in rawv6_sendmsg()
864 daddr = &sk->sk_v6_daddr; in rawv6_sendmsg()
/kernel/linux/linux-5.10/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_tracing_net.h39 #define sk_v6_daddr __sk_common.skc_v6_daddr macro
Dbpf_iter_udp6.c59 dest = &inet->sk.sk_v6_daddr; in dump_udp6()
Dbpf_iter_tcp6.c94 dest = &sp->sk_v6_daddr; in dump_tcp6_sock()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip6.c63 const struct in6_addr *sk_raddr = &sk->sk_v6_daddr; in __l2tp_ip6_bind_lookup()
436 lsa->l2tp_addr = sk->sk_v6_daddr; in l2tp_ip6_getname()
548 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in l2tp_ip6_sendmsg()
549 daddr = &sk->sk_v6_daddr; in l2tp_ip6_sendmsg()
559 daddr = &sk->sk_v6_daddr; in l2tp_ip6_sendmsg()
Dl2tp_ppp.c953 memcpy(&sp.pppol2tp.addr.sin6_addr, &tunnel->sock->sk_v6_daddr, in pppol2tp_getname()
954 sizeof(tunnel->sock->sk_v6_daddr)); in pppol2tp_getname()
971 memcpy(&sp.pppol2tp.addr.sin6_addr, &tunnel->sock->sk_v6_daddr, in pppol2tp_getname()
972 sizeof(tunnel->sock->sk_v6_daddr)); in pppol2tp_getname()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c57 &sk->sk_v6_daddr, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in mlx5e_tls_set_ipv6_flow()
82 ipv6_addr_type(&sk->sk_v6_daddr) == IPV6_ADDR_MAPPED) { in mlx5e_tls_set_flow()
Dfs_tcp.c56 &sk->sk_v6_daddr, 16); in accel_fs_tcp_set_ipv6_flow()
106 ipv6_addr_type(&sk->sk_v6_daddr) == IPV6_ADDR_MAPPED) { in mlx5e_accel_fs_add_sk()
/kernel/linux/linux-5.10/include/trace/events/
Dnet_probe_common.h32 v6->sin6_addr = sk->sk_v6_daddr; \
Dtcp.h86 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
151 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
Dsock.h185 *pin6 = sk->sk_v6_daddr;
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c55 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr); in dccp_v6_send_check()
491 newsk->sk_v6_daddr = ireq->ir_v6_rmt_addr; in dccp_v6_request_recv_sock()
873 sk->sk_v6_daddr = usin->sin6_addr; in dccp_v6_connect()
910 fl6.daddr = sk->sk_v6_daddr; in dccp_v6_connect()
949 sk->sk_v6_daddr.s6_addr32, in dccp_v6_connect()
Dminisocks.c42 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
/kernel/linux/linux-5.10/include/net/
Dinet6_hashtables.h116 !ipv6_addr_equal(&sk->sk_v6_daddr, saddr) || in inet6_match()
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c523 sk->sk_v6_daddr.s6_addr32[0] = 0; in sctp_v6_to_sk_daddr()
524 sk->sk_v6_daddr.s6_addr32[1] = 0; in sctp_v6_to_sk_daddr()
525 sk->sk_v6_daddr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v6_to_sk_daddr()
526 sk->sk_v6_daddr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v6_to_sk_daddr()
528 sk->sk_v6_daddr = addr->v6.sin6_addr; in sctp_v6_to_sk_daddr()
/kernel/linux/linux-5.10/net/smc/
Dsmc_diag.c66 memcpy(&r->id.idiag_dst, &smc->clcsock->sk->sk_v6_daddr, in smc_diag_msg_common_fill()
67 sizeof(smc->clcsock->sk->sk_v6_daddr)); in smc_diag_msg_common_fill()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
Dinet_hashtables.c51 !ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in sk_ehashfn()
54 &sk->sk_v6_daddr, sk->sk_dport); in sk_ehashfn()
549 &sk->sk_v6_daddr, in inet_ehash_lookup_by_sk()

12