Skip to contentSkip to conversation

l2tp : multicast notification to the registered listeners

PATCH Applied Stephen Hemminger 2 participants 2 messages Dec 27, 2014 – Dec 31, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 l2tp : multicast notification to the registered listeners

From: Bill Hong <[email protected]>

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.

include/uapi/linux/l2tp.h +1 -0
@@ -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_ */
net/l2tp/l2tp_netlink.c +91 -10

201 lines not on this page · raw message

Applied
#1 lore raw

From: Stephen Hemminger <[email protected]>
Date: Sat, 27 Dec 2014 10:12:39 -0800

Quoted 9 lines

From: Bill Hong <[email protected]>

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.

Quoted 3 lines

Applied.