Blame view
include/net/ah.h
435 Bytes
1da177e4c
|
1 2 |
#ifndef _NET_AH_H #define _NET_AH_H |
2ad9afbf5
|
3 |
#include <linux/skbuff.h> |
1da177e4c
|
4 5 |
/* This is the maximum truncated ICV length that we know of. */ |
78d073694
|
6 |
#define MAX_AH_AUTH_LEN 64 |
1da177e4c
|
7 |
|
2ad9afbf5
|
8 |
struct crypto_ahash; |
fd2c3ef76
|
9 |
struct ah_data { |
1da177e4c
|
10 11 |
int icv_full_len; int icv_trunc_len; |
49cbf9524
|
12 |
struct crypto_ahash *ahash; |
1da177e4c
|
13 |
}; |
87bdc48d3
|
14 15 16 17 18 19 |
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
|
20 |
#endif |