mbuf: clarify definition of fragment packet types
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 3 Oct 2016 08:38:55 +0000 (10:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Oct 2016 16:22:46 +0000 (18:22 +0200)
commit8c5cb949937b474b50b41e5a3f730ccff3229085
tree0dbeacafa49211e223692b81cc64e564ed92e956
parent288541c8ff9eecccdb173a9b07a9aa6849d804f0
mbuf: clarify definition of fragment packet types

An IPv4 packet is considered as a fragment if:
- MF (more fragment) bit is set
- or Fragment_Offset field is non-zero

Update the API documentation of packet types to reflect this.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf_ptype.h