Searched refs:l3index (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 246 static int __tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in __tcp_ao_key_cmp() argument 254 if (l3index >= 0 && (key->keyflags & TCP_AO_KEYF_IFINDEX)) { in __tcp_ao_key_cmp() 255 if (key->l3index != l3index) in __tcp_ao_key_cmp() 256 return (key->l3index > l3index) ? 1 : -1; in __tcp_ao_key_cmp() 282 static int tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in tcp_ao_key_cmp() argument 290 return __tcp_ao_key_cmp(key, l3index, in tcp_ao_key_cmp() 295 return __tcp_ao_key_cmp(key, l3index, addr, in tcp_ao_key_cmp() 299 static struct tcp_ao_key *__tcp_ao_do_lookup(const struct sock *sk, int l3index, in __tcp_ao_do_lookup() argument 317 if (!tcp_ao_key_cmp(key, l3index, addr, prefixlen, in __tcp_ao_do_lookup() 324 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index, in tcp_ao_do_lookup() argument [all …]
|
| H A D | tcp_ipv4.c | 668 int l3index = sdif ? dif : 0; in tcp_v4_ao_sign_reset() local 677 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, ntohl(reply->seq), in tcp_v4_ao_sign_reset() 780 int l3index; in tcp_v4_send_reset() local 785 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; in tcp_v4_send_reset() 787 key = tcp_md5_do_lookup(sk, l3index, addr, AF_INET); in tcp_v4_send_reset() 792 int l3index; in tcp_v4_send_reset() local 811 l3index = sdif ? dif : 0; in tcp_v4_send_reset() 813 key = tcp_md5_do_lookup(sk1, l3index, addr, AF_INET); in tcp_v4_send_reset() 1092 int l3index; local 1101 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; [all …]
|
| /linux/include/net/ |
| H A D | tcp_ao.h | 56 int l3index; member 219 const struct request_sock *req, int l3index, 222 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index, 231 const struct tcp_ao_hdr *aoh, int l3index, u32 seq, 303 const struct request_sock *req, int l3index, in tcp_inbound_ao_hash() argument 310 int l3index, const union tcp_ao_addr *addr, in tcp_ao_do_lookup() argument
|