/net/ipv6/ |
D | inet6_hashtables.c | 57 const int dif) in __inet6_lookup_established() argument 75 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif)) in __inet6_lookup_established() 80 if (unlikely(!INET6_MATCH(sk, net, saddr, daddr, ports, dif))) { in __inet6_lookup_established() 99 const int dif) in compute_score() argument 113 if (sk->sk_bound_dev_if != dif) in compute_score() 126 const unsigned short hnum, const int dif) in inet6_lookup_listener() argument 141 score = compute_score(sk, net, hnum, daddr, dif); in inet6_lookup_listener() 169 dif) < hiscore)) { in inet6_lookup_listener() 182 const int dif) in inet6_lookup() argument 187 sk = __inet6_lookup(net, hashinfo, saddr, sport, daddr, ntohs(dport), dif); in inet6_lookup() [all …]
|
D | udp.c | 148 int dif) in compute_score() argument 180 if (sk->sk_bound_dev_if != dif) in compute_score() 194 unsigned short hnum, int dif) in compute_score2() argument 223 if (sk->sk_bound_dev_if != dif) in compute_score2() 237 const struct in6_addr *daddr, unsigned int hnum, int dif, in udp6_lib_lookup2() argument 250 daddr, hnum, dif); in udp6_lib_lookup2() 279 daddr, hnum, dif) < badness)) { in udp6_lib_lookup2() 290 int dif, struct udp_table *udptable) in __udp6_lib_lookup() argument 309 daddr, hnum, dif, in __udp6_lib_lookup() 319 &in6addr_any, hnum, dif, in __udp6_lib_lookup() [all …]
|
D | exthdrs.c | 720 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 723 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 725 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 727 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 729 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
D | raw.c | 74 const struct in6_addr *rmt_addr, int dif) in __raw_v6_lookup() argument 88 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in __raw_v6_lookup()
|
/net/ipv4/ |
D | inet_hashtables.c | 174 const int dif) in compute_score() argument 189 if (sk->sk_bound_dev_if != dif) in compute_score() 211 const int dif) in __inet_lookup_listener() argument 225 score = compute_score(sk, net, hnum, daddr, dif); in __inet_lookup_listener() 253 dif) < hiscore)) { in __inet_lookup_listener() 288 const int dif) in __inet_lookup_established() argument 307 saddr, daddr, ports, dif))) { in __inet_lookup_established() 311 saddr, daddr, ports, dif))) { in __inet_lookup_established() 342 int dif = sk->sk_bound_dev_if; in __inet_check_established() local 361 saddr, daddr, ports, dif))) { in __inet_check_established()
|
D | udp.c | 341 __be32 daddr, __be16 dport, int dif) in compute_score() argument 373 if (sk->sk_bound_dev_if != dif) in compute_score() 387 __be32 daddr, unsigned int hnum, int dif) in compute_score2() argument 417 if (sk->sk_bound_dev_if != dif) in compute_score2() 443 __be32 daddr, unsigned int hnum, int dif, in udp4_lib_lookup2() argument 456 daddr, hnum, dif); in udp4_lib_lookup2() 484 daddr, hnum, dif) < badness)) { in udp4_lib_lookup2() 497 int dif, struct udp_table *udptable) in __udp4_lib_lookup() argument 516 daddr, hnum, dif, in __udp4_lib_lookup() 526 htonl(INADDR_ANY), hnum, dif, in __udp4_lib_lookup() [all …]
|
D | ping.c | 178 int dif = skb->dev->ifindex; in ping_lookup() local 182 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 186 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 226 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in ping_lookup() 396 static void ping_clear_saddr(struct sock *sk, int dif) in ping_clear_saddr() argument 398 sk->sk_bound_dev_if = dif; in ping_clear_saddr() 420 int dif = sk->sk_bound_dev_if; in ping_bind() local 436 ping_clear_saddr(sk, dif); in ping_bind()
|
D | raw.c | 122 unsigned short num, __be32 raddr, __be32 laddr, int dif) in __raw_v4_lookup() argument 130 !(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif)) in __raw_v4_lookup() 170 int dif = inet_iif(skb); in raw_v4_input() local 183 iph->saddr, iph->daddr, dif); in raw_v4_input() 198 dif); in raw_v4_input()
|
D | igmp.c | 2535 int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, int dif) in ip_mc_sf_allow() argument 2550 pmc->multi.imr_ifindex == dif) in ip_mc_sf_allow()
|
/net/l2tp/ |
D | l2tp_ip.c | 50 static struct sock *__l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 64 !(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif)) in __l2tp_ip_bind_lookup() 73 static inline struct sock *l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_i… in l2tp_ip_bind_lookup() argument 75 struct sock *sk = __l2tp_ip_bind_lookup(net, laddr, dif, tunnel_id); in l2tp_ip_bind_lookup()
|
D | l2tp_ip6.c | 60 int dif, u32 tunnel_id) in __l2tp_ip6_bind_lookup() argument 74 !(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif)) in __l2tp_ip6_bind_lookup() 85 int dif, u32 tunnel_id) in l2tp_ip6_bind_lookup() argument 87 struct sock *sk = __l2tp_ip6_bind_lookup(net, laddr, dif, tunnel_id); in l2tp_ip6_bind_lookup()
|