[][src]Function apache_nimble_sys::os_msys_get_pkthdr

pub unsafe extern "C" fn os_msys_get_pkthdr(
    dsize: u16,
    user_hdr_len: u16
) -> *mut os_mbuf

Allocate a packet header structure from the MSYS pool. See os_msys_register() for a description of MSYS.

@param dsize The estimated size of the data being stored in the mbuf @param user_hdr_len The length to allocate for the packet header structure

@return A freshly allocated mbuf on success, NULL on failure.