PERFORCE change 36370 for review
Sam Leffler
sam at FreeBSD.org
Mon Aug 18 12:55:37 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=36370
Change 36370 by sam at sam_ebb on 2003/08/18 12:54:53
can't expose struct mtx to user apps that include route.h and
use struct rtentry; for now generate a different struct definition
(don't think it matters)
Affected files ...
.. //depot/projects/netperf/sys/net/route.h#3 edit
Differences ...
==== //depot/projects/netperf/sys/net/route.h#3 (text+ko) ====
@@ -113,7 +113,10 @@
struct rtentry *);
/* output routine for this (rt,if) */
struct rtentry *rt_parent; /* cloning parent of this route */
+#ifdef _KERNEL
+ /* XXX ugly, user apps use this definition but don't have a mtx def */
struct mtx rt_mtx; /* mutex for routing entry */
+#endif
};
/*
More information about the p4-projects
mailing list