mbuf_pkthdr_len
Declaration
size_t mbuf_pkthdr_len(const mbuf_t mbuf);Parameters
- mbuf:
The mbuf containing the packet header with the length to be changed.
Return Value
The length, in bytes, of the packet.
Discussion
Returns the length as reported by the packet header.