Max thanks for your contribution. On Jan 27, 2009, at 2:44 AM, Max Romanov wrote:
> Hi, > > I think I've found small bug in libpcap patch. On non-PF_RING kernel, > statistics is broken. I think, the reason is using SOL_SOCKET instead > of SOL_PACKET for getsockopt(..., PACKET_STATISTICS) call. > i will commit it > Question: as I understand from the source code, it is correct to pass > any value of 'level' except SOL_SOCKET to set/get PF_RING socket > options. Am I right? > Right > Patch for libpcap to enable PF_RING attached. > - old PF_RING version 3.7.7 used > - environment variable PCAP_NO_PF_RING used to disable PF_RING for > libpcap > - statistics for non-PF_RING socket fixed > > Thanks for your attention. thanks again luca > > > Best regards, > Max > <libpcap-0.9.7- > pfring.patch>_______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
