]>
git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_vxlan_instance.h
1 /* PIM support for VxLAN BUM flooding
3 * Copyright (C) 2019 Cumulus Networks, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
17 #ifndef PIM_VXLAN_INSTANCE_H
18 #define PIM_VXLAN_INSTANCE_H
20 /* pim termination device is expected to include the substring ipmr-lo */
21 #define PIM_VXLAN_TERM_DEV_NAME "ipmr-lo"
23 struct pim_vxlan_instance
{
26 /* this is lo for default instance and vrf-dev for non-default
29 struct interface
*default_iif
;
31 /* In a MLAG/VxLAN-AA setup the peerlink sub-interface (ISL-rif) is
34 struct interface
*peerlink_rif
;
36 /* device used by the dataplane to terminate multicast encapsulated
39 struct interface
*term_if_cfg
;
40 struct interface
*term_if
;
43 extern void pim_vxlan_init(struct pim_instance
*pim
);
44 extern void pim_vxlan_exit(struct pim_instance
*pim
);
46 #endif /* PIM_VXLAN_INSTANCE_H */