summaryrefslogtreecommitdiff
path: root/include/uapi/linux/l2tp.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2017-12-22 17:10:18 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-27 20:11:51 +0300
commitf15bc54eeecd86dfba3885aab839cd1f45172a38 (patch)
treeb0ce5e53ca229d324ba653f64b9cc4ac34dd8e4b /include/uapi/linux/l2tp.h
parent820da5357572715c6235ba3b3daa2d5b43a1198f (diff)
downloadlinux-f15bc54eeecd86dfba3885aab839cd1f45172a38.tar.xz
l2tp: add peer_offset parameter
Introduce peer_offset parameter in order to add the capability to specify two different values for payload offset on tx/rx side. If just offset is provided by userspace use it for rx side as well in order to maintain compatibility with older l2tp versions Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/l2tp.h')
-rw-r--r--include/uapi/linux/l2tp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
index d84ce5c1c9aa..d6fee55dbded 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -127,6 +127,7 @@ enum {
L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */
L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */
L2TP_ATTR_PAD,
+ L2TP_ATTR_PEER_OFFSET, /* u16 */
__L2TP_ATTR_MAX,
};