Date: 22 May 2001 06:17:27 MDT From: ravi prasad <ravi_prasada@usa.net> To: freebsd-net@FreeBSD.org Subject: rtadvd rainfo structure initialization. Message-ID: <20010522121727.10623.qmail@nwcst282.netaddress.usa.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010522121727.10623.qmail>