dect
/
libpcap
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libpcap/pcap
guy 0446821e49 Make some arguments const pointers if that makes sense.
Add some additional checks to bpf_validate(), from OpenBSD.

Use bpf_validate() in install_bpf_program(), so we validate programs
even when they're being processed by userland filters; we make
bpf_validate() not reject backward branches, as we use them for the
protochain operator.

For BPF, don't assume that, just because no_optimize was set, we have a
program that we can't hand to the kernel; the user of the application
might have specified no optimization (e.g., tcpdump with -O), or we
might have generated code to handle 802.11 headers (the optimizer can't
handle that code).  Instead, try handing the filter to the kernel and,
if that fails, try it in userland.

Get rid of BPF_MAXINSNS - we don't have a limit on program size in
libpcap.
2008-01-02 04:16:46 +00:00
..
bluetooth.h From Paolo Abeni: 2007-09-22 02:10:17 +00:00
bpf.h Make some arguments const pointers if that makes sense. 2008-01-02 04:16:46 +00:00
namedb.h Put the public libpcap headers into a pcap subdirectory in both the 2006-10-04 18:09:21 +00:00
pcap.h Make some arguments const pointers if that makes sense. 2008-01-02 04:16:46 +00:00
sll.h From Paolo Abeni: add multiple-include protection. 2006-10-05 10:23:35 +00:00
usb.h Add an RCS ID. 2007-09-22 02:06:08 +00:00