X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fbuffer.h;h=86f75389d70b2e62778758b97c47f90f67d1215e;hb=25b049484fcf9161edb2c19250066b893c38c264;hp=e785145c0b53ce861cfb16b49cb08bae6aadab46;hpb=039cbfe254be998f7311bc4638bb262b44efac19;p=vpp.git diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index e785145c0b5..86f75389d70 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -161,15 +161,24 @@ typedef struct } icmp; /* reassembly */ - struct + union { - u16 fragment_first; - u16 fragment_last; - u16 range_first; - u16 range_last; - u32 next_range_bi; - u16 ip6_frag_hdr_offset; - u16 estimated_mtu; + /* in/out variables */ + struct + { + u32 next_index; /* index of next node - ignored if "feature" node */ + u16 estimated_mtu; /* estimated MTU calculated during reassembly */ + }; + /* internal variables used during reassembly */ + struct + { + u16 fragment_first; + u16 fragment_last; + u16 range_first; + u16 range_last; + u32 next_range_bi; + u16 ip6_frag_hdr_offset; + }; } reass; }; @@ -378,6 +387,12 @@ typedef struct u8 __unused[2]; + /* Group Based Policy */ + struct + { + u32 src_epg; + } gbp; + union { struct @@ -387,7 +402,7 @@ typedef struct u16 *trajectory_trace; #endif }; - u32 unused[11]; + u32 unused[10]; }; } vnet_buffer_opaque2_t;