dect
/
libpcap
Archived
13
0
Fork 0
Commit Graph

15 Commits

Author SHA1 Message Date
guy 231404ec64 Add pcap_platform_finddevs() to WinPcap. 2007-09-25 20:34:36 +00:00
gianluca ea6367e572 Fixed some capitalization that could cause problems cross compiling under linux.
Updated the copyright notice.
2006-02-22 17:08:31 +00:00
gianluca 4526fd6dee Added some code to properly distinguish a failure in PacketGetAdapterNames()
from a "buffer too small" error.
2006-01-22 18:29:00 +00:00
risso a8302b7a2b Added a missing check on the return value of PacketGetAdapterNames() 2005-09-01 22:14:32 +00:00
guy 2c29645015 Clean up indentation.
Get rid of some unnecessary casts.
2005-01-29 00:52:22 +00:00
risso 3787448b64 Fixed a bug in pcap_findalldevs on Win32 that not initialized *alldevsp to NULL
if no adapters are present.
2004-04-30 09:12:42 +00:00
risso 5f53d2308e Modified pcap_findalldevs on Win32, so that it is able to properly handle an
indefinite number of adapters.
Before the buffer passed to PacketGetAdapterNames was limited to 8kB.
2004-04-30 08:58:52 +00:00
guy 30e89f192a Add _U_ to "rcsid[]" definitions, to eliminate "unused variable"
warnings from newer versions of GCC.
2003-11-15 23:23:57 +00:00
risso 9386c7125c add_addr_to_list() now supports the IPv6 addresses returned by WinPcap inside sockaddr_storage structures.
Simplified pcap_findalldevs() since PacketGetAdapterNames() now returns ascii strings under WinNTx as well.
2003-09-22 11:45:58 +00:00
risso 6ca7c69b0b Modified the license at the beginning of the files created by the Politecno di Torino developers from the 4-clause BSD code to the modified BSD license 2003-05-15 14:30:29 +00:00
risso dfa68b1635 Fixed some compiler warnings 2003-03-12 13:28:54 +00:00
guy 9c622ec1bf Give it an SCCS and RCS ID.
Put in a comment noting why we don't return an error if
"PacketGetNetInfoEx()" returns an error.
2002-08-08 09:15:57 +00:00
risso 2a4f3047d6 pcap_add_if_win32 added a fake ip address (0.0.0.0) to interfaces without addresses. Now it doesn't add anything to the address list. 2002-08-07 13:21:39 +00:00
guy 7989614935 Give the file an SCCS and RCS ID. 2002-08-05 07:45:09 +00:00
risso 6831542ec7 Added support for Win32, based on WinPcap. 2002-08-01 08:33:01 +00:00