os_msys_get_pkthdr() function
Allocate a packet header structure from the MSYS pool. See os_msys_register() for a description of MSYS.
Arguments
dsize
The estimated size of the data being stored in the mbuf
user_hdr_len
The length to allocate for the packet header structure
Return value
A freshly allocated mbuf on success, NULL on failure.
os_msys_get_pkthdr() is called by 4 functions and calls 4 functions:
![]()
os_msys_get_pkthdr()
os_msys_get_pkthdr() reads 6 variables and writes 1 variable:
![]()
os_msys_get_pkthdr()