dect
/
libpcap
Archived
13
0
Fork 0
Commit Graph

78 Commits

Author SHA1 Message Date
assar d514a1aa6f (pcap_open_dead): add function for just creating a pcap_t that be
later used when calling other functions.
From Darren Reed <darrenr@reed.wattle.id.au>
2000-06-26 04:58:04 +00:00
assar 5ea9c97fb8 (pcap_open_dead, bpf_validate, bpf_dump): add 2000-06-26 04:57:11 +00:00
assar 44b4d1845b handle both KERNEL and _KERNEL.
add prototypes for functions.
From Darren Reed <darrenr@reed.wattle.id.au>
2000-06-26 04:56:28 +00:00
assar fe8ad9b324 do not check for sys/ioccom.h and net/if_arp.h they are not being used 2000-06-26 04:20:36 +00:00
assar 85ed1466a8 reomve interface.h, it's not used in libpcap 2000-06-26 04:17:05 +00:00
assar 4d1337a4f8 (CSRC): add bpf_dump.c 2000-06-26 04:16:04 +00:00
assar b846c9d16f remove extra prototype (now in interface.h) 2000-06-18 11:12:59 +00:00
mcr 106dac54fb doc edits from Guy Harris and MCR 2000-06-16 17:50:17 +00:00
mcr b0c7a34385 *** empty log message *** 2000-06-11 16:46:21 +00:00
assar 06d84775e0 (lex_init): call YY_FLUSH_BUFFER when using flex. From Guy Harris
<gharris@flashcom.net>
2000-06-10 14:42:27 +00:00
assar a9727ab8a9 add __attribute__ ((packed)). From cgd@netbsd.org (Chris G. Demetriou) 2000-06-10 14:26:40 +00:00
assar bf88705991 re-generated 2000-06-10 14:20:42 +00:00
assar a2aa72743a use just @RANLIB@ 2000-06-10 14:20:24 +00:00
assar 80a0ed7346 use AC_PROG_RANLIB. be more cross-compilation friendly.
From cgd@netbsd.org (Chris G. Demetriou)
2000-06-10 14:18:39 +00:00
assar 9ba5ba1bc5 add arm to the list of cpus that dislike unaligned access. apparently
it does something weird with them.  from cgd@netbsd.org (Chris G. Demetriou)
2000-06-10 14:17:58 +00:00
torsten 94de442535 Merged the Linux v2.2 packet support into the main trunk (from
tag linux-2-2-packet). Please test this code :)
2000-06-08 06:40:09 +00:00
itojun 299da87b7d -Wall -Werror clean. 2000-06-03 16:29:42 +00:00
assar 742c75ef83 (pcap_open_live): remove duplicate PCAP_ERRBUF_SIZE 2000-05-13 13:14:41 +00:00
itojun a2b5a241a2 typo; snprint -> snprintf 2000-05-08 23:11:02 +00:00
itojun 9a002c2dc7 regen 2000-05-04 13:34:48 +00:00
itojun c86640a4b3 do not use strlcpy() if the platform does not supply one.
linkage of third-party source code can fail if the third-party code does
not have AC_REPLACE_FUNCS(strlcpy).  (exapmle: ethereal)

XXX the macro is ugly
2000-05-04 13:34:24 +00:00
assar 1f2deabd64 change sprintf -> snprintf from previous patch. also from Guy Harris
<gharris@flashcom.net>
2000-04-30 07:32:56 +00:00
assar 5c3ea071a8 set the snaplen to max(snaplen, mtu). From Guy Harris
<gharris@flashcom.net>
2000-04-29 10:09:23 +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 eb3914c790 nuke strcpy, one more. 2000-04-27 11:16:54 +00:00
itojun 6abf10866e nuke strcpy() 2000-04-27 11:16:19 +00:00
itojun d2268605b4 talk about boundary check change. 2000-04-27 09:37:47 +00:00
itojun a906e591fb revert renaming of pcap_nametoaddrinfo to pcap_nametoaddr. this gets
painful when upgrading old libpcap to tcpdump.org pcap (function rename
usually requires shlib major number bump, while api addition only require
minor)
2000-04-27 09:18:57 +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
assar 48475b805d regenerated 2000-04-09 19:18:06 +00:00
assar fdf943d632 check for u_int32_t (used in genocde) 2000-04-09 17:44:26 +00:00
assar 417d093c9c (bpf_error): conditionalize __attribute__ 2000-04-01 12:27:28 +00:00
assar 570f8b57cd regen 2000-04-01 12:26:44 +00:00
assar 737f88a2ea (AC_C___ATTRIBUTE__): call 2000-04-01 12:06:37 +00:00
assar 4f4cc7b0ad (AC_C___ATTRIBUTE__): add 2000-04-01 12:06:08 +00:00
assar 4343a38646 (gen_proto_abbrev): add fallback definition for IPPROTO_IGMP and use
constant
2000-04-01 11:44:59 +00:00
assar c9e00ba444 remove superfluous line for igrp. From Rick Jones <raj@cup.hp.com> 2000-04-01 11:37:45 +00:00
assar 976010a043 update to current version from :pserver:anoncvs@subversions.gnu.org:/home/cvs 2000-03-31 20:27:23 +00:00
assar 93a233db65 link bpf_filter.c to make it work with all makes. problem reported by Rick Jones <raj@cup.hp.com> 2000-03-31 16:59:43 +00:00
assar 3417c26e0c add %n 2000 to make it acceptable to lex. From Rick Jones <raj@cup.hp.com> 2000-03-31 16:59:07 +00:00
itojun e3ddb0ce0f improve message on ip{,6} host foo failure 2000-03-01 14:07:02 +00:00
itojun d27ad07fae fix "ip host foo" or "ip6 host foo" where foo has both A and AAAA records.
FreeBSD PR: 17083
2000-03-01 03:37:24 +00:00
itojun 47cea61df3 * use getifaddrs(3) whenever possible. this avoids use of SIOCGIFCONF.
SIOCGIFCONF is hard-to-use API since (1) it does not tell us amount
  of buffer beforehand, (2) it is not friendly with alignment issues
  due to use of packed struct.
2000-02-23 11:41:35 +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
kenh b52c6e13ff Support ATM LANE emulated devices. 2000-02-08 20:46:45 +00:00
fenner b04bc7d664 Eliminate duplicated word in comment. 2000-01-29 21:01:27 +00:00
mcr dd89824a8b patch to compile on AIX 2000-01-25 03:21:29 +00:00