/net/ipv6/ |
D | inet6_hashtables.c | 55 const int dif, const int sdif) in __inet6_lookup_established() argument 72 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 77 if (unlikely(!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 95 const int dif, const int sdif, bool exact_dif) in compute_score() argument 104 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 120 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 130 score = compute_score(sk, net, hnum, daddr, dif, sdif, in inet6_lhash2_lookup() 154 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument 165 dif, sdif); in inet6_lookup_listener() 175 dif, sdif); in inet6_lookup_listener() [all …]
|
D | udp.c | 117 int dif, int sdif) in compute_score() argument 146 dev_match = udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif); in compute_score() 162 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 173 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 199 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 212 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 221 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 257 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument 262 dif, 0, &udp_table, NULL); in udp6_lib_lookup() 725 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument [all …]
|
D | exthdrs.c | 997 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 1000 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 1002 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 1004 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 1006 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
D | raw.c | 71 const struct in6_addr *rmt_addr, int dif, int sdif) in __raw_v6_lookup() argument 86 dif, sdif)) in __raw_v6_lookup()
|
/net/ipv4/ |
D | inet_hashtables.c | 234 const int dif, const int sdif, bool exact_dif) in compute_score() argument 243 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 268 const int dif, const int sdif) in inet_lhash2_lookup() argument 279 dif, sdif, exact_dif); in inet_lhash2_lookup() 302 const int dif, const int sdif) in __inet_lookup_listener() argument 313 dif, sdif); in __inet_lookup_listener() 323 dif, sdif); in __inet_lookup_listener() 356 const int dif, const int sdif) in __inet_lookup_established() argument 374 saddr, daddr, ports, dif, sdif))) { in __inet_lookup_established() 379 dif, sdif))) { in __inet_lookup_established() [all …]
|
D | udp.c | 356 int dif, int sdif) in compute_score() argument 386 dif, sdif); in compute_score() 413 int dif, int sdif, in udp4_lib_lookup2() argument 425 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 450 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument 463 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 471 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() 507 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument 512 dif, 0, &udp_table, NULL); in udp4_lib_lookup() 523 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument [all …]
|
D | ping.c | 175 int dif, sdif; in ping_lookup() local 178 dif = inet_iif(skb); in ping_lookup() 181 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 184 dif = inet6_iif(skb); in ping_lookup() 187 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 229 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in ping_lookup() 403 static void ping_clear_saddr(struct sock *sk, int dif) in ping_clear_saddr() argument 405 sk->sk_bound_dev_if = dif; in ping_clear_saddr() 427 int dif = sk->sk_bound_dev_if; in ping_bind() local 443 ping_clear_saddr(sk, dif); in ping_bind()
|
D | raw.c | 122 int dif, int sdif) in __raw_v4_lookup() argument 130 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in __raw_v4_lookup() 172 int dif = inet_iif(skb); in raw_v4_input() local 185 iph->saddr, iph->daddr, dif, sdif); in raw_v4_input() 200 dif, sdif); in raw_v4_input() 298 int dif = skb->dev->ifindex; in raw_icmp_error() local 306 dif, sdif)) != NULL) { in raw_icmp_error()
|
D | igmp.c | 2639 int dif, int sdif) in ip_mc_sf_allow() argument 2654 (pmc->multi.imr_ifindex == dif || in ip_mc_sf_allow()
|
/net/l2tp/ |
D | l2tp_ip.c | 47 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 58 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip_bind_lookup()
|
D | l2tp_ip6.c | 57 int dif, u32 tunnel_id) in __l2tp_ip6_bind_lookup() argument 69 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip6_bind_lookup()
|
/net/core/ |
D | filter.c | 5248 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument 5261 dif, sdif, &refcounted); in sk_lookup() 5265 dif, sdif, &udp_table, NULL); in sk_lookup() 5275 dif, sdif, &refcounted); in sk_lookup() 5280 dif, sdif, in sk_lookup()
|