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=1f079924c1684da5958747e24a0e91a3ea12d702;p=users%2Fdwmw2%2Fopenconnect.git Heckle MTU calc Signed-off-by: David Woodhouse --- diff --git a/gpst.c b/gpst.c index 71bd968e..90898175 100644 --- a/gpst.c +++ b/gpst.c @@ -266,6 +266,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 */ + \