• Home
  • Raw
  • Download

Lines Matching refs:udptable

235 	struct udp_table *udptable = sk->sk_prot->h.udp_table;  in udp_lib_get_port()  local
253 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port()
254 last = first + udptable->mask + 1; in udp_lib_get_port()
256 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
260 udptable->log); in udp_lib_get_port()
270 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port()
280 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port()
286 slot2 &= udptable->mask; in udp_lib_get_port()
287 hash2_nulladdr &= udptable->mask; in udp_lib_get_port()
289 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
295 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port()
325 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_get_port()
471 struct udp_table *udptable, in udp4_lookup_run_bpf() argument
479 if (udptable != &udp_table) in udp4_lookup_run_bpf()
498 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup() argument
506 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
507 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
518 sk = udp4_lookup_run_bpf(net, udptable, skb, in __udp4_lib_lookup()
532 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
533 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
547 struct udp_table *udptable) in __udp4_lib_lookup_skb() argument
553 inet_sdif(skb), udptable, skb); in __udp4_lib_lookup_skb()
660 struct udp_table *udptable, in __udp4_lib_err_encap() argument
677 udptable, NULL); in __udp4_lib_err_encap()
707 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err() argument
722 inet_sdif(skb), udptable, NULL); in __udp4_lib_err()
727 sk = __udp4_lib_err_encap(net, iph, uh, udptable, skb, in __udp4_lib_err()
1970 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash() local
1973 hslot = udp_hashslot(udptable, sock_net(sk), in udp_lib_unhash()
1975 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_unhash()
2001 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash() local
2004 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_rehash()
2005 nhslot2 = udp_hashslot2(udptable, newhash); in udp_lib_rehash()
2010 hslot = udp_hashslot(udptable, sock_net(sk), in udp_lib_rehash()
2228 struct udp_table *udptable, in __udp4_lib_mcast_deliver() argument
2233 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp4_lib_mcast_deliver()
2243 udptable->mask; in __udp4_lib_mcast_deliver()
2244 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2246 hslot = &udptable->hash2[hash2]; in __udp4_lib_mcast_deliver()
2362 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv() argument
2413 saddr, daddr, udptable, proto); in __udp4_lib_rcv()
2415 sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable); in __udp4_lib_rcv()