tcpdump mailing list archives
BPF_MEMWORDS
From: George Bakos <gbakos () ists dartmouth edu>
Date: Wed, 6 Aug 2003 03:16:44 -0400
As DRAM is rather more abundant than in 1998, perhaps we can allocate a bit more towards the scratch registers. In particular, this would open up the limits on bpf expression length, reducing the need for multiple filter files in cases that would otherwise throw a "too many registers needed" error. Any political, religious, or perhaps, cs reasons why the following is unreasonable? --- pcap-bpf.h 2003-08-06 03:08:51.000000000 -0400 +++ pcap-bpf.h.gb 2003-08-06 03:09:15.000000000 -0400 @@ -477,7 +477,7 @@ /* * Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST). */ -#define BPF_MEMWORDS 16 +#define BPF_MEMWORDS 64 #ifdef __cplusplus } -- George Bakos Institute for Security Technology Studies - IRIA Dartmouth College gbakos () ists dartmouth edu 603.646.0665 -voice 603.646.0666 -fax - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- BPF_MEMWORDS George Bakos (Aug 15)
- Re: BPF_MEMWORDS Guy Harris (Aug 11)