Home
last modified time | relevance | path

Searched refs:udptable (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/ipv4/
Dudp.c230 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port() local
248 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port()
249 last = first + udptable->mask + 1; in udp_lib_get_port()
251 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
255 udptable->log); in udp_lib_get_port()
265 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port()
275 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port()
281 slot2 &= udptable->mask; in udp_lib_get_port()
282 hash2_nulladdr &= udptable->mask; in udp_lib_get_port()
284 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
[all …]
/Linux-v5.4/net/ipv6/
Dudp.c182 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument
191 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
192 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
199 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
201 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
215 struct udp_table *udptable) in __udp6_lib_lookup_skb() argument
221 inet6_sdif(skb), udptable, skb); in __udp6_lib_lookup_skb()
451 struct udp_table *udptable, in __udp6_lib_err_encap() argument
470 inet6_iif(skb), 0, udptable, skb); in __udp6_lib_err_encap()
493 struct udp_table *udptable) in __udp6_lib_err() argument
[all …]