Home
last modified time | relevance | path

Searched refs:sdif (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/include/net/
Dinet6_hashtables.h49 const int sdif);
58 const int dif, const int sdif);
67 const int dif, const int sdif, in __inet6_lookup() argument
72 dif, sdif); in __inet6_lookup()
78 daddr, hnum, dif, sdif); in __inet6_lookup()
85 int iif, int sdif, in __inet6_lookup_skb() argument
97 iif, sdif, refcounted); in __inet6_lookup_skb()
Dinet_hashtables.h189 int dif, int sdif) in inet_sk_bound_dev_eq() argument
193 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
195 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
250 const int dif, const int sdif);
256 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument
259 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
317 const int dif, const int sdif);
334 const int dif, const int sdif, in __inet_lookup() argument
341 daddr, hnum, dif, sdif); in __inet_lookup()
347 sport, daddr, hnum, dif, sdif); in __inet_lookup()
[all …]
Draw.h25 __be32 laddr, int dif, int sdif);
75 int dif, int sdif) in raw_sk_bound_dev_eq() argument
79 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
81 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
Dudp.h252 int dif, int sdif) in udp_sk_bound_dev_eq() argument
256 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
258 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
307 __be32 daddr, __be16 dport, int dif, int sdif,
318 int dif, int sdif, struct udp_table *tbl,
Dinet_sock.h143 int dif, int sdif) in inet_bound_dev_eq() argument
146 return !sdif || l3mdev_accept; in inet_bound_dev_eq()
147 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
Drawv6.h10 const struct in6_addr *rmt_addr, int dif, int sdif);
Dipv6_stubs.h68 int dif, int sdif, struct udp_table *tbl,
/Linux-v5.4/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 …]
Dip6_input.c375 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()
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()
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 …]
Draw.c71 const struct in6_addr *rmt_addr, int dif, int sdif) in __raw_v6_lookup() argument
86 dif, sdif)) in __raw_v6_lookup()
Dtcp_ipv6.c1482 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()
/Linux-v5.4/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()
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 …]
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()
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()
Dtcp_ipv4.c1812 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()
Digmp.c2625 int dif, int sdif) in ip_mc_sf_allow() argument
2641 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
/Linux-v5.4/include/linux/
Digmp.h128 int dif, int sdif);
/Linux-v5.4/net/core/
Dfilter.c5206 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument
5219 dif, sdif, &refcounted); in sk_lookup()
5223 dif, sdif, &udp_table, NULL); in sk_lookup()
5233 dif, sdif, &refcounted); in sk_lookup()
5238 dif, sdif, in sk_lookup()
5263 int sdif; in __bpf_skc_lookup() local
5277 sdif = inet_sdif(skb); in __bpf_skc_lookup()
5279 sdif = inet6_sdif(skb); in __bpf_skc_lookup()
5283 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
5288 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
/Linux-v5.4/Documentation/admin-guide/
Ddevices.txt2076 240 = /dev/sdif 240th SCSI disk whole disk