tcpdump mailing list archives

Setting the Buffer Size Without Restarting the NIC?


From: Hei Chan <structurechart () yahoo com>
Date: Thu, 6 Feb 2014 00:19:52 -0800 (PST)

Hi,

When I call pcap_set_buffer_size() on an actively using/running NIC, it gives me an error:
can't perform  operation on activated capture


Is there a way to change the pcap capture buffer size without deactivating it?

How does this buffer different from SO_RCVBUF?  It seems like SO_RCVBUF doesn't matter in this context anymore because 
libpcap goes through a different route in receiving packets?
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: