Xref: utzoo comp.unix.internals:1968 comp.unix.programmer:987 comp.unix.questions:28455 comp.unix.wizards:23973 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!ucivax!mziober From: mziober@iena.ics.uci.edu (Michael A. Ziober) Newsgroups: comp.unix.internals,comp.unix.programmer,comp.unix.questions,comp.unix.wizards Subject: Re: questions about 4.3BSD struct ifnet.if_addrlist Message-ID: <27AF7BD1.1423@ics.uci.edu> Date: 6 Feb 91 03:45:21 GMT References: <9101251831.aa26513@BONNIE.ICS.UCI.EDU> Organization: UC Irvine Department of ICS Lines: 32 Nntp-Posting-Host: iena.ics.uci.edu (Since I received no response to my previous posting and I have been unable to find the information anywhere else, I am going to ask again in the hopes that this time I will strike gold. :-) We are trying to implement a network interface on an Omron SX-9100 workstation running 4.3BSD. When implementing the pseudo-device, we had some questions about the network interface data structures (described on page 316 of the book "The Design and Implementation of the 4.3BSD UNIX Operating System"). The questions are related to the struct ifnet.if_addrlist: - Does my procedure rpattach() (When attaching the pseudo-device to the system) initialize this address list? - If so, what should it be? Should it be initialized to NULL? - If not, who should do the initialization? - When using this field in the structure (for example to send a packet) how do I find the appropriate address to use from this list? - In the routine rpioctl() (for the SIOCSIFADDR and SIOCSDSTADDR commands), does it add new address to the address list? - Does it replace any existing entries by matching address families? In short: How is this address list handled? Who initializes it? Who modifies it? How is it done? How it it maintained? Sorry about the noise, but this project needs some help to get it over this hurdle. Thanks for ANY help, Michael Ziober