#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
d='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='fa19a769f82fb9a5ca000b83cacd13fcaeda51ac'/><input type='hidden' name='id2' value='90f92c631b210c1e97080b53a9d863783281a932'/><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=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/net/llc'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/llc?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/llc?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/net/llc?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac&amp;id2=90f92c631b210c1e97080b53a9d863783281a932'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/llc'>
<input type='hidden' name='id' value='fa19a769f82fb9a5ca000b83cacd13fcaeda51ac'/><input type='hidden' name='id2' value='90f92c631b210c1e97080b53a9d863783281a932'/><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/diff/?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac&amp;id2=90f92c631b210c1e97080b53a9d863783281a932'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/net?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac&amp;id2=90f92c631b210c1e97080b53a9d863783281a932'>net</a>/<a href='/cgit.cgi/linux/net-next.git/diff/net/llc?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac&amp;id2=90f92c631b210c1e97080b53a9d863783281a932'>llc</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='fa19a769f82fb9a5ca000b83cacd13fcaeda51ac'/><input type='hidden' name='id2' value='90f92c631b210c1e97080b53a9d863783281a932'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=fa19a769f82fb9a5ca000b83cacd13fcaeda51ac&amp;id2=90f92c631b210c1e97080b53a9d863783281a932'>Diffstat</a> (limited to 'net/llc')</div><table summary='diffstat' class='diffstat'>