Home
last modified time | relevance | path

Searched refs:sk_rcv_saddr (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/net/ipv4/
Dinet_connection_sock.c98 sk->sk_rcv_saddr, in inet_rcv_saddr_equal()
99 sk2->sk_rcv_saddr, in inet_rcv_saddr_equal()
105 return ipv4_rcv_saddr_equal(sk->sk_rcv_saddr, sk2->sk_rcv_saddr, in inet_rcv_saddr_equal()
117 return !sk->sk_rcv_saddr; in inet_rcv_saddr_any()
164 return sk->sk_rcv_saddr != htonl(INADDR_ANY); in inet_use_bhash2_on_bind()
444 sk->sk_rcv_saddr, in sk_reuseport_match()
448 return ipv4_rcv_saddr_equal(tb->fast_rcv_saddr, sk->sk_rcv_saddr, in sk_reuseport_match()
463 tb->fast_rcv_saddr = sk->sk_rcv_saddr; in inet_csk_update_fastreuse()
490 tb->fast_rcv_saddr = sk->sk_rcv_saddr; in inet_csk_update_fastreuse()
Dinet_hashtables.c57 sk->sk_rcv_saddr, sk->sk_num, in sk_ehashfn()
118 tb->rcv_saddr = sk->sk_rcv_saddr; in inet_bind2_bucket_init()
155 tb2->v6_rcv_saddr.s6_addr32[3] == sk->sk_rcv_saddr; in inet_bind2_bucket_addr_match()
165 return tb2->rcv_saddr == sk->sk_rcv_saddr; in inet_bind2_bucket_addr_match()
327 if (sk->sk_rcv_saddr != daddr) in compute_score()
631 INET_ADDR_COOKIE(acookie, sk->sk_daddr, sk->sk_rcv_saddr); in inet_ehash_lookup_by_sk()
Dfou_core.c503 if (sk->sk_rcv_saddr != udp_cfg->local_ip.s_addr || in fou_cfg_cmp()
779 if (nla_put_in_addr(msg, FOU_ATTR_LOCAL_V4, sk->sk_rcv_saddr)) in fou_fill_info()
Dinet_diag.c94 r->id.idiag_src[0] = sk->sk_rcv_saddr; in inet_diag_msg_common_fill()
782 entry->saddr = &sk->sk_rcv_saddr; in entry_fill_addrs()
Dtcp_ipv4.c1447 saddr = sk->sk_rcv_saddr; in tcp_v4_md5_hash_skb()
Dudp.c380 if (sk->sk_rcv_saddr != daddr) in compute_score()
Dtcp_input.c6895 proto, &sk->sk_rcv_saddr, in tcp_syn_flood_action()
/linux-6.6.21/include/net/
Dinet_hashtables.h277 hash = ipv4_portaddr_hash(net, sk->sk_rcv_saddr, port); in inet_bhashfn_portaddr()
527 sk->sk_rcv_saddr = addr; /* alias of inet_rcv_saddr */ in sk_rcv_saddr_set()
Dsock.h379 #define sk_rcv_saddr __sk_common.skc_rcv_saddr macro
/linux-6.6.21/net/smc/
Dsmc_diag.c47 r->id.idiag_src[0] = smc->clcsock->sk->sk_rcv_saddr; in smc_diag_msg_common_fill()
Daf_smc.c1120 ini->smcrv2.saddr = smc->clcsock->sk->sk_rcv_saddr; in smc_find_proposal_devices()
1218 if (smc_ib_find_route(net, smc->clcsock->sk->sk_rcv_saddr, in smc_connect_rdma_v2_prepare()
2271 ini->smcrv2.saddr = new_smc->clcsock->sk->sk_rcv_saddr; in smc_find_rdma_v2_device_serv()
/linux-6.6.21/net/bpf/
Dtest_run.c1022 sk->sk_rcv_saddr = ip_hdr(skb)->saddr; in bpf_prog_test_run_skb()