]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - include/net/ah.h
Merge branch 'malidp-fixes' of git://linux-arm.org/linux-ld into drm-fixes
[thirdparty/kernel/stable.git] / include / net / ah.h
CommitLineData
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
7struct crypto_ahash;
8
fd2c3ef7 9struct 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
16struct ip_auth_hdr;
17
18static 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