diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-05-31 12:45:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-05-31 12:45:20 -0700 |
commit | f6685854a93e4ba9e0842001ccdc19410d4e424c (patch) | |
tree | e48d02f859a057a43643564cf362ee2c209d2b6c /pcap-netmap.h | |
parent | 89180a8f0d17af09abfe1b8f45bd4dad505db4a8 (diff) |
Add netmap support.
Based on https://github.com/luigirizzo/netmap-libpcap.
Diffstat (limited to 'pcap-netmap.h')
-rw-r--r-- | pcap-netmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcap-netmap.h b/pcap-netmap.h new file mode 100644 index 00000000..6a414fca --- /dev/null +++ b/pcap-netmap.h @@ -0,0 +1,2 @@ +pcap_t *pcap_netmap_create(const char *, char *, int *); +int pcap_netmap_findalldevs(pcap_if_list_t *devlistp, char *errbuf); |