Lines Matching refs:udp_table

119 struct udp_table udp_table __read_mostly;
120 EXPORT_SYMBOL(udp_table);
233 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port()
459 struct udp_table *udptable, in udp4_lookup_run_bpf()
467 if (udptable != &udp_table) in udp4_lookup_run_bpf()
486 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup()
535 struct udp_table *udptable) in __udp4_lib_lookup_skb()
551 inet_sdif(skb), &udp_table, NULL); in udp4_lib_lookup_skb()
564 dif, 0, &udp_table, NULL); in udp4_lib_lookup()
647 struct udp_table *udptable, in __udp4_lib_err_encap()
706 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
799 return __udp4_lib_err(skb, info, &udp_table); in udp_err()
2006 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash()
2037 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash()
2269 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
2403 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
2512 unsigned int slot = udp_hashfn(net, hnum, udp_table.mask); in __udp4_lib_mcast_demux_lookup()
2513 struct udp_hslot *hslot = &udp_table.hash[slot]; in __udp4_lib_mcast_demux_lookup()
2543 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
2544 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2629 return __udp4_lib_rcv(skb, &udp_table, IPPROTO_UDP); in udp_rcv()
2937 .h.udp_table = &udp_table,
2957 for (state->bucket = start; state->bucket <= afinfo->udp_table->mask; in udp_get_first()
2959 struct udp_hslot *hslot = &afinfo->udp_table->hash[state->bucket]; in udp_get_first()
2997 if (state->bucket <= afinfo->udp_table->mask) in udp_get_next()
2998 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_get_next()
3047 if (state->bucket <= afinfo->udp_table->mask) in udp_seq_stop()
3048 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_seq_stop()
3161 .udp_table = &udp_table,
3211 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
3283 afinfo->udp_table = &udp_table; in DEFINE_BPF_ITER_FUNC()
3329 udp_table_init(&udp_table, "UDP"); in udp_init()