place some kernel-specific data structures under #ifdef _KERNEL

Sponsored by:	FreeBSD Foundation
This commit is contained in:
Sam Leffler 2003-10-03 20:58:56 +00:00
parent 64ba14f2c7
commit 12394d06d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120714

View File

@ -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+):