From 729dcf0da458932e1c1b0a95ac3a6074c3affc0d Mon Sep 17 00:00:00 2001 From: itojun Date: Thu, 24 Feb 2000 09:55:24 +0000 Subject: [PATCH] hide declaration of IP6_EXTHDR_{GET,CHECK} from userland. --- sys/netinet/ip6.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/netinet/ip6.h b/sys/netinet/ip6.h index ca12fd20f4e6..198d81e2e927 100644 --- a/sys/netinet/ip6.h +++ b/sys/netinet/ip6.h @@ -1,4 +1,4 @@ -/* $NetBSD: ip6.h,v 1.4 2000/02/06 11:11:29 itojun Exp $ */ +/* $NetBSD: ip6.h,v 1.5 2000/02/24 09:55:24 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -205,6 +205,7 @@ struct ip6_frag { #define IPV6_MMTU 1280 /* minimal MTU and reassembly. 1024 + 256 */ #define IPV6_MAXPACKET 65535 /* ip6 max packet size without Jumbo payload*/ +#ifdef _KERNEL /* * IP6_EXTHDR_CHECK ensures that region between the IP6 header and the * target header (including IPv6 itself, extension headers and @@ -280,5 +281,6 @@ do { \ } else \ (val) = (typ)NULL; \ } while (0) +#endif /*_KERNEL*/ #endif /* not _NETINET_IP6_H_ */