Re: Sealevel 4021 raw capture

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 30 Dec 1999 18:21:18 +0000 (GMT)


> Four (cascading) questions:
>
> Is there any current mechanisms in the driver for doing raw capture
> from the device?

You can send/receive raw frames from a network interface card using AF_PACKET
sockets. DOSemu contains some example code in libpacket.c/libpacket.h (or used
to anyway) for this.

> kernel driver green, C programmer to do the right thing and hack
> together a sealevel serial-ish driver that would allow for device
> special file IO to the card ports?

Probably it isnt too horrible.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/