| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | inet6_hashtables.h | 49 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() 111 const int dif, const int sdif) in inet6_match() argument 122 sdif); in inet6_match()
|
| H A D | inet_hashtables.h | 252 const int dif, const int sdif); 258 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 261 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 295 int dif, int sdif) in INET_MATCH() argument 304 sdif); in INET_MATCH() 314 const int dif, const int sdif); 331 const int dif, const int sdif, in __inet_lookup() argument 338 daddr, hnum, dif, sdif); in __inet_lookup() 344 sport, daddr, hnum, dif, sdif); in __inet_lookup() 370 const int sdif, in __inet_lookup_skb() argument [all …]
|
| H A D | raw.h | 25 __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()
|
| H A D | inet_sock.h | 145 int dif, int sdif) in inet_bound_dev_eq() argument 148 return !sdif || l3mdev_accept; in inet_bound_dev_eq() 149 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 153 int dif, int sdif) in inet_sk_bound_dev_eq() argument 157 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 159 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
| H A D | udp.h | 260 int dif, int sdif) in udp_sk_bound_dev_eq() argument 264 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 266 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 315 __be32 daddr, __be16 dport, int dif, int sdif, 326 int dif, int sdif, struct udp_table *tbl,
|
| H A D | rawv6.h | 10 const struct in6_addr *rmt_addr, int dif, int sdif);
|
| H A D | ipv6_stubs.h | 79 int dif, int sdif, struct udp_table *tbl,
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() argument 74 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 79 if (unlikely(!inet6_match(net, sk, 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 …]
|
| H A D | ip6_input.c | 393 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local 409 if (sdif) { in ip6_protocol_deliver_rcu() 410 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu() 485 int sdif = inet6_sdif(skb); in ip6_mc_input() local 495 if (sdif) { in ip6_mc_input() 497 dev = dev_get_by_index_rcu(dev_net(skb->dev), sdif); in ip6_mc_input() 509 if (sdif) in ip6_mc_input()
|
| H A D | udp.c | 104 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() 167 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 177 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 221 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 235 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 260 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 763 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument 775 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif) || in __udp_v6_is_mcast_sock() 809 int sdif = inet6_sdif(skb); in __udp6_lib_mcast_deliver() local [all …]
|
| H A D | tcp_ipv6.c | 773 int dif, int sdif) in tcp_v6_inbound_md5_hash() argument 786 l3index = sdif ? dif : 0; in tcp_v6_inbound_md5_hash() 1040 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset() local 1054 ntohs(th->source), dif, sdif); in tcp_v6_send_reset() 1606 int sdif = inet6_sdif(skb); in tcp_v6_rcv() local 1641 th->source, th->dest, inet6_iif(skb), sdif, in tcp_v6_rcv() 1656 if (tcp_v6_inbound_md5_hash(sk, skb, dif, sdif)) { in tcp_v6_rcv() 1711 if (tcp_v6_inbound_md5_hash(sk, skb, dif, sdif)) in tcp_v6_rcv() 1798 sdif); in tcp_v6_rcv()
|
| H A D | raw.c | 71 const struct in6_addr *rmt_addr, int dif, int sdif) in __raw_v6_lookup() argument 86 dif, sdif)) in __raw_v6_lookup()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | inet_hashtables.c | 234 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() 283 const int dif, const int sdif) in inet_lhash2_lookup() argument 291 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 334 const int dif, const int sdif) in __inet_lookup_listener() argument 353 dif, sdif); in __inet_lookup_listener() 363 dif, sdif); in __inet_lookup_listener() 396 const int dif, const int sdif) in __inet_lookup_established() argument 413 if (likely(INET_MATCH(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 417 ports, dif, sdif))) { in __inet_lookup_established() [all …]
|
| H A D | raw.c | 122 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()
|
| H A D | udp.c | 361 int dif, int sdif) in compute_score() argument 391 dif, sdif); in compute_score() 434 int dif, int sdif, in udp4_lib_lookup2() argument 445 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 488 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup() argument 501 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 526 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() 578 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument 588 !udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in __udp_is_mcast_sock() 590 if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif)) in __udp_is_mcast_sock() [all …]
|
| H A D | tcp_ipv4.c | 726 int sdif = tcp_v4_sdif(skb); in tcp_v4_send_reset() local 740 ntohs(th->source), dif, sdif); in tcp_v4_send_reset() 748 l3index = sdif ? dif : 0; in tcp_v4_send_reset() 1387 int dif, int sdif) in tcp_v4_inbound_md5_hash() argument 1409 l3index = sdif ? dif : 0; in tcp_v4_inbound_md5_hash() 1939 int sdif = inet_sdif(skb); in tcp_v4_rcv() local 1975 th->dest, sdif, &refcounted); in tcp_v4_rcv() 1990 tcp_v4_inbound_md5_hash(sk, skb, dif, sdif))) { in tcp_v4_rcv() 2049 if (tcp_v4_inbound_md5_hash(sk, skb, dif, sdif)) in tcp_v4_rcv() 2137 sdif); in tcp_v4_rcv()
|
| H A D | ping.c | 175 int dif, sdif; in ping_lookup() local 179 sdif = inet_sdif(skb); in ping_lookup() 185 sdif = inet6_sdif(skb); in ping_lookup() 230 sk->sk_bound_dev_if != sdif) in ping_lookup()
|
| H A D | igmp.c | 2626 int dif, int sdif) in ip_mc_sf_allow() argument 2642 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nft_meta.c | 298 u32 sdif = nft_meta_get_eval_sdif(pkt); in nft_meta_get_eval_sdifname() local 301 dev = sdif ? dev_get_by_index_rcu(nft_net(pkt), sdif) : NULL; in nft_meta_get_eval_sdifname()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | igmp.h | 128 int dif, int sdif);
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 5868 int dif, int sdif, u8 family, u8 proto) in sk_lookup() argument 5881 dif, sdif, &refcounted); in sk_lookup() 5885 dif, sdif, &udp_table, NULL); in sk_lookup() 5895 dif, sdif, &refcounted); in sk_lookup() 5900 dif, sdif, in sk_lookup() 5925 int sdif; in __bpf_skc_lookup() local 5939 sdif = inet_sdif(skb); in __bpf_skc_lookup() 5941 sdif = inet6_sdif(skb); in __bpf_skc_lookup() 5945 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup() 5950 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | devices.txt | 2077 240 = /dev/sdif 240th SCSI disk whole disk
|