]> git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_br.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / pimd / pim_br.h
1 /*
2 * PIM for Quagga
3 * Copyright (C) 2015 Cumulus Networks, Inc.
4 * Donald Sharp
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 #ifndef PIM_BR_H
21 #define PIM_BR_H
22
23 struct in_addr pim_br_get_pmbr(struct prefix_sg *sg);
24
25 void pim_br_set_pmbr(struct prefix_sg *sg, struct in_addr value);
26 void pim_br_clear_pmbr(struct prefix_sg *sg);
27
28 void pim_br_init(void);
29
30 extern struct in_addr pim_br_unknown;
31
32 #endif