session: Increasing the Header lengthe size

Type: feature

For some deployments(mobile traffic) we need few extra bytes of space

Signed-off-by: Srikanth Akula <srakula@cisco.com>
Change-Id: I3367561dc23dbb8b266dea583e23b9430fd7dcab
This commit is contained in:
Srikanth Akula
2019-11-18 11:56:51 -08:00
committed by Florin Coras
parent e140d5d025
commit 93e060aee4
2 changed files with 2 additions and 2 deletions

View File

@ -349,7 +349,6 @@ vlib_buffer_push_uninit (vlib_buffer_t * b, u8 size)
always_inline void *
vlib_buffer_make_headroom (vlib_buffer_t * b, u8 size)
{
ASSERT (b->current_data + VLIB_BUFFER_PRE_DATA_SIZE >= size);
b->current_data += size;
return vlib_buffer_get_current (b);
}

View File

@ -20,7 +20,8 @@
#include <vnet/ip/ip.h>
#include <vnet/tcp/tcp_debug.h>
#define TRANSPORT_MAX_HDRS_LEN 100 /* Max number of bytes for headers */
#define TRANSPORT_MAX_HDRS_LEN 140 /* Max number of bytes for headers */
typedef enum transport_dequeue_type_
{