Home
last modified time | relevance | path

Searched refs:dif (Results 1 – 12 of 12) sorted by relevance

/net/ipv6/
Dinet6_hashtables.c55 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 …]
Dudp.c104 int dif, int sdif) in compute_score() argument
133 dev_match = udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif); in compute_score()
148 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument
159 daddr, hnum, dif, sdif); in udp6_lib_lookup2()
182 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument
195 daddr, hnum, dif, sdif, in __udp6_lib_lookup()
204 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup()
240 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument
245 dif, 0, &udp_table, NULL); in udp6_lib_lookup()
708 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument
[all …]
Dexthdrs.c998 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local
1001 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options()
1003 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options()
1005 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options()
1007 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
Draw.c71 const struct in6_addr *rmt_addr, int dif, int sdif) in __raw_v6_lookup() argument
86 dif, sdif)) in __raw_v6_lookup()
/net/ipv4/
Dinet_hashtables.c230 const int dif, const int sdif, bool exact_dif) in compute_score() argument
239 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
262 const int dif, const int sdif) in inet_lhash2_lookup() argument
273 dif, sdif, exact_dif); in inet_lhash2_lookup()
296 const int dif, const int sdif) in __inet_lookup_listener() argument
307 dif, sdif); in __inet_lookup_listener()
317 dif, sdif); in __inet_lookup_listener()
350 const int dif, const int sdif) in __inet_lookup_established() argument
368 saddr, daddr, ports, dif, sdif))) { in __inet_lookup_established()
373 dif, sdif))) { in __inet_lookup_established()
[all …]
Dudp.c356 int dif, int sdif) in compute_score() argument
386 dif, sdif); in compute_score()
412 int dif, int sdif, in udp4_lib_lookup2() argument
424 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
446 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument
459 daddr, hnum, dif, sdif, in __udp4_lib_lookup()
467 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup()
503 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument
508 dif, 0, &udp_table, NULL); in udp4_lib_lookup()
519 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument
[all …]
Dping.c175 int dif = skb->dev->ifindex; in ping_lookup() local
179 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup()
183 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup()
223 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in ping_lookup()
386 static void ping_clear_saddr(struct sock *sk, int dif) in ping_clear_saddr() argument
388 sk->sk_bound_dev_if = dif; in ping_clear_saddr()
410 int dif = sk->sk_bound_dev_if; in ping_bind() local
426 ping_clear_saddr(sk, dif); in ping_bind()
Draw.c122 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()
Digmp.c2625 int dif, int sdif) in ip_mc_sf_allow() argument
2640 (pmc->multi.imr_ifindex == dif || in ip_mc_sf_allow()
/net/l2tp/
Dl2tp_ip.c48 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument
59 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip_bind_lookup()
Dl2tp_ip6.c59 int dif, u32 tunnel_id) in __l2tp_ip6_bind_lookup() argument
71 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip6_bind_lookup()
/net/core/
Dfilter.c5208 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument
5221 dif, sdif, &refcounted); in sk_lookup()
5225 dif, sdif, &udp_table, NULL); in sk_lookup()
5235 dif, sdif, &refcounted); in sk_lookup()
5240 dif, sdif, in sk_lookup()