Lines Matching refs:udp_table
116 struct udp_table udp_table __read_mostly;
117 EXPORT_SYMBOL(udp_table);
230 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port()
447 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup()
478 struct udp_table *udptable) in __udp4_lib_lookup_skb()
494 inet_sdif(skb), &udp_table, NULL); in udp4_lib_lookup_skb()
508 dif, 0, &udp_table, NULL); in udp4_lib_lookup()
585 struct udp_table *udptable, in __udp4_lib_err_encap()
632 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
724 return __udp4_lib_err(skb, info, &udp_table); in udp_err()
1882 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash()
1913 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash()
2141 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
2275 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
2382 unsigned int slot = udp_hashfn(net, hnum, udp_table.mask); in __udp4_lib_mcast_demux_lookup()
2383 struct udp_hslot *hslot = &udp_table.hash[slot]; in __udp4_lib_mcast_demux_lookup()
2413 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
2414 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2498 return __udp4_lib_rcv(skb, &udp_table, IPPROTO_UDP); in udp_rcv()
2795 .h.udp_table = &udp_table,
2814 for (state->bucket = start; state->bucket <= afinfo->udp_table->mask; in udp_get_first()
2816 struct udp_hslot *hslot = &afinfo->udp_table->hash[state->bucket]; in udp_get_first()
2846 if (state->bucket <= afinfo->udp_table->mask) in udp_get_next()
2847 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_get_next()
2891 if (state->bucket <= afinfo->udp_table->mask) in udp_seq_stop()
2892 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_seq_stop()
2944 .udp_table = &udp_table,
2994 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
3056 udp_table_init(&udp_table, "UDP"); in udp_init()