]>
git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_vxlan_instance.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* PIM support for VxLAN BUM flooding
4 * Copyright (C) 2019 Cumulus Networks, Inc.
8 #ifndef PIM_VXLAN_INSTANCE_H
9 #define PIM_VXLAN_INSTANCE_H
11 /* pim termination device is expected to include the substring ipmr-lo */
12 #define PIM_VXLAN_TERM_DEV_NAME "ipmr-lo"
14 struct pim_vxlan_instance
{
17 /* this is lo for default instance and vrf-dev for non-default
20 struct interface
*default_iif
;
22 /* In a MLAG/VxLAN-AA setup the peerlink sub-interface (ISL-rif) is
25 struct interface
*peerlink_rif
;
27 /* device used by the dataplane to terminate multicast encapsulated
30 struct interface
*term_if_cfg
;
31 struct interface
*term_if
;
34 extern void pim_vxlan_init(struct pim_instance
*pim
);
35 extern void pim_vxlan_exit(struct pim_instance
*pim
);
37 #endif /* PIM_VXLAN_INSTANCE_H */