]> git.proxmox.com Git - mirror_frr.git/blame - isisd/fabricd.h
fabricd: implement flooding optimization
[mirror_frr.git] / isisd / fabricd.h
CommitLineData
8e6fb83b
CF
1/*
2 * IS-IS Rout(e)ing protocol - OpenFabric extensions
3 *
4 * Copyright (C) 2018 Christian Franke
5 *
6 * This file is part of FreeRangeRouting (FRR)
7 *
8 * FRR is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2, or (at your option) any
11 * later version.
12 *
13 * FRR is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; see the file COPYING; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22#ifndef FABRICD_H
23#define FABRICD_H
24
25struct fabricd;
26
27struct isis_circuit;
28struct isis_area;
b30e837b 29struct isis_spftree;
9d224819 30struct isis_lsp;
92ed0cde 31struct vty;
8e6fb83b 32
b30e837b
CF
33struct fabricd *fabricd_new(struct isis_area *area);
34void fabricd_finish(struct fabricd *f);
8e6fb83b
CF
35void fabricd_initial_sync_hello(struct isis_circuit *circuit);
36bool fabricd_initial_sync_is_in_progress(struct isis_area *area);
37struct isis_circuit *fabricd_initial_sync_circuit(struct isis_area *area);
38void fabricd_initial_sync_finish(struct isis_area *area);
b30e837b
CF
39void fabricd_run_spf(struct isis_area *area);
40struct isis_spftree *fabricd_spftree(struct isis_area *area);
92ed0cde
CF
41void fabricd_configure_tier(struct isis_area *area, uint8_t tier);
42uint8_t fabricd_tier(struct isis_area *area);
43int fabricd_write_settings(struct isis_area *area, struct vty *vty);
9d224819 44void fabricd_lsp_flood(struct isis_lsp *lsp);
8e6fb83b
CF
45
46#endif