Searched hist:54002 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/kern/
H A Duipc_mbuf.cdiff 54002 Wed Dec 01 20:31:32 MST 1999 archie The functions m_copym() and m_copypacket() return read-only copies,
because in the case of mbuf clusters they only increment the reference
count rather than actually copying the data.

Add comments to this effect, and add a new routine called m_dup() that
returns a real, writable copy of an mbuf chain.

This is preliminary work required for implementing 'ipfw tee'.

Reviewed by: julian
/freebsd-11-stable/sys/sys/
H A Dmbuf.hdiff 54002 Wed Dec 01 20:31:32 MST 1999 archie The functions m_copym() and m_copypacket() return read-only copies,
because in the case of mbuf clusters they only increment the reference
count rather than actually copying the data.

Add comments to this effect, and add a new routine called m_dup() that
returns a real, writable copy of an mbuf chain.

This is preliminary work required for implementing 'ipfw tee'.

Reviewed by: julian

Completed in 148 milliseconds