#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
207081 |
|
22-Apr-2010 |
jkim |
If a conditional jump instruction has the same jt and jf, do not perform the test and jump unconditionally.
|
#
199721 |
|
23-Nov-2009 |
jkim |
- Add more aggressive BPF JIT optimization. This is in more favor of i386 while the previous commit was more amd64-centric. - Use calloc(3) instead of malloc(3)/memset(3) in user land[1].
Submitted by: ed[1]
|
#
199619 |
|
20-Nov-2009 |
jkim |
Add an experimental and rudimentary JIT optimizer to reduce unncessary overhead from short BPF filter programs such as "get the first 96 bytes".
|
#
199603 |
|
20-Nov-2009 |
jkim |
- Allocate scratch memory on stack instead of pre-allocating it with the filter as we do from bpf_filter()[1]. - Revert experimental use of contigmalloc(9)/contigfree(9). It has no performance benefit over malloc(9)/free(9)[2].
Requested by: rwatson[1] Pointed out by: rwatson, jhb, alc[2]
|
#
199492 |
|
18-Nov-2009 |
jkim |
- Make BPF JIT compiler working again in userland. We are limiting size of generated native binary to page size for now. - Update copyright date and fix some style nits.
|
#
182173 |
|
25-Aug-2008 |
jkim |
Fix a typo in copyrights.
|
#
181848 |
|
18-Aug-2008 |
jkim |
Correctly check unsignedness of all BPF_LD|BPF_IND instructions. This is roughly from sys/net/bpf_filter.c r1.12 and r1.14.
|
#
181697 |
|
13-Aug-2008 |
jkim |
- Remove unnecessary jump instruction(s) when offset(s) is/are zero(s). - Constantly use conditional jumps for unsigned integers.
|
#
181648 |
|
12-Aug-2008 |
jkim |
Update copyrights and fix style(9).
|
#
181644 |
|
12-Aug-2008 |
jkim |
Replace all stack usages with registers and remove unused macros.
|
#
179977 |
|
24-Jun-2008 |
jkim |
Emit opcodes closer to GNU as(1) generated codes and micro-optimize.
|
#
179967 |
|
23-Jun-2008 |
jkim |
Rehash and clean up BPF JIT compiler macros to match AT&T notations.
|
#
153177 |
|
06-Dec-2005 |
jkim |
Fix ZERO_EDX() macro from the previous commit. It was emitting `xor %ecx, %ecx', not `xor %edx, %edx'.
|
#
153156 |
|
06-Dec-2005 |
jkim |
- Micro-optimize `mov $0, %edx' -> `xor %edx, %edx'. - Correct amd64 macro style (no functional change).
|
#
153151 |
|
06-Dec-2005 |
jkim |
Add experimental BPF Just-In-Time compiler for amd64 and i386.
Use the following kernel configuration option to enable:
options BPF_JITTER
If you want to use bpf_filter() instead (e. g., debugging), do:
sysctl net.bpf.jitter.enable=0
to turn it off.
Currently BIOCSETWF and bpf_mtap2() are unsupported, and bpf_mtap() is partially supported because 1) no need, 2) avoid expensive m_copydata(9).
Obtained from: WinPcap 3.1 (for i386)
|