Subject: CVS commit: src/sys
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/12/2003 05:49:26
Module Name:	src
Committed By:	thorpej
Date:		Sat Apr 12 02:49:26 UTC 2003

Modified Files:
	src/sys/kern: uipc_mbuf.c
	src/sys/sys: mbuf.h

Log Message:
Add two new mbuf routines:
* m_apply(), which applies a function to each mbuf in chain
  starting at a specified offset, for a specified length.
* m_getptr(), which returns a pointer to the mbuf, as well as
  the offset into that mbuf, corresponding to an offset from
  the beginning of an mbuf chain.

From OpenBSD, cleaned up slightly by me.


To generate a diff of this commit:
cvs rdiff -r1.65 -r1.66 src/sys/kern/uipc_mbuf.c
cvs rdiff -r1.80 -r1.81 src/sys/sys/mbuf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.