X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/4452a7af2eac33dbad800bcc91f2399d62c18f53..5c9f46613a83ebfc29a5b1f099448259e96a98f0:/bsd/netinet6/ipcomp.h?ds=sidebyside 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_ */