X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/5d5c5d0d5b79ade9a973d55186ffda2638ba2b6e..39236c6e673c41db228275375ab7fdb0f837b292:/bsd/netinet6/ipcomp.h diff --git a/bsd/netinet6/ipcomp.h b/bsd/netinet6/ipcomp.h index 8d17dc7de..b976f138a 100644 --- a/bsd/netinet6/ipcomp.h +++ b/bsd/netinet6/ipcomp.h @@ -37,6 +37,7 @@ #ifndef _NETINET6_IPCOMP_H_ #define _NETINET6_IPCOMP_H_ #include +#include struct ipcomp { u_int8_t comp_nxt; /* Next Header */ @@ -52,8 +53,7 @@ struct ipcomp { #define IPCOMP_CPI_NEGOTIATE_MIN 256 -#ifdef KERNEL -#ifdef KERNEL_PRIVATE +#ifdef BSD_KERNEL_PRIVATE struct ipcomp_algorithm { int (*compress)(struct mbuf *, struct mbuf *, size_t *); int (*decompress)(struct mbuf *, struct mbuf *, size_t *); @@ -63,8 +63,7 @@ struct ipcomp_algorithm { struct ipsecrequest; extern const struct ipcomp_algorithm *ipcomp_algorithm_lookup(int); extern void ipcomp4_input(struct mbuf *, int); -extern int ipcomp4_output(struct mbuf *, struct ipsecrequest *); -#endif /* KERNEL_PRIVATE */ -#endif /* KERNEL */ +extern int ipcomp4_output(struct mbuf *, struct secasvar *); +#endif /* BSD_KERNEL_PRIVATE */ #endif /* _NETINET6_IPCOMP_H_ */