summaryrefslogtreecommitdiffstats
path: root/include/linux/xfrm.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2010-12-08 04:37:49 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-10 14:43:58 -0800
commit35d2856b4693e8de5d616307b56cef296b839157 (patch)
treead267bf9f3312b2d64bec8b4912178577a8cb71e /include/linux/xfrm.h
parent957fca95e3521e471aac4c2e4cfbc21f399bdd84 (diff)
downloadop-kernel-dev-35d2856b4693e8de5d616307b56cef296b839157.zip
op-kernel-dev-35d2856b4693e8de5d616307b56cef296b839157.tar.gz
xfrm: Add Traffic Flow Confidentiality padding XFRM attribute
The XFRMA_TFCPAD attribute for XFRM state installation configures Traffic Flow Confidentiality by padding ESP packets to a specified length. Signed-off-by: Martin Willi <martin@strongswan.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/xfrm.h')
-rw-r--r--include/linux/xfrm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index b971e38..930fdd2 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -283,6 +283,7 @@ enum xfrm_attr_type_t {
XFRMA_KMADDRESS, /* struct xfrm_user_kmaddress */
XFRMA_ALG_AUTH_TRUNC, /* struct xfrm_algo_auth */
XFRMA_MARK, /* struct xfrm_mark */
+ XFRMA_TFCPAD, /* __u32 */
__XFRMA_MAX
#define XFRMA_MAX (__XFRMA_MAX - 1)
OpenPOWER on IntegriCloud