summaryrefslogtreecommitdiff
path: root/include/linux/l2tp.h
diff options
context:
space:
mode:
authorChris Elston <celston@katalix.com>2012-04-29 21:48:52 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-01 09:30:55 -0400
commitf9bac8df908d7c0a36960265c92f3445623b19d1 (patch)
tree58bc4af4f65eed62a01027d2358b713b1a060e37 /include/linux/l2tp.h
parent2121c3f571f08bd723f449f2477f1582709f5a2a (diff)
downloadlwn-f9bac8df908d7c0a36960265c92f3445623b19d1.tar.gz
lwn-f9bac8df908d7c0a36960265c92f3445623b19d1.zip
l2tp: netlink api for l2tpv3 ipv6 unmanaged tunnels
This patch adds support for unmanaged L2TPv3 tunnels over IPv6 using the netlink API. We already support unmanaged L2TPv3 tunnels over IPv4. A patch to iproute2 to make use of this feature will be submitted separately. Signed-off-by: Chris Elston <celston@katalix.com> Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/l2tp.h')
-rw-r--r--include/linux/l2tp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/l2tp.h b/include/linux/l2tp.h
index e77d7f9bb246..16b834741d16 100644
--- a/include/linux/l2tp.h
+++ b/include/linux/l2tp.h
@@ -108,6 +108,8 @@ enum {
L2TP_ATTR_MTU, /* u16 */
L2TP_ATTR_MRU, /* u16 */
L2TP_ATTR_STATS, /* nested */
+ L2TP_ATTR_IP6_SADDR, /* struct in6_addr */
+ L2TP_ATTR_IP6_DADDR, /* struct in6_addr */
__L2TP_ATTR_MAX,
};