packetcap / go-pcap

Packet capture library and tools in native go
Apache License 2.0
26 stars 7 forks source link

switch to tpacket_v3 #17

Closed deitch closed 4 years ago

deitch commented 4 years ago

tpacket_v1 has some issue where on certain platforms it will return fro the poll() even if there is nothing to read. This switches to tpacket_v3 - which has been supported since 3.x kernels anyways.