/linux/net/ipv6/ |
A D | inet6_connection_sock.c | 64 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()
|
A D | datagram.c | 48 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()
|
A D | tcp_ipv6.c | 216 !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() 270 fl6.daddr = sk->sk_v6_daddr; in tcp_v6_connect() 321 sk->sk_v6_daddr.s6_addr32, in tcp_v6_connect() 326 sk->sk_v6_daddr.s6_addr32); in tcp_v6_connect() 594 return tcp_v6_md5_do_lookup(sk, &addr_sk->sk_v6_daddr, in tcp_v6_md5_lookup() 738 daddr = &sk->sk_v6_daddr; in tcp_v6_md5_hash_skb() 1340 newsk->sk_v6_daddr = ireq->ir_v6_rmt_addr; in tcp_v6_syn_recv_sock() 1403 key = tcp_v6_md5_do_lookup(sk, &newsk->sk_v6_daddr, l3index); in tcp_v6_syn_recv_sock() 1901 __tcp_v6_send_check(skb, &np->saddr, &sk->sk_v6_daddr); in tcp_v6_send_check() [all …]
|
A D | udp.c | 128 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in compute_score() 129 if (!ipv6_addr_equal(&sk->sk_v6_daddr, saddr)) in compute_score() 637 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in __udpv6_queue_rcv_skb() 789 (!ipv6_addr_any(&sk->sk_v6_daddr) && in __udp_v6_is_mcast_sock() 790 !ipv6_addr_equal(&sk->sk_v6_daddr, rmt_addr)) || in __udp_v6_is_mcast_sock() 1346 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg() 1416 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in udpv6_sendmsg() 1417 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg() 1428 daddr = &sk->sk_v6_daddr; in udpv6_sendmsg()
|
A D | inet6_hashtables.c | 253 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()
|
A D | raw.c | 81 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() 848 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in rawv6_sendmsg() 849 daddr = &sk->sk_v6_daddr; in rawv6_sendmsg() 860 daddr = &sk->sk_v6_daddr; in rawv6_sendmsg()
|
/linux/net/l2tp/ |
A D | l2tp_ip6.c | 63 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() 547 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in l2tp_ip6_sendmsg() 548 daddr = &sk->sk_v6_daddr; in l2tp_ip6_sendmsg() 558 daddr = &sk->sk_v6_daddr; in l2tp_ip6_sendmsg()
|
A D | l2tp_ppp.c | 953 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()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_tcp_estats.c | 77 #define sk_v6_daddr __sk_common.skc_v6_daddr macro 220 sk->sk_v6_daddr.s6_addr32); in tcp_estats_conn_id_init()
|
A D | bpf_tracing_net.h | 49 #define sk_v6_daddr __sk_common.skc_v6_daddr macro
|
A D | bpf_iter_udp6.c | 58 dest = &inet->sk.sk_v6_daddr; in dump_udp6()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | tls.c | 57 &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()
|
A D | fs_tcp.c | 56 &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()
|
/linux/include/trace/events/ |
A D | net_probe_common.h | 32 v6->sin6_addr = sk->sk_v6_daddr; \
|
A D | sock.h | 183 *pin6 = sk->sk_v6_daddr; 244 *pin6 = sk->sk_v6_daddr;
|
A D | tcp.h | 88 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr); 156 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
|
/linux/net/dccp/ |
A D | ipv6.c | 62 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() 959 sk->sk_v6_daddr.s6_addr32, in dccp_v6_connect()
|
A D | minisocks.c | 42 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
|
/linux/net/smc/ |
A D | smc_diag.c | 53 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/net/sctp/ |
A D | ipv6.c | 571 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/include/net/ |
A D | inet6_hashtables.h | 111 ipv6_addr_equal(&(__sk)->sk_v6_daddr, (__saddr)) && \
|
/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
A D | tls.c | 204 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/net/ipv4/ |
A D | inet_hashtables.c | 50 !ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in sk_ehashfn() 53 &sk->sk_v6_daddr, sk->sk_dport); in sk_ehashfn() 545 &sk->sk_v6_daddr, in inet_ehash_lookup_by_sk()
|
A D | tcp_metrics.c | 287 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/net/rds/ |
A D | tcp_listen.c | 142 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()
|