> Newsgroups: comp.unix.solaris
> Date: Fri, 10 May 1996 14:47:52 -0500
> Organization: Veritas Software
> Hi,
> I want to put a STREAMS module between ethernet driver and IP so that
> it persists there in TCP/IP STREAM.
> On SVR4, this is generally done by slink program which is
> flexible enough to let you push a module below IP.
> Solaris (I am using 2.5) has plumb option in ifconfig which setsup the
> TCP/IP STREAM.
> Can somebody help me.
> Thnaks in advance.
> - Anand
If you're running 2.4 or higher you can "unplumb" the device. Using
the autopush facility you can push a module on top of the driver,
/dev/le or whatever. Then "plumb" the device again and voila! There's
your module.
Beware though that it will sit below arp and it is thus raw ethernet
frames flowing through it.
I have tried to muck around to be able to push a module between ip and
arp, but I will need the source to ifconfig unless I want to spend an
inordinate amount of time trying to reverse engineer it.
Good luck!
Thomas
--
Snail mail: HB Hax Phone: +46 18 323118
Banvallsv?gen 14 Fax: +46 18 323118
S - 754 40 Uppsala, Sweden Cellular: +46 708 323118