From: David Woodhouse Date: Tue, 15 Aug 2017 16:38:02 +0000 (+0100) Subject: Heckle MTU calc X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=913c0c322145032f858dfed1f459be1da52c0517;p=users%2Fdwmw2%2Fopenconnect.git Heckle MTU calc Signed-off-by: David Woodhouse --- diff --git a/gpst.c b/gpst.c index 195b660d..11ba3784 100644 --- a/gpst.c +++ b/gpst.c @@ -268,6 +268,8 @@ out: return result; } + +/* XXX: Look at set_esp_algo() and tell me again what the biggest supported IV is? */ #define ESP_OVERHEAD (4 /* SPI */ + 4 /* sequence number */ + \ 20 /* biggest supported MAC (SHA1) */ + 16 /* biggest supported IV (AES-128) */ + \ 1 /* pad length */ + 1 /* next header */ + \