]>
Commit | Line | Data |
---|---|---|
58e16237 CF |
1 | /* |
2 | * IS-IS Rout(e)ing protocol - LSP Hash | |
3 | * | |
4 | * Copyright (C) 2017 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 ISIS_LSP_HASH_H | |
23 | #define ISIS_LSP_HASH_H | |
24 | ||
25 | struct isis_lsp_hash; | |
26 | ||
27 | struct isis_lsp_hash *isis_lsp_hash_new(void); | |
28 | void isis_lsp_hash_clean(struct isis_lsp_hash *ih); | |
29 | void isis_lsp_hash_free(struct isis_lsp_hash *ih); | |
30 | struct isis_lsp *isis_lsp_hash_lookup(struct isis_lsp_hash *ih, | |
31 | struct isis_lsp *lsp); | |
32 | void isis_lsp_hash_add(struct isis_lsp_hash *ih, struct isis_lsp *lsp); | |
33 | void isis_lsp_hash_release(struct isis_lsp_hash *ih, struct isis_lsp *lsp); | |
34 | #endif |