diff options
| author | Mitsuru Kanda <mk@linux-ipv6.org> | 2003-05-16 00:02:52 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-05-16 00:02:52 -0700 |
| commit | 78bd896136ce6f28fb45f06c48bb78334903b3ff (patch) | |
| tree | 7eb28f363de6764c6795bc6c9aff7f29f717983d /include/net | |
| parent | f9c72ecdd83a3a20678e842b32f2a45c592e8066 (diff) | |
[IPV6]: Add IPCOMP support.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/ipcomp.h | 12 | ||||
| -rw-r--r-- | include/net/ipv6.h | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/net/ipcomp.h b/include/net/ipcomp.h new file mode 100644 index 000000000000..e94a6488a7ee --- /dev/null +++ b/include/net/ipcomp.h @@ -0,0 +1,12 @@ +#ifndef _NET_IPCOMP_H +#define _NET_IPCOMP_H + +#define IPCOMP_SCRATCH_SIZE 65400 + +struct ipcomp_data { + u16 threshold; + u8 *scratch; + struct crypto_tfm *tfm; +}; + +#endif diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 754c7f36afda..bf0e5052f824 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -315,6 +315,7 @@ extern int ip6_build_xmit(struct sock *sk, unsigned length, struct ipv6_txoptions *opt, int hlimit, int flags); +extern int ip6_found_nexthdr(struct sk_buff *skb, u8 **nexthdr); extern int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), |
