Home
last modified time | relevance | path

Searched refs:tcp_ao_key (Results 1 – 8 of 8) 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 …]
H A Dtcp.h2428 struct tcp_ao_key *(*ao_lookup)(const struct sock *sk,
2431 int (*ao_calc_key_sk)(struct tcp_ao_key *mkt, u8 *key,
2434 int (*calc_ao_hash)(char *location, struct tcp_ao_key *ao,
2451 struct tcp_ao_key *(*ao_lookup)(const struct sock *sk,
2454 int (*ao_calc_key)(struct tcp_ao_key *mkt, u8 *key, struct request_sock *sk);
2455 int (*ao_synack_hash)(char *ao_hash, struct tcp_ao_key *mkt,
2504 struct tcp_ao_key *ao_key;
2975 struct tcp_ao_key *ao_key; in tcp_ao_required()
/linux/net/ipv4/
H A Dtcp_ao.c24 int tcp_ao_calc_traffic_key(struct tcp_ao_key *mkt, u8 *key, void *ctx, in tcp_ao_calc_traffic_key()
113 struct tcp_ao_key *tcp_ao_established_key(const struct sock *sk, in tcp_ao_established_key()
117 struct tcp_ao_key *key; in tcp_ao_established_key()
142 static int __tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in __tcp_ao_key_cmp()
178 static int tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in tcp_ao_key_cmp()
195 static struct tcp_ao_key *__tcp_ao_do_lookup(const struct sock *sk, int l3index, in __tcp_ao_do_lookup()
199 struct tcp_ao_key *key; in __tcp_ao_do_lookup()
220 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index, in tcp_ao_do_lookup()
240 static void tcp_ao_link_mkt(struct tcp_ao_info *ao, struct tcp_ao_key *mkt) in tcp_ao_link_mkt()
245 static struct tcp_ao_key *tcp_ao_copy_key(struct sock *sk, in tcp_ao_copy_key()
[all …]
H A Dtcp_minisocks.c651 struct tcp_ao_key *ao_key; in tcp_create_openreq_child()
H A Dtcp_ipv4.c693 struct tcp_ao_key *key; in tcp_v4_ao_sign_reset()
1070 struct tcp_ao_key *rnext_key;
H A Dtcp_output.c612 struct tcp_ao_key *rnext_key; in process_tcp_ao_options()
3998 struct tcp_ao_key *ao_key = NULL; in tcp_make_synack()
/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()
H A Dtcp_ipv6.c1146 struct tcp_ao_key *rnext_key;