summaryrefslogtreecommitdiff
path: root/pimd/pim_oil.h
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-04-13 01:00:50 -0700
committerAbhishek N R <abnr@vmware.com>2022-04-13 01:19:03 -0700
commit80a82b567fd98fa8cf12cbdefab25e13f56d655f (patch)
tree9c66b3c72308e71f35026ea352e2ef65e8978152 /pimd/pim_oil.h
parent5cc9af2a6da78f2cd90eb1ff1e761041796a9666 (diff)
pimd: Changing PIM_OIF_FLAG_PROTO_IGMP to PIM_OIF_FLAG_PROTO_GM
Modified marco name so that it can be reused in mld. Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/pim_oil.h')
-rw-r--r--pimd/pim_oil.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/pimd/pim_oil.h b/pimd/pim_oil.h
index 21047177ea..eed4b203cd 100644
--- a/pimd/pim_oil.h
+++ b/pimd/pim_oil.h
@@ -27,18 +27,18 @@ struct pim_interface;
/*
* Where did we get this (S,G) from?
*
- * IGMP - Learned from IGMP
+ * GM - Learned from IGMP/MLD
* PIM - Learned from PIM
* SOURCE - Learned from Source multicast packet received
* STAR - Inherited
*/
-#define PIM_OIF_FLAG_PROTO_IGMP (1 << 0)
+#define PIM_OIF_FLAG_PROTO_GM (1 << 0)
#define PIM_OIF_FLAG_PROTO_PIM (1 << 1)
#define PIM_OIF_FLAG_PROTO_STAR (1 << 2)
#define PIM_OIF_FLAG_PROTO_VXLAN (1 << 3)
-#define PIM_OIF_FLAG_PROTO_ANY \
- (PIM_OIF_FLAG_PROTO_IGMP | PIM_OIF_FLAG_PROTO_PIM \
- | PIM_OIF_FLAG_PROTO_STAR | PIM_OIF_FLAG_PROTO_VXLAN)
+#define PIM_OIF_FLAG_PROTO_ANY \
+ (PIM_OIF_FLAG_PROTO_GM | PIM_OIF_FLAG_PROTO_PIM | \
+ PIM_OIF_FLAG_PROTO_STAR | PIM_OIF_FLAG_PROTO_VXLAN)
/* OIF is present in the OIL but must not be used for forwarding traffic */
#define PIM_OIF_FLAG_MUTE (1 << 4)