Home
last modified time | relevance | path

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

/net/ipv6/
Dinet6_hashtables.c74 const int dif) in __inet6_lookup_established() argument
92 if (likely(INET6_MATCH(sk, net, saddr, daddr, ports, dif))) { in __inet6_lookup_established()
96 ports, dif))) { in __inet6_lookup_established()
112 ports, dif))) { in __inet6_lookup_established()
118 ports, dif))) { in __inet6_lookup_established()
137 const int dif) in compute_score() argument
152 if (sk->sk_bound_dev_if != dif) in compute_score()
163 const unsigned short hnum, const int dif) in inet6_lookup_listener() argument
178 score = compute_score(sk, net, hnum, daddr, dif); in inet6_lookup_listener()
206 dif) < hiscore)) { in inet6_lookup_listener()
[all …]
Dudp.c129 int dif) in compute_score() argument
155 if (sk->sk_bound_dev_if != dif) in compute_score()
167 int dif) in compute_score2() argument
190 if (sk->sk_bound_dev_if != dif) in compute_score2()
202 const struct in6_addr *daddr, unsigned int hnum, int dif, in udp6_lib_lookup2() argument
215 daddr, hnum, dif); in udp6_lib_lookup2()
246 daddr, hnum, dif) < badness)) { in udp6_lib_lookup2()
257 int dif, struct udp_table *udptable) in __udp6_lib_lookup() argument
276 daddr, hnum, dif, in __udp6_lib_lookup()
286 &in6addr_any, hnum, dif, in __udp6_lib_lookup()
[all …]
Dexthdrs.c726 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local
729 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options()
731 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options()
733 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options()
735 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
Draw.c72 const struct in6_addr *rmt_addr, int dif) in __raw_v6_lookup() argument
87 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in __raw_v6_lookup()
/net/ipv4/
Dinet_hashtables.c146 const int dif) in compute_score() argument
161 if (sk->sk_bound_dev_if != dif) in compute_score()
181 const int dif) in __inet_lookup_listener() argument
195 score = compute_score(sk, net, hnum, daddr, dif); in __inet_lookup_listener()
223 dif) < hiscore)) { in __inet_lookup_listener()
237 const int dif) in __inet_lookup_established() argument
256 saddr, daddr, ports, dif))) { in __inet_lookup_established()
260 saddr, daddr, ports, dif))) { in __inet_lookup_established()
282 dif))) { in __inet_lookup_established()
289 dif))) { in __inet_lookup_established()
[all …]
Dudp.c338 __be16 sport, __be32 daddr, __be16 dport, int dif) in compute_score() argument
363 if (sk->sk_bound_dev_if != dif) in compute_score()
376 __be32 daddr, unsigned int hnum, int dif) in compute_score2() argument
400 if (sk->sk_bound_dev_if != dif) in compute_score2()
412 __be32 daddr, unsigned int hnum, int dif, in udp4_lib_lookup2() argument
425 daddr, hnum, dif); in udp4_lib_lookup2()
453 daddr, hnum, dif) < badness)) { in udp4_lib_lookup2()
466 int dif, struct udp_table *udptable) in __udp4_lib_lookup() argument
485 daddr, hnum, dif, in __udp4_lib_lookup()
495 htonl(INADDR_ANY), hnum, dif, in __udp4_lib_lookup()
[all …]
Dping.c173 int dif = skb->dev->ifindex; in ping_lookup() local
177 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup()
181 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup()
222 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in ping_lookup()
391 void ping_clear_saddr(struct sock *sk, int dif) in ping_clear_saddr() argument
393 sk->sk_bound_dev_if = dif; in ping_clear_saddr()
415 int dif = sk->sk_bound_dev_if; in ping_bind() local
431 ping_clear_saddr(sk, dif); in ping_bind()
Draw.c112 unsigned short num, __be32 raddr, __be32 laddr, int dif) in __raw_v4_lookup() argument
120 !(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif)) in __raw_v4_lookup()
Digmp.c2249 int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, int dif) in ip_mc_sf_allow() argument
2264 pmc->multi.imr_ifindex == dif) in ip_mc_sf_allow()
/net/l2tp/
Dl2tp_ip.c50 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()
Dl2tp_ip6.c61 int dif, u32 tunnel_id) in __l2tp_ip6_bind_lookup() argument
75 !(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif)) in __l2tp_ip6_bind_lookup()
86 int dif, u32 tunnel_id) in l2tp_ip6_bind_lookup() argument
88 struct sock *sk = __l2tp_ip6_bind_lookup(net, laddr, dif, tunnel_id); in l2tp_ip6_bind_lookup()