Home
last modified time | relevance | path

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

/Linux-v5.10/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
96 iif, sdif, refcounted); in __inet6_lookup_skb()
Dinet_hashtables.h201 int dif, int sdif) in inet_sk_bound_dev_eq() argument
205 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
207 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
263 const int dif, const int sdif);
269 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument
272 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
330 const int dif, const int sdif);
347 const int dif, const int sdif, in __inet_lookup() argument
354 daddr, hnum, dif, sdif); in __inet_lookup()
360 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.h259 int dif, int sdif) in udp_sk_bound_dev_eq() argument
263 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
265 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
314 __be32 daddr, __be16 dport, int dif, int sdif,
325 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.h79 int dif, int sdif, struct udp_table *tbl,
/Linux-v5.10/net/ipv6/
Dinet6_hashtables.c57 const int dif, const int sdif) in __inet6_lookup_established() argument
74 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established()
79 if (unlikely(!INET6_MATCH(sk, net, 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 …]
Dip6_input.c399 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local
415 if (sdif) { in ip6_protocol_deliver_rcu()
416 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu()
491 int sdif = inet6_sdif(skb); in ip6_mc_input() local
501 if (sdif) { in ip6_mc_input()
503 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input()
515 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()
166 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument
176 daddr, hnum, dif, sdif); in udp6_lib_lookup2()
220 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument
234 daddr, hnum, dif, sdif, in __udp6_lib_lookup()
259 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup()
762 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument
774 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif) || in __udp_v6_is_mcast_sock()
808 int sdif = inet6_sdif(skb); in __udp6_lib_mcast_deliver() local
[all …]
Dtcp_ipv6.c756 int dif, int sdif) in tcp_v6_inbound_md5_hash() argument
769 l3index = sdif ? dif : 0; in tcp_v6_inbound_md5_hash()
1023 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset() local
1037 ntohs(th->source), dif, sdif); in tcp_v6_send_reset()
1581 int sdif = inet6_sdif(skb); in tcp_v6_rcv() local
1616 th->source, th->dest, inet6_iif(skb), sdif, in tcp_v6_rcv()
1631 if (tcp_v6_inbound_md5_hash(sk, skb, dif, sdif)) { in tcp_v6_rcv()
1686 if (tcp_v6_inbound_md5_hash(sk, skb, dif, sdif)) in tcp_v6_rcv()
1773 sdif); in tcp_v6_rcv()
Draw.c71 const struct in6_addr *rmt_addr, int dif, int sdif) in __raw_v6_lookup() argument
86 dif, sdif)) in __raw_v6_lookup()
/Linux-v5.10/net/ipv4/
Dinet_hashtables.c234 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()
281 const int dif, const int sdif) in inet_lhash2_lookup() argument
289 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
332 const int dif, const int sdif) in __inet_lookup_listener() argument
351 dif, sdif); in __inet_lookup_listener()
361 dif, sdif); in __inet_lookup_listener()
394 const int dif, const int sdif) in __inet_lookup_established() argument
412 saddr, daddr, ports, dif, sdif))) { in __inet_lookup_established()
417 dif, sdif))) { in __inet_lookup_established()
[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()
300 int sdif = inet_sdif(skb); in raw_icmp_error() local
307 dif, sdif)) != NULL) { in raw_icmp_error()
Dudp.c360 int dif, int sdif) in compute_score() argument
390 dif, sdif); in compute_score()
432 int dif, int sdif, in udp4_lib_lookup2() argument
443 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
486 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup() argument
499 daddr, hnum, dif, sdif, in __udp4_lib_lookup()
524 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup()
576 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument
586 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in __udp_is_mcast_sock()
588 if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif)) in __udp_is_mcast_sock()
[all …]
Dtcp_ipv4.c724 int sdif = tcp_v4_sdif(skb); in tcp_v4_send_reset() local
738 ntohs(th->source), dif, sdif); in tcp_v4_send_reset()
746 l3index = sdif ? dif : 0; in tcp_v4_send_reset()
1372 int dif, int sdif) in tcp_v4_inbound_md5_hash() argument
1394 l3index = sdif ? dif : 0; in tcp_v4_inbound_md5_hash()
1919 int sdif = inet_sdif(skb); in tcp_v4_rcv() local
1955 th->dest, sdif, &refcounted); in tcp_v4_rcv()
1969 if (unlikely(tcp_v4_inbound_md5_hash(sk, skb, dif, sdif))) { in tcp_v4_rcv()
2027 if (tcp_v4_inbound_md5_hash(sk, skb, dif, sdif)) in tcp_v4_rcv()
2115 sdif); in tcp_v4_rcv()
Digmp.c2615 int dif, int sdif) in ip_mc_sf_allow() argument
2631 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
/Linux-v5.10/include/linux/
Digmp.h128 int dif, int sdif);
/Linux-v5.10/net/netfilter/
Dnft_meta.c306 u32 sdif = nft_meta_get_eval_sdif(pkt); in nft_meta_get_eval_sdifname() local
309 dev = sdif ? dev_get_by_index_rcu(nft_net(pkt), sdif) : NULL; in nft_meta_get_eval_sdifname()
/Linux-v5.10/net/core/
Dfilter.c5881 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument
5894 dif, sdif, &refcounted); in sk_lookup()
5898 dif, sdif, &udp_table, NULL); in sk_lookup()
5908 dif, sdif, &refcounted); in sk_lookup()
5913 dif, sdif, in sk_lookup()
5938 int sdif; in __bpf_skc_lookup() local
5952 sdif = inet_sdif(skb); in __bpf_skc_lookup()
5954 sdif = inet6_sdif(skb); in __bpf_skc_lookup()
5958 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
5963 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
/Linux-v5.10/Documentation/admin-guide/
Ddevices.txt2077 240 = /dev/sdif 240th SCSI disk whole disk