summaryrefslogtreecommitdiff
path: root/pimd/pim_mroute.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_mroute.h')
-rw-r--r--pimd/pim_mroute.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/pimd/pim_mroute.h b/pimd/pim_mroute.h
index 712c916994..d6798c52ad 100644
--- a/pimd/pim_mroute.h
+++ b/pimd/pim_mroute.h
@@ -56,6 +56,7 @@ typedef struct sioc_sg_req pim_sioc_sg_req;
#define vc_lcl_ifindex vifc_lcl_ifindex
#define vc_rmt_addr vifc_rmt_addr
+#define msg_im_msgtype im_msgtype
#define msg_im_vif im_vif
#define msg_im_src im_src
#define msg_im_dst im_dst
@@ -64,6 +65,13 @@ typedef struct sioc_sg_req pim_sioc_sg_req;
#define IGMPMSG_WRVIFWHOLE 4 /* For PIM processing */
#endif
+#ifndef GMMSG_NOCACHE
+#define GMMSG_NOCACHE IGMPMSG_NOCACHE /* For PIM processing */
+#define GMMSG_WHOLEPKT IGMPMSG_WHOLEPKT /* For PIM processing */
+#define GMMSG_WRONGVIF IGMPMSG_WRONGVIF /* For PIM processing */
+#define GMMSG_WRVIFWHOLE IGMPMSG_WRVIFWHOLE /* For PIM processing */
+#endif
+
#ifndef PIM_IPPROTO
#define PIM_IPPROTO IPPROTO_IP
#endif
@@ -94,6 +102,7 @@ typedef struct sioc_sg_req pim_sioc_sg_req;
#define MRT_VERSION MRT6_VERSION
#define MRT_ASSERT MRT6_ASSERT
#define MRT_PIM MRT6_PIM
+#define MRT_TABLE MRT6_TABLE
#endif
#ifndef PIM_IPPROTO
@@ -108,6 +117,13 @@ typedef struct sioc_sg_req pim_sioc_sg_req;
#define MRT6MSG_WRMIFWHOLE 4 /* For PIM processing */
#endif
+#ifndef GMMSG_NOCACHE
+#define GMMSG_NOCACHE MRT6MSG_NOCACHE /* For PIM processing */
+#define GMMSG_WHOLEPKT MRT6MSG_WHOLEPKT /* For PIM processing */
+#define GMMSG_WRONGVIF MRT6MSG_WRONGMIF /* For PIM processing */
+#define GMMSG_WRVIFWHOLE MRT6MSG_WRMIFWHOLE /* For PIM processing */
+#endif
+
typedef struct mif6ctl pim_vifctl;
typedef struct mrt6msg kernmsg;
typedef mifi_t vifi_t;
@@ -119,6 +135,7 @@ typedef struct sioc_sg_req6 pim_sioc_sg_req;
#define vc_pifi mif6c_pifi
#define vc_rate_limit vifc_rate_limit
+#define msg_im_msgtype im6_msgtype
#define msg_im_vif im6_mif
#define msg_im_src im6_src
#define msg_im_dst im6_dst