From 1f079924c1684da5958747e24a0e91a3ea12d702 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 15 Aug 2017 17:38:02 +0100 Subject: [PATCH] Heckle MTU calc Signed-off-by: David Woodhouse --- gpst.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ + \ -- 2.49.0