Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv4/
Dudp.c203 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port() local
221 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port()
222 last = first + udptable->mask + 1; in udp_lib_get_port()
224 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
228 saddr_comp, udptable->log); in udp_lib_get_port()
238 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port()
247 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port()
253 slot2 &= udptable->mask; in udp_lib_get_port()
254 hash2_nulladdr &= udptable->mask; in udp_lib_get_port()
256 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
[all …]
/linux-3.4.99/net/ipv6/
Dudp.c244 int dif, struct udp_table *udptable) in __udp6_lib_lookup() argument
249 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp6_lib_lookup()
250 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp6_lib_lookup()
256 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
257 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
266 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
267 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
312 struct udp_table *udptable) in __udp6_lib_lookup_skb() argument
321 udptable); in __udp6_lib_lookup_skb()
464 struct udp_table *udptable) in __udp6_lib_err() argument
[all …]