summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-03 20:58:56 +0000
committersam <sam@FreeBSD.org>2003-10-03 20:58:56 +0000
commit2b3514a20ca8310cc9607e33082eb44cf6029fbc (patch)
treee1bba242dd8f844db57071133b51a95de87510a2 /sys/netinet/ip_dummynet.h
parentae6ec1960e5d38afdbf05f3e3842cf73db31ff55 (diff)
downloadFreeBSD-src-2b3514a20ca8310cc9607e33082eb44cf6029fbc.zip
FreeBSD-src-2b3514a20ca8310cc9607e33082eb44cf6029fbc.tar.gz
place some kernel-specific data structures under #ifdef _KERNEL
Sponsored by: FreeBSD Foundation
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r--sys/netinet/ip_dummynet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h
index 626d698..a946256 100644
--- a/sys/netinet/ip_dummynet.h
+++ b/sys/netinet/ip_dummynet.h
@@ -109,6 +109,7 @@ struct dn_heap {
struct dn_heap_entry *p ; /* really an array of "size" entries */
} ;
+#ifdef _KERNEL
/*
* struct dn_pkt identifies a packet in the dummynet queue, but
* is also used to tag packets passed back to the various destinations
@@ -142,6 +143,7 @@ struct dn_pkt {
struct route ro; /* route, for ip_output. MUST COPY */
int flags ; /* flags, for ip_output (IPv6 ?) */
};
+#endif /* _KERNEL */
/*
* Overall structure of dummynet (with WF2Q+):
OpenPOWER on IntegriCloud