From owner-freebsd-net Tue Apr 24 0:51:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-m04.mx.aol.com (imo-m04.mx.aol.com [64.12.136.7]) by hub.freebsd.org (Postfix) with ESMTP id 1DDF137B424 for ; Tue, 24 Apr 2001 00:51:27 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-m04.mx.aol.com (mail_out_v30.9.) id n.3.14e52c2 (16218) for ; Tue, 24 Apr 2001 03:51:24 -0400 (EDT) Received: from netscape.com (aimmail11.aim.aol.com [205.188.144.203]) by air-in01.mx.aol.com (v77_r1.37) with ESMTP; Tue, 24 Apr 2001 03:51:24 -0400 Date: Tue, 24 Apr 2001 03:51:24 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: if_index ( index in the kernel datastructure) Mime-Version: 1.0 Message-ID: <319837D4.1D2FA72E.9513E96F@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, 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. regards ravi prasad __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message