Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: dyoung
Date: Sun Jun 6 04:35:53 UTC 2004
Modified Files:
src/sys/net: bpf.c
src/sys/sys: mbuf.h
Log Message:
Per Matt Thomas' and Darren Reed's suggestions:
Add bpf_deliver prototype.
Rename bpf_measure to m_length and move it to sys/sys/mbuf.h. I
make m_length an inline function in the header file to preserve
its performance characteristics, for better or for worse.
Optimize m_length: use the length in m_pkthdr.len, if M_PKTHDR.
In bpf_deliver, zero the on-stack mbuf before we do anything else
with it.
To generate a diff of this commit:
cvs rdiff -r1.100 -r1.101 src/sys/net/bpf.c
cvs rdiff -r1.91 -r1.92 src/sys/sys/mbuf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index