| /linux/net/l2tp/ |
| H A D | l2tp_ip6.c | 74 int bound_dev_if; in __l2tp_ip6_bind_lookup() local 79 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in __l2tp_ip6_bind_lookup() 80 if (bound_dev_if && dif && bound_dev_if != dif) in __l2tp_ip6_bind_lookup() 292 int bound_dev_if; in l2tp_ip6_bind() 322 bound_dev_if = sk->sk_bound_dev_if; in l2tp_ip6_bind() 331 bound_dev_if = addr->l2tp_scope_id; in l2tp_ip6_bind() 336 if (!bound_dev_if) in l2tp_ip6_bind() 340 dev = dev_get_by_index_rcu(sock_net(sk), bound_dev_if); in l2tp_ip6_bind() 356 if (__l2tp_ip6_bind_lookup(net, &addr->l2tp_addr, NULL, bound_dev_if, in l2tp_ip6_bind() 291 int bound_dev_if; l2tp_ip6_bind() local [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_sock_fields.c | 67 dst->bound_dev_if = src->bound_dev_if; in skcpy()
|
| /linux/net/sched/ |
| H A D | em_meta.c | 314 int bound_dev_if; in META_COLLECTOR() local 321 bound_dev_if = READ_ONCE(skb->sk->sk_bound_dev_if); in META_COLLECTOR() 322 if (bound_dev_if == 0) { in META_COLLECTOR() 330 bound_dev_if); in META_COLLECTOR()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto.c | 330 int bound_dev_if; in ipv6_getorigdst() local 338 bound_dev_if = sk->sk_bound_dev_if; in ipv6_getorigdst() 363 sin6.sin6_scope_id = ipv6_iface_scope_id(&sin6.sin6_addr, bound_dev_if); in ipv6_getorigdst()
|
| /linux/net/sctp/ |
| H A D | input.c | 984 bool sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) in sctp_sk_bound_dev_eq() argument 991 return inet_bound_dev_eq(l3mdev_accept, bound_dev_if, dif, sdif); in sctp_sk_bound_dev_eq() 1003 int bound_dev_if; in sctp_addrs_lookup_transport() local 1017 bound_dev_if = READ_ONCE(t->asoc->base.sk->sk_bound_dev_if); in sctp_addrs_lookup_transport() 1018 if (sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_addrs_lookup_transport()
|
| H A D | ipv6.c | 691 int type, res, bound_dev_if; in sctp_v6_available() 706 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sctp_v6_available() 707 if (bound_dev_if) { in sctp_v6_available() 709 dev = dev_get_by_index_rcu(net, bound_dev_if); in sctp_v6_available() 689 int type, res, bound_dev_if; sctp_v6_available() local
|
| /linux/include/rdma/ |
| H A D | ib_addr.h | 41 int bound_dev_if; member
|
| /linux/drivers/infiniband/core/ |
| H A D | cma.c | 461 int ifindex_b = id_priv->id.route.addr.dev_addr.bound_dev_if; in compare_netdev_and_ip() 502 node_id_priv->id.route.addr.dev_addr.bound_dev_if, in cma_add_id_to_tree() 560 id_priv->id.route.addr.dev_addr.bound_dev_if, in cma_remove_id_from_tree() 678 int bound_if_index = dev_addr->bound_dev_if; in cma_validate_port() 1799 (!!addr->dev_addr.bound_dev_if == in cma_match_net_dev() 1800 (addr->dev_addr.bound_dev_if == net_dev->ifindex))) in cma_match_net_dev() 2017 if (dev_addr->bound_dev_if) in destroy_mc() 2019 dev_addr->bound_dev_if); in destroy_mc() 3136 if (!addr->dev_addr.bound_dev_if) in cma_iboe_set_path_rec_l2_fields() 3140 addr->dev_addr.bound_dev_if); in cma_iboe_set_path_rec_l2_fields() [all...] |
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 1640 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in tcp_ao_add_cmd() local 1652 if (!bound_dev_if || bound_dev_if != cmd.ifindex) { in tcp_ao_add_cmd() 1666 if (bound_dev_if && bound_dev_if != cmd.ifindex) in tcp_ao_add_cmd() 1668 cmd.ifindex, bound_dev_if); in tcp_ao_add_cmd()
|
| H A D | ip_output.c | 1632 oif = arg->bound_dev_if; in ip_send_unicast_reply() 1652 sk->sk_bound_dev_if = arg->bound_dev_if; in ip_send_unicast_reply()
|
| /linux/net/xdp/ |
| H A D | xsk.c | 1281 int bound_dev_if; in xsk_bind() 1295 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in xsk_bind() 1296 if (bound_dev_if && bound_dev_if != sxdp->sxdp_ifindex) in xsk_bind() 1283 int bound_dev_if; xsk_bind() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_fields.c | 73 sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, in print_sk()
|
| H A D | ctx_rewrite.c | 127 N(CGROUP_SOCK, struct bpf_sock, bound_dev_if),
|
| /linux/include/net/ |
| H A D | sock.h | 3083 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sk_dev_equal_l3scope() local 3086 if (!bound_dev_if || bound_dev_if == dif) in sk_dev_equal_l3scope() 3090 if (mdif && mdif == bound_dev_if) in sk_dev_equal_l3scope()
|
| /linux/include/net/sctp/ |
| H A D | sctp.h | 162 bool sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif);
|
| /linux/net/core/ |
| H A D | sock.c | 738 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sock_getbindtodevice() local 742 if (bound_dev_if == 0) { in sock_getbindtodevice() 751 ret = netdev_get_name(net, devname, bound_dev_if); in sock_getbindtodevice()
|
| H A D | filter.c | 8956 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type() 10125 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6414 __u32 bound_dev_if; 6409 __u32 bound_dev_if; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6414 __u32 bound_dev_if; 6409 __u32 bound_dev_if; global() member
|