diff options
author | sam <sam@FreeBSD.org> | 2003-10-03 20:58:56 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-10-03 20:58:56 +0000 |
commit | 2b3514a20ca8310cc9607e33082eb44cf6029fbc (patch) | |
tree | e1bba242dd8f844db57071133b51a95de87510a2 /sys/netinet | |
parent | ae6ec1960e5d38afdbf05f3e3842cf73db31ff55 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/netinet/ip_dummynet.h | 2 |
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+): |