Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Draw.h74 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()
Dinet_sock.h142 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()
Dinet_hashtables.h203 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()
Dudp.h258 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()
Dip.h265 int bound_dev_if; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Daddr.c183 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()
Dcma.c571 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/
Dl2tp_ip6.c269 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/
Dtest_cgrp2_sock.c44 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/
Dtest_sock_fields.c63 dst->bound_dev_if = src->bound_dev_if; in skcpy()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_proto.c314 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/
Drdma_netlink.h48 __u32 bound_dev_if; member
/kernel/linux/linux-5.10/include/rdma/
Dib_addr.h40 int bound_dev_if; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c63 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/
Dbpf.h473 __u32 bound_dev_if; member
/kernel/linux/linux-5.10/net/ipv4/
Dip_output.c1703 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()
Dtcp_ipv4.c784 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/
Dbpf.h4173 __u32 bound_dev_if; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h624 __u32 bound_dev_if; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4173 __u32 bound_dev_if; member
/kernel/linux/linux-5.10/net/core/
Dfilter.c7654 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()