PatchSet 2: change tlv[256] to tlv[tlv_length]
Change-Id: I783483de0d55f38ad96c99faa701d735ba109f43
Signed-off-by: Hongjun Ni <[email protected]>
u32 c2;
u32 c3;
u32 c4;
+ u32 tlv_length;
+ u8 tlv[tlv_length];
};
/** \brief Reply from adding NSH entry (nsh_add_del_entry)
u32 c2;
u32 c3;
u32 c4;
+ u32 tlv_length;
+ u8 tlv[tlv_length];
};
/** \brief Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header)