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
125 RTM_GETNETCONF = 82,125 RTM_GETNETCONF = 82,
126#define RTM_GETNETCONF RTM_GETNETCONF126#define RTM_GETNETCONF RTM_GETNETCONF
127 127
128 RTM_NEWMDB = 84,
129#define RTM_NEWMDB RTM_NEWMDB
130 RTM_DELMDB = 85,
131#define RTM_DELMDB RTM_DELMDB
128 RTM_GETMDB = 86,132 RTM_GETMDB = 86,
129#define RTM_GETMDB RTM_GETMDB133#define RTM_GETMDB RTM_GETMDB
130 134
@@ -607,6 +611,8 @@ enum rtnetlink_groups { · 476 unmodified lines
607#define RTNLGRP_IPV4_NETCONF RTNLGRP_IPV4_NETCONF611#define RTNLGRP_IPV4_NETCONF RTNLGRP_IPV4_NETCONF
608 RTNLGRP_IPV6_NETCONF,612 RTNLGRP_IPV6_NETCONF,
609#define RTNLGRP_IPV6_NETCONF RTNLGRP_IPV6_NETCONF613#define RTNLGRP_IPV6_NETCONF RTNLGRP_IPV6_NETCONF
614 RTNLGRP_MDB,
615#define RTNLGRP_MDB RTNLGRP_MDB
610 __RTNLGRP_MAX616 __RTNLGRP_MAX
611};617};
612#define RTNLGRP_MAX (__RTNLGRP_MAX - 1)618#define RTNLGRP_MAX (__RTNLGRP_MAX - 1)