Commit Graph

21 Commits

Author SHA1 Message Date
lukem c1b95c0073 explicitly set to WARNS?=1 2001-11-05 15:22:23 +00:00
itojun cf9ebfbd63 use getifaddrs, instead of SIOCGIFCONF.
sync with more-recent LBL 0.4, about loopback interface detection
(/^lo[0-9]?$/).

CAVEAT: with GENERIC kernel on laptops laptops, pcap_lookupdev would almost
always pick eon0 as the interface, and fails because eon0 has no bpf
attachment.  we may want to change pcap_lookup{,dev} to check if the
interface has bpf attachment or not.

almost in sync with tcpdump.org source code tree.
2000-04-13 05:14:19 +00:00
simonb 3f777e28cc More trailing white space. 1999-07-02 15:58:35 +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
lukem 85b6237327 convert to using LPREFIX and YPREFIX 1998-11-01 03:48:35 +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
lukem 4d327fc09d use CPPFLAGS instead of CFLAGS 1997-10-23 02:53:50 +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 a520af71e9 Resolve conflicts 1997-10-03 15:53:00 +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
mikel f17c8ad1a1 Merge libpcap-0.2.1.
Includes numerous improvements (see CHANGES), fixes PR bin/2031.
1996-12-13 08:25:54 +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 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
jtc 022978656f Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-29 20:32:24 +00:00
mycroft b0446b3200 Port to NetBSD, and add NetBSD RCS tags. 1995-03-06 11:37:58 +00:00