Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dudp.c235 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port() local
254 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port()
255 last = first + udptable->mask + 1; in udp_lib_get_port()
257 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
261 udptable->log); in udp_lib_get_port()
271 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port()
281 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port()
287 slot2 &= udptable->mask; in udp_lib_get_port()
288 hash2_nulladdr &= udptable->mask; in udp_lib_get_port()
290 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
[all …]
/linux-6.1.9/net/ipv6/
Dudp.c210 struct udp_table *udptable, in udp6_lookup_run_bpf() argument
220 if (udptable != &udp_table) in udp6_lookup_run_bpf()
238 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument
247 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
248 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
259 sk = udp6_lookup_run_bpf(net, udptable, skb, in __udp6_lib_lookup()
273 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
274 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
288 struct udp_table *udptable) in __udp6_lib_lookup_skb() argument
294 inet6_sdif(skb), udptable, skb); in __udp6_lib_lookup_skb()
[all …]