PERFORCE change 43044 for review

Sam Leffler sam at FreeBSD.org
Tue Nov 25 13:02:42 PST 2003


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

Change 43044 by sam at sam_ebb on 2003/11/25 13:02:05

	move inline function under #ifdef _KERNEL

Affected files ...

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

Differences ...

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

@@ -351,7 +351,6 @@
 extern	ip_dn_ruledel_t *ip_dn_ruledel_ptr;
 extern	ip_dn_io_t *ip_dn_io_ptr;
 #define	DUMMYNET_LOADED	(ip_dn_io_ptr != NULL)
-#endif
 
 /*
  * Return the IPFW rule associated with the dummynet tag; if any.
@@ -362,4 +361,5 @@
 	struct m_tag *mtag = m_tag_find(m, PACKET_TAG_DUMMYNET, NULL);
 	return mtag ?  ((struct dn_pkt_tag *)(mtag+1))->rule : NULL;
 }
+#endif
 #endif /* _IP_DUMMYNET_H */


More information about the p4-projects mailing list