*BSD News Article 50679


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!venus.sun.com!wnoc-sfc-news!tm-news!orchard.sfc.wide.ad.jp!nishida
From: nishida@orchard.sfc.wide.ad.jp (Yoshifumi Nishida)
Newsgroups: comp.unix.bsd.misc
Subject: ifnet structure in BSD
Date: 04 Sep 1995 18:30:48 GMT
Organization: Keio Univ. Shonan Fujisawa Campus, Tokuda & Murai Lab.
Lines: 17
Distribution: world
Message-ID: <NISHIDA.95Sep5033048@orchard.sfc.wide.ad.jp>
NNTP-Posting-Host: orchard.sfc.wide.ad.jp


Hi, folks. I'm afraid this is a silly question. but I want to know...

In SunOS 4.1, the ifnet structure has two members whose names are
if_upper and if_lower.
These members indicate next layer up and next layer down.
Using these members, We can make network device drivers modularized.

But In 4.4BSD, they aren't in the ifnet structure.
So, how can I indicate next layer up or down in network device driver's code?
how can I make network device drivers modularized??

Thanks in advance and sorry for my poor English.
--
						Yoshifumi Nishida
						nishida@sfc.wide.ad.jp
						Keio Univ.