From owner-freebsd-net Tue Apr 24 6: 0:44 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-m02.mx.aol.com (imo-m02.mx.aol.com [64.12.136.5]) by hub.freebsd.org (Postfix) with ESMTP id E235737B43C for ; Tue, 24 Apr 2001 06:00:42 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-m02.mx.aol.com (mail_out_v30.9.) id n.5d.17a88d (16246) for ; Tue, 24 Apr 2001 09:00:39 -0400 (EDT) Received: from netscape.com (aimmail03.aim.aol.com [205.188.144.195]) by air-in03.mx.aol.com (v77_r1.37) with ESMTP; Tue, 24 Apr 2001 09:00:39 -0400 Date: Tue, 24 Apr 2001 09:00:39 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: Struct ifaddr initialization. Mime-Version: 1.0 Message-ID: <0FE8E703.73B8EB68.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, Please refer if_attach() of . Iam unable to understand why you are constructing a string from interface name & interface unit number ( ifnet structure members ifp->if_unit & ifp->if_name) & storing in the data member of sockaddr_dl structure. Iam also confused why you are storing the hardware address in the sockaddr_dl structure after the above string. I feel that hardware address can be accessed through the ifnet structure. Kindly tell me the significance of the ifaddr structure initialization for ipv6 since it does not store any ip addresses. How other modules benifit from this? Where it is used? Waiting for your reply. 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