Lines Matching refs:tcp_ao_key

35 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;
106 struct tcp_ao_key *rnext_key;
178 struct tcp_ao_key *key, struct tcphdr *th,
181 char *ao_hash, struct tcp_ao_key *key,
186 struct tcp_ao_key *tcp_ao_established_key(const struct sock *sk,
192 int tcp_ao_calc_traffic_key(struct tcp_ao_key *mkt, u8 *key, void *ctx,
206 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index,
210 struct tcp_ao_key *key, const u8 *tkey,
216 struct tcp_ao_key **key, char **traffic_key,
221 struct tcp_ao_key *tcp_v4_ao_lookup(const struct sock *sk, struct sock *addr_sk,
223 int tcp_v4_ao_synack_hash(char *ao_hash, struct tcp_ao_key *mkt,
226 int tcp_v4_ao_calc_key_sk(struct tcp_ao_key *mkt, u8 *key,
229 int tcp_v4_ao_calc_key_rsk(struct tcp_ao_key *mkt, u8 *key,
231 struct tcp_ao_key *tcp_v4_ao_lookup_rsk(const struct sock *sk,
234 int tcp_v4_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key,
241 int tcp_v6_ao_calc_key_skb(struct tcp_ao_key *mkt, u8 *key,
243 int tcp_v6_ao_calc_key_sk(struct tcp_ao_key *mkt, u8 *key,
246 int tcp_v6_ao_calc_key_rsk(struct tcp_ao_key *mkt, u8 *key,
248 struct tcp_ao_key *tcp_v6_ao_lookup(const struct sock *sk,
250 struct tcp_ao_key *tcp_v6_ao_lookup_rsk(const struct sock *sk,
253 int tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key,
257 int tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key,
268 struct tcp_ao_key *key, struct tcphdr *th, in tcp_ao_transmit_skb()
293 static inline struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, in tcp_ao_do_lookup()