Home
last modified time | relevance | path

Searched refs:sk_v6_rcv_saddr (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c78 #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr macro
219 sk->sk_v6_rcv_saddr.s6_addr32, in tcp_estats_conn_id_init()
Dbpf_tracing_net.h40 #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr macro
Dbpf_iter_udp6.c60 src = &inet->sk.sk_v6_rcv_saddr; in dump_udp6()
Dbpf_iter_tcp6.c95 src = &sp->sk_v6_rcv_saddr; in dump_tcp6_sock()
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c502 addr->v6.sin6_addr = sk->sk_v6_rcv_saddr; in sctp_v6_from_sk()
509 sk->sk_v6_rcv_saddr.s6_addr32[0] = 0; in sctp_v6_to_sk_saddr()
510 sk->sk_v6_rcv_saddr.s6_addr32[1] = 0; in sctp_v6_to_sk_saddr()
511 sk->sk_v6_rcv_saddr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v6_to_sk_saddr()
512 sk->sk_v6_rcv_saddr.s6_addr32[3] = in sctp_v6_to_sk_saddr()
515 sk->sk_v6_rcv_saddr = addr->v6.sin6_addr; in sctp_v6_to_sk_saddr()
752 newsk->sk_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in sctp_v6_create_accept_sk()
/kernel/linux/linux-5.10/net/ipv6/
Dinet6_hashtables.c103 if (!ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr)) in compute_score()
252 const struct in6_addr *daddr = &sk->sk_v6_rcv_saddr; in __inet6_check_established()
315 return secure_ipv6_port_ephemeral(sk->sk_v6_rcv_saddr.s6_addr32, in inet6_sk_port_offset()
Ddatagram.c99 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr)) { in ip6_datagram_dst_update()
100 sk->sk_v6_rcv_saddr = fl6.saddr; in ip6_datagram_dst_update()
167 if (ipv6_addr_v4mapped(&sk->sk_v6_rcv_saddr)) in __ip6_datagram_connect()
203 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr) || in __ip6_datagram_connect()
204 ipv6_mapped_addr_any(&sk->sk_v6_rcv_saddr)) { in __ip6_datagram_connect()
206 &sk->sk_v6_rcv_saddr); in __ip6_datagram_connect()
1048 src = &sp->sk_v6_rcv_saddr; in __ip6_dgram_sock_seq_show()
Dtcp_ipv6.c186 if (ipv6_addr_v4mapped(&sk->sk_v6_rcv_saddr)) in tcp_v6_connect()
263 np->saddr = sk->sk_v6_rcv_saddr; in tcp_v6_connect()
268 if (!ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in tcp_v6_connect()
269 saddr = &sk->sk_v6_rcv_saddr; in tcp_v6_connect()
293 sk->sk_v6_rcv_saddr = *saddr; in tcp_v6_connect()
735 saddr = &sk->sk_v6_rcv_saddr; in tcp_v6_md5_hash_skb()
1254 newnp->saddr = newsk->sk_v6_rcv_saddr; in tcp_v6_syn_recv_sock()
1325 newsk->sk_v6_rcv_saddr = ireq->ir_v6_loc_addr; in tcp_v6_syn_recv_sock()
1998 src = &sp->sk_v6_rcv_saddr; in get_tcp6_sock()
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c432 newnp->saddr = newsk->sk_v6_rcv_saddr; in dccp_v6_request_recv_sock()
493 newsk->sk_v6_rcv_saddr = ireq->ir_v6_loc_addr; in dccp_v6_request_recv_sock()
902 np->saddr = sk->sk_v6_rcv_saddr; in dccp_v6_connect()
906 if (!ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in dccp_v6_connect()
907 saddr = &sk->sk_v6_rcv_saddr; in dccp_v6_connect()
928 sk->sk_v6_rcv_saddr = *saddr; in dccp_v6_connect()
Dminisocks.c43 tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in dccp_time_wait()
/kernel/linux/linux-5.10/include/trace/events/
Dtcp.h86 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
151 sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
Dsock.h183 *pin6 = sk->sk_v6_rcv_saddr;
/kernel/linux/linux-5.10/include/net/
Dinet6_hashtables.h117 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr)) in inet6_match()
/kernel/linux/linux-5.10/net/ipv4/
Dping.c217 &sk->sk_v6_rcv_saddr, in ping_lookup()
220 if (!ipv6_addr_any(&sk->sk_v6_rcv_saddr) && in ping_lookup()
221 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, in ping_lookup()
400 sk->sk_v6_rcv_saddr = np->saddr = addr->sin6_addr; in ping_set_saddr()
444 if (sk->sk_family == AF_INET6 && !ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in ping_bind()
Dinet_connection_sock.c96 return ipv6_rcv_saddr_equal(&sk->sk_v6_rcv_saddr, in inet_rcv_saddr_equal()
116 return ipv6_addr_any(&sk->sk_v6_rcv_saddr); in inet_rcv_saddr_any()
319 tb->fast_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in inet_csk_update_fastreuse()
346 tb->fast_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in inet_csk_update_fastreuse()
Dinet_hashtables.c53 &sk->sk_v6_rcv_saddr, sk->sk_num, in sk_ehashfn()
195 &sk->sk_v6_rcv_saddr, in inet_lhash2_bucket_sk()
550 &sk->sk_v6_rcv_saddr, in inet_ehash_lookup_by_sk()
/kernel/linux/linux-5.10/net/smc/
Dsmc_diag.c64 memcpy(&r->id.idiag_src, &smc->clcsock->sk->sk_v6_rcv_saddr, in smc_diag_msg_common_fill()
65 sizeof(smc->clcsock->sk->sk_v6_rcv_saddr)); in smc_diag_msg_common_fill()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c125 int wildcard = ipv6_addr_any(&sk->sk_v6_rcv_saddr); in nf_tproxy_get_sock_v6()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip6.c341 sk->sk_v6_rcv_saddr = addr->l2tp_addr; in l2tp_ip6_bind()
440 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in l2tp_ip6_getname()
443 lsa->l2tp_addr = sk->sk_v6_rcv_saddr; in l2tp_ip6_getname()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c112 addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr); in chtls_find_netdev()
118 &sk->sk_v6_rcv_saddr, temp, 1)) { in chtls_find_netdev()
696 addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr); in chtls_listen_start()
699 &sk->sk_v6_rcv_saddr, 1); in chtls_listen_start()
705 &sk->sk_v6_rcv_saddr, in chtls_listen_start()
718 cxgb4_clip_release(ndev, (const u32 *)&sk->sk_v6_rcv_saddr, 1); in chtls_listen_start()
751 &sk->sk_v6_rcv_saddr); in chtls_listen_stop()
754 &sk->sk_v6_rcv_saddr, 1); in chtls_listen_stop()
1204 newsk->sk_v6_rcv_saddr = treq->ir_v6_loc_addr; in chtls_recv_sock()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_socket.c27 nft_reg_store8(dest, ipv6_addr_any(&sk->sk_v6_rcv_saddr)); in nft_socket_wildcard()
Dxt_socket.c131 ipv6_addr_any(&sk->sk_v6_rcv_saddr)); in socket_mt6_v1_v2_v3()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c257 cpl->local_ip_hi = *(__be64 *)&sk->sk_v6_rcv_saddr.in6_u.u6_addr8[0]; in chcr_ktls_act_open_req6()
258 cpl->local_ip_lo = *(__be64 *)&sk->sk_v6_rcv_saddr.in6_u.u6_addr8[8]; in chcr_ktls_act_open_req6()
298 &sk->sk_v6_rcv_saddr, in chcr_setup_connection()
318 &sk->sk_v6_rcv_saddr, in chcr_setup_connection()
390 &tx_info->sk->sk_v6_rcv_saddr, in chcr_ktls_dev_del()
584 &sk->sk_v6_rcv_saddr, in chcr_ktls_dev_add()
2178 &tx_info->sk->sk_v6_rcv_saddr, in clear_conn_resources()
/kernel/linux/linux-5.10/include/linux/
Dipv6.h344 return &sk->sk_v6_rcv_saddr; in inet6_rcv_saddr()
/kernel/linux/linux-5.10/net/rds/
Dtcp_listen.c141 my_addr = &new_sock->sk->sk_v6_rcv_saddr; in rds_tcp_accept_one()

12