From owner-freebsd-net Tue May 22 5:17:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from nwcst282.netaddress.usa.net (nwcst282.netaddress.usa.net [204.68.23.27]) by hub.freebsd.org (Postfix) with SMTP id E81D937B422 for ; Tue, 22 May 2001 05:17:27 -0700 (PDT) (envelope-from ravi_prasada@usa.net) Received: (qmail 10624 invoked by uid 60001); 22 May 2001 12:17:27 -0000 Message-ID: <20010522121727.10623.qmail@nwcst282.netaddress.usa.net> Received: from 204.68.23.27 by nwcst282 for [203.200.20.3] via web-mailer(34FM.0700.17C.01) on Tue May 22 12:17:27 GMT 2001 Date: 22 May 2001 06:17:27 MDT From: ravi prasad To: freebsd-net@FreeBSD.org Subject: rtadvd rainfo structure initialization. X-Mailer: USANET web-mailer (34FM.0700.17C.01) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, In the manual pages of the rtadvd command it is mentioned that = "If there is no configuration file entry for an interface, or if the configuration file does not exist altogether, rtadvd sets all the paramet= ers to their default values. In particular, rtadvd reads all the interface r= outes from the routing table and advertises them as on-link prefixes." I found that the getconfig() in the config.c module initializes one rain= fo structure for a perticular interface given with the command & links it to= the global rainfo structure array. The getconfig() checks for the configuration file to use. If the user has= specified a configuration file through the -c option in the rtadvd comman= d then he uses that one else he uses the default "/etc/rtadvd.conf". = My doubt is this. Assume that i have not called rtadvd with -c option nor i have a file cal= led "rtadvd.conf" in the "/etc" directory. a)How are this rainfo structure getting initialized? (I mean which = = function is doing it). b)Whether any other module other than getconfig() initializes rainfo = = structures & puts it to the list. = Kindly reply. regards ravi prasad ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message