[dpdk-dev] [PATCH 08/13] mbuf: add named points inside the mbuf structure

2014-09-08 Thread Olivier MATZ
On 09/03/2014 05:49 PM, Bruce Richardson wrote: > Add markers or "labels" at given points inside the mbuf which can be > used instead of individual fields to identify the start of logical > sections inside the mbuf. > > The use of typedefs and dummy fields was chosen over using unions > because of

[dpdk-dev] [PATCH 08/13] mbuf: add named points inside the mbuf structure

2014-09-03 Thread Bruce Richardson
Add markers or "labels" at given points inside the mbuf which can be used instead of individual fields to identify the start of logical sections inside the mbuf. The use of typedefs and dummy fields was chosen over using unions because of a couple reasons: * unions cause an extra level of indentat