Date: Tue, 15 May 2001 17:22:13 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: vishwanath pargaonkar <vishubp@yahoo.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: rt_tables Message-ID: <20010515172213.A60756@sunbay.com> In-Reply-To: <20010515141003.9062.qmail@web5305.mail.yahoo.com>; from vishubp@yahoo.com on Tue, May 15, 2001 at 03:10:03PM %2B0100 References: <20010515141003.9062.qmail@web5305.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 15, 2001 at 03:10:03PM +0100, vishwanath pargaonkar wrote: > Hi, > i have free bsd 4.2 stable. > my question is there is array of pointers for routing > tables. > struct radix_node_head *rt_tables[AF_MAX + 1]; > > my doubt is where is this table getting initialised. > for eg for where is address assigned ro > rt_tables[AF_INET6] = ?? > It is initialized from route.c:rtable_init(). For each known domain, the code calls the initialization function, dom_rtattach, which for AF_INET happens to be in_rmx.c:in_inithead(), and for AF_INET6 it is in6_rmx.c:in6_inithead(). Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010515172213.A60756>