X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ftcp%2Ftcp.h;h=dca045128ede6c21e82cdd9d89d294ae026c622f;hb=18e0d4f07812e7c1f52f1f78b613e057017019cf;hp=3848f03f1dc862531ac1fcf8815489d959fabac1;hpb=98d6b61183ecb15932fbdae96a60e0d0fcf97466;p=vpp.git diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index 3848f03f1dc..dca045128ed 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -437,6 +437,12 @@ typedef struct tcp_worker_ctx_ } tcp_worker_ctx_t; +typedef struct tcp_iss_seed_ +{ + u64 first; + u64 second; +} tcp_iss_seed_t; + typedef struct _tcp_main { /* Per-worker thread tcp connection pools */ @@ -464,6 +470,9 @@ typedef struct _tcp_main /** vlib buffer size */ u32 bytes_per_buffer; + /* Seed used to generate random iss */ + tcp_iss_seed_t iss_seed; + /* * Configuration */