Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ip6.c280 int bound_dev_if; in l2tp_ip6_bind() local
308 bound_dev_if = sk->sk_bound_dev_if; in l2tp_ip6_bind()
317 bound_dev_if = addr->l2tp_scope_id; in l2tp_ip6_bind()
322 if (!bound_dev_if) in l2tp_ip6_bind()
326 dev = dev_get_by_index_rcu(sock_net(sk), bound_dev_if); in l2tp_ip6_bind()
342 if (__l2tp_ip6_bind_lookup(net, &addr->l2tp_addr, NULL, bound_dev_if, in l2tp_ip6_bind()
351 sk->sk_bound_dev_if = bound_dev_if; in l2tp_ip6_bind()
/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()
/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.c616 int bound_dev_if; in xsk_bind() local
630 bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in xsk_bind()
631 if (bound_dev_if && bound_dev_if != sxdp->sxdp_ifindex) in xsk_bind()
/net/ipv4/
Dip_output.c1708 oif = arg->bound_dev_if; in ip_send_unicast_reply()
1728 sk->sk_bound_dev_if = arg->bound_dev_if; in ip_send_unicast_reply()
Dtcp_ipv4.c764 arg.bound_dev_if = sk->sk_bound_dev_if; in tcp_v4_send_reset()
869 arg.bound_dev_if = oif; in tcp_v4_send_ack()
/net/core/
Dfilter.c6723 case offsetof(struct bpf_sock, bound_dev_if): in __sock_filter_check_attach_type()
7696 case offsetof(struct bpf_sock, bound_dev_if): in bpf_sock_convert_ctx_access()