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