summaryrefslogtreecommitdiffstats
path: root/pimd/pim_tib.h
blob: 081ad908b5c0285804fca9dc6ad725cdb0b4b85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * TIB (Tree Information Base) - just PIM <> IGMP/MLD glue for now
 * Copyright (C) 2022  David Lamparter for NetDEF, Inc.
 */

#ifndef _FRR_PIM_GLUE_H
#define _FRR_PIM_GLUE_H

#include "pim_addr.h"

struct pim_instance;
struct channel_oil;

extern bool tib_sg_gm_join(struct pim_instance *pim, pim_sgaddr sg,
			   struct interface *oif, struct channel_oil **oilp);
extern void tib_sg_gm_prune(struct pim_instance *pim, pim_sgaddr sg,
			    struct interface *oif, struct channel_oil **oilp);

#endif /* _FRR_PIM_GLUE_H */