https://github.com/torvalds/linux
Raw File
Tip revision: d70ac829b7f42d7ef4f879635c6a772b0b4ed0a2 authored by Linus Torvalds on 20 June 2008, 23:19:44 UTC
Linux 2.6.26-rc7
Tip revision: d70ac82
ipcomp.h
#ifndef _NET_IPCOMP_H
#define _NET_IPCOMP_H

#include <linux/types.h>

#define IPCOMP_SCRATCH_SIZE     65400

struct crypto_comp;

struct ipcomp_data {
	u16 threshold;
	struct crypto_comp **tfms;
};

struct ip_comp_hdr;
struct sk_buff;

static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb)
{
	return (struct ip_comp_hdr *)skb_transport_header(skb);
}

#endif
back to top