[2/4] [IPSEC] Add xfrm_state_mtu
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-02-14 22:12:00
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-02-14 22:12:00
This patch introduces the function xfrm_state_mtu which calculates the MTU under a specific SA. This function can be simplified once we get rid all other uses of get_max_size as we can move the calculation into the invidual SA type. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt