diff options
author | Cong Wang <amwang@redhat.com> | 2012-12-11 17:23:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-12 13:02:30 -0500 |
commit | 37a393bc4932d7bac360f40064aaafc01ab44901 (patch) | |
tree | 61a0a7cd1ab9db418558dbc44d4455868b7220cb /include/uapi/linux/rtnetlink.h | |
parent | fd0ea7dbfae16015e72c4bbc6b1b43fffc3b914f (diff) |
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.
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/rtnetlink.h')
-rw-r--r-- | include/uapi/linux/rtnetlink.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 354a1e7d32a3..7a5eb196ade9 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h | |||
@@ -125,6 +125,10 @@ enum { | |||
125 | RTM_GETNETCONF = 82, | 125 | RTM_GETNETCONF = 82, |
126 | #define RTM_GETNETCONF RTM_GETNETCONF | 126 | #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_GETMDB | 133 | #define RTM_GETMDB RTM_GETMDB |
130 | 134 | ||
@@ -607,6 +611,8 @@ enum rtnetlink_groups { | |||
607 | #define RTNLGRP_IPV4_NETCONF RTNLGRP_IPV4_NETCONF | 611 | #define RTNLGRP_IPV4_NETCONF RTNLGRP_IPV4_NETCONF |
608 | RTNLGRP_IPV6_NETCONF, | 612 | RTNLGRP_IPV6_NETCONF, |
609 | #define RTNLGRP_IPV6_NETCONF RTNLGRP_IPV6_NETCONF | 613 | #define RTNLGRP_IPV6_NETCONF RTNLGRP_IPV6_NETCONF |
614 | RTNLGRP_MDB, | ||
615 | #define RTNLGRP_MDB RTNLGRP_MDB | ||
610 | __RTNLGRP_MAX | 616 | __RTNLGRP_MAX |
611 | }; | 617 | }; |
612 | #define RTNLGRP_MAX (__RTNLGRP_MAX - 1) | 618 | #define RTNLGRP_MAX (__RTNLGRP_MAX - 1) |