diff options
author | cmetz <cmetz@cvs.openbsd.org> | 1999-07-02 01:02:54 +0000 |
---|---|---|
committer | cmetz <cmetz@cvs.openbsd.org> | 1999-07-02 01:02:54 +0000 |
commit | 4eb548238f91ec4f48d5b99eaf76c43e79630a3e (patch) | |
tree | 908bbf31fc9ceee7f5f285e1cd4e15f60ef0bf89 /sys/arch/i386 | |
parent | d57519a10bc4e9b97cd8834c226523efa9ecd5f3 (diff) |
Added a simple but potentially very useful new mbuf function, m_apply().
It applies the supplied function f(state, p, len) to every contiguous region
in a mbuf, thus mostly handling all the mbuf-isms for you.
It's used by my TCP MD5 signature implementation to run MD5 over the TCP
payload data in a mbuf so that I don't have to spread mbufism-loops all over.
It might also be useful for IPsec.
Diffstat (limited to 'sys/arch/i386')
0 files changed, 0 insertions, 0 deletions