| /linux/include/net/ |
| H A D | inet6_hashtables.h | 50 const int sdif); 74 const int dif, const int sdif); 91 const int dif, const int sdif, in __inet6_lookup() argument 96 dif, sdif); in __inet6_lookup() 102 daddr, hnum, dif, sdif); in __inet6_lookup() 148 int iif, int sdif, in __inet6_lookup_skb() argument 164 iif, sdif, refcounted); in __inet6_lookup_skb() 176 const int dif, const int sdif) in inet6_match() argument 187 sdif); in inet6_match()
|
| H A D | inet_hashtables.h | 315 const int dif, const int sdif); 321 int dif, int sdif) in inet_lookup_listener() argument 324 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 358 int dif, int sdif) in inet_match() argument 367 sdif); in inet_match() 376 const int dif, const int sdif); 412 const int dif, const int sdif, in __inet_lookup() argument 419 daddr, hnum, dif, sdif); in __inet_lookup() 425 sport, daddr, hnum, dif, sdif); in __inet_lookup() 489 const int sdif, in __inet_lookup_skb() argument [all …]
|
| H A D | udp.h | 386 int dif, int sdif) in udp_sk_bound_dev_eq() argument 390 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 392 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 441 int dif, int sdif, struct sk_buff *skb); 451 int dif, int sdif, struct sk_buff *skb);
|
| H A D | rawv6.h | 11 const struct in6_addr *rmt_addr, int dif, int sdif);
|
| H A D | tcp.h | 3077 int family, int dif, int sdif);
|
| /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 984 sctp_sk_bound_dev_eq(struct net * net,int bound_dev_if,int dif,int sdif) sctp_sk_bound_dev_eq() argument 999 sctp_addrs_lookup_transport(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,int dif,int sdif) sctp_addrs_lookup_transport() argument 1057 __sctp_lookup_association(struct net * net,const union sctp_addr * local,const union sctp_addr * peer,struct sctp_transport ** pt,int dif,int sdif) __sctp_lookup_association() argument 1079 sctp_lookup_association(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,struct sctp_transport ** transportp,int dif,int sdif) sctp_lookup_association() argument 1094 sctp_has_association(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,int dif,int sdif) sctp_has_association() argument 1127 __sctp_rcv_init_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_init_lookup() argument 1194 __sctp_rcv_asconf_lookup(struct net * net,struct sctp_chunkhdr * ch,const union sctp_addr * laddr,__be16 peer_port,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_asconf_lookup() argument 1231 __sctp_rcv_walk_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_walk_lookup() argument 1300 __sctp_rcv_lookup_harder(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_lookup_harder() argument 1335 __sctp_rcv_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * paddr,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_lookup() argument [all...] |
| H A D | endpointola.c | 251 int dif, int sdif) in sctp_endpoint_is_match() argument 257 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_endpoint_is_match()
|
| /linux/net/ipv6/ |
| H A D | inet6_hashtables.c | 89 const int dif, const int sdif) in __inet6_lookup_established() argument 106 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 111 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 129 const int dif, const int sdif) in compute_score() argument 139 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 190 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 197 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 243 const int dif, const int sdif) in inet6_lookup_listener() argument 265 dif, sdif); in inet6_lookup_listener() 275 dif, sdif); in inet6_lookup_listener() [all …]
|
| H A D | udp.c | 134 int dif, int sdif) in compute_score() argument 164 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score() 199 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup1() argument 209 saddr, sport, daddr, hnum, dif, sdif); in udp6_lib_lookup1() 223 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 236 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2() 280 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument 293 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument 310 if (inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in udp6_lib_lookup4() 348 int dif, int sdif, struct sk_buff *skb) in __udp6_lib_lookup() argument [all …]
|
| H A D | udp_offload.c | 122 int iif, sdif; in udp6_gro_lookup_skb() local 128 inet6_get_iif_sdif(skb, &iif, &sdif); in udp6_gro_lookup_skb() 131 &iph->daddr, dport, iif, sdif, NULL); in udp6_gro_lookup_skb()
|
| H A D | ip6_input.c | 443 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local 455 if (sdif) { in ip6_protocol_deliver_rcu() 456 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu() 557 int sdif = inet6_sdif(skb); in ip6_mc_input() local 566 if (sdif) { in ip6_mc_input() 567 dev = dev_get_by_index_rcu(dev_net_rcu(dev), sdif); in ip6_mc_input()
|
| H A D | tcp_ipv6.c | 1056 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset() local 1068 dif, sdif); in tcp_v6_send_reset() 1735 int sdif = inet6_sdif(skb); local 1773 th->source, th->dest, inet6_iif(skb), sdif, 1792 AF_INET6, dif, sdif); 1876 AF_INET6, dif, sdif); 1971 sdif);
|
| H A D | raw.c | 69 const struct in6_addr *rmt_addr, int dif, int sdif) in raw_v6_match() argument 76 dif, sdif)) in raw_v6_match()
|
| /linux/net/ipv4/ |
| H A D | udp.c | 365 unsigned short hnum, int dif, int sdif) in compute_score() argument 395 dif, sdif); in compute_score() 438 int dif, int sdif, in udp4_lib_lookup1() argument 448 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1() 462 int dif, int sdif, in udp4_lib_lookup2() argument 476 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2() 520 int dif, int sdif, in udp4_lib_lookup4() argument 538 int dif, int sdif, in udp4_lib_lookup4() argument 557 if (inet_match(net, sk, acookie, ports, dif, sdif)) in udp4_lib_lookup4() 670 int dif, int sdif, struct sk_buff *skb) in __udp4_lib_lookup() argument [all …]
|
| H A D | raw.c | 118 __be32 raddr, __be32 laddr, int dif, int sdif) in raw_v4_match() argument 135 dif, sdif); in raw_v4_match() 172 int sdif = inet_sdif(skb); in raw_v4_input() local 182 iph->saddr, iph->daddr, dif, sdif)) in raw_v4_input() 194 skb->dev->ifindex, sdif)) { in raw_v4_input() 282 int sdif = inet_sdif(skb); in raw_icmp_error() local 295 iph->daddr, iph->saddr, dif, sdif)) in raw_icmp_error()
|
| H A D | udp_offload.c | 857 int iif, sdif; in udp4_gro_lookup_skb() local 863 inet_get_iif_sdif(skb, &iif, &sdif); in udp4_gro_lookup_skb() 866 iph->daddr, dport, iif, sdif, NULL); in udp4_gro_lookup_skb()
|
| H A D | tcp_ipv4.c | 666 int sdif = tcp_v4_sdif(skb); in tcp_v4_ao_sign_reset() local 668 int l3index = sdif ? dif : 0; in tcp_v4_ao_sign_reset() 790 int sdif = tcp_v4_sdif(skb); in tcp_v4_send_reset() local 803 ntohs(th->source), dif, sdif); in tcp_v4_send_reset() 811 l3index = sdif ? dif : 0; in tcp_v4_send_reset() 2075 int sdif = inet_sdif(skb); local 2115 th->dest, sdif, &refcounted); 2133 AF_INET, dif, sdif); 2220 AF_INET, dif, sdif); 2314 sdif);
|
| H A D | igmp.c | 2769 int dif, int sdif) in ip_mc_sf_allow() argument 2785 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
|
| /linux/net/netfilter/ |
| H A D | nft_meta.c | 309 u32 sdif = nft_meta_get_eval_sdif(pkt); in nft_meta_get_eval_sdifname() local 312 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);
|
| H A D | structs.h | 1354 int dif, int sdif); 1356 const union sctp_addr *paddr, int dif, int sdif);
|
| /linux/net/core/ |
| H A D | filter.c | 7169 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument 7182 dif, sdif, &refcounted); in sk_lookup() 7186 dif, sdif, NULL); in sk_lookup() 7196 dif, sdif, &refcounted); in sk_lookup() 7200 dif, sdif, NULL); in sk_lookup() 7217 u64 flags, int sdif) in __bpf_skc_lookup() argument 7233 if (sdif < 0) { in __bpf_skc_lookup() 7235 sdif = inet_sdif(skb); in __bpf_skc_lookup() 7237 sdif = inet6_sdif(skb); in __bpf_skc_lookup() 7242 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup() [all …]
|