Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 12:55:34 -0700 (PDT)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 36370 for review
Message-ID:  <200308181955.h7IJtYJ2025564@repoman.freebsd.org>

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

Change 36370 by sam@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
 };
 
 /*



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