mbuf_settype
Declaration
errno_t mbuf_settype(mbuf_t mbuf, mbuf_type_t new_type);Parameters
- mbuf:
The mbuf.
- new_type:
The new type.
Return Value
0 upon success otherwise the errno error.
Discussion
Sets the type of mbuf.
errno_t mbuf_settype(mbuf_t mbuf, mbuf_type_t new_type);The mbuf.
The new type.
0 upon success otherwise the errno error.
Sets the type of mbuf.