Home
last modified time | relevance | path

Searched refs:ipv4_portaddr_hash (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/net/ipv4/
Dinet_hashtables.c186 hash = ipv4_portaddr_hash(sock_net(sk), in inet_lhash2_bucket_sk()
302 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __inet_lookup_listener()
312 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __inet_lookup_listener()
Dudp.c344 ipv4_portaddr_hash(sock_net(sk), htonl(INADDR_ANY), snum); in udp_v4_get_port()
346 ipv4_portaddr_hash(sock_net(sk), inet_sk(sk)->inet_rcv_saddr, 0); in udp_v4_get_port()
454 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
462 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
1950 u16 new_hash = ipv4_portaddr_hash(sock_net(sk), in udp_v4_rehash()
2155 hash2_any = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum) & in __udp4_lib_mcast_deliver()
2157 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2412 unsigned int hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
/Linux-v5.4/include/net/
Dip.h638 static inline u32 ipv4_portaddr_hash(const struct net *net, in ipv4_portaddr_hash() function