On Mon, 2006-12-04 at 10:05 -0800, Pete Zaitcev wrote: > What is libpcap going > to do in case of other protocols exposing packets with mmap, like > Infiniband?
AFAIK there is no usage of memory mapped access into current libpcap tree. A kind of fork of libpcap, which use the mmap interface for packet socket, is maintained here: http://public.lanl.gov/cpw/ It use a writable mapping and in place header substitution. The mmap write access to the packet socket receive ring is 'safer' because the ring is composed by fixed length chunk (the user can't break the consistency of the received packet chain). Best regards, Paolo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel