aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Hong <bhong@brocade.com>2014-12-27 10:12:39 -0800
committerDavid S. Miller <davem@davemloft.net>2014-12-31 14:17:20 -0500
commit33f72e6f0c67f673fd0c63a8182dbd9ffb8cf50b (patch)
tree307c17cb74415485426d32afece8b4e221f4f0fb /include
parenttun: return proper error code from tun_do_read (diff)
downloadlinux-dev-33f72e6f0c67f673fd0c63a8182dbd9ffb8cf50b.tar.xz
linux-dev-33f72e6f0c67f673fd0c63a8182dbd9ffb8cf50b.zip
l2tp : multicast notification to the registered listeners
Previously l2tp module did not provide any means for the user space to get notified when tunnels/sessions are added/modified/deleted. This change contains the following - create a multicast group for the listeners to register. - notify the registered listeners when the tunnels/sessions are created/modified/deleted. Signed-off-by: Bill Hong <bhong@brocade.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Sven-Thorsten Dietrich <sven@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 21caa2631c20..347ef22a964e 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -178,5 +178,6 @@ enum l2tp_seqmode {
*/
#define L2TP_GENL_NAME "l2tp"
#define L2TP_GENL_VERSION 0x1
+#define L2TP_GENL_MCGROUP "l2tp"
#endif /* _UAPI_LINUX_L2TP_H_ */