mbuf_pkthdr_setlen
Declaration
void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len);Parameters
- mbuf:
The mbuf containing the packet header.
- len:
The new length of the packet.
Discussion
Sets the length of the packet in the packet header.
void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len);The mbuf containing the packet header.
The new length of the packet.
Sets the length of the packet in the packet header.