From ba78e2380e86926c7e29bc3538eb7ac4e78699b1 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 6 Apr 2020 21:28:59 +0000 Subject: udp session: jumbo frames and configurable mtu Type: improvement Signed-off-by: Florin Coras Change-Id: I6b750bef5df0f8544e05177ccd480f87a020832d --- src/vnet/udp/udp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/udp/udp.h') diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h index 9e1aad6fbe5..f7985c928c2 100644 --- a/src/vnet/udp/udp.h +++ b/src/vnet/udp/udp.h @@ -63,6 +63,7 @@ typedef struct transport_connection_t connection; /**< must be first */ clib_spinlock_t rx_lock; /**< rx fifo lock */ u8 flags; /**< connection flags */ + u16 mss; /**< connection mss */ } udp_connection_t; #define foreach_udp4_dst_port \ @@ -171,6 +172,7 @@ typedef struct clib_spinlock_t *peekers_write_locks; udp_connection_t *listener_pool; + u16 default_mtu; } udp_main_t; extern udp_main_t udp_main; -- cgit 1.2.3-korg