On Tue, Jan 30, 2001 at 07:31:45PM -0500, Jason Lunz wrote: > I'm looking at the mmap() interface to packet sockets, as I need to look > at raw ethernet frames as fast as possible. This message from Andi Kleen > implies that there's no documentation for it anywhere: > > http://www.uwsg.iu.edu/hypermail/linux/net/0008.0/0141.html > > ...so I've been reading the 2.4.0 implementation of it and examining > Alexey Kuznetsov's patches to libpcap-0.4 for it. What's the difference > between the PACKET_RX_RING and PACKET_TRECV implementations? I'm > assuming the latter refers to Alexey's turbopacket patch...should I be > looking into that? What's the best way to go about this? Turbopacket is obsolete, you should be using mmap/PACKET_RX_RING. Way to do it is to RTFS, but I would take patches to the man page that document it ;) -Andi - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org