where the IPv4 versions have been forever
ok gnezdo@ deraadt@ jsg@ mpi@ millert@
-/* $OpenBSD: ip6protosw.h,v 1.15 2022/01/02 22:36:05 jsg Exp $ */
+/* $OpenBSD: ip6protosw.h,v 1.16 2022/02/22 01:02:57 guenther Exp $ */
/* $KAME: ip6protosw.h,v 1.22 2001/02/08 18:02:08 itojun Exp $ */
/*
u_int8_t ip6c_nxt; /* final next header field */
};
-#ifdef _KERNEL
-extern u_char ip6_protox[];
-extern const struct protosw inet6sw[];
-#endif
-
#endif /* !_NETINET6_IP6PROTOSW_H_ */
-/* $OpenBSD: protosw.h,v 1.32 2021/05/25 22:45:10 bluhm Exp $ */
+/* $OpenBSD: protosw.h,v 1.33 2022/02/22 01:02:57 guenther Exp $ */
/* $NetBSD: protosw.h,v 1.10 1996/04/09 20:55:32 cgd Exp $ */
/*-
extern u_char ip_protox[];
extern const struct protosw inetsw[];
+
+#ifdef INET6
+extern u_char ip6_protox[];
+extern const struct protosw inet6sw[];
+#endif /* INET6 */
+
#endif