diff options
author | Bill Hong <bhong@brocade.com> | 2014-12-27 10:12:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-31 14:17:20 -0500 |
commit | 33f72e6f0c67f673fd0c63a8182dbd9ffb8cf50b (patch) | |
tree | 307c17cb74415485426d32afece8b4e221f4f0fb /include/uapi/linux/l2tp.h | |
parent | 957f094f221f81e457133b1f4c4d95ffa49ff731 (diff) |
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/uapi/linux/l2tp.h')
-rw-r--r-- | include/uapi/linux/l2tp.h | 1 |
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_ */ |