Date: Tue, 24 Apr 2001 17:02:23 +0900 From: itojun@iijlab.net To: raviprasad20@netscape.net Cc: freebsd-net@freebsd.org Subject: Re: if_index ( index in the kernel datastructure) Message-ID: <17877.988099343@itojun.org> In-Reply-To: raviprasad20's message of Tue, 24 Apr 2001 03:51:24 -0400. <319837D4.1D2FA72E.9513E96F@netscape.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>this is with reference to the free BSD networking code for ipv6. >Could any body tell why in link local addresses & other link local related things they are storing if_index in the second 16bits of the address. for eg there will be statement like >ia->ia_addr.sa_addr.sin_add16[1] = ifp->if_index. >Please tell me its significance & how it is useful & why u have chosen to use as such. http://orange.kame.net/dev/cvsweb.cgi/kame/IMPLEMENTATION (see section 1.3) itojun 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?17877.988099343>