diff options
author | JP Abgrall <jpa@google.com> | 2014-02-12 13:46:45 -0800 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2014-02-12 22:15:16 +0000 |
commit | 511eca30a483e912c274e1d8ba3a0f8f081e2227 (patch) | |
tree | e1dac8bb306ec92296c44fbcd46553c1fe57cedd /pcap-snf.h | |
parent | 3a7bce5dda6a8db92c9248846d0255e68c3a5b2a (diff) | |
download | libpcap-511eca30a483e912c274e1d8ba3a0f8f081e2227.tar.gz |
Merge remote-tracking branch 'goog/tcpdump'
* goog/tcpdump: (1872 commits)
Remove old version. Getting ready for new libpcap 1.5
Remove commas from clauses in a comma-separated list.
Fix typo.
Describe all NFLOG TLV types and define structures for some of them.
Check caplen in the NFLOG TLV loop.
Have nflog_tlv_t include only the TLV header.
Byte-swap the T and L in TLVs as necessary when reading an NFLOG file.
Don't support D-Bus sniffing on OS X.
Add post-1.5.2 bug fixes.
Tag some changes with a bug identifier.
Add items for 1.5.1 and 1.5.2.
Formatting tweak.
Count *ring buffer blocks*, not *packets* to be filtered in userland.
Add a PACKET_COUNT_IS_UNLIMITED() to test for a packet count <= 0.
Use HAVE_TPACKET3 rather than TPACKET_V3 to test for TPACKET_V3 support.
Fix builds on systems without TPACKET_V3.
tweak manpages formatting
Fix pcap_loop() with a count of 0 and TPACKET_V3.
Discourage the use of a zero timeout.
We can't use TPACKET_V3 in immediate mode, so fall back on TPACKET_V2.
...
Change-Id: I2aa9bd87673c56aee439e1154b96a14026ca7985
Diffstat (limited to 'pcap-snf.h')
-rw-r--r-- | pcap-snf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcap-snf.h b/pcap-snf.h new file mode 100644 index 00000000..c9d7722b --- /dev/null +++ b/pcap-snf.h @@ -0,0 +1,2 @@ +pcap_t *snf_create(const char *, char *, int *); +int snf_findalldevs(pcap_if_t **devlistp, char *errbuf); |