| /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 | 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/include/net/ |
| H A D | inet6_hashtables.h | 48 const int sdif); 72 const int dif, const int sdif); 89 const int dif, const int sdif, in __inet6_lookup() argument 94 dif, sdif); in __inet6_lookup() 100 daddr, hnum, dif, sdif); in __inet6_lookup() 146 int iif, int sdif, in __inet6_lookup_skb() argument 162 iif, sdif, refcounted); in __inet6_lookup_skb() 174 const int dif, const int sdif) in inet6_match() argument 185 sdif); in inet6_match()
|
| H A D | inet_hashtables.h | 302 const int dif, const int sdif); 308 int dif, int sdif) in inet_lookup_listener() argument 311 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 345 int dif, int sdif) in inet_match() argument 354 sdif); in inet_match() 363 const int dif, const int sdif); 399 const int dif, const int sdif, in __inet_lookup() argument 406 daddr, hnum, dif, sdif); in __inet_lookup() 412 sport, daddr, hnum, dif, sdif); in __inet_lookup() 476 const int sdif, in __inet_lookup_skb() argument [all …]
|
| H A D | udp.h | 388 int dif, int sdif) in udp_sk_bound_dev_eq() argument 392 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 394 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 442 __be32 daddr, __be16 dport, int dif, int sdif, 453 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,
|
| H A D | tcp.h | 3000 int family, int dif, int sdif);
|
| /linux/net/ipv6/ |
| H A D | inet6_hashtables.c | 54 const int dif, const int sdif) in __inet6_lookup_established() argument 71 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 76 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 94 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() 208 const int dif, const int sdif) in inet6_lookup_listener() argument 230 dif, sdif); in inet6_lookup_listener() 240 dif, sdif); in inet6_lookup_listener() [all …]
|
| H A D | ip6_input.c | 402 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() 512 int sdif = inet6_sdif(skb); in ip6_mc_input() local 521 if (sdif) { in ip6_mc_input() 522 dev = dev_get_by_index_rcu(dev_net_rcu(dev), sdif); in ip6_mc_input()
|
| H A D | tcpv6_offload.c | 25 int iif, sdif; in tcp6_check_fraglist_gro() local 33 inet6_get_iif_sdif(skb, &iif, &sdif); in tcp6_check_fraglist_gro() 38 iif, sdif); in tcp6_check_fraglist_gro()
|
| H A D | tcp_ipv6.c | 1022 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset() local 1034 dif, sdif); in tcp_v6_send_reset() 1700 int sdif = inet6_sdif(skb); local 1738 th->source, th->dest, inet6_iif(skb), sdif, 1757 AF_INET6, dif, sdif); 1837 AF_INET6, dif, sdif); 1929 sdif);
|
| /linux/net/ipv4/ |
| H A D | inet_hashtables.c | 351 const int dif, const int sdif) in compute_score() argument 360 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 418 const int dif, const int sdif) in inet_lhash2_lookup() argument 425 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 466 const int dif, const int sdif) in __inet_lookup_listener() argument 488 dif, sdif); in __inet_lookup_listener() 498 dif, sdif); in __inet_lookup_listener() 530 const int dif, const int sdif) in __inet_lookup_established() argument 549 if (likely(inet_match(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 553 ports, dif, sdif))) { in __inet_lookup_established() [all …]
|
| H A D | udp.c | 371 int dif, int sdif) in compute_score() argument 401 dif, sdif); in compute_score() 445 int dif, int sdif, in udp4_lib_lookup1() argument 455 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1() 469 int dif, int sdif, in udp4_lib_lookup2() argument 483 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2() 527 int dif, int sdif, in udp4_lib_lookup4() argument 545 int dif, int sdif, in udp4_lib_lookup4() argument 564 if (inet_match(net, sk, acookie, ports, dif, sdif)) in udp4_lib_lookup4() 679 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup() argument [all …]
|
| H A D | tcp_offload.c | 396 int iif, sdif; in tcp4_check_fraglist_gro() 407 inet_get_iif_sdif(skb, &iif, &sdif); in tcp4_check_fraglist_gro() 412 iif, sdif); in tcp4_check_fraglist_gro() 397 int iif, sdif; tcp4_check_fraglist_gro() local
|
| H A D | ping.c | 165 int dif, sdif; in ping_lookup() local 169 sdif = inet_sdif(skb); in ping_lookup() 175 sdif = inet6_sdif(skb); in ping_lookup() 224 bound_dev_if != sdif) in ping_lookup()
|
| H A D | tcp_ipv4.c | 689 int sdif = tcp_v4_sdif(skb); in tcp_v4_ao_sign_reset() local 691 int l3index = sdif ? dif : 0; in tcp_v4_ao_sign_reset() 813 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() 2152 int sdif = inet_sdif(skb); local 2192 th->dest, sdif, &refcounted); 2210 AF_INET, dif, sdif); 2293 AF_INET, dif, sdif); 2384 sdif);
|
| H A D | udp_offload.c | 863 int iif, sdif; in udp4_gro_lookup_skb() 869 inet_get_iif_sdif(skb, &iif, &sdif); in udp4_gro_lookup_skb() 873 sdif, net->ipv4.udp_table, NULL); 861 int iif, sdif; udp4_gro_lookup_skb() local
|
| H A D | igmp.c | 2734 int dif, int sdif) in ip_mc_sf_allow() argument 2750 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
|
| H A D | tcp.c | 4997 int family, int dif, int sdif) in tcp_inbound_hash() argument 5031 l3index = sdif ? dif : 0; in tcp_inbound_hash()
|
| /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 | 158 int dif, int sdif); 162 bool sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif);
|
| /linux/net/core/ |
| H A D | filter.c | 6875 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument 6888 dif, sdif, &refcounted); in sk_lookup() 6892 dif, sdif, net->ipv4.udp_table, NULL); in sk_lookup() 6902 dif, sdif, &refcounted); in sk_lookup() 6907 dif, sdif, in sk_lookup() 6925 u64 flags, int sdif) in __bpf_skc_lookup() argument 6941 if (sdif < 0) { in __bpf_skc_lookup() 6943 sdif = inet_sdif(skb); in __bpf_skc_lookup() 6945 sdif = inet6_sdif(skb); in __bpf_skc_lookup() 6950 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup() [all …]
|