mmap()ed packet socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

thanks,

Jason

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux