X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fbuffer.h;h=02688e265303cb9b3790fc934a182ed7f3277f3f;hb=4c53313cd7e9b866412ad3e04b2d91ac098c1398;hp=e785145c0b53ce861cfb16b49cb08bae6aadab46;hpb=2303cb181b51f63c909cd506125c1f832432865a;p=vpp.git diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index e785145c0b5..02688e26530 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; };