Commit Graph

15 Commits

Author SHA1 Message Date
wiz 8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
drochner 4aab8ad6b5 sync with rev. 1.5 of sys/dist/pf/net/if_pflog.h (which was before
the 5.x branch), to make filter expressions in pflog dumps work again,
from Lucio Albornoz per PR bin/42780
(pullup candidate)
2010-02-12 21:16:56 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
bouyer 31c07c3453 Fix pcap_lookupnet(): reset ifr before SIOCGIFNETMASK. Without it we get
back a bogus netmask.
2009-09-29 19:00:45 +00:00
degroote 2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
christos cdb23ba9fb add a volatile variable to prevent vfork/longjmp clobbering. 2006-10-15 19:27:21 +00:00
drochner 65f32e5703 Make the optimizer use unsigned numbers as the kernel does.
While it is not agreed on that purely unsigned arithmetics is nice,
different behaviour of optimized and unoptimized code is less desirable.
2006-05-17 17:48:36 +00:00
tron 27048c613e Add missing "const" keywords to match declarations in "pcap.h". 2006-04-26 09:24:33 +00:00
drochner 8c32a44b4d minor constification, good for WARNS=3 now 2006-02-27 16:00:20 +00:00
drochner ed755469dd NetBSD adaption:
-minor cleanup of installed headers
-const pcap_strerror() for consistency
2006-02-27 15:57:17 +00:00
drochner f5b56adedc minor constification, good for WARNS=3 now 2006-02-27 15:55:30 +00:00
drochner 431104fb34 avoid shadowing globals, for WARNS=2 2006-02-27 15:53:24 +00:00
drochner a7dfc7f00f pull in from NetBSD's libpcap: use cloning bpf device on NetBSD 2006-02-27 15:51:38 +00:00
drochner 6dab7ae580 pull in from NetBSD's libpcap: import header for __NetBSD_Version__ 2006-02-27 15:50:09 +00:00
drochner 3c909ce59d import original libpcap-0.9.4 from tcpdump.org,
with unrelated subdirs omitted
2006-02-27 15:45:37 +00:00