Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 1996 17:30:20 -0400
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        John Hay <jhay@mikom.csir.co.za>
Cc:        hackers@FreeBSD.ORG (FreeBSD-hackers), wollman@FreeBSD.ORG
Subject:   IPX Netbios packets.
Message-ID:  <9604202130.AA19649@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199604201938.VAA12538@zibbi.mikom.csir.co.za>
References:  <199604201938.VAA12538@zibbi.mikom.csir.co.za>

index | next in thread | previous in thread | raw e-mail

<<On Sat, 20 Apr 1996 21:38:58 +0200 (SAT), John Hay <jhay@mikom.csir.co.za> said:

> So I am looking for a nice generic way to be able to disable it per device.
> I thought of flags with ifconfig, but I don't like that idea too much.
> Another way might be with the sysctl interface, but I'm not sure how to
> do it for different interface without having to add code to every network
> interface in the kernel.

An interface flag is almost certainly the right way to go.  What you
need to do is to fix all the interface drivers to not abuse IFF_LINK*
for medium selection (there is already another field in the struct for
that purpose), and then use one of the newly-freed flags.

Or, if there is some sort of ``address'' associated with this service,
you might define a special sort of address which, when configured on
the interface, causes the special behavior to happen.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9604202130.AA19649>