cvs commit: src/sys/net bpf.c

Dag-Erling Smørgrav des at des.no
Tue Jun 7 09:35:29 GMT 2005


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Peter Jeremy <PeterJeremy at optushome.com.au> writes:
> > If people are using really large BPF programs, is there a benefit in
> > moving from bytecode to machine code?
> I'm sure there would be, but we wouldn't be compatible with everybody
> else if we did so.

Sure we would.  There is no need to change the API, just compile the
byte code to native machine code when the filter is loaded.

DES
-- 
Dag-Erling Smørgrav - des at des.no



More information about the cvs-src mailing list