Re: Char or Block Dirver?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 31 Mar 1998 13:14:20 +0100 (BST)


> So what sort of a device driver should i go for?
> What I feel is that I can't write it as a network device driver.
> In Linux , all the i/f for n/w device driver goes thru
> tcp/ip layers and finally to the card. i want to write
> raw data to the card without the TCP/IP headers for testing
> (Otherwise that would have been the ideal option since this
> is a n/w card).

You can write a network driver and use SOCK_PACKET to read/write raw frames
from it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu