#ifndef _NETINET6_IPCOMP_H_
#define _NETINET6_IPCOMP_H_
#include <sys/appleapiopts.h>
+#include <netinet6/ipsec.h>
struct ipcomp {
u_int8_t comp_nxt; /* Next Header */
#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 *);
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_ */