Module name: mbuf Committed by: pcahyna Date: Tue Aug 8 10:03:14 UTC 2006
Modified Files: mbuf/userland/mbuf_impl: uipc_mbuf.c uipc_mbuf2.c mbuf/userland/mbuf_impl/sys: mbuf.h Log Message: Add m_datarange and m_datarange_rw functions, which correspond to mptr_pullup and mptr_rw macros, but without the sizeof magic - they accept an explicit "len" argument. Rename some flags to the m_pulldown0 internal function and add new flags to request blocking allocation, alignment and leading space in a newly allocated mbuf. (The intent is to duplicate the functionality of m_copyup.) The new functions accept those flags, too. Change the semantics of mptr a bit - now it assumes that all the data are in the first mbuf, even in the case ofa nonzero offset. Revert to upstream version 1.110 of uipc_mbuf.c, this is what corresponds to my kernel snapshot. To generate a diff of this commit: cvs -z3 rdiff -u -r1.1.1.1 -r1.2 mbuf/userland/mbuf_impl/uipc_mbuf.c cvs -z3 rdiff -u -r1.2 -r1.3 mbuf/userland/mbuf_impl/uipc_mbuf2.c cvs -z3 rdiff -u -r1.4 -r1.5 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.1.1.1&r2=1.2 http://cvs.sourceforge.net/viewcvs.py/netbsd-soc/mbuf/userland/mbuf_impl/uipc_mbuf2.c?r1=1.2&r2=1.3 http://cvs.sourceforge.net/viewcvs.py/netbsd-soc/mbuf/userland/mbuf_impl/sys/mbuf.h?r1=1.4&r2=1.5 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