]>
git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_static.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PIM for Quagga: add the ability to configure multicast static routes
4 * Copyright (C) 2014 Nathan Bahr, ATCorp
11 #include "pim_mroute.h"
16 /* Each static route is unique by these pair of addresses */
20 struct channel_oil c_oil
;
22 unsigned char oif_ttls
[MAXVIFS
];
25 void pim_static_route_free(struct static_route
*s_route
);
27 int pim_static_add(struct pim_instance
*pim
, struct interface
*iif
,
28 struct interface
*oif
, pim_addr group
, pim_addr source
);
29 int pim_static_del(struct pim_instance
*pim
, struct interface
*iif
,
30 struct interface
*oif
, pim_addr group
, pim_addr source
);
31 int pim_static_write_mroute(struct pim_instance
*pim
, struct vty
*vty
,
32 struct interface
*ifp
);
34 #endif /* PIM_STATIC_H_ */