Lines Matching refs:udp_table
118 struct udp_table udp_table __read_mostly;
119 EXPORT_SYMBOL(udp_table);
215 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port()
494 int dif, struct udp_table *udptable) in __udp4_lib_lookup()
575 struct udp_table *udptable) in __udp4_lib_lookup_skb()
587 return __udp4_lib_lookup(net, saddr, sport, daddr, dport, dif, &udp_table); in udp4_lib_lookup()
622 void __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
695 __udp4_lib_err(skb, info, &udp_table); in udp_err()
1384 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash()
1413 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash()
1658 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
1672 udp_table.mask; in __udp4_lib_mcast_deliver()
1673 hash2 = udp4_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp4_lib_mcast_deliver()
1675 hslot = &udp_table.hash2[hash2]; in __udp4_lib_mcast_deliver()
1744 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
1872 unsigned int count, slot = udp_hashfn(net, hnum, udp_table.mask); in __udp4_lib_mcast_demux_lookup()
1873 struct udp_hslot *hslot = &udp_table.hash[slot]; in __udp4_lib_mcast_demux_lookup()
1929 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
1930 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2017 return __udp4_lib_rcv(skb, &udp_table, IPPROTO_UDP); in udp_rcv()
2275 .h.udp_table = &udp_table,
2293 for (state->bucket = start; state->bucket <= state->udp_table->mask; in udp_get_first()
2296 struct udp_hslot *hslot = &state->udp_table->hash[state->bucket]; in udp_get_first()
2325 if (state->bucket <= state->udp_table->mask) in udp_get_next()
2326 spin_unlock_bh(&state->udp_table->hash[state->bucket].lock); in udp_get_next()
2367 if (state->bucket <= state->udp_table->mask) in udp_seq_stop()
2368 spin_unlock_bh(&state->udp_table->hash[state->bucket].lock); in udp_seq_stop()
2384 s->udp_table = afinfo->udp_table; in udp_seq_open()
2463 .udp_table = &udp_table,
2514 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
2555 udp_table_init(&udp_table, "UDP"); in udp_init()