Contents

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.