diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-10-15 15:19:31 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-05-26 02:38:34 +0200 |
commit | 2bd9e1bc6ce62f9405f8b840ee0b0dc2a7967eac (patch) | |
tree | bff02fb42961da81984784ee9e5fdf2634e85cc5 /pimd/pim_br.h | |
parent | pimd: Add code to get RP(G) (diff) | |
download | frr-2bd9e1bc6ce62f9405f8b840ee0b0dc2a7967eac.tar.xz frr-2bd9e1bc6ce62f9405f8b840ee0b0dc2a7967eac.zip |
pimd: Start adding the ability to handle the Bridge Router
Add code to allow the check and set the PMBR(S,G) if the register.borderbit
is set.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_br.h')
-rw-r--r-- | pimd/pim_br.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pimd/pim_br.h b/pimd/pim_br.h new file mode 100644 index 000000000..8986d0162 --- /dev/null +++ b/pimd/pim_br.h @@ -0,0 +1,32 @@ +/* + * PIM for Quagga + * Copyright (C) 2015 Cumulus Networks, Inc. + * Donald Sharp + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; see the file COPYING; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + * MA 02110-1301 USA + */ +#ifndef PIM_BR_H +#define PIM_BR_H + +struct in_addr pim_br_get_pmbr (struct in_addr source, struct in_addr group); + +void pim_br_set_pmbr (struct in_addr source, struct in_addr group, struct in_addr value); + +void pim_br_init (void); + +extern struct in_addr pim_br_unknown; + +#endif |