Home
last modified time | relevance | path

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

12

/linux-6.6.21/net/sctp/
Dinput.c54 int dif, int sdif);
59 int dif, int sdif);
65 int dif, int sdif);
102 int dif, sdif; in sctp_rcv() local
148 sdif = af->skb_sdif(skb); in sctp_rcv()
165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv()
168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); in sctp_rcv()
473 int sdif = inet_sdif(skb); in sctp_err_lookup() local
490 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport, dif, sdif); in sctp_err_lookup()
841 int dif, int sdif) in __sctp_rcv_lookup_endpoint() argument
[all …]
Dendpointola.c250 int dif, int sdif) in sctp_endpoint_is_match() argument
256 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_endpoint_is_match()
/linux-6.6.21/include/net/
Dinet6_hashtables.h49 const int sdif);
74 const int dif, const int sdif);
92 const int dif, const int sdif, in __inet6_lookup() argument
97 dif, sdif); in __inet6_lookup()
103 daddr, hnum, dif, sdif); in __inet6_lookup()
150 int iif, int sdif, in __inet6_lookup_skb() argument
167 iif, sdif, refcounted); in __inet6_lookup_skb()
182 const int dif, const int sdif) in inet6_match() argument
193 sdif); in inet6_match()
Draw.h26 __be32 raddr, __be32 laddr, int dif, int sdif);
89 int dif, int sdif) in raw_sk_bound_dev_eq() argument
93 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
95 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
Dinet_hashtables.h318 const int dif, const int sdif);
324 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument
327 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
361 int dif, int sdif) in inet_match() argument
370 sdif); in inet_match()
380 const int dif, const int sdif);
418 const int dif, const int sdif, in __inet_lookup() argument
425 daddr, hnum, dif, sdif); in __inet_lookup()
431 sport, daddr, hnum, dif, sdif); in __inet_lookup()
497 const int sdif, in __inet_lookup_skb() argument
[all …]
Dinet_sock.h146 int dif, int sdif) in inet_bound_dev_eq() argument
149 return !sdif || l3mdev_accept; in inet_bound_dev_eq()
150 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
154 int dif, int sdif) in inet_sk_bound_dev_eq() argument
158 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
160 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
Dgro.h461 static inline void inet_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) in inet_get_iif_sdif() argument
464 *sdif = 0; in inet_get_iif_sdif()
470 *sdif = *iif; in inet_get_iif_sdif()
482 static inline void inet6_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) in inet6_get_iif_sdif() argument
486 *sdif = 0; in inet6_get_iif_sdif()
492 *sdif = *iif; in inet6_get_iif_sdif()
Dudp.h249 int dif, int sdif) in udp_sk_bound_dev_eq() argument
253 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
255 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
302 __be32 daddr, __be16 dport, int dif, int sdif,
313 int dif, int sdif, struct udp_table *tbl,
Drawv6.h11 const struct in6_addr *rmt_addr, int dif, int sdif);
Dipv6_stubs.h82 int dif, int sdif, struct udp_table *tbl,
/linux-6.6.21/net/ipv6/
Dinet6_hashtables.c56 const int dif, const int sdif) in __inet6_lookup_established() argument
73 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established()
78 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established()
96 const int dif, const int sdif) in compute_score() argument
105 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
156 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument
163 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
208 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument
229 dif, sdif); in inet6_lookup_listener()
239 dif, sdif); in inet6_lookup_listener()
[all …]
Dip6_input.c402 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local
414 if (sdif) { in ip6_protocol_deliver_rcu()
415 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu()
500 int sdif = inet6_sdif(skb); in ip6_mc_input() local
510 if (sdif) { in ip6_mc_input()
512 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input()
524 if (sdif) in ip6_mc_input()
Dudp.c123 int dif, int sdif) in compute_score() argument
153 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score()
169 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument
179 daddr, hnum, dif, sdif); in udp6_lib_lookup2()
204 daddr, hnum, dif, sdif); in udp6_lib_lookup2()
214 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument
228 daddr, hnum, dif, sdif, in __udp6_lib_lookup()
255 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup()
280 int iif, sdif; in udp6_lib_lookup_skb() local
282 inet6_get_iif_sdif(skb, &iif, &sdif); in udp6_lib_lookup_skb()
[all …]
Dudp_offload.c121 int iif, sdif; in udp6_gro_lookup_skb() local
123 inet6_get_iif_sdif(skb, &iif, &sdif); in udp6_gro_lookup_skb()
127 sdif, net->ipv4.udp_table, NULL); in udp6_gro_lookup_skb()
Dtcp_ipv6.c1017 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset() local
1030 dif, sdif); in tcp_v6_send_reset()
1590 int sdif = inet6_sdif(skb); in tcp_v6_rcv() local
1628 th->source, th->dest, inet6_iif(skb), sdif, in tcp_v6_rcv()
1648 AF_INET6, dif, sdif); in tcp_v6_rcv()
1723 AF_INET6, dif, sdif); in tcp_v6_rcv()
1815 sdif); in tcp_v6_rcv()
/linux-6.6.21/net/ipv4/
Dinet_hashtables.c321 const int dif, const int sdif) in compute_score() argument
330 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
388 const int dif, const int sdif) in inet_lhash2_lookup() argument
395 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
437 const int dif, const int sdif) in __inet_lookup_listener() argument
458 dif, sdif); in __inet_lookup_listener()
468 dif, sdif); in __inet_lookup_listener()
501 const int dif, const int sdif) in __inet_lookup_established() argument
518 if (likely(inet_match(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established()
522 ports, dif, sdif))) { in __inet_lookup_established()
[all …]
Dudp.c369 int dif, int sdif) in compute_score() argument
399 dif, sdif); in compute_score()
426 int dif, int sdif, in udp4_lib_lookup2() argument
437 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
462 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
474 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup() argument
487 daddr, hnum, dif, sdif, in __udp4_lib_lookup()
514 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup()
539 int iif, sdif; in udp4_lib_lookup_skb() local
541 inet_get_iif_sdif(skb, &iif, &sdif); in udp4_lib_lookup_skb()
[all …]
Draw.c120 __be32 raddr, __be32 laddr, int dif, int sdif) in raw_v4_match() argument
127 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in raw_v4_match()
166 int sdif = inet_sdif(skb); in raw_v4_input() local
176 iph->saddr, iph->daddr, dif, sdif)) in raw_v4_input()
181 skb->dev->ifindex, sdif)) { in raw_v4_input()
269 int sdif = inet_sdif(skb); in raw_icmp_error() local
282 iph->daddr, iph->saddr, dif, sdif)) in raw_icmp_error()
Dudp_offload.c612 int iif, sdif; in udp4_gro_lookup_skb() local
614 inet_get_iif_sdif(skb, &iif, &sdif); in udp4_gro_lookup_skb()
618 sdif, net->ipv4.udp_table, NULL); in udp4_gro_lookup_skb()
Dping.c172 int dif, sdif; in ping_lookup() local
176 sdif = inet_sdif(skb); in ping_lookup()
182 sdif = inet6_sdif(skb); in ping_lookup()
225 sk->sk_bound_dev_if != sdif) in ping_lookup()
Dtcp_ipv4.c743 int sdif = tcp_v4_sdif(skb); in tcp_v4_send_reset() local
757 ntohs(th->source), dif, sdif); in tcp_v4_send_reset()
765 l3index = sdif ? dif : 0; in tcp_v4_send_reset()
1987 int sdif = inet_sdif(skb); in tcp_v4_rcv() local
2027 th->dest, sdif, &refcounted); in tcp_v4_rcv()
2046 AF_INET, dif, sdif); in tcp_v4_rcv()
2124 &iph->daddr, AF_INET, dif, sdif); in tcp_v4_rcv()
2215 sdif); in tcp_v4_rcv()
/linux-6.6.21/include/linux/
Digmp.h126 int dif, int sdif);
/linux-6.6.21/net/netfilter/
Dnft_meta.c302 u32 sdif = nft_meta_get_eval_sdif(pkt); in nft_meta_get_eval_sdifname() local
305 dev = sdif ? dev_get_by_index_rcu(nft_net(pkt), sdif) : NULL; in nft_meta_get_eval_sdifname()
/linux-6.6.21/include/net/sctp/
Dsctp.h159 int dif, int sdif);
163 bool sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif);
/linux-6.6.21/drivers/dma/
Dat_xdmac.c211 bool sdif; member
293 .sdif = true,
306 .sdif = false,
472 if (atxdmac->layout->sdif) in at_xdmac_start_xfer()
680 if (atxdmac->layout->sdif) in at_xdmac_compute_chan_conf()
705 if (atxdmac->layout->sdif) in at_xdmac_compute_chan_conf()

12