tcpdump mailing list archives

Re: libpcap capture performance drop


From: Guy Harris <guy () alum mit edu>
Date: Mon, 23 May 2011 00:38:43 -0700


On May 23, 2011, at 12:31 AM, rixed () happyleptic org wrote:

Which brings the question: how one could find out the MTU of a
pcap_handle in order no to set caplen to 65535 ?

See pcap-linux.c in the top of the trunk or of the 1.2 branch.  (Short answer: SIOCGIFMTU, as in the iface_get_mtu() 
routine.)-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: