]> git.proxmox.com Git - mirror_frr.git/blob - isisd/fabricd.h
Merge pull request #2994 from opensourcerouting/sa-warnings
[mirror_frr.git] / isisd / fabricd.h
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
25 struct fabricd;
26
27 struct isis_circuit;
28 struct isis_area;
29 struct isis_spftree;
30 struct isis_lsp;
31 struct vty;
32
33 struct fabricd *fabricd_new(struct isis_area *area);
34 void fabricd_finish(struct fabricd *f);
35 void fabricd_initial_sync_hello(struct isis_circuit *circuit);
36 bool fabricd_initial_sync_is_complete(struct isis_area *area);
37 bool fabricd_initial_sync_is_in_progress(struct isis_area *area);
38 struct isis_circuit *fabricd_initial_sync_circuit(struct isis_area *area);
39 void fabricd_initial_sync_finish(struct isis_area *area);
40 void fabricd_run_spf(struct isis_area *area);
41 struct isis_spftree *fabricd_spftree(struct isis_area *area);
42 void fabricd_configure_tier(struct isis_area *area, uint8_t tier);
43 uint8_t fabricd_tier(struct isis_area *area);
44 int fabricd_write_settings(struct isis_area *area, struct vty *vty);
45 void fabricd_lsp_flood(struct isis_lsp *lsp);
46 void fabricd_trigger_csnp(struct isis_area *area);
47 struct list *fabricd_ip_addrs(struct isis_circuit *circuit);
48
49 #endif