From b583b035822bc0d1694a73edfcaa1aaef1387fe8 Mon Sep 17 00:00:00 2001 From: Anuradha Karuppiah Date: Tue, 19 Mar 2019 15:54:02 -0700 Subject: pimd: initial infrastructure to maintain VxLAN SG database These entries will be used over the subsequent commits for 1. vxlan-tunnel-termination handling - setup MDT to rx VxLAN encapsulated BUM traffic. 2. vxlan-tunnel-origination handling - register local-vtep-ip as a multicast source. Signed-off-by: Anuradha Karuppiah --- pimd/pim_vxlan_instance.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pimd/pim_vxlan_instance.h (limited to 'pimd/pim_vxlan_instance.h') diff --git a/pimd/pim_vxlan_instance.h b/pimd/pim_vxlan_instance.h new file mode 100644 index 000000000..63ef3a601 --- /dev/null +++ b/pimd/pim_vxlan_instance.h @@ -0,0 +1,27 @@ +/* PIM support for VxLAN BUM flooding + * + * Copyright (C) 2019 Cumulus Networks, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + */ + +#ifndef PIM_VXLAN_INSTANCE_H +#define PIM_VXLAN_INSTANCE_H + +struct pim_vxlan_instance { + struct hash *sg_hash; +}; + +extern void pim_vxlan_init(struct pim_instance *pim); +extern void pim_vxlan_exit(struct pim_instance *pim); + +#endif /* PIM_VXLAN_INSTANCE_H */ -- cgit v1.2.3