Blame view
include/net/ipcomp.h
620 Bytes
1da177e4c
|
1 2 |
#ifndef _NET_IPCOMP_H #define _NET_IPCOMP_H |
9409f38a0
|
3 |
#include <linux/types.h> |
1da177e4c
|
4 |
#define IPCOMP_SCRATCH_SIZE 65400 |
87bdc48d3
|
5 |
struct crypto_comp; |
1da177e4c
|
6 7 |
struct ipcomp_data { u16 threshold; |
7d720c3e4
|
8 |
struct crypto_comp * __percpu *tfms; |
1da177e4c
|
9 |
}; |
87bdc48d3
|
10 11 |
struct ip_comp_hdr; struct sk_buff; |
6fccab671
|
12 13 14 15 16 17 |
struct xfrm_state; int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb); int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb); void ipcomp_destroy(struct xfrm_state *x); int ipcomp_init_state(struct xfrm_state *x); |
87bdc48d3
|
18 19 20 21 22 |
static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) { return (struct ip_comp_hdr *)skb_transport_header(skb); } |
1da177e4c
|
23 |
#endif |