summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-04-26 05:12:13 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-04-26 05:12:13 +0000
commit1482ede8b237a2e5572d5447cc501eb284547a64 (patch)
treeab0c4a39d580eb415e02091e0d2e838c312891f8 /sys/netinet
parent3239e0c6c79fa0ba38f88076fa7af770e50697ae (diff)
hide nonstandard struct from userland
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip6.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip6.h b/sys/netinet/ip6.h
index 83a527c7d5d..5267d44a4bd 100644
--- a/sys/netinet/ip6.h
+++ b/sys/netinet/ip6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6.h,v 1.14 2004/01/08 05:31:13 itojun Exp $ */
+/* $OpenBSD: ip6.h,v 1.15 2004/04/26 05:12:12 itojun Exp $ */
/* $KAME: ip6.h,v 1.45 2003/06/05 04:46:38 keiichi Exp $ */
/*
@@ -108,6 +108,7 @@ struct ip6_hdr {
#define IP6TOS_ECT 0x02 /* ECN-capable transport */
#endif
+#ifdef _KERNEL
/*
* for IPv6 pseudo header checksum
* XXX nonstandard
@@ -119,6 +120,7 @@ struct ip6_hdr_pseudo {
u_int8_t ip6ph_zero[3];
u_int8_t ip6ph_nxt;
} __packed;
+#endif
/*
* Extension Headers