Commit Graph

8 Commits

Author SHA1 Message Date
thorpej bfd8b5c80d * Add support for DLT_IEEE802_11.
* When opening a live pcap, obtain the list of supported DLTs from
  the BPF.
* Add pcap_list_datalinks() to obtain a list of supported DLTs
  supported by the interface associated with the pcap descriptor.
* Add pcap_set_datalink() to set the current DLT of the pcap.
* Bump shlib 1.2 -> 1.3; new functions added.

From David Young <dyoung@ojctech.com>, with some minor changes by me.
2002-09-22 16:13:01 +00:00
thorpej 761a000d3c Add pcap_compile_nopcap() from the most recent libpcap release
from tcpdump.org, although with a slightly different signature.
The tcpdump.org version has no way to report an error string back
to the caller.  This version takes an additional "errbuf" argument
(similar to pcap_open_*()).
2000-10-06 16:39:24 +00:00
itojun 60860abcb8 be more pedant. remove unused vars and such.
don't use s6_addr{8,16,32} directly, they are not in standard.
hide not-supposed-to-be-visible functions as static.

increase shlib minor.
1999-12-13 01:44:30 +00:00
itojun 67b57a858e upgrade shlib major version for src/lib/libpcap (0.1 -> 1.0).
document KAME IPv6/IPsec import into INSTALL.txt (installation notes).
1999-07-02 18:53:26 +00:00
itojun 0be14eaf65 (shlib monor)++ for libpcap. 1999-07-02 14:50:25 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
perry 93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
mycroft b0446b3200 Port to NetBSD, and add NetBSD RCS tags. 1995-03-06 11:37:58 +00:00