Lines Matching refs:udp_table
121 struct udp_table udp_table __read_mostly;
122 EXPORT_SYMBOL(udp_table);
235 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port()
461 struct udp_table *udptable, in udp4_lookup_run_bpf()
469 if (udptable != &udp_table) in udp4_lookup_run_bpf()
488 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup()
537 struct udp_table *udptable) in __udp4_lib_lookup_skb()
553 inet_sdif(skb), &udp_table, NULL); in udp4_lib_lookup_skb()
567 dif, 0, &udp_table, NULL); in udp4_lib_lookup()
650 struct udp_table *udptable, in __udp4_lib_err_encap()
697 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
789 return __udp4_lib_err(skb, info, &udp_table); in udp_err()
1957 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash()
1988 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash()
2215 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
2349 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
2458 unsigned int slot = udp_hashfn(net, hnum, udp_table.mask); in __udp4_lib_mcast_demux_lookup()
2459 struct udp_hslot *hslot = &udp_table.hash[slot]; in __udp4_lib_mcast_demux_lookup()
2489 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
2490 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2574 return __udp4_lib_rcv(skb, &udp_table, IPPROTO_UDP); in udp_rcv()
2876 .h.udp_table = &udp_table,
2896 for (state->bucket = start; state->bucket <= afinfo->udp_table->mask; in udp_get_first()
2898 struct udp_hslot *hslot = &afinfo->udp_table->hash[state->bucket]; in udp_get_first()
2936 if (state->bucket <= afinfo->udp_table->mask) in udp_get_next()
2937 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_get_next()
2986 if (state->bucket <= afinfo->udp_table->mask) in udp_seq_stop()
2987 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_seq_stop()
3100 .udp_table = &udp_table,
3150 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
3222 afinfo->udp_table = &udp_table; in DEFINE_BPF_ITER_FUNC()
3268 udp_table_init(&udp_table, "UDP"); in udp_init()