diff options
author | 2000-02-24 11:37:49 +0000 | |
---|---|---|
committer | 2000-02-24 11:37:49 +0000 | |
commit | ad6cf2c14a944ba5ccd04bbc3848af9b22daadd3 (patch) | |
tree | 19cecb224e478f2f76a3eae3cb479e83317b8adb | |
parent | new -m number parameter to specify a maximum length of strings to match, (diff) | |
download | wireguard-openbsd-ad6cf2c14a944ba5ccd04bbc3848af9b22daadd3.tar.xz wireguard-openbsd-ad6cf2c14a944ba5ccd04bbc3848af9b22daadd3.zip |
hide IP6_EXTHDR_CHECK from the userland.
-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_ */ |