/kernel/linux/linux-5.10/include/net/ |
D | raw.h | 74 static inline bool raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, in raw_sk_bound_dev_eq() argument 79 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 81 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
|
D | inet_sock.h | 142 static inline bool inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, in inet_bound_dev_eq() argument 145 if (!bound_dev_if) in inet_bound_dev_eq() 147 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
|
D | inet_hashtables.h | 203 static inline bool inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, in inet_sk_bound_dev_eq() argument 208 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 210 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
D | udp.h | 258 static inline bool udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, in udp_sk_bound_dev_eq() argument 263 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 265 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
|
D | ip.h | 265 int bound_dev_if; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | addr.c | 183 header->ifindex = dev_addr->bound_dev_if; in ib_nl_ip_send_msg() 242 dev_addr->bound_dev_if = dev->ifindex; in rdma_copy_src_l2_addr() 281 if (dev_addr->bound_dev_if) { in rdma_translate_ip() 282 dev = dev_get_by_index(dev_addr->net, dev_addr->bound_dev_if); in rdma_translate_ip() 403 fl4.flowi4_oif = addr->bound_dev_if; in addr4_resolve() 432 fl6.flowi6_oif = addr->bound_dev_if; in addr6_resolve() 543 addr->bound_dev_if = ndev->ifindex; in set_addr_netns_by_gid_rcu() 550 addr->bound_dev_if = 0; in rdma_addr_set_net_defaults()
|
D | cma.c | 571 int bound_if_index = dev_addr->bound_dev_if; in cma_validate_port() 1632 (!!addr->dev_addr.bound_dev_if == in cma_match_net_dev() 1633 (addr->dev_addr.bound_dev_if == net_dev->ifindex))) in cma_match_net_dev() 1840 if (dev_addr->bound_dev_if) in destroy_mc() 1842 dev_addr->bound_dev_if); in destroy_mc() 2862 if (!addr->dev_addr.bound_dev_if) in cma_iboe_set_path_rec_l2_fields() 2866 addr->dev_addr.bound_dev_if); in cma_iboe_set_path_rec_l2_fields() 3331 id->route.addr.dev_addr.bound_dev_if = dst_addr6->sin6_scope_id; in cma_bind_addr() 3741 dev_addr->bound_dev_if = sin6->sin6_scope_id; in cma_check_linklocal() 4523 ndev = dev_get_by_index(dev_addr->net, dev_addr->bound_dev_if); in cma_make_mc_event() [all …]
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ip6.c | 269 int bound_dev_if; in l2tp_ip6_bind() local 297 bound_dev_if = sk->sk_bound_dev_if; in l2tp_ip6_bind() 306 bound_dev_if = addr->l2tp_scope_id; in l2tp_ip6_bind() 311 if (!bound_dev_if) in l2tp_ip6_bind() 315 dev = dev_get_by_index_rcu(sock_net(sk), bound_dev_if); in l2tp_ip6_bind() 331 if (__l2tp_ip6_bind_lookup(net, &addr->l2tp_addr, NULL, bound_dev_if, in l2tp_ip6_bind() 340 sk->sk_bound_dev_if = bound_dev_if; in l2tp_ip6_bind()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | test_cgrp2_sock.c | 44 BPF_MOV64_IMM(BPF_REG_2, offsetof(struct bpf_sock, bound_dev_if)), in prog_load() 45 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_3, offsetof(struct bpf_sock, bound_dev_if)), in prog_load()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_sock_fields.c | 63 dst->bound_dev_if = src->bound_dev_if; in skcpy()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_proto.c | 314 int bound_dev_if; in ipv6_getorigdst() local 322 bound_dev_if = sk->sk_bound_dev_if; in ipv6_getorigdst() 351 sin6.sin6_scope_id = ipv6_iface_scope_id(&sin6.sin6_addr, bound_dev_if); in ipv6_getorigdst()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
D | rdma_netlink.h | 48 __u32 bound_dev_if; member
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_addr.h | 40 int bound_dev_if; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sock_fields.c | 63 sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, in print_sk()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | bpf.h | 473 __u32 bound_dev_if; member
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_output.c | 1703 oif = arg->bound_dev_if; in ip_send_unicast_reply() 1723 sk->sk_bound_dev_if = arg->bound_dev_if; in ip_send_unicast_reply()
|
D | tcp_ipv4.c | 784 arg.bound_dev_if = sk->sk_bound_dev_if; in tcp_v4_send_reset() 889 arg.bound_dev_if = oif; in tcp_v4_send_ack()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | bpf.h | 4173 __u32 bound_dev_if; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | bpf.h | 624 __u32 bound_dev_if; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | bpf.h | 4173 __u32 bound_dev_if; member
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 7654 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type() 8648 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()
|