Module name:    mbuf
Committed by:   pcahyna
Date:           Sun Jul  2 10:28:56 UTC 2006

Modified Files:
        mbuf/userland/mbuf_impl: uipc_mbuf2.c
        mbuf/userland/mbuf_impl/sys: mbuf.h

Log Message:
Introduce a mptr_pullup(struct mbuf **mp, type, int off) macro, which
returns a pointer to the data at offset off in the mbuf chain **mp, cast
to a const pointer to type, while ensuring that (sizeof type) is
contiguous.

Also introduce a mptr macro, which does not make the data contiguous, only
checks this and panic if they are not.


To generate a diff of this commit:
cvs -z3 rdiff -u -r1.1.1.1 -r1.2 mbuf/userland/mbuf_impl/uipc_mbuf2.c
cvs -z3 rdiff -u -r1.2 -r1.3 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_mbuf2.c?r1=1.1.1.1&r2=1.2
http://cvs.sourceforge.net/viewcvs.py/netbsd-soc/mbuf/userland/mbuf_impl/sys/mbuf.h?r1=1.2&r2=1.3

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

Reply via email to