This patch adds a field to the flow struct to represent the ESP security parameter index of a packet.
Signed-off-by: Ian Stokes <ian.sto...@intel.com> --- include/openvswitch/flow.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/openvswitch/flow.h b/include/openvswitch/flow.h index a658a58..d986929 100644 --- a/include/openvswitch/flow.h +++ b/include/openvswitch/flow.h @@ -156,6 +156,11 @@ struct flow { ovs_be32 igmp_group_ip4; /* IGMP group IPv4 address. * Keep last for BUILD_ASSERT_DECL below. */ ovs_be32 pad3; /* Pad to 64 bits. */ + + /* SPI for ESP (64-bit aligned) */ + /* XXX TO DO: move this to the l3 layer */ + ovs_be32 spi; + ovs_be32 pad4; }; BUILD_ASSERT_DECL(sizeof(struct flow) % sizeof(uint64_t) == 0); BUILD_ASSERT_DECL(sizeof(struct flow_tnl) % sizeof(uint64_t) == 0); -- 1.7.0.7 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev