From owner-freebsd-net Sun Jun 10 22:12: 9 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id C872C37B401 for ; Sun, 10 Jun 2001 22:12:06 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:501:100f:10c1:242f:beb0:bc85:b85]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id OAA16045; Mon, 11 Jun 2001 14:12:23 +0900 (JST) Date: Mon, 11 Jun 2001 14:09:23 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: raviprasad20@netscape.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: Display of prefixes in aperticular ifnet structure. In-Reply-To: <4422252A.3BE36C03.9513E96F@netscape.net> References: <39199B3B.03898409.9513E96F@netscape.net> <0BDE53AB.15B71EF0.9513E96F@netscape.net> <4422252A.3BE36C03.9513E96F@netscape.net> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 32 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 >>>>> On Mon, 11 Jun 2001 00:49:01 -0400, >>>>> raviprasad20@netscape.net said: > What i did to print the prefixes on a perticular ifnet structure are as follows. > I entered the prefixes a) fec0:11:0:0 in the configuration file for the interface wb0. > I wrote a printf in the ip6_input function. the printf is as follows > printf(" %x \t", ifp->if_prefixhead.tqe_next->prefix.s6_addr8[0]); ... > Where ifp is declared as , struct ifnet *ifp; > Then i bulit a new kernel, compiled it & loaded it as my working kernel. > Each time any ip6 input used to come the above printf used to get executed. > I gave the following command on the prompt > pin6 -I wb0 fe80::280:48ff:feb6:57ac sorry, I don't still get enough information. 1. please specify the exact version of your system (e.g. output of 'uname -a') 2. please forget the prefix command. Use the ifconfig(8) command instead. 3. then, please forget the prefix structure. stick to the traditional (in6_)ifaddr structure. 4. please do not use the start up script, but do operation by hand (for diagnose the problem). JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message