aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/buffer.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index ec5e2f75..a0a848c8 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -84,7 +84,8 @@ _(ipsec) \
_(map) \
_(map_t) \
_(ip_frag) \
-_(tcp)
+_(tcp) \
+_(post_crypto)
/*
* vnet stack buffer opaque array overlay structure.
@@ -285,6 +286,15 @@ typedef struct
u8 flags;
} tcp;
+ /* For ODP based ipsec nodes */
+ struct
+ {
+ u8 dst_mac[6];
+ u8 src_mac[6];
+ u8 ether_type[2];
+ u32 next_index;
+ } post_crypto;
+
u32 unused[6];
};
} vnet_buffer_opaque_t;