On 6/21/2016 6:18 PM, Eric Dumazet wrote:
One solution would be to setup a special netdev used only for sniffers
(No IP address on it)

-> Only changes would happen in the driver, to set skb->dev to this
'debug' device.

Eric,

Yep, that was an option too, but when we realized that libpcap has the means to add plug-in for non-netdevices (e.g usb, can devices and now we are thinking to add one for uverbs), it means we can avoid adding tons of pretty complex code into the kernel driver and happily have simpler code is user-space, so... why not? will try that 1st.

Or.

Reply via email to