Hi,
I am missing context of what Max's suggestion was, do you have a
reference to an old email thread?
Style bugs:
* needs style(9) and whitespace cleanup.
* C typedefs should be suffixed with _t for consistency with other
kernel typedefs.
* Function typedefs usually named like foo_func_t (see other subsystems)
Have you looked at m_apply() ? It already exists for stuff like this
i.e. functions which act on an mbuf chain, although it doesn't
necessarily expect chain heads.
cheers
BMS
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"