zanarkand
zanarkand copied to clipboard
Device options for packet source
Currently only pcap for files and interfaces is supported. The ability to select different capture sources should be added for flexibility and performance on different platforms.
This requires a device struct and a way to set it when a sniffer is initialised. Device options should cover as much as gopacket
supports, currently as follows:
- [x] AF_Packet
- [x] PCAP
- [ ] PF_Ring
- [ ] winsock