Home
last modified time | relevance | path

Searched refs:tcp_ao_key (Results 1 – 8 of 8) sorted by relevance

/linux-6.14.4/include/net/
Dtcp_ao.h35 struct tcp_ao_key { struct
55 static inline u8 *rcv_other_key(struct tcp_ao_key *key) in rcv_other_key() argument
60 static inline u8 *snd_other_key(struct tcp_ao_key *key) in snd_other_key()
65 static inline int tcp_ao_maclen(const struct tcp_ao_key *key) in tcp_ao_maclen()
71 static inline int tcp_ao_len(const struct tcp_ao_key *key) in tcp_ao_len()
76 static inline int tcp_ao_len_aligned(const struct tcp_ao_key *key) in tcp_ao_len_aligned()
81 static inline unsigned int tcp_ao_digest_size(struct tcp_ao_key *key) in tcp_ao_digest_size()
86 static inline int tcp_ao_sizeof_key(const struct tcp_ao_key *key) in tcp_ao_sizeof_key()
88 return sizeof(struct tcp_ao_key) + (key->digest_size << 1); in tcp_ao_sizeof_key()
105 struct tcp_ao_key *current_key;
[all …]
Dtcp.h2270 struct tcp_ao_key *(*ao_lookup)(const struct sock *sk,
2273 int (*ao_calc_key_sk)(struct tcp_ao_key *mkt, u8 *key,
2276 int (*calc_ao_hash)(char *location, struct tcp_ao_key *ao,
2293 struct tcp_ao_key *(*ao_lookup)(const struct sock *sk,
2296 int (*ao_calc_key)(struct tcp_ao_key *mkt, u8 *key, struct request_sock *sk);
2297 int (*ao_synack_hash)(char *ao_hash, struct tcp_ao_key *mkt,
2345 struct tcp_ao_key *ao_key;
2818 struct tcp_ao_key *ao_key; in tcp_ao_required()
/linux-6.14.4/net/ipv6/
Dtcp_ao.c16 static int tcp_v6_ao_calc_key(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key()
52 int tcp_v6_ao_calc_key_skb(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key_skb()
64 int tcp_v6_ao_calc_key_sk(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key_sk()
78 int tcp_v6_ao_calc_key_rsk(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key_rsk()
90 struct tcp_ao_key *tcp_v6_ao_lookup(const struct sock *sk, in tcp_v6_ao_lookup()
102 struct tcp_ao_key *tcp_v6_ao_lookup_rsk(const struct sock *sk, in tcp_v6_ao_lookup_rsk()
134 int tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, in tcp_v6_ao_hash_skb()
148 int tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key, in tcp_v6_ao_synack_hash()
Dtcp_ipv6.c1180 struct tcp_ao_key *rnext_key;
/linux-6.14.4/net/ipv4/
Dtcp_ao.c23 int tcp_ao_calc_traffic_key(struct tcp_ao_key *mkt, u8 *key, void *ctx, in tcp_ao_calc_traffic_key()
112 struct tcp_ao_key *tcp_ao_established_key(const struct sock *sk, in tcp_ao_established_key()
116 struct tcp_ao_key *key; in tcp_ao_established_key()
141 static int __tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in __tcp_ao_key_cmp()
177 static int tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in tcp_ao_key_cmp()
194 static struct tcp_ao_key *__tcp_ao_do_lookup(const struct sock *sk, int l3index, in __tcp_ao_do_lookup()
198 struct tcp_ao_key *key; in __tcp_ao_do_lookup()
219 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index, in tcp_ao_do_lookup()
239 static void tcp_ao_link_mkt(struct tcp_ao_info *ao, struct tcp_ao_key *mkt) in tcp_ao_link_mkt()
244 static struct tcp_ao_key *tcp_ao_copy_key(struct sock *sk, in tcp_ao_copy_key()
[all …]
Dtcp_minisocks.c621 struct tcp_ao_key *ao_key; in tcp_create_openreq_child()
Dtcp_ipv4.c693 struct tcp_ao_key *key; in tcp_v4_ao_sign_reset()
1063 struct tcp_ao_key *rnext_key;
Dtcp_output.c626 struct tcp_ao_key *rnext_key; in process_tcp_ao_options()
3772 struct tcp_ao_key *ao_key = NULL; in tcp_make_synack()