diff options
author | Patrick McHardy <kaber@trash.net> | 2006-03-23 01:16:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-23 01:16:06 -0800 |
commit | a5cdc030030ef5a16e48aebeb65067bdc3120899 (patch) | |
tree | 36524250e8564ae4e7f891662dace65fdacff521 /include/linux | |
parent | 5e2e71141ca93a3e2543966ced6a6077d4fb8fd8 (diff) | |
download | blackbird-op-linux-a5cdc030030ef5a16e48aebeb65067bdc3120899.tar.gz blackbird-op-linux-a5cdc030030ef5a16e48aebeb65067bdc3120899.zip |
[IPV4]: Add fib rule netlink notifications
To really make sense of route notifications in the presence of
multiple tables, userspace also needs to be notified about routing
rule updates. Notifications are sent to the so far unused
RTNLGRP_NOP1 (now RTNLGRP_RULE) group.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/rtnetlink.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index d572d5376319..df0cdd41085c 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -839,6 +839,7 @@ enum #define RTMGRP_IPV4_IFADDR 0x10 #define RTMGRP_IPV4_MROUTE 0x20 #define RTMGRP_IPV4_ROUTE 0x40 +#define RTMGRP_IPV4_RULE 0x80 #define RTMGRP_IPV6_IFADDR 0x100 #define RTMGRP_IPV6_MROUTE 0x200 @@ -869,7 +870,8 @@ enum rtnetlink_groups { #define RTNLGRP_IPV4_MROUTE RTNLGRP_IPV4_MROUTE RTNLGRP_IPV4_ROUTE, #define RTNLGRP_IPV4_ROUTE RTNLGRP_IPV4_ROUTE - RTNLGRP_NOP1, + RTNLGRP_IPV4_RULE, +#define RTNLGRP_IPV4_RULE RTNLGRP_IPV4_RULE RTNLGRP_IPV6_IFADDR, #define RTNLGRP_IPV6_IFADDR RTNLGRP_IPV6_IFADDR RTNLGRP_IPV6_MROUTE, |