]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/net/ah.h
netlink: pass extended ACK struct to parsing functions
[mirror_ubuntu-bionic-kernel.git] / include / net / ah.h
CommitLineData
1da177e4
LT
1#ifndef _NET_AH_H
2#define _NET_AH_H
3
2ad9afbf 4#include <linux/skbuff.h>
1da177e4 5
2ad9afbf
SK
6struct crypto_ahash;
7
fd2c3ef7 8struct 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
15struct ip_auth_hdr;
16
17static 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