Adding the following to support the IPSec example application:
- Add per packet user context
- Add IPsec header definitions in a "helper" include file
Note that the user context is stored in the packet header as
a uint64_t value (versus a pointer) to avoid triggering the
following assert on 32 bit platforms:
ODP_STATIC_ASSERT(sizeof(odp_packet_hdr_t) % sizeof(uint64_t) == 0,
"ODP_PACKET_HDR_T__SIZE_ERR2");
Robbie King (2):
Add user context to packet
Add helper include file with IPSec headers
include/helper/odp_ipsec.h | 73 ++++++++++++++++++++
include/odp_packet.h | 18 +++++
.../linux-generic/include/odp_packet_internal.h | 2 +
platform/linux-generic/odp_packet.c | 10 +++
4 files changed, 103 insertions(+), 0 deletions(-)
create mode 100644 include/helper/odp_ipsec.h
--
1.7.7.6
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp