diff options
author | 2018-02-14 15:53:00 +0100 | |
---|---|---|
committer | 2018-02-19 17:47:48 +0100 | |
commit | 34c3e2b4a949cba8ebe54af9cacb32419a3717da (patch) | |
tree | 7755de31364c37aa39ca80fa8a9f1830eefd1852 /src | |
parent | bd514bb6b1ddee47d76cb69cad2622e81926a50c (diff) |
Fixes to changes in vnet/buffer.h
Change ethertype from double u8 to u16 for consistency, and next_index to u8,
for consistency with next_index defined int the ipsec field of this union.
Change-Id: I9315bbdd95e23290b37da53267b94a5ddacc85d7
Signed-off-by: Szymon Sliwa <szs@semihalf.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/buffer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index a0a848c8..8f2cc807 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -286,13 +286,14 @@ typedef struct u8 flags; } tcp; - /* For ODP based ipsec nodes */ + /* For ODP based ipsec nodes (careful, collides with ipsec field of this + union, might be a problem when implementing GRE protocol) */ struct { u8 dst_mac[6]; u8 src_mac[6]; - u8 ether_type[2]; - u32 next_index; + u16 ether_type; + u8 next_index; } post_crypto; u32 unused[6]; |