Module name: mbuf Committed by: pcahyna Date: Tue Aug 8 15:12:34 UTC 2006
Modified Files: mbuf/userland/mbuf_impl: uipc_mbuf.c uipc_mbuf2.c mbuf/userland/mbuf_impl/sys: mbuf.h Log Message: Add a m_contig member to struct mbuf, which describes how much data is guaranteed to be contiguous. Add macros to manipulate m_data and m_len, which take care of updating m_contig. (If m_data and m_len are manipulated directly, nothing bad happens, only it may happen that a contiguous region is created when not necessary.) Adapt the mbuf routines to those macros. Adapt m_pulldown0 (the backend for mptr* and m_pulldown) to respect m_contig. To generate a diff of this commit: cvs -z3 rdiff -u -r1.2 -r1.3 mbuf/userland/mbuf_impl/uipc_mbuf.c cvs -z3 rdiff -u -r1.3 -r1.4 mbuf/userland/mbuf_impl/uipc_mbuf2.c cvs -z3 rdiff -u -r1.5 -r1.6 mbuf/userland/mbuf_impl/sys/mbuf.h To view a diff of this commit: http://cvs.sourceforge.net/viewcvs.py/netbsd-soc/mbuf/userland/mbuf_impl/uipc_mbuf.c?r1=1.2&r2=1.3 http://cvs.sourceforge.net/viewcvs.py/netbsd-soc/mbuf/userland/mbuf_impl/uipc_mbuf2.c?r1=1.3&r2=1.4 http://cvs.sourceforge.net/viewcvs.py/netbsd-soc/mbuf/userland/mbuf_impl/sys/mbuf.h?r1=1.5&r2=1.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NetBSD-SoC-cvs mailing list NetBSD-SoC-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/netbsd-soc-cvs