Home
last modified time | relevance | path

Searched refs:l3index (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/net/ipv4/
Dtcp_ipv4.c733 int l3index; in tcp_v4_send_reset() local
738 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; in tcp_v4_send_reset()
740 key = tcp_md5_do_lookup(sk, l3index, addr, AF_INET); in tcp_v4_send_reset()
745 int l3index; in tcp_v4_send_reset() local
765 l3index = sdif ? dif : 0; in tcp_v4_send_reset()
767 key = tcp_md5_do_lookup(sk1, l3index, addr, AF_INET); in tcp_v4_send_reset()
973 int l3index; in tcp_v4_reqsk_send_ack() local
987 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; in tcp_v4_reqsk_send_ack()
994 tcp_md5_do_lookup(sk, l3index, addr, AF_INET), in tcp_v4_reqsk_send_ack()
1072 if (old->l3index && new->l3index == 0) in better_md5_match()
[all …]
Dtcp.c4472 int genhash, l3index; in tcp_inbound_md5_hash() local
4478 l3index = sdif ? dif : 0; in tcp_inbound_md5_hash()
4480 hash_expected = tcp_md5_do_lookup(sk, l3index, saddr, family); in tcp_inbound_md5_hash()
4517 : "", l3index); in tcp_inbound_md5_hash()
4522 daddr, ntohs(th->dest), l3index); in tcp_inbound_md5_hash()
/linux-6.6.21/net/ipv6/
Dtcp_ipv6.c85 int l3index) in tcp_v6_md5_do_lookup() argument
587 int l3index) in tcp_v6_md5_do_lookup() argument
589 return tcp_md5_do_lookup(sk, l3index, in tcp_v6_md5_do_lookup()
596 int l3index; in tcp_v6_md5_lookup() local
598 l3index = l3mdev_master_ifindex_by_index(sock_net(sk), in tcp_v6_md5_lookup()
601 l3index); in tcp_v6_md5_lookup()
609 int l3index = 0; in tcp_v6_parse_md5_keys() local
641 l3index = dev->ifindex; in tcp_v6_parse_md5_keys()
647 if (!dev || !l3index) in tcp_v6_parse_md5_keys()
655 l3index, flags); in tcp_v6_parse_md5_keys()
[all …]
/linux-6.6.21/include/net/
Dtcp.h1680 int l3index; /* set if key added with L3 scope */ member
1724 int family, u8 prefixlen, int l3index, u8 flags,
1727 int family, u8 prefixlen, int l3index,
1731 int family, u8 prefixlen, int l3index, u8 flags);
1738 struct tcp_md5sig_key *__tcp_md5_do_lookup(const struct sock *sk, int l3index,
1742 tcp_md5_do_lookup(const struct sock *sk, int l3index, in tcp_md5_do_lookup() argument
1747 return __tcp_md5_do_lookup(sk, l3index, addr, family); in tcp_md5_do_lookup()
1759 tcp_md5_do_lookup(const struct sock *sk, int l3index, in tcp_md5_do_lookup() argument