dect
/
libpcap
Archived
13
0
Fork 0
Commit Graph

1504 Commits

Author SHA1 Message Date
assar b113d4f386 (pcap_open_live): repair BIOCSBLEN loop. from Guy Harris <gharris@flashcom.net> 2000-07-11 23:00:05 +00:00
assar 855d5eab07 conditionalize on USHRT_MAX and SOL_PACKET. From Love
<lha@stacken.kth.se>
2000-07-11 01:09:16 +00:00
assar b59cd6dc3c (MSG_TRUNC): define if it's not defined. From Love
<lha@stacken.kth.se>
2000-07-11 01:06:27 +00:00
assar 916c01aa0a not used any longer 2000-07-11 00:42:43 +00:00
assar d501922cfa regen 2000-07-11 00:38:47 +00:00
assar f1eb21451b add config.h. remove gnuc.h, use AC_DEFINE/3 to get strings into config.h.in 2000-07-11 00:38:19 +00:00
assar 0e2f8c8892 add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
assar ca9f99af45 use AC_DEFINE/3 to get defines into config.h.in 2000-07-11 00:36:07 +00:00
assar 028f9db367 clarify error message
loop until buffer size is acceptable
BIOCIMMEDIATE: set if exists

based on patches from Darren Reed <darrenr@reed.wattle.id.au>
2000-07-10 04:50:05 +00:00
assar 26b4c53bde re-generated 2000-07-06 01:51:37 +00:00
assar cac15b82a8 add code for handling find the correct dlpi device on HP-UX 11.0
From: Guy Harris <gharris@flashcom.net>
2000-07-06 01:50:36 +00:00
assar be5b659ebf use snprintf instead of sprintf. From Juergen Schoenwaelder
<schoenw@ibr.cs.tu-bs.de>
2000-07-04 12:24:01 +00:00
itojun acc7a22687 re-correct fallback strlcpy(). do not choke on z == 0. 2000-07-04 00:22:03 +00:00
itojun 8cb4bb315b correct fallback strlcpy() macro. 2000-07-04 00:10:47 +00:00
assar ca4ad890a3 re-generated 2000-07-01 03:35:52 +00:00
assar 7b517010e0 remove non-STDC code and malloc.h 2000-07-01 03:35:07 +00:00
assar ae9e9d40b5 remove non-STDC code 2000-07-01 03:33:48 +00:00
assar 95cd5942c1 remove non-stdc code
remove unused variable warning
2000-07-01 03:32:50 +00:00
assar 1cf3c4fbc9 remove setting of umask
remove check for malloc.h: not used any longer
2000-07-01 03:31:45 +00:00
itojun 026d4bfb5c correct ethertype_ipv6 again. from <risso@polito.it> 2000-06-29 15:44:55 +00:00
itojun 20600c88c2 correct ethertype_ipv6. from <risso@polito.it> 2000-06-29 15:38:57 +00:00
assar 43d686800c add bpf_dump.c (moved here from tcpdump) 2000-06-26 10:55:16 +00:00
assar 3e80c2e1e6 add pcap_open_dead 2000-06-26 08:14:48 +00:00
assar 301b568422 remove some empty lines 2000-06-26 05:12:11 +00:00
assar 2dffac5060 handle no link-layer
From Darren Reed <darrenr@reed.wattle.id.au>
2000-06-26 05:10:40 +00:00
assar cae5972e6d make it compile under solaris and hp-ux
(bpf_filter): clarify comment
From Darren Reed <darrenr@reed.wattle.id.au>
2000-06-26 05:08:35 +00:00
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