Searched refs:ipv4_portaddr_hash (Results 1 – 4 of 4) sorted by relevance
/linux/net/ipv4/ |
H A D | inet_hashtables.c | 307 hash = ipv4_portaddr_hash(sock_net(sk), in inet_lhash2_bucket_sk() 447 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __inet_lookup_listener() 457 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __inet_lookup_listener() 872 hash = ipv4_portaddr_hash(net, 0, port); in inet_bhash2_addr_any_hashbucket()
|
H A D | udp.c | 360 ipv4_portaddr_hash(sock_net(sk), htonl(INADDR_ANY), snum); in udp_v4_get_port() 362 ipv4_portaddr_hash(sock_net(sk), inet_sk(sk)->inet_rcv_saddr, 0); in udp_v4_get_port() 646 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup() 680 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup() 2223 u16 new_hash = ipv4_portaddr_hash(sock_net(sk), in udp_v4_rehash() 2448 hash2_any = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum) & in __udp4_lib_mcast_deliver() 2450 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver() 2728 hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
|
/linux/include/net/ |
H A D | inet_hashtables.h | 272 hash = ipv4_portaddr_hash(net, sk->sk_rcv_saddr, port); in inet_bhashfn_portaddr()
|
H A D | ip.h | 698 static inline u32 ipv4_portaddr_hash(const struct net *net, in ipv4_portaddr_hash() function
|