/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 | ip6_input.c | 375 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local 391 if (sdif) { in ip6_protocol_deliver_rcu() 392 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu() 467 int sdif = inet6_sdif(skb); in ip6_mc_input() local 477 if (sdif) { in ip6_mc_input() 479 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input() 491 if (sdif) in ip6_mc_input()
|
D | udp.c | 104 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() 708 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument 720 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif) || in __udp_v6_is_mcast_sock() 754 int sdif = inet6_sdif(skb); in __udp6_lib_mcast_deliver() local [all …]
|
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()
|
D | tcp_ipv6.c | 1482 int sdif = inet6_sdif(skb); in tcp_v6_rcv() local 1516 th->source, th->dest, inet6_iif(skb), sdif, in tcp_v6_rcv() 1673 sdif); in tcp_v6_rcv()
|
/net/ipv4/ |
D | inet_hashtables.c | 230 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 …]
|
D | udp.c | 356 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() 447 int sdif, struct udp_table *udptable, struct sk_buff *skb) 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() 519 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument 529 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in __udp_is_mcast_sock() 531 if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif)) in __udp_is_mcast_sock() [all …]
|
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() 171 int sdif = inet_sdif(skb); in raw_v4_input() local 185 iph->saddr, iph->daddr, dif, sdif); in raw_v4_input() 191 skb->dev->ifindex, sdif)) { in raw_v4_input() 200 dif, sdif); in raw_v4_input() 299 int sdif = inet_sdif(skb); in raw_icmp_error() local 306 dif, sdif)) != NULL) { in raw_icmp_error()
|
D | tcp_ipv4.c | 1812 int sdif = inet_sdif(skb); in tcp_v4_rcv() local 1847 th->dest, sdif, &refcounted); in tcp_v4_rcv() 2007 sdif); in tcp_v4_rcv()
|
D | igmp.c | 2625 int dif, int sdif) in ip_mc_sf_allow() argument 2641 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
|
/net/core/ |
D | filter.c | 5208 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() 5265 int sdif; in __bpf_skc_lookup() local 5279 sdif = inet_sdif(skb); in __bpf_skc_lookup() 5281 sdif = inet6_sdif(skb); in __bpf_skc_lookup() 5285 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup() 5290 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
|