/net/ipv6/ |
D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() argument 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() argument 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() argument 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() argument 211 dif, sdif); in inet6_lookup_listener() 221 dif, sdif); in inet6_lookup_listener() [all …]
|
D | udp.c | 118 int dif, int sdif) in compute_score() argument 147 dev_match = udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif); in compute_score() 181 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 191 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 209 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 244 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 258 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 283 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 318 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument 323 dif, 0, &udp_table, NULL); in udp6_lib_lookup() [all …]
|
D | exthdrs.c | 1231 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 1234 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 1236 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 1238 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 1240 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
D | tcp_ipv6.c | 777 int dif, int sdif) in tcp_v6_inbound_md5_hash() argument 790 l3index = sdif ? dif : 0; in tcp_v6_inbound_md5_hash() 1063 int dif = tcp_v6_iif_l3_slave(skb); in tcp_v6_send_reset() local 1078 ntohs(th->source), dif, sdif); in tcp_v6_send_reset() 1085 l3index = tcp_v6_sdif(skb) ? dif : 0; in tcp_v6_send_reset() 1631 int dif = inet6_iif(skb); in tcp_v6_rcv() local 1680 if (tcp_v6_inbound_md5_hash(sk, skb, dif, sdif)) { in tcp_v6_rcv() 1743 if (tcp_v6_inbound_md5_hash(sk, skb, dif, sdif)) in tcp_v6_rcv()
|
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) in compute_score() argument 243 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 283 const int dif, const int sdif) in inet_lhash2_lookup() argument 291 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 334 const int dif, const int sdif) in __inet_lookup_listener() argument 353 dif, sdif); in __inet_lookup_listener() 363 dif, sdif); in __inet_lookup_listener() 396 const int dif, const int sdif) in __inet_lookup_established() argument 413 if (likely(INET_MATCH(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 417 ports, dif, sdif))) { in __inet_lookup_established() [all …]
|
D | udp.c | 360 int dif, int sdif) in compute_score() argument 390 dif, sdif); in compute_score() 433 int dif, int sdif, in udp4_lib_lookup2() argument 444 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 462 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 496 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument 510 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 535 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() 570 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument 575 dif, 0, &udp_table, NULL); in udp4_lib_lookup() [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() 415 int dif = sk->sk_bound_dev_if; in ping_bind() local 431 sk->sk_bound_dev_if = 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() 299 int dif = skb->dev->ifindex; in raw_icmp_error() local 307 dif, sdif)) != NULL) { in raw_icmp_error()
|
D | tcp_ipv4.c | 731 int dif = inet_iif(skb); in tcp_v4_send_reset() local 744 ntohs(th->source), dif, sdif); in tcp_v4_send_reset() 752 l3index = sdif ? dif : 0; in tcp_v4_send_reset() 1412 int dif, int sdif) in tcp_v4_inbound_md5_hash() argument 1434 l3index = sdif ? dif : 0; in tcp_v4_inbound_md5_hash() 1976 int dif = inet_iif(skb); in tcp_v4_rcv() local 2030 tcp_v4_inbound_md5_hash(sk, skb, dif, sdif))) { in tcp_v4_rcv() 2097 if (tcp_v4_inbound_md5_hash(sk, skb, dif, sdif)) in tcp_v4_rcv()
|
D | igmp.c | 2642 int dif, int sdif) in ip_mc_sf_allow() argument 2657 (pmc->multi.imr_ifindex == dif || in ip_mc_sf_allow()
|
/net/l2tp/ |
D | l2tp_ip.c | 46 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 57 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 | 6138 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument 6151 dif, sdif, &refcounted); in sk_lookup() 6155 dif, sdif, &udp_table, NULL); in sk_lookup() 6165 dif, sdif, &refcounted); in sk_lookup() 6170 dif, sdif, in sk_lookup()
|