| /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/include/net/ |
| H A D | udp.h | 385 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 D | ip.h | 275 int bound_dev_if; member
|
| /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 | 338 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 D | ib_addr.h | 41 int bound_dev_if; member
|
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 1615 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 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() 991 arg.bound_dev_if = oif; in tcp_v4_send_ack()
|
| /linux/net/ipv6/ |
| H A D | udp.c | 136 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 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/net/xdp/ |
| H A D | xsk.c | 1596 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 D | sctp.h | 163 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 | 731 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 D | filter.c | 9244 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 D | bpf.h | 6547 __u32 bound_dev_if; member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6547 __u32 bound_dev_if; member
|