/linux/net/sctp/ |
H A D | input.c | 54 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() 844 int dif, int sdif) in __sctp_rcv_lookup_endpoint() argument [all …]
|
H A D | endpointola.c | 250 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/include/net/ |
H A D | inet6_hashtables.h | 49 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()
|
H A D | inet_hashtables.h | 313 const int dif, const int sdif); 319 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 322 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 356 int dif, int sdif) in inet_match() argument 365 sdif); in inet_match() 375 const int dif, const int sdif); 413 const int dif, const int sdif, in __inet_lookup() argument 420 daddr, hnum, dif, sdif); in __inet_lookup() 426 sport, daddr, hnum, dif, sdif); in __inet_lookup() 492 const int sdif, in __inet_lookup_skb() argument [all …]
|
H A D | raw.h | 26 __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()
|
H A D | inet_sock.h | 146 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() 155 int dif, int sdif) in inet_sk_bound_dev_eq() argument 159 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 161 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
H A D | gro.h | 537 static inline void inet_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) in inet_get_iif_sdif() argument 540 *sdif = 0; in inet_get_iif_sdif() 546 *sdif = *iif; in inet_get_iif_sdif() 558 static inline void inet6_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) in inet6_get_iif_sdif() argument 562 *sdif = 0; in inet6_get_iif_sdif() 568 *sdif = *iif; in inet6_get_iif_sdif()
|
H A D | udp.h | 375 int dif, int sdif) in udp_sk_bound_dev_eq() argument 379 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 381 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 429 __be32 daddr, __be16 dport, int dif, int sdif, 440 int dif, int sdif, struct udp_table *tbl,
|
H A D | rawv6.h | 11 const struct in6_addr *rmt_addr, int dif, int sdif);
|
H A D | ipv6_stubs.h | 88 int dif, int sdif, struct udp_table *tbl,
|
/linux/net/ipv6/ |
H A D | inet6_hashtables.c | 55 const int dif, const int sdif) in __inet6_lookup_established() argument 72 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 77 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 95 const int dif, const int sdif) in compute_score() argument 104 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 155 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 162 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 207 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument 228 dif, sdif); in inet6_lookup_listener() 238 dif, sdif); in inet6_lookup_listener() [all …]
|
H A D | ip6_input.c | 400 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local 412 if (sdif) { in ip6_protocol_deliver_rcu() 413 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu() 498 int sdif = inet6_sdif(skb); in ip6_mc_input() local 508 if (sdif) { in ip6_mc_input() 510 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input() 522 if (sdif) in ip6_mc_input()
|
H A D | udp.c | 131 int dif, int sdif) in compute_score() argument 161 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score() 177 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 190 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2() 234 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument 247 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument 264 if (inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in udp6_lib_lookup4() 302 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 315 dif, sdif, udptable); in __udp6_lib_lookup() 322 daddr, hnum, dif, sdif, in __udp6_lib_lookup() [all …]
|
H A D | udp_offload.c | 121 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()
|
H A D | tcpv6_offload.c | 25 int iif, sdif; in tcp6_check_fraglist_gro() local 36 inet6_get_iif_sdif(skb, &iif, &sdif); in tcp6_check_fraglist_gro() 42 iif, sdif); in tcp6_check_fraglist_gro()
|
H A D | tcp_ipv6.c | 1062 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset() local 1075 dif, sdif); in tcp_v6_send_reset() 1748 int sdif = inet6_sdif(skb); local 1787 th->source, th->dest, inet6_iif(skb), sdif, 1806 AF_INET6, dif, sdif); 1887 AF_INET6, dif, sdif); 1979 sdif);
|
/linux/net/ipv4/ |
H A D | inet_hashtables.c | 315 const int dif, const int sdif) in compute_score() argument 324 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 382 const int dif, const int sdif) in inet_lhash2_lookup() argument 389 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 431 const int dif, const int sdif) in __inet_lookup_listener() argument 452 dif, sdif); in __inet_lookup_listener() 462 dif, sdif); in __inet_lookup_listener() 495 const int dif, const int sdif) in __inet_lookup_established() argument 512 if (likely(inet_match(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 516 ports, dif, sdif))) { in __inet_lookup_established() [all …]
|
H A D | udp.c | 372 int dif, int sdif) in compute_score() argument 402 dif, sdif); in compute_score() 427 int dif, int sdif, in udp4_lib_lookup2() argument 441 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2() 485 int dif, int sdif, in udp4_lib_lookup4() argument 503 int dif, int sdif, in udp4_lib_lookup4() argument 522 if (inet_match(net, sk, acookie, ports, dif, sdif)) in udp4_lib_lookup4() 639 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup() argument 651 dif, sdif, udptable); in __udp4_lib_lookup() 658 daddr, hnum, dif, sdif, in __udp4_lib_lookup() [all …]
|
H A D | tcp_offload.c | 415 int iif, sdif; in tcp4_check_fraglist_gro() local 426 inet_get_iif_sdif(skb, &iif, &sdif); in tcp4_check_fraglist_gro() 432 iif, sdif); in tcp4_check_fraglist_gro()
|
H A D | udp_offload.c | 634 int iif, sdif; in udp4_gro_lookup_skb() local 636 inet_get_iif_sdif(skb, &iif, &sdif); in udp4_gro_lookup_skb() 640 sdif, net->ipv4.udp_table, NULL); in udp4_gro_lookup_skb()
|
H A D | ping.c | 172 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()
|
H A D | tcp_ipv4.c | 687 int sdif = tcp_v4_sdif(skb); in tcp_v4_ao_sign_reset() local 689 int l3index = sdif ? dif : 0; in tcp_v4_ao_sign_reset() 812 int sdif = tcp_v4_sdif(skb); in tcp_v4_send_reset() local 826 ntohs(th->source), dif, sdif); in tcp_v4_send_reset() 834 l3index = sdif ? dif : 0; in tcp_v4_send_reset() 2181 int sdif = inet_sdif(skb); local 2222 th->dest, sdif, &refcounted); 2240 AF_INET, dif, sdif); 2324 AF_INET, dif, sdif); 2415 sdif);
|
/linux/include/linux/ |
H A D | igmp.h | 126 int dif, int sdif);
|
/linux/net/netfilter/ |
H A D | nft_meta.c | 302 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/include/net/sctp/ |
H A D | sctp.h | 159 int dif, int sdif); 163 bool sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif);
|