diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-02-24 11:37:50 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-02-24 11:37:50 +0000 |
commit | 147415e2d90cb3a9858a1260259922abc7d05df0 (patch) | |
tree | 51ff89a02f64d170d1972b38bb3361d0d6cbad4f /sys | |
parent | aec09c0f4579f7677e0c34fe55dc49b352b5aeab (diff) |
hide IP6_EXTHDR_CHECK from the userland.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip6.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip6.h b/sys/netinet/ip6.h index e840eb82f68..0f9d7a4490f 100644 --- a/sys/netinet/ip6.h +++ b/sys/netinet/ip6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6.h,v 1.2 2000/02/07 05:45:55 itojun Exp $ */ +/* $OpenBSD: ip6.h,v 1.3 2000/02/24 11:37:49 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 @@ -245,5 +246,6 @@ do { \ } \ } \ } while (0) +#endif /*_KERNEL*/ #endif /* not _NETINET_IP6_H_ */ |