[RTNETLINK] Cleanup rtnetlink_link tables
[deliverable/linux.git] / include / linux / rtnetlink.h
index 1ecaea74d55a67b707f22e3761b1000e7b7f3703..91ac97c207771c49530d579f16ca7abb3028914f 100644 (file)
@@ -93,6 +93,8 @@ enum {
 #define RTM_MAX                (((__RTM_MAX + 3) & ~3) - 1)
 };
 
+#define RTM_NR_MSGTYPES        (RTM_MAX + 1 - RTM_BASE)
+#define RTM_NR_FAMILIES        (RTM_NR_MSGTYPES >> 2)
 #define RTM_FAM(cmd)   (((cmd) - RTM_BASE) >> 2)
 
 /* 
This page took 0.025564 seconds and 5 git commands to generate.