Adjusts the size of an mbuf chain.
Item | Description |
---|---|
m | Specifies the mbuf chain to be adjusted. |
diff | Specifies the number of bytes to be removed. |
The m_adj kernel service adjusts the size of an mbuf chain by the number of bytes specified by the diff parameter. If the number specified by the diff parameter is nonnegative, the bytes are removed from the front of the chain. If this number is negative, the alteration is done from back to front.
The m_adj kernel service can be called from either the process or interrupt environment.
The m_adj service has no return values.