PERFORCE change 39090 for review

Sam Leffler sam at FreeBSD.org
Fri Oct 3 09:21:14 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=39090

Change 39090 by sam at sam_ebb on 2003/10/03 09:20:41

	hide some kernel-specific data structures from user-mode apps

Affected files ...

.. //depot/projects/netperf/sys/netinet/ip_dummynet.h#2 edit

Differences ...

==== //depot/projects/netperf/sys/netinet/ip_dummynet.h#2 (text+ko) ====

@@ -109,6 +109,7 @@
     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 route ro;		/* route, for ip_output. MUST COPY	*/
     int flags ;			/* flags, for ip_output (IPv6 ?)	*/
 };
+#endif /* _KERNEL */
 
 /*
  * Overall structure of dummynet (with WF2Q+):


More information about the p4-projects mailing list