dect
/
libpcap
Archived
13
0
Fork 0
Commit Graph

66 Commits

Author SHA1 Message Date
itojun b63de9ed9e bsdi3 does not have IF_NAMESIZE (kame/bsdi3 has it). have last-resort #define. 2001-06-18 23:43:16 +00:00
torsten 45b3cb247a Added support for an "any" device based on a patch from Sebastian Krahmer. 2000-09-20 15:10:28 +00:00
assar 6019517c9b ISLOOPBACK_IFA: add
(pcap_lookupdev): handle device names without numbers.  based on a
patch from Rafal Maszkowski <rzm@icm.edu.pl>
2000-07-29 07:42:48 +00:00
assar 0e2f8c8892 add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
assar ae9e9d40b5 remove non-STDC code 2000-07-01 03:33:48 +00:00
itojun 466c37aaa3 s/PCAP_ERRBUFF_SIZE/PCAP_ERRBUF_SIZE/ (fatal typo) 2000-04-27 14:24:11 +00:00
itojun c867b499b0 strncpy -> strlcpy where more appropriate 2000-04-27 11:18:02 +00:00
itojun 20d9e08cde do not use sprintf(). always use snprintf().
from NetBSD/OpenBSD src/lib/libpcap.

use freeifaddrs() if exists.
2000-04-27 09:11:11 +00:00
itojun 14b709dd48 make loopback interface detection consistent. /^(lo|lo[0-9])$/ 2000-04-13 04:58:09 +00:00
assar 00031c93a7 (pcap_lookupdev): solaris seems to return EINVAL when the buffer is
not large enough, so interpret that as that we should try again with a
larger buffer
2000-04-09 20:59:31 +00:00
itojun 03cc04a438 use getifaddrs whenever available.
SIOCGIFCONF is very complex API, so it would be good to avoid it whenever
possible.
2000-02-23 11:39:44 +00:00
mcr dba6e9e734 fix to problem with buf being referenced after it is freed. 2000-01-14 23:55:31 +00:00
itojun f1456fa8f9 change warning message on SIOCGIFADDR failure.
tcpdump: WARNING: gif0: no IPv4 address assigned
2000-01-13 17:08:59 +00:00
assar f6b3da8cbc (pcap_lookupdev): fix stupid bug in previous commit 1999-11-17 06:10:06 +00:00
assar 58b8bd4a26 (pcap_lookupdev): rewrite the SIOCGIFCONF to dynamically allocate
memory
1999-11-17 06:06:25 +00:00
mcr b11ddf8a9b Initial revision 1999-10-07 23:46:40 +00:00