summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.h
diff options
context:
space:
mode:
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