X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Freplication.h;h=6350aedfe7f65d520e52f26ce94e97e9481aeaf8;hb=8e1039a8231cd1d817a24256c421b9fc512f45fa;hp=42ec69a43ffdb8ce1fab86fa47472cb4e5db1cb4;hpb=365a2b851024080c2f8f59bce2b61f243a85c254;p=vpp.git diff --git a/src/vnet/replication.h b/src/vnet/replication.h index 42ec69a43ff..6350aedfe7f 100644 --- a/src/vnet/replication.h +++ b/src/vnet/replication.h @@ -39,16 +39,17 @@ typedef struct * data saved from the start of replication and restored * at the end of replication */ - u32 saved_free_list_index; /* from vlib buffer */ + vlib_buffer_free_list_index_t saved_free_list_index; /* from vlib buffer */ /* data saved from the original packet and restored for each replica */ u64 l2_header[3]; /* 24B (must be at least 22B for l2 packets) */ + u32 flags; /* vnet buffer flags */ u16 ip_tos; /* v4 and v6 */ u16 ip4_checksum; /* needed for v4 only */ /* data saved from the vlib buffer header and restored for each replica */ i16 current_data; /* offset of first byte of packet in packet data */ - u8 pad[6]; /* to 64B */ + u8 pad[2]; /* to 64B */ u8 l2_packet; /* flag for l2 vs l3 packet data */ } replication_context_t; /* 128B */