/kernel/linux/linux-6.6/net/ipv4/ |
H A D | udp.c | 242 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_get_port() local 261 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port() 262 last = first + udptable->mask + 1; in udp_lib_get_port() 264 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 268 udptable->log); in udp_lib_get_port() 278 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port() 288 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 294 slot2 &= udptable->mask; in udp_lib_get_port() 295 hash2_nulladdr &= udptable->mask; in udp_lib_get_port() 297 hslot2 = udp_hashslot2(udptable, slot in udp_lib_get_port() 472 __udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) __udp4_lib_lookup() argument 523 __udp4_lib_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport, struct udp_table *udptable) __udp4_lib_lookup_skb() argument 638 __udp4_lib_err_encap(struct net *net, const struct iphdr *iph, struct udphdr *uh, struct udp_table *udptable, struct sock *sk, struct sk_buff *skb, u32 info) __udp4_lib_err_encap() argument 700 __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) __udp4_lib_err() argument 1954 struct udp_table *udptable = udp_get_table_prot(sk); udp_lib_unhash() local 1985 struct udp_table *udptable = udp_get_table_prot(sk); udp_lib_rehash() local 2226 __udp4_lib_mcast_deliver(struct net *net, struct sk_buff *skb, struct udphdr *uh, __be32 saddr, __be32 daddr, struct udp_table *udptable, int proto) __udp4_lib_mcast_deliver() argument 2363 __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, int proto) __udp4_lib_rcv() argument 2480 struct udp_table *udptable = net->ipv4.udp_table; __udp4_lib_mcast_demux_lookup() local 2515 struct udp_table *udptable = net->ipv4.udp_table; __udp4_lib_demux_lookup() local 2969 struct udp_table *udptable; udp_get_first() local 2997 struct udp_table *udptable; udp_get_next() local 3050 struct udp_table *udptable; udp_seq_stop() local 3123 struct udp_table *udptable; bpf_iter_udp_batch() local 3439 struct udp_table *udptable; udp_pernet_table_alloc() local 3475 struct udp_table *udptable = net->ipv4.udp_table; udp_pernet_table_free() local 3486 struct udp_table *udptable; udp_set_table() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp.c | 234 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port() local 252 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port() 253 last = first + udptable->mask + 1; in udp_lib_get_port() 255 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 259 udptable->log); in udp_lib_get_port() 269 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port() 279 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 285 slot2 &= udptable->mask; in udp_lib_get_port() 286 hash2_nulladdr &= udptable->mask; in udp_lib_get_port() 288 hslot2 = udp_hashslot2(udptable, slot in udp_lib_get_port() 471 udp4_lookup_run_bpf(struct net *net, struct udp_table *udptable, struct sk_buff *skb, __be32 saddr, __be16 sport, __be32 daddr, u16 hnum) udp4_lookup_run_bpf() argument 497 __udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) __udp4_lib_lookup() argument 546 __udp4_lib_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport, struct udp_table *udptable) __udp4_lib_lookup_skb() argument 665 __udp4_lib_err_encap(struct net *net, const struct iphdr *iph, struct udphdr *uh, struct udp_table *udptable, struct sk_buff *skb, u32 info) __udp4_lib_err_encap() argument 715 __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) __udp4_lib_err() argument 1976 struct udp_table *udptable = sk->sk_prot->h.udp_table; udp_lib_unhash() local 2007 struct udp_table *udptable = sk->sk_prot->h.udp_table; udp_lib_rehash() local 2231 __udp4_lib_mcast_deliver(struct net *net, struct sk_buff *skb, struct udphdr *uh, __be32 saddr, __be32 daddr, struct udp_table *udptable, int proto) __udp4_lib_mcast_deliver() argument 2368 __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, int proto) __udp4_lib_rcv() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | udp.c | 214 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() 223 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 224 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 235 udptable == net->ipv4.udp_table) { in __udp6_lib_lookup() 251 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 252 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 266 struct udp_table *udptable) in __udp6_lib_lookup_skb() 272 inet6_sdif(skb), udptable, skb); in __udp6_lib_lookup_skb() 505 struct udp_table *udptable, in __udp6_lib_err_encap() 536 inet6_iif(skb), 0, udptable, sk in __udp6_lib_err_encap() 211 __udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) __udp6_lib_lookup() argument 264 __udp6_lib_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport, struct udp_table *udptable) __udp6_lib_lookup_skb() argument 502 __udp6_lib_err_encap(struct net *net, const struct ipv6hdr *hdr, int offset, struct udphdr *uh, struct udp_table *udptable, struct sock *sk, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, __be32 info) __udp6_lib_err_encap() argument 557 __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info, struct udp_table *udptable) __udp6_lib_err() argument 832 __udp6_lib_mcast_deliver(struct net *net, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, struct udp_table *udptable, int proto) __udp6_lib_mcast_deliver() argument 929 __udp6_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, int proto) __udp6_lib_rcv() argument 1059 struct udp_table *udptable = net->ipv4.udp_table; __udp6_lib_demux_lookup() local [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | udp.c | 226 int dif, int sdif, struct udp_table *udptable, in __nip_udp_lib_lookup() 236 slot2 = hash2 & udptable->mask; in __nip_udp_lib_lookup() 237 hslot2 = &udptable->hash2[slot2]; in __nip_udp_lib_lookup() 249 slot2 = hash2 & udptable->mask; in __nip_udp_lib_lookup() 250 hslot2 = &udptable->hash2[slot2]; in __nip_udp_lib_lookup() 263 struct udp_table *udptable) in __nip_udp_lib_lookup_skb() 268 0, udptable, skb); in __nip_udp_lib_lookup_skb() 223 __nip_udp_lib_lookup(struct net *net, const struct nip_addr *saddr, __be16 sport, const struct nip_addr *daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) __nip_udp_lib_lookup() argument 261 __nip_udp_lib_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport, struct udp_table *udptable) __nip_udp_lib_lookup_skb() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | udp.c | 215 struct udp_table *udptable, in udp6_lookup_run_bpf() 225 if (udptable != &udp_table) in udp6_lookup_run_bpf() 243 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() 252 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 253 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 264 sk = udp6_lookup_run_bpf(net, udptable, skb, in __udp6_lib_lookup() 278 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 279 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 293 struct udp_table *udptable) in __udp6_lib_lookup_skb() 299 inet6_sdif(skb), udptable, sk in __udp6_lib_lookup_skb() 214 udp6_lookup_run_bpf(struct net *net, struct udp_table *udptable, struct sk_buff *skb, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, u16 hnum) udp6_lookup_run_bpf() argument 240 __udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) __udp6_lib_lookup() argument 291 __udp6_lib_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport, struct udp_table *udptable) __udp6_lib_lookup_skb() argument 526 __udp6_lib_err_encap(struct net *net, const struct ipv6hdr *hdr, int offset, struct udphdr *uh, struct udp_table *udptable, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, __be32 info) __udp6_lib_err_encap() argument 569 __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info, struct udp_table *udptable) __udp6_lib_err() argument 820 __udp6_lib_mcast_deliver(struct net *net, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, struct udp_table *udptable, int proto) __udp6_lib_mcast_deliver() argument 917 __udp6_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, int proto) __udp6_lib_rcv() argument [all...] |