| /linux/net/sctp/ |
| H A D | endpointola.c | 253 int bound_dev_if = READ_ONCE(ep->base.sk->sk_bound_dev_if); in sctp_endpoint_is_match() local 257 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_endpoint_is_match() 305 int bound_dev_if = READ_ONCE(ep->base.sk->sk_bound_dev_if); in sctp_endpoint_is_peeled_off() local 316 bound_dev_if, bound_dev_if)) in sctp_endpoint_is_peeled_off()
|
| 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 | 693 int type, res, bound_dev_if; in sctp_v6_available() 708 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sctp_v6_available() 709 if (bound_dev_if) { in sctp_v6_available() 711 dev = dev_get_by_index_rcu(net, bound_dev_if); in sctp_v6_available() 691 int type, res, bound_dev_if; sctp_v6_available() local
|
| /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/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() 1803 (!!addr->dev_addr.bound_dev_if == in cma_match_net_dev() 1804 (addr->dev_addr.bound_dev_if == net_dev->ifindex))) in cma_match_net_dev() 2021 if (dev_addr->bound_dev_if) in destroy_mc() 2023 dev_addr->bound_dev_if); in destroy_mc() 3141 if (!addr->dev_addr.bound_dev_if) in cma_iboe_set_path_rec_l2_fields() 3145 addr->dev_addr.bound_dev_if); in cma_iboe_set_path_rec_l2_fields() [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 1642 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in tcp_ao_add_cmd() local 1654 if (!bound_dev_if || bound_dev_if != cmd.ifindex) { in tcp_ao_add_cmd() 1668 if (bound_dev_if && bound_dev_if != cmd.ifindex) in tcp_ao_add_cmd() 1670 cmd.ifindex, bound_dev_if); in tcp_ao_add_cmd()
|
| H A D | ip_output.c | 1635 oif = arg->bound_dev_if; in ip_send_unicast_reply() 1655 sk->sk_bound_dev_if = arg->bound_dev_if; in ip_send_unicast_reply()
|
| H A D | tcp_ipv4.c | 858 arg.bound_dev_if = sk->sk_bound_dev_if; in tcp_v4_send_reset() 988 arg.bound_dev_if = oif; in tcp_v4_send_ack()
|
| /linux/net/xdp/ |
| H A D | xsk.c | 1400 int bound_dev_if; in xsk_bind() local 1414 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in xsk_bind() 1415 if (bound_dev_if && bound_dev_if != sxdp->sxdp_ifindex) in xsk_bind()
|
| /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 | 3106 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sk_dev_equal_l3scope() local 3109 if (!bound_dev_if || bound_dev_if == dif) in sk_dev_equal_l3scope() 3113 if (mdif && mdif == bound_dev_if) in sk_dev_equal_l3scope()
|
| H A D | ip.h | 275 int bound_dev_if; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6444 __u32 bound_dev_if; 6409 __u32 bound_dev_if; global() member
|
| /linux/net/core/ |
| H A D | filter.c | 8998 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type() 10167 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()
|