Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 14:09:23 +0900
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
To:        raviprasad20@netscape.net
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Display of prefixes in aperticular ifnet structure.
Message-ID:  <y7vlmmzmwl8.wl@condor2.jinmei.org>
In-Reply-To: <4422252A.3BE36C03.9513E96F@netscape.net>
References:  <39199B3B.03898409.9513E96F@netscape.net> <y7vpuckg5ec.wl@condor2.jinmei.org> <0BDE53AB.15B71EF0.9513E96F@netscape.net> <y7v3d9dpy8w.wl@condor2.jinmei.org> <4422252A.3BE36C03.9513E96F@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7vlmmzmwl8.wl>