Blame view

include/net/ah.h 382 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
  #ifndef _NET_AH_H
  #define _NET_AH_H
2ad9afbf5   Steffen Klassert   ah: Remove obsole...
4
  #include <linux/skbuff.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
5

2ad9afbf5   Steffen Klassert   ah: Remove obsole...
6
  struct crypto_ahash;
fd2c3ef76   Eric Dumazet   net: cleanup incl...
7
  struct ah_data {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8
9
  	int			icv_full_len;
  	int			icv_trunc_len;
49cbf9524   Steffen Klassert   ah: Add struct cr...
10
  	struct crypto_ahash	*ahash;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11
  };
87bdc48d3   Herbert Xu   [IPSEC]: Get rid ...
12
13
14
15
16
17
  struct ip_auth_hdr;
  
  static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb)
  {
  	return (struct ip_auth_hdr *)skb_transport_header(skb);
  }
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
18
  #endif