Home
last modified time | relevance | path

Searched refs:bound_dev_if (Results 1 – 17 of 17) sorted by relevance

/linux/net/sctp/
H A Dendpointola.c253 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 Dinput.c984 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 Dipv6.c693 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 Dtest_sock_fields.c67 dst->bound_dev_if = src->bound_dev_if; in skcpy()
/linux/net/sched/
H A Dem_meta.c314 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 Dib_addr.h41 int bound_dev_if; member
/linux/drivers/infiniband/core/
H A Dcma.c461 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 Dtcp_ao.c1642 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 Dip_output.c1635 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 Dtcp_ipv4.c858 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 Dxsk.c1400 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 Dsock_fields.c73 sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, in print_sk()
H A Dctx_rewrite.c127 N(CGROUP_SOCK, struct bpf_sock, bound_dev_if),
/linux/include/net/
H A Dsock.h3106 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 Dip.h275 int bound_dev_if; member
/linux/tools/include/uapi/linux/
H A Dbpf.h6444 __u32 bound_dev_if;
6409 __u32 bound_dev_if; global() member
/linux/net/core/
H A Dfilter.c8998 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()