Lines Matching refs:udp_table
117 struct udp_table udp_table __read_mostly;
118 EXPORT_SYMBOL(udp_table);
214 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port()
497 int dif, struct udp_table *udptable) in __udp4_lib_lookup()
578 struct udp_table *udptable) in __udp4_lib_lookup_skb()
590 return __udp4_lib_lookup(net, saddr, sport, daddr, dport, dif, &udp_table); in udp4_lib_lookup()
625 void __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
698 __udp4_lib_err(skb, info, &udp_table); in udp_err()
1395 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash()
1424 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash()
1669 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
1683 udp_table.mask; in __udp4_lib_mcast_deliver()
1684 hash2 = udp4_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp4_lib_mcast_deliver()
1686 hslot = &udp_table.hash2[hash2]; in __udp4_lib_mcast_deliver()
1755 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
1883 unsigned int count, slot = udp_hashfn(net, hnum, udp_table.mask); in __udp4_lib_mcast_demux_lookup()
1884 struct udp_hslot *hslot = &udp_table.hash[slot]; in __udp4_lib_mcast_demux_lookup()
1940 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
1941 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2032 return __udp4_lib_rcv(skb, &udp_table, IPPROTO_UDP); in udp_rcv()
2290 .h.udp_table = &udp_table,
2308 for (state->bucket = start; state->bucket <= state->udp_table->mask; in udp_get_first()
2311 struct udp_hslot *hslot = &state->udp_table->hash[state->bucket]; in udp_get_first()
2340 if (state->bucket <= state->udp_table->mask) in udp_get_next()
2341 spin_unlock_bh(&state->udp_table->hash[state->bucket].lock); in udp_get_next()
2382 if (state->bucket <= state->udp_table->mask) in udp_seq_stop()
2383 spin_unlock_bh(&state->udp_table->hash[state->bucket].lock); in udp_seq_stop()
2399 s->udp_table = afinfo->udp_table; in udp_seq_open()
2478 .udp_table = &udp_table,
2529 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
2570 udp_table_init(&udp_table, "UDP"); in udp_init()