Date: Fri, 3 Feb 2012 09:06:25 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r230933 - projects/multi-fibv6/head/sys/net Message-ID: <201202030906.q1396PXc078795@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202030906.q1396PXc078795>