[−][src]Function mynewt::kernel::os::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.
dsize
: The estimated size of the data being stored in the mbufuser_hdr_len
: The length to allocate for the packet header structure
Return: A freshly allocated mbuf on success, NULL on failure.