#define _NETINET6_AH6_H_
#include <sys/appleapiopts.h>
-#ifdef KERNEL
-#ifdef __APPLE_API_PRIVATE
+#ifdef BSD_KERNEL_PRIVATE
struct secasvar;
-extern int ah6_input __P((struct mbuf **, int *));
-extern int ah6_output __P((struct mbuf *, u_char *, struct mbuf *,
- struct ipsecrequest *));
-extern int ah6_calccksum __P((struct mbuf *, caddr_t, size_t,
- const struct ah_algorithm *, struct secasvar *));
-
-extern void ah6_ctlinput __P((int, struct sockaddr *, void *));
-#endif /* __APPLE_API_PRIVATE */
-#endif
+extern int ah6_input(struct mbuf **, int *, int);
+extern int ah6_output(struct mbuf *, u_char *, struct mbuf *,
+ struct secasvar *);
+extern int ah6_calccksum(struct mbuf *, caddr_t, size_t,
+ const struct ah_algorithm *, struct secasvar *);
+extern void ah6_ctlinput(int, struct sockaddr *, void *);
+#endif /* BSD_KERNEL_PRIVATE */
#endif /*_NETINET6_AH6_H_*/