[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Christopher Pascoe <pascoe_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 30 Jul 2005 21:52:19 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: pascoe_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2005/07/30 21:52:19
Modified files:
sys/net : if_trunk.c if_pflog.c if_gif.c if_gre.c
if_loop.c if_vlan.c if_faith.c bpf.h bpf.c
sys/arch/mvme68k/dev: if_ie.c
sys/arch/mvme88k/dev: if_ie.c
sys/arch/sparc/dev: if_ie.c
sys/dev/isa : if_ie.c
sys/netinet : ip_ah.c ip_carp.c ip_esp.c ip_ether.c ip_gre.c
ip_ipcomp.c ip_ipip.c ipsec_input.c
Log message:
Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chain
to bpf with either an address family or other header added.
These helpers only allocate a much smaller struct m_hdr on the stack when
needed, rather than leaving 256 byte struct mbufs on the stack in deep
call paths. Also removes a fair bit of duplicated code.
commit now, tune after deraadt@
Visit your host, monkey.org