/kernel/linux/linux-5.10/include/net/ |
H A D | inet6_hashtables.h | 49 const int sdif); 58 const int dif, const int sdif); 67 const int dif, const int sdif, in __inet6_lookup() 72 dif, sdif); in __inet6_lookup() 78 daddr, hnum, dif, sdif); in __inet6_lookup() 85 int iif, int sdif, in __inet6_lookup_skb() 96 iif, sdif, refcounted); in __inet6_lookup_skb() 111 const int dif, const int sdif) in inet6_match() 122 sdif); in inet6_match() 60 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument 81 __inet6_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, int iif, int sdif, bool *refcounted) __inet6_lookup_skb() argument 107 inet6_match(struct net *net, const struct sock *sk, const struct in6_addr *saddr, const struct in6_addr *daddr, const __portpair ports, const int dif, const int sdif) inet6_match() argument
|
H A D | inet_hashtables.h | 252 const int dif, const int sdif); 258 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() 261 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 295 int dif, int sdif) in INET_MATCH() 304 sdif); in INET_MATCH() 314 const int dif, const int sdif); 331 const int dif, const int sdif, in __inet_lookup() 338 daddr, hnum, dif, sdif); in __inet_lookup() 344 sport, daddr, hnum, dif, sdif); in __inet_lookup() 370 const int sdif, in __inet_lookup_skb() 254 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) inet_lookup_listener() argument 293 INET_MATCH(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) INET_MATCH() argument 326 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 365 __inet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, const int sdif, bool *refcounted) __inet_lookup_skb() argument [all...] |
H A D | raw.h | 25 __be32 laddr, int dif, int sdif); 75 int dif, int sdif) in raw_sk_bound_dev_eq() 79 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 81 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 74 raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) raw_sk_bound_dev_eq() argument
|
H A D | inet_sock.h | 145 int dif, int sdif) in inet_bound_dev_eq() 148 return !sdif || l3mdev_accept; in inet_bound_dev_eq() 149 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 153 int dif, int sdif) in inet_sk_bound_dev_eq() 157 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 159 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 144 inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, int dif, int sdif) inet_bound_dev_eq() argument 152 inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) inet_sk_bound_dev_eq() argument
|
H A D | udp.h | 260 int dif, int sdif) in udp_sk_bound_dev_eq() 264 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 266 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 315 __be32 daddr, __be16 dport, int dif, int sdif, 326 int dif, int sdif, struct udp_table *tbl, 259 udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) udp_sk_bound_dev_eq() argument
|
H A D | rawv6.h | 10 const struct in6_addr *rmt_addr, int dif, int sdif);
|
/kernel/linux/linux-6.6/include/net/ |
H A D | inet6_hashtables.h | 49 const int sdif); 74 const int dif, const int sdif); 92 const int dif, const int sdif, in __inet6_lookup() 97 dif, sdif); in __inet6_lookup() 103 daddr, hnum, dif, sdif); in __inet6_lookup() 150 int iif, int sdif, in __inet6_lookup_skb() 167 iif, sdif, refcounted); in __inet6_lookup_skb() 182 const int dif, const int sdif) in inet6_match() 193 sdif); in inet6_match() 85 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument 146 __inet6_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, int iif, int sdif, bool *refcounted) __inet6_lookup_skb() argument 178 inet6_match(struct net *net, const struct sock *sk, const struct in6_addr *saddr, const struct in6_addr *daddr, const __portpair ports, const int dif, const int sdif) inet6_match() argument
|
H A D | raw.h | 26 __be32 raddr, __be32 laddr, int dif, int sdif); 89 int dif, int sdif) in raw_sk_bound_dev_eq() 93 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 95 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 88 raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) raw_sk_bound_dev_eq() argument
|
H A D | inet_hashtables.h | 318 const int dif, const int sdif); 324 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() 327 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 361 int dif, int sdif) in inet_match() 370 sdif); in inet_match() 380 const int dif, const int sdif); 418 const int dif, const int sdif, in __inet_lookup() 425 daddr, hnum, dif, sdif); in __inet_lookup() 431 sport, daddr, hnum, dif, sdif); in __inet_lookup() 497 const int sdif, in __inet_lookup_skb() 320 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) inet_lookup_listener() argument 359 inet_match(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) inet_match() argument 413 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 492 __inet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, const int sdif, bool *refcounted) __inet_lookup_skb() argument [all...] |
H A D | inet_sock.h | 146 int dif, int sdif) in inet_bound_dev_eq() 149 return !sdif || l3mdev_accept; in inet_bound_dev_eq() 150 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 154 int dif, int sdif) in inet_sk_bound_dev_eq() 158 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 160 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 145 inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, int dif, int sdif) inet_bound_dev_eq() argument 153 inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) inet_sk_bound_dev_eq() argument
|
H A D | gro.h | 461 static inline void inet_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) in inet_get_iif_sdif() argument 464 *sdif = 0; in inet_get_iif_sdif() 470 *sdif = *iif; in inet_get_iif_sdif() 482 static inline void inet6_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) in inet6_get_iif_sdif() argument 486 *sdif = 0; in inet6_get_iif_sdif() 492 *sdif = *iif; in inet6_get_iif_sdif()
|
H A D | udp.h | 249 int dif, int sdif) in udp_sk_bound_dev_eq() 253 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 255 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 302 __be32 daddr, __be16 dport, int dif, int sdif, 313 int dif, int sdif, struct udp_table *tbl, 248 udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) udp_sk_bound_dev_eq() argument
|
H A D | rawv6.h | 11 const struct in6_addr *rmt_addr, int dif, int sdif);
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | input.c | 54 int dif, int sdif); 59 int dif, int sdif); 65 int dif, int sdif); 102 int dif, sdif; in sctp_rcv() local 148 sdif = af->skb_sdif(skb); in sctp_rcv() 165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv() 168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); in sctp_rcv() 473 int sdif = inet_sdif(skb); in sctp_err_lookup() local 490 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport, dif, sdif); in sctp_err_lookup() 841 int dif, int sdif) in __sctp_rcv_lookup_endpoint() 837 __sctp_rcv_lookup_endpoint( struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) __sctp_rcv_lookup_endpoint() argument 981 sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) sctp_sk_bound_dev_eq() argument 992 sctp_addrs_lookup_transport( struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) sctp_addrs_lookup_transport() argument 1049 __sctp_lookup_association( struct net *net, const union sctp_addr *local, const union sctp_addr *peer, struct sctp_transport **pt, int dif, int sdif) __sctp_lookup_association() argument 1072 sctp_lookup_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, struct sctp_transport **transportp, int dif, int sdif) sctp_lookup_association() argument 1088 sctp_has_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) sctp_has_association() argument 1121 __sctp_rcv_init_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_init_lookup() argument 1185 __sctp_rcv_asconf_lookup( struct net *net, struct sctp_chunkhdr *ch, const union sctp_addr *laddr, __be16 peer_port, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_asconf_lookup() argument 1224 __sctp_rcv_walk_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_walk_lookup() argument 1293 __sctp_rcv_lookup_harder(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_lookup_harder() argument 1327 __sctp_rcv_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *paddr, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_lookup() argument [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() 74 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 79 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 97 const int dif, const int sdif) in compute_score() 106 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 139 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() 147 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 192 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() 211 dif, sdif); in inet6_lookup_listener() 221 dif, sdif); in inet6_lookup_listener() 51 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) __inet6_lookup_established() argument 94 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) compute_score() argument 134 inet6_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lhash2_lookup() argument 187 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lookup_listener() argument 256 const int sdif = l3mdev_master_ifindex_by_index(net, dif); __inet6_check_established() local [all...] |
H A D | ip6_input.c | 393 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local 409 if (sdif) { in ip6_protocol_deliver_rcu() 410 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu() 485 int sdif = inet6_sdif(skb); in ip6_mc_input() local 495 if (sdif) { in ip6_mc_input() 497 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input() 509 if (sdif) in ip6_mc_input()
|
H A D | udp.c | 117 int dif, int sdif) in compute_score() 146 dev_match = udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif); in compute_score() 180 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() 190 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 208 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 243 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() 257 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 282 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 785 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() 797 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif) || in __udp_v6_is_mcast_sock() 114 compute_score(struct sock *sk, struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned short hnum, int dif, int sdif) compute_score() argument 177 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) udp6_lib_lookup2() 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 782 __udp_v6_is_mcast_sock(struct net *net, struct sock *sk, __be16 loc_port, const struct in6_addr *loc_addr, __be16 rmt_port, const struct in6_addr *rmt_addr, int dif, int sdif, unsigned short hnum) __udp_v6_is_mcast_sock() argument 831 int sdif = inet6_sdif(skb); __udp6_lib_mcast_deliver() local 1030 __udp6_lib_demux_lookup(struct net *net, __be16 loc_port, const struct in6_addr *loc_addr, __be16 rmt_port, const struct in6_addr *rmt_addr, int dif, int sdif) __udp6_lib_demux_lookup() argument 1059 int sdif = inet6_sdif(skb); udp_v6_early_demux() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | inet6_hashtables.c | 56 const int dif, const int sdif) in __inet6_lookup_established() 73 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 78 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 96 const int dif, const int sdif) in compute_score() 105 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 156 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() 163 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 208 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() 229 dif, sdif); in inet6_lookup_listener() 239 dif, sdif); in inet6_lookup_listener() 50 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) __inet6_lookup_established() argument 93 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) compute_score() argument 151 inet6_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lhash2_lookup() argument 203 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lookup_listener() argument 274 const int sdif = l3mdev_master_ifindex_by_index(net, dif); __inet6_check_established() local [all...] |
H A D | ip6_input.c | 402 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local 414 if (sdif) { in ip6_protocol_deliver_rcu() 415 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu() 500 int sdif = inet6_sdif(skb); in ip6_mc_input() local 510 if (sdif) { in ip6_mc_input() 512 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input() 524 if (sdif) in ip6_mc_input()
|
H A D | udp.c | 123 int dif, int sdif) in compute_score() 153 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score() 169 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() 179 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 204 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 214 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() 228 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 255 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 280 int iif, sdif; in udp6_lib_lookup_skb() local 282 inet6_get_iif_sdif(skb, &iif, &sdif); in udp6_lib_lookup_skb() 120 compute_score(struct sock *sk, struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned short hnum, int dif, int sdif) compute_score() argument 166 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) udp6_lib_lookup2() argument 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 794 __udp_v6_is_mcast_sock(struct net *net, const struct sock *sk, __be16 loc_port, const struct in6_addr *loc_addr, __be16 rmt_port, const struct in6_addr *rmt_addr, int dif, int sdif, unsigned short hnum) __udp_v6_is_mcast_sock() argument 843 int sdif = inet6_sdif(skb); __udp6_lib_mcast_deliver() local 1054 __udp6_lib_demux_lookup(struct net *net, __be16 loc_port, const struct in6_addr *loc_addr, __be16 rmt_port, const struct in6_addr *rmt_addr, int dif, int sdif) __udp6_lib_demux_lookup() argument 1088 int sdif = inet6_sdif(skb); udp_v6_early_demux() local [all...] |
H A D | udp_offload.c | 121 int iif, sdif; in udp6_gro_lookup_skb() local 123 inet6_get_iif_sdif(skb, &iif, &sdif); in udp6_gro_lookup_skb() 127 sdif, net->ipv4.udp_table, NULL); in udp6_gro_lookup_skb()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | inet_hashtables.c | 243 const int dif, const int sdif) in compute_score() 252 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 292 const int dif, const int sdif) in inet_lhash2_lookup() 300 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 343 const int dif, const int sdif) in __inet_lookup_listener() 362 dif, sdif); in __inet_lookup_listener() 372 dif, sdif); in __inet_lookup_listener() 405 const int dif, const int sdif) in __inet_lookup_established() 422 if (likely(INET_MATCH(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 426 ports, dif, sdif))) { in __inet_lookup_established() 241 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const __be32 daddr, const int dif, const int sdif) compute_score() argument 287 inet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) inet_lhash2_lookup() argument 338 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) __inet_lookup_listener() argument 401 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif, const int sdif) __inet_lookup_established() argument 458 int sdif = l3mdev_master_ifindex_by_index(net, dif); __inet_check_established() local 529 const int sdif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | ninet_hashtables.c | 349 const int dif, int sdif) in nip_tcp_compute_score() 361 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in nip_tcp_compute_score() 377 const int dif, const int sdif) in ninet_lhash2_lookup() 391 score = nip_tcp_compute_score(sk, net, hnum, daddr, dif, sdif); in ninet_lhash2_lookup() 417 const unsigned short hnum, const int dif, const int sdif) in ninet_lookup_listener() 427 dif, sdif); in ninet_lookup_listener() 436 dif, sdif); in ninet_lookup_listener() 346 nip_tcp_compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct nip_addr *daddr, const int dif, int sdif) nip_tcp_compute_score() argument 372 ninet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct nip_addr *saddr, __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lhash2_lookup() argument 412 ninet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lookup_listener() argument
|
H A D | udp.c | 146 int dif, int sdif) in nip_udp_compute_score() 186 bool dev_match = dif == sk->sk_bound_dev_if || sdif == sk->sk_bound_dev_if; in nip_udp_compute_score() 203 int dif, int sdif, in nip_udp_lib_lookup2() 212 int score = nip_udp_compute_score(sk, net, saddr, sport, daddr, hnum, dif, sdif); in nip_udp_lib_lookup2() 226 int dif, int sdif, struct udp_table *udptable, in __nip_udp_lib_lookup() 241 daddr, hnum, dif, sdif, in __nip_udp_lib_lookup() 253 &nip_any_addr, hnum, dif, sdif, in __nip_udp_lib_lookup() 143 nip_udp_compute_score(struct sock *sk, struct net *net, const struct nip_addr *saddr, __be16 sport, const struct nip_addr *daddr, unsigned short hnum, int dif, int sdif) nip_udp_compute_score() argument 198 nip_udp_lib_lookup2(struct net *net, const struct nip_addr *saddr, u_short sport, const struct nip_addr *daddr, unsigned short hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) nip_udp_lib_lookup2() argument 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
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_hashtables.c | 321 const int dif, const int sdif) in compute_score() 330 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 388 const int dif, const int sdif) in inet_lhash2_lookup() 395 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 437 const int dif, const int sdif) in __inet_lookup_listener() 458 dif, sdif); in __inet_lookup_listener() 468 dif, sdif); in __inet_lookup_listener() 501 const int dif, const int sdif) in __inet_lookup_established() 518 if (likely(inet_match(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 522 ports, dif, sdif))) { in __inet_lookup_established() 319 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const __be32 daddr, const int dif, const int sdif) compute_score() argument 383 inet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) inet_lhash2_lookup() argument 432 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) __inet_lookup_listener() argument 497 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif, const int sdif) __inet_lookup_established() argument 554 int sdif = l3mdev_master_ifindex_by_index(net, dif); __inet_check_established() local 625 const int sdif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local [all...] |