svn commit: r230933 - projects/multi-fibv6/head/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Fri Feb 3 09:06:25 UTC 2012


Author: bz
Date: Fri Feb  3 09:06:24 2012
New Revision: 230933
URL: http://svn.freebsd.org/changeset/base/230933

Log:
  Rather than putting magic 0s as FIB argument into the rt* calls, provide
  a macro RT_DEFAULT_FIB defined to 0 to more easily identify the cases
  tied to the default FIB.
  
  Sponsored by:	Cisco Systems, Inc.

Modified:
  projects/multi-fibv6/head/sys/net/route.h

Modified: projects/multi-fibv6/head/sys/net/route.h
==============================================================================
--- projects/multi-fibv6/head/sys/net/route.h	Fri Feb  3 08:50:19 2012	(r230932)
+++ projects/multi-fibv6/head/sys/net/route.h	Fri Feb  3 09:06:24 2012	(r230933)
@@ -111,6 +111,7 @@ struct rt_metrics {
  #endif
 #endif
 
+#define	RT_DEFAULT_FIB	0	/* Explicitly mark fib=0 restricted cases */
 extern u_int rt_numfibs;	/* number fo usable routing tables */
 /*
  * XXX kernel function pointer `rt_output' is visible to applications.


More information about the svn-src-projects mailing list