Commit Graph

9 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
itojun 9281a845a8 fix bug in pcap.c, which appeared in LBL libpcap version 0.4 of the following
date (NOTE: there are multiple version 0.4 with different datestamp!)
	v0.4 Sat Jul 25 12:40:09 PDT 1998

libpcap CHANGES reads:
- Fixed bug in pcap_dispatch() that kept it from returning on packet
  timeouts.

(this fixes nmap hangup if we use /usr/lib/libpcap.a with nmap)
2000-04-12 14:40:33 +00:00
simonb 3f777e28cc More trailing white space. 1999-07-02 15:58:35 +00:00
mycroft be432ed479 const poisoning. 1998-07-26 14:49:36 +00:00
christos a520af71e9 Resolve conflicts 1997-10-03 15:53:00 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
mikel f17c8ad1a1 Merge libpcap-0.2.1.
Includes numerous improvements (see CHANGES), fixes PR bin/2031.
1996-12-13 08:25:54 +00:00
mycroft b0446b3200 Port to NetBSD, and add NetBSD RCS tags. 1995-03-06 11:37:58 +00:00
mycroft 84c86af405 Import LBL libpcap, version 0.0 patch level 3. 1995-03-06 11:32:59 +00:00