Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2003 09:21:12 -0700 (PDT)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 39090 for review
Message-ID:  <200310031621.h93GLC5n088209@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=39090

Change 39090 by sam@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+):



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310031621.h93GLC5n088209>