Re: [libvirt] [PATCH v2] nwfilter: increase pcap buffer size to be compatible with TPACKET_V3

2018-04-27 Thread John Ferlan
On 04/27/2018 12:44 PM, Laine Stump wrote: > When an nwfilter rule sets the parameter CTRL_IP_LEARNING to "dhcp", > this turns on the "dhcpsnoop" thread, which uses libpcap to monitor > traffic on the domain's tap device and extract the IP address from the > DHCP response. > > If libpcap on the

[libvirt] [PATCH v2] nwfilter: increase pcap buffer size to be compatible with TPACKET_V3

2018-04-27 Thread Laine Stump
When an nwfilter rule sets the parameter CTRL_IP_LEARNING to "dhcp", this turns on the "dhcpsnoop" thread, which uses libpcap to monitor traffic on the domain's tap device and extract the IP address from the DHCP response. If libpcap on the host is built with HAVE_TPACKET3 defined (to enable