Home
last modified time | relevance | path

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

123

/linux/net/ipv6/
A 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()
A 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()
A 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()
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 Dudp.c128 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 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()
A 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()
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 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()
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 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()
/linux/tools/testing/selftests/bpf/progs/
A 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()
A Dbpf_tracing_net.h49 #define sk_v6_daddr __sk_common.skc_v6_daddr macro
A Dbpf_iter_udp6.c58 dest = &inet->sk.sk_v6_daddr; in dump_udp6()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A 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()
A 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()
/linux/include/trace/events/
A Dnet_probe_common.h32 v6->sin6_addr = sk->sk_v6_daddr; \
A Dsock.h183 *pin6 = sk->sk_v6_daddr;
244 *pin6 = sk->sk_v6_daddr;
A Dtcp.h88 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
156 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
/linux/net/dccp/
A 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()
959 sk->sk_v6_daddr.s6_addr32, in dccp_v6_connect()
A Dminisocks.c42 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
/linux/net/smc/
A 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/net/sctp/
A 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/include/net/
A Dinet6_hashtables.h111 ipv6_addr_equal(&(__sk)->sk_v6_daddr, (__saddr)) && \
/linux/drivers/net/ethernet/netronome/nfp/crypto/
A 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/net/ipv4/
A Dinet_hashtables.c50 !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 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/net/rds/
A Dtcp_listen.c142 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()

Completed in 44 milliseconds

123