Messages in this thread | | | From | Mike Kilburn <> | Date | Tue, 31 Mar 1998 21:25:53 +0200 (SAST) | Subject | Re: Char or Block Dirver? |
| |
> 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).
I use SOCK_PACKET to send/receive nice raw packets via my network driver. This is in 2.0.x; check out net/ipv4/packet.c. Your data will go from a user space socket right to dev_queue_xmit.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |