aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ah.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ah.h')
-rw-r--r--include/net/ah.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/net/ah.h b/include/net/ah.h
index 8f257c159902..ae1c322f4242 100644
--- a/include/net/ah.h
+++ b/include/net/ah.h
@@ -9,8 +9,6 @@
9 9
10struct ah_data 10struct ah_data
11{ 11{
12 u8 *key;
13 int key_len;
14 u8 *work_icv; 12 u8 *work_icv;
15 int icv_full_len; 13 int icv_full_len;
16 int icv_trunc_len; 14 int icv_trunc_len;
@@ -40,4 +38,11 @@ out:
40 return err; 38 return err;
41} 39}
42 40
41struct ip_auth_hdr;
42
43static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb)
44{
45 return (struct ip_auth_hdr *)skb_transport_header(skb);
46}
47
43#endif 48#endif