*BSD News Article 18977


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!emba-news.uvm.edu!wollman
From: wollman@UVM.EDU (Garrett Wollman)
Subject: Re: AUI with ed0 and 3c503 8-bit
Message-ID: <1993Jul28.201251.27847@emba.uvm.edu>
Sender: news@emba.uvm.edu
Organization: University of Vermont, EMBA Computer Facility
References: <233rnr$8oh@terminator.rs.itd.umich.edu> <CGD.93Jul27115107@erewhon.cs.berkeley.edu> <1993Jul27.195636.23569@emba.uvm.edu> <CGD.93Jul27163939@erewhon.cs.berkeley.edu>
Date: Wed, 28 Jul 1993 20:12:51 GMT
Lines: 37

In article <CGD.93Jul27163939@erewhon.cs.berkeley.edu>,
Chris G. Demetriou <cgd@erewhon.CS.Berkeley.EDU> wrote:
>>
>>And this is one of them.  The IFF_LLC0 flag should never have been
>>stolen for this purpose, and should not be used in this manner.
>
>if.h says:
>
>#define IFF_LLC0        0x1000          /* interface driver control/status */
>#define IFF_LLC1        0x2000          /* interface driver control/status */
>#define IFF_LLC2        0x4000          /* interface driver control/status */
>
>well, this sure seems like "interface driver control" or "interface
>driver status" to me...
>
>what do *you* think the LLC flags should be used for?

Configuring IEEE 802.2 Logical Link Control, which coincidentally just
happens to come in three varieties: class 0, class 1, and class 2.

I suspect that the comments were added by someone other than the
original author; someone to whom this didn't seem obvious.

In particular, the IFF_LLC0 flag should be used to switch between
Ethernet 2.0 and IEEE 802.3+LLC class 0+SNAP encapsulation for output
packets.

(This function should be performed in if_ethersubr.c, but isn't;
probably nobody had any need to implement it at the time.)

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant