dect
/
libpcap
Archived
13
0
Fork 0
Commit Graph

62 Commits

Author SHA1 Message Date
guy 98a503e843 Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword,
letting you filter based on the VLAN to which a packet belongs, and an
improvement to the printing of VLAN packets (adding an extra space to
separate the VLAN priority and flags from the next stuff printed).
2000-10-22 04:15:55 +00:00
guy c8c2e7e65b Token Ring support, from various patches. Also add "tr" as an alias for
"ether", "fddi", "link", etc..
2000-07-25 05:50:08 +00:00
guy 0d0297bdd1 Older versions of Flex (e.g., 2.5.2, which at least one user had) dump
core if the YY_FLUSH_BUFFER macro is called when there's no current
buffer (e.g., before any scanning has been done).

So, instead, when using Flex, we use "yy_scan_string()" to specify that
the scanner should read from the filter expression string, rather than
defining our own YY_INPUT macro, and we add a "lex_cleanup()" routine,
called after parsing is complete, to delete the buffer allocated by
"yy_scan_string()", which arranges that, when we next hand the scanner a
string, it doesn't then return to the parser cruft left over from the
previous parse.
2000-07-13 06:51:56 +00:00
assar 0e2f8c8892 add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +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 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
mcr dd89824a8b patch to compile on AIX 2000-01-25 03:21:29 +00:00
assar 3c8d26ffc4 add some parameters to help old lexes in handling this file 1999-11-17 04:09:58 +00:00
itojun 03464b3109 * libpcap/scanner.l: make IPv6 parsing more strict.
this makes arp[0:1] to work again ("0:1" was mistakingly
  considered as IPv6 address).  Uses very ugly regex...
1999-11-09 12:19:22 +00:00
itojun 5b7ead9173 add configure option --disable-protochain, to make Arne happier. 1999-11-01 15:56:40 +00:00
itojun 7fe3c1111a IPv6 packet filtering code.
./configure --enable-ipv6 (requires getaddrinfo(3) and getnameinfo(3)).

TODO: make it work even without getaddrinfo(3) or getnameinfo(3)
(or, tcpdump/configure.in should provide alternative version by
AC_REPLACE_FUNCS)
TODO: make IPv6 filtering code work by default
TODO: make "protochain" friendly with optimization
1999-10-19 15:18:28 +00:00
mcr b11ddf8a9b Initial revision 1999-10-07 23:46:40 +00:00