#ifndef _NET_IPCOMP_H #define _NET_IPCOMP_H #include #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 >
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-06-27 10:05:55 -0400
committerDavid S. Miller <davem@davemloft.net>2016-06-27 10:05:55 -0400
commit5aa3e24928bb95ddb159c5949f1c09493e9e8505 (patch)
tree0eb4b93304fdeb3c99b98b60b0acbe4e8d47726c
parenta37503bc387ce2434106d4bf4870bd73081c7355 (diff)
parent71873a9b38d1cc6c93e2962149a7bb7272a7cb66 (diff)
Merge tag 'linux-can-fixes-for-4.7-20160623' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
Marc Kleine-Budde says: ==================== pull-request: can 2016-06-23 this is a pull request of 3 patches for the upcoming linux-4.7 release. The first two patches are by Oliver Hartkopp fixing oopes in the generic CAN device netlink handling. Jimmy Assarsson's patch for the kvaser_usb driver adds support for more devices by adding their USB product ids. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>