#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 * __percpu *tfms;
};

struct ip_comp_hdr;
struct sk_buff;
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);

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

#endif
>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='038b9404d4e2db4fbc03d5d2203abafc6e188528'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/haswell/memory.json'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/perf/pmu-events/arch/x86/haswell/memory.json?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86/haswell/memory.json?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/perf/pmu-events/arch/x86/haswell/memory.json?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/haswell/memory.json'>
<input type='hidden' name='id' value='038b9404d4e2db4fbc03d5d2203abafc6e188528'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>perf</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>pmu-events</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>arch</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>x86</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/haswell?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>haswell</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/haswell/memory.json?id=038b9404d4e2db4fbc03d5d2203abafc6e188528'>memory.json</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/haswell/memory.json?id=038b9404d4e2db4fbc03d5d2203abafc6e188528&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>