]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef _NET_AH_H |
3 | #define _NET_AH_H | |
4 | ||
2ad9afbf | 5 | #include <linux/skbuff.h> |
1da177e4 | 6 | |
2ad9afbf SK |
7 | struct crypto_ahash; |
8 | ||
fd2c3ef7 | 9 | struct ah_data { |
1da177e4 LT |
10 | int icv_full_len; |
11 | int icv_trunc_len; | |
12 | ||
49cbf952 | 13 | struct crypto_ahash *ahash; |
1da177e4 LT |
14 | }; |
15 | ||
87bdc48d HX |
16 | struct ip_auth_hdr; |
17 | ||
18 | static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb) | |
19 | { | |
20 | return (struct ip_auth_hdr *)skb_transport_header(skb); | |
21 | } | |
22 | ||
1da177e4 | 23 | #endif |