diff --git a/pimd/pim_vxlan_instance.h b/pimd/pim_vxlan_instance.h index 63ef3a601a..3f99483fbe 100644 --- a/pimd/pim_vxlan_instance.h +++ b/pimd/pim_vxlan_instance.h @@ -17,8 +17,26 @@ #ifndef PIM_VXLAN_INSTANCE_H #define PIM_VXLAN_INSTANCE_H +/* pim termination device is expected to include the substring ipmr-lo */ +#define PIM_VXLAN_TERM_DEV_NAME "ipmr-lo" + struct pim_vxlan_instance { struct hash *sg_hash; + + /* this is lo for default instance and vrf-dev for non-default + * instances + */ + struct interface *default_iif; + + /* In a MLAG/VxLAN-AA setup the peerlink sub-interface (ISL-rif) is + * used as the IIF in + */ + struct interface *peerlink_rif; + + /* device used by the dataplane to terminate multicast encapsulated + * vxlan traffic + */ + struct interface *term_if; }; extern void pim_vxlan_init(struct pim_instance *pim);