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/
Dinet_sock.h120 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in inet_request_bound_dev_if() local
124 if (!bound_dev_if && READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) in inet_request_bound_dev_if()
128 return bound_dev_if; in inet_request_bound_dev_if()
144 static inline bool inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, in inet_bound_dev_eq() argument
147 if (!bound_dev_if) in inet_bound_dev_eq()
149 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
152 static inline bool inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, in inet_sk_bound_dev_eq() argument
157 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
159 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
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()
Dudp.h259 static inline bool udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, in udp_sk_bound_dev_eq() argument
264 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
266 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
Dip.h268 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.c570 int bound_if_index = dev_addr->bound_dev_if; in cma_validate_port()
1631 (!!addr->dev_addr.bound_dev_if == in cma_match_net_dev()
1632 (addr->dev_addr.bound_dev_if == net_dev->ifindex))) in cma_match_net_dev()
1839 if (dev_addr->bound_dev_if) in destroy_mc()
1841 dev_addr->bound_dev_if); in destroy_mc()
2863 if (!addr->dev_addr.bound_dev_if) in cma_iboe_set_path_rec_l2_fields()
2867 addr->dev_addr.bound_dev_if); in cma_iboe_set_path_rec_l2_fields()
3340 id->route.addr.dev_addr.bound_dev_if = in cma_bind_addr()
3750 dev_addr->bound_dev_if = sin6->sin6_scope_id; in cma_check_linklocal()
4533 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.c267 int bound_dev_if; in l2tp_ip6_bind() local
295 bound_dev_if = sk->sk_bound_dev_if; in l2tp_ip6_bind()
304 bound_dev_if = addr->l2tp_scope_id; in l2tp_ip6_bind()
309 if (!bound_dev_if) in l2tp_ip6_bind()
313 dev = dev_get_by_index_rcu(sock_net(sk), bound_dev_if); in l2tp_ip6_bind()
329 if (__l2tp_ip6_bind_lookup(net, &addr->l2tp_addr, NULL, bound_dev_if, in l2tp_ip6_bind()
338 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.c64 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/net/sctp/
Dinput.c95 int bound_dev_if; in sctp_rcv() local
173 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sctp_rcv()
174 if (bound_dev_if && (bound_dev_if != af->skb_iif(skb))) { in sctp_rcv()
/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.c74 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.c1713 oif = arg->bound_dev_if; in ip_send_unicast_reply()
1733 sk->sk_bound_dev_if = arg->bound_dev_if; in ip_send_unicast_reply()
Dtcp_ipv4.c788 arg.bound_dev_if = sk->sk_bound_dev_if; in tcp_v4_send_reset()
899 arg.bound_dev_if = oif; in tcp_v4_send_ack()
/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/tools/include/uapi/linux/
Dbpf.h4173 __u32 bound_dev_if; member
/kernel/linux/linux-5.10/net/core/
Dfilter.c7700 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type()
8702 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()