Home
last modified time | relevance | path

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

/linux/include/net/
H A 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 …]
/linux/net/ipv6/
H A 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()
/linux/net/ipv4/
H A 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 …]
H A Dtcp_minisocks.c624 struct tcp_ao_key *ao_key; in tcp_create_openreq_child()
H A Dtcp_ipv4.c694 struct tcp_ao_key *key; in tcp_v4_ao_sign_reset()
1075 struct tcp_ao_key *rnext_key;
H A Dtcp_output.c628 struct tcp_ao_key *rnext_key; in process_tcp_ao_options()
3783 struct tcp_ao_key *ao_key = NULL; in tcp_make_synack()