Commit Graph

51 Commits

Author SHA1 Message Date
mjacob c0e65db53f quiesce the alpha compiler 1999-07-05 20:04:50 +00:00
mjacob 4a7b34ded4 add missing include for memset prototype 1999-07-05 20:01:09 +00:00
itojun 67b57a858e upgrade shlib major version for src/lib/libpcap (0.1 -> 1.0).
document KAME IPv6/IPsec import into INSTALL.txt (installation notes).
1999-07-02 18:53:26 +00:00
simonb 3f777e28cc More trailing white space. 1999-07-02 15:58:35 +00:00
itojun 0be14eaf65 (shlib monor)++ for libpcap. 1999-07-02 14:50:25 +00:00
itojun c6f88a42f4 support IPv6 address and IPv6 protocols.
"tcp" will match both IPv4 TCP and IPv6 TCP.
"ip6" will match IPv6.
you can chase header chain by using "protochain" instead of "proto"
(but bpf code is not optimizable in this case)

commit to tcpdump will follow.

I've sent this fix to LBL guys to get no response.  I wonder why it was.
1999-07-02 10:05:22 +00:00
thorpej b62918959e The only two data link types that support the "inbound" and "outbound"
qualifiers are DLT_SLIP and DLT_PPP (i.e. old-style serial encap PPP).
If an attempt to use these qualifiers is used for any other link type,
cause a BPF program compilation error.
1999-05-15 17:39:07 +00:00
thorpej ceb79b2488 Math is hard. 1999-05-11 06:36:26 +00:00
thorpej 4e571c43d4 Handle the new NetBSD PPP data link types. 1999-05-11 02:20:56 +00:00
ross 417af5fb91 Tweak to allow (perfectly legal) single-character host names, or,
in RFC-speak, `subdomain labels'. Reported to libpcap@ee.lbl.gov.
1999-03-22 09:15:10 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
lukem 85b6237327 convert to using LPREFIX and YPREFIX 1998-11-01 03:48:35 +00:00
matt ca5d93c91e Switch to the same padding ULTRIX and Digital UNIX use. 1998-09-19 21:44:37 +00:00
matt 44530d0f1f Don't pad fddi on NetBSD 1998-09-18 16:43:36 +00:00
mycroft be432ed479 const poisoning. 1998-07-26 14:49:36 +00:00
explorer cac9ccdfa9 make DLT_HDLC interfaces work 1998-07-26 07:23:53 +00:00
kleink add2e5783d Fix pasto; from matt debergalis <deberg@mit.edu> in PR lib/5649. 1998-06-24 19:07:00 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
perry 93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
cgd 7ff54a795e lint 1997-11-05 21:37:27 +00:00
thorpej 4942b96bf8 Don't provide a prototype for ether_hostton() if __NetBSD__. 1997-11-05 04:28:29 +00:00
lukem 4d327fc09d use CPPFLAGS instead of CFLAGS 1997-10-23 02:53:50 +00:00
mikel ea36cfbd5a xref tcpdump(8) not nonexistent tcpdump(8); remove tcpslice(1) xrefs 1997-10-18 06:57:59 +00:00
lukem 4971f40228 add dependancies so that "make depend" isn't required, remove WARNS from here 1997-10-09 12:43:57 +00:00
christos 1611699624 Add support for version.c; this is needed by other programs. 1997-10-03 16:40:56 +00:00
christos 0bdf738f9f Make life easier for the next import... 1997-10-03 16:01:32 +00:00
christos a520af71e9 Resolve conflicts 1997-10-03 15:53:00 +00:00
christos 985e82ae38 Import LBL's libpcap 0.4a3 1997-10-03 15:38:55 +00:00
mycroft e264e9c91d Fix a hairy optimizer bug that causes the expression:
'ip and ((icmp and dst host 1.1.1.1 and not host 2.2.2.2) or (host 1.1.1.1 and src host 3.3.3.3))'
to compile incorrectly.  Details about to be mailed to LBL.
1997-09-28 09:41:53 +00:00
pk 7c0305196a Typo in rcsid line. 1997-05-25 22:44:42 +00:00
veego 924c7fcffa Add y.tab.h to CLEANFILES 1997-05-15 10:04:27 +00:00
mycroft 2c0b6f8e7f Use DPSRCS. 1997-05-09 13:56:04 +00:00
mycroft cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
veego 429435afc0 Remove two debugging CFLAGS: -DBDEBUG -g 1997-04-05 08:12:16 +00:00
christos 8259dd08d6 Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
1997-03-24 22:11:48 +00:00
is 0acb7a329a New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:34:01 +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 e719764e0e add NetBSD RCSID. 1996-12-13 08:32:00 +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
mikel 2b79ace362 Import of LBL libpcap version 0.2.1 1996-12-13 08:17:29 +00:00
mikel b5177ace3a Import of LBL libpcap version 0.2.1 1996-12-11 08:15:24 +00:00
thorpej 7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
explorer aac4c7bf01 add -DFDDI ; closes pr lib/2578 1996-08-10 22:31:19 +00:00
cgd c0e6f9b4f3 use 'ALIGN' from <sys/param.h> rather than generating a custom alignment expr 1996-05-29 04:05:52 +00:00
cgd ebd16dc1e1 switch from long to int32_t, where appropriate, so that this actually
works on NetBSD/Alpha for non-trivial filters.
1996-05-26 23:50:37 +00:00
cgd ace25ccb4d show what's going on (i.e. show the cmp ... || install ...) even if
nothing's being installed.
1996-05-10 21:54:24 +00:00
cgd edf4f72627 apparently the BPF_HEADERS don't define BPF_RELEASE or typedef the
bpf_{,u_}int32 types, so they are defined here.  Change their
definitions to use int32_t and u_int32_t, rather than long and u_long.
1996-05-02 00:18:28 +00:00
jtc 022978656f Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-29 20:32:24 +00:00
cgd 64fe160dd5 include string.h and/or stdlib.h as appropriate, if NetBSD. 1995-04-29 05:42:23 +00:00
mycroft b0446b3200 Port to NetBSD, and add NetBSD RCS tags. 1995-03-06 11:37:58 +00:00