Lines Matching refs:tcp_ao_key
23 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()
245 struct tcp_ao_key *key) in tcp_ao_copy_key()
247 struct tcp_ao_key *new_key; in tcp_ao_copy_key()
265 struct tcp_ao_key *key = container_of(head, struct tcp_ao_key, rcu); in tcp_ao_key_free_rcu()
274 struct tcp_ao_key *key; in tcp_ao_info_free_rcu()
289 struct tcp_ao_key *key; in tcp_ao_sk_omem_free()
321 struct tcp_ao_key *key; in tcp_ao_time_wait()
338 static int tcp_v4_ao_calc_key(struct tcp_ao_key *mkt, u8 *key, in tcp_v4_ao_calc_key()
374 int tcp_v4_ao_calc_key_sk(struct tcp_ao_key *mkt, u8 *key, in tcp_v4_ao_calc_key_sk()
388 static int tcp_ao_calc_key_sk(struct tcp_ao_key *mkt, u8 *key, in tcp_ao_calc_key_sk()
402 int tcp_v4_ao_calc_key_rsk(struct tcp_ao_key *mkt, u8 *key, in tcp_v4_ao_calc_key_rsk()
414 static int tcp_v4_ao_calc_key_skb(struct tcp_ao_key *mkt, u8 *key, in tcp_v4_ao_calc_key_skb()
425 static int tcp_ao_calc_key_skb(struct tcp_ao_key *mkt, u8 *key, in tcp_ao_calc_key_skb()
561 struct tcp_ao_key *key, const u8 *tkey, in tcp_ao_hash_hdr()
622 char *ao_hash, struct tcp_ao_key *key, in tcp_ao_hash_skb()
672 int tcp_v4_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, in tcp_v4_ao_hash_skb()
680 int tcp_v4_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key, in tcp_v4_ao_synack_hash()
702 struct tcp_ao_key *tcp_v4_ao_lookup_rsk(const struct sock *sk, in tcp_v4_ao_lookup_rsk()
714 struct tcp_ao_key *tcp_v4_ao_lookup(const struct sock *sk, struct sock *addr_sk, in tcp_v4_ao_lookup()
726 struct tcp_ao_key **key, char **traffic_key, in tcp_ao_prepare_reset()
784 struct tcp_ao_key *rnext_key; in tcp_ao_prepare_reset()
810 struct tcp_ao_key *key, struct tcphdr *th, in tcp_ao_transmit_skb()
846 static struct tcp_ao_key *tcp_ao_inbound_lookup(unsigned short int family, in tcp_ao_inbound_lookup()
871 struct tcp_ao_key *key; in tcp_ao_syncookie()
903 const struct tcp_ao_hdr *aoh, struct tcp_ao_key *key, in tcp_ao_verify_hash()
952 struct tcp_ao_key *key; in tcp_inbound_ao_hash()
975 struct tcp_ao_key *current_key; in tcp_inbound_ao_hash()
1078 struct tcp_ao_key *ao_key) in tcp_ao_cache_traffic_keys()
1100 struct tcp_ao_key *key; in tcp_ao_connect_init()
1160 struct tcp_ao_key *key; in tcp_ao_established()
1174 struct tcp_ao_key *key; in tcp_ao_finish_connect()
1192 struct tcp_ao_key *key, *new_key, *first_key; in tcp_ao_copy_all_matching()
1258 first_key = hlist_entry_safe(key_head, struct tcp_ao_key, node); in tcp_ao_copy_all_matching()
1337 static int tcp_ao_parse_crypto(struct tcp_ao_add *cmd, struct tcp_ao_key *key) in tcp_ao_parse_crypto()
1547 static struct tcp_ao_key *tcp_ao_key_alloc(struct sock *sk, in tcp_ao_key_alloc()
1553 struct tcp_ao_key *key; in tcp_ao_key_alloc()
1580 size = sizeof(struct tcp_ao_key) + (digest_size << 1); in tcp_ao_key_alloc()
1601 struct tcp_ao_key *key; in tcp_ao_add_cmd()
1763 bool del_async, struct tcp_ao_key *key, in tcp_ao_delete_key()
1764 struct tcp_ao_key *new_current, in tcp_ao_delete_key()
1765 struct tcp_ao_key *new_rnext) in tcp_ao_delete_key()
1815 struct tcp_ao_key *key, *new_current = NULL, *new_rnext = NULL; in tcp_ao_del_cmd()
1961 struct tcp_ao_key *new_current = NULL, *new_rnext = NULL; in tcp_ao_info_cmd()
2111 struct tcp_ao_key *key, *current_key; in tcp_ao_copy_mkts_to_user()
2322 struct tcp_ao_key *current_key; in tcp_ao_get_sock_info()
2378 struct tcp_ao_key *key; in tcp_ao_set_repair()