Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ip6.c65 int bound_dev_if; in __l2tp_ip6_bind_lookup() local
70 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in __l2tp_ip6_bind_lookup()
71 if (bound_dev_if && dif && bound_dev_if != dif) in __l2tp_ip6_bind_lookup()
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()
Dl2tp_ip.c53 int bound_dev_if; in __l2tp_ip_bind_lookup() local
58 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in __l2tp_ip_bind_lookup()
59 if (bound_dev_if && dif && bound_dev_if != dif) in __l2tp_ip_bind_lookup()
/net/sched/
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()
/net/netfilter/
Dnf_conntrack_proto.c327 int bound_dev_if; in ipv6_getorigdst() local
335 bound_dev_if = sk->sk_bound_dev_if; in ipv6_getorigdst()
364 sin6.sin6_scope_id = ipv6_iface_scope_id(&sin6.sin6_addr, bound_dev_if); in ipv6_getorigdst()
/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()
/net/xdp/
Dxsk.c888 int bound_dev_if; in xsk_bind() local
902 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in xsk_bind()
903 if (bound_dev_if && bound_dev_if != sxdp->sxdp_ifindex) in xsk_bind()
/net/ipv6/
Dudp.c122 int bound_dev_if, score; in compute_score() local
149 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in compute_score()
150 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score()
153 if (bound_dev_if) in compute_score()
/net/ipv4/
Dip_output.c1719 oif = arg->bound_dev_if; in ip_send_unicast_reply()
1739 sk->sk_bound_dev_if = arg->bound_dev_if; in ip_send_unicast_reply()
Dtcp_ipv4.c814 arg.bound_dev_if = sk->sk_bound_dev_if; in tcp_v4_send_reset()
927 arg.bound_dev_if = oif; in tcp_v4_send_ack()
/net/core/
Dsock.c725 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sock_getbindtodevice() local
729 if (bound_dev_if == 0) { in sock_getbindtodevice()
738 ret = netdev_get_name(net, devname, bound_dev_if); in sock_getbindtodevice()
Dfilter.c8549 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type()
9706 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()