Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Dtcp_ipv6.c85 int l3index) in tcp_v6_md5_do_lookup() argument
589 int l3index) in tcp_v6_md5_do_lookup() argument
591 return tcp_md5_do_lookup(sk, l3index, in tcp_v6_md5_do_lookup()
598 int l3index; in tcp_v6_md5_lookup() local
600 l3index = l3mdev_master_ifindex_by_index(sock_net(sk), in tcp_v6_md5_lookup()
603 l3index); in tcp_v6_md5_lookup()
611 int l3index = 0; in tcp_v6_parse_md5_keys() local
643 l3index = dev->ifindex; in tcp_v6_parse_md5_keys()
649 if (!dev || !l3index) in tcp_v6_parse_md5_keys()
657 l3index, flags); in tcp_v6_parse_md5_keys()
[all …]
/linux-6.1.9/net/ipv4/
Dtcp_ipv4.c731 int l3index; in tcp_v4_send_reset() local
736 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; in tcp_v4_send_reset()
738 key = tcp_md5_do_lookup(sk, l3index, addr, AF_INET); in tcp_v4_send_reset()
743 int l3index; in tcp_v4_send_reset() local
763 l3index = sdif ? dif : 0; in tcp_v4_send_reset()
765 key = tcp_md5_do_lookup(sk1, l3index, addr, AF_INET); in tcp_v4_send_reset()
967 int l3index; in tcp_v4_reqsk_send_ack() local
981 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; in tcp_v4_reqsk_send_ack()
988 tcp_md5_do_lookup(sk, l3index, addr, AF_INET), in tcp_v4_reqsk_send_ack()
1065 if (old->l3index && new->l3index == 0) in better_md5_match()
[all …]
Dtcp.c4570 int genhash, l3index; in tcp_inbound_md5_hash() local
4576 l3index = sdif ? dif : 0; in tcp_inbound_md5_hash()
4578 hash_expected = tcp_md5_do_lookup(sk, l3index, saddr, family); in tcp_inbound_md5_hash()
4615 : "", l3index); in tcp_inbound_md5_hash()
4620 daddr, ntohs(th->dest), l3index); in tcp_inbound_md5_hash()
/linux-6.1.9/include/net/
Dtcp.h1633 int l3index; /* set if key added with L3 scope */ member
1677 int family, u8 prefixlen, int l3index, u8 flags,
1680 int family, u8 prefixlen, int l3index, u8 flags);
1687 struct tcp_md5sig_key *__tcp_md5_do_lookup(const struct sock *sk, int l3index,
1691 tcp_md5_do_lookup(const struct sock *sk, int l3index, in tcp_md5_do_lookup() argument
1696 return __tcp_md5_do_lookup(sk, l3index, addr, family); in tcp_md5_do_lookup()
1708 tcp_md5_do_lookup(const struct sock *sk, int l3index, in tcp_md5_do_lookup() argument