History

bridge: notify mdb changes via netlink

As Stephen mentioned, we need to monitor the mdb changes in user-space, so add notifications via netlink too.

Cong Wang committed 13 years ago

Commit 37a393b1 parent fd0ea7d4 files · +90 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/rtnetlink.h+6−0
@@ -125,6 +125,10 @@ enum { · 124 unmodified lines
125125 RTM_GETNETCONF = 82,
126126 #define RTM_GETNETCONF RTM_GETNETCONF
127127
128+ RTM_NEWMDB = 84,
129+#define RTM_NEWMDB RTM_NEWMDB
130+ RTM_DELMDB = 85,
131+#define RTM_DELMDB RTM_DELMDB
128132 RTM_GETMDB = 86,
129133 #define RTM_GETMDB RTM_GETMDB
130134
@@ -607,6 +611,8 @@ enum rtnetlink_groups { · 476 unmodified lines
607611 #define RTNLGRP_IPV4_NETCONF RTNLGRP_IPV4_NETCONF
608612 RTNLGRP_IPV6_NETCONF,
609613 #define RTNLGRP_IPV6_NETCONF RTNLGRP_IPV6_NETCONF
614+ RTNLGRP_MDB,
615+#define RTNLGRP_MDB RTNLGRP_MDB
610616 __RTNLGRP_MAX
611617 };
612618 #define RTNLGRP_MAX (__RTNLGRP_MAX - 1)