Home
last modified time | relevance | path

Searched refs:bound_dev_if (Results 1 – 21 of 21) 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/include/net/
H A Dudp.h385 static inline bool udp_sk_bound_dev_eq(const struct net *net, int bound_dev_if, in udp_sk_bound_dev_eq() argument
390 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
392 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
H A Dip.h275 int bound_dev_if; member
/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/net/netfilter/
H A Dnf_conntrack_proto.c338 int bound_dev_if; in ipv6_getorigdst() local
346 bound_dev_if = sk->sk_bound_dev_if; in ipv6_getorigdst()
371 sin6.sin6_scope_id = ipv6_iface_scope_id(&sin6.sin6_addr, bound_dev_if); in ipv6_getorigdst()
/linux/include/rdma/
H A Dib_addr.h41 int bound_dev_if; member
/linux/net/ipv4/
H A Dtcp_ao.c1615 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in tcp_ao_add_cmd() local
1627 if (!bound_dev_if || bound_dev_if != cmd.ifindex) { in tcp_ao_add_cmd()
1641 if (bound_dev_if && bound_dev_if != cmd.ifindex) in tcp_ao_add_cmd()
1643 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()
991 arg.bound_dev_if = oif; in tcp_v4_send_ack()
/linux/net/ipv6/
H A Dudp.c136 int bound_dev_if, score; in compute_score() local
163 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in compute_score()
164 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score()
167 if (bound_dev_if) in compute_score()
/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/net/xdp/
H A Dxsk.c1596 int bound_dev_if; in xsk_bind() local
1610 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in xsk_bind()
1611 if (bound_dev_if && bound_dev_if != sxdp->sxdp_ifindex) in xsk_bind()
/linux/include/net/sctp/
H A Dsctp.h163 bool sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif);
/linux/net/core/
H A Dsock.c731 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sock_getbindtodevice() local
735 if (bound_dev_if == 0) { in sock_getbindtodevice()
744 ret = netdev_get_name(net, devname, bound_dev_if); in sock_getbindtodevice()
H A Dfilter.c9244 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type()
10413 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()
/linux/tools/include/uapi/linux/
H A Dbpf.h6547 __u32 bound_dev_if; member
/linux/include/uapi/linux/
H A Dbpf.h6547 __u32 bound_dev_if; member