]>
Commit | Line | Data |
---|---|---|
18a6dce6 | 1 | /* |
2 | * Router ID for zebra daemon. | |
3 | * | |
4 | * Copyright (C) 2004 James R. Leu | |
5 | * | |
6 | * This file is part of Quagga routing suite. | |
7 | * | |
8 | * Quagga 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 | * Quagga 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 | * | |
896014f4 DL |
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 | |
18a6dce6 | 21 | */ |
22 | ||
23 | #ifndef _ROUTER_ID_H_ | |
24 | #define _ROUTER_ID_H_ | |
25 | ||
26 | #include <zebra.h> | |
27 | ||
28 | #include "memory.h" | |
29 | #include "prefix.h" | |
30 | #include "zclient.h" | |
31 | #include "if.h" | |
32 | ||
51e94aa7 EDP |
33 | #ifdef __cplusplus |
34 | extern "C" { | |
35 | #endif | |
36 | ||
18a6dce6 | 37 | extern void router_id_add_address(struct connected *); |
38 | extern void router_id_del_address(struct connected *); | |
c6ffe645 FL |
39 | extern void router_id_init(struct zebra_vrf *); |
40 | extern void router_id_cmd_init(void); | |
18a6dce6 | 41 | extern void router_id_write(struct vty *); |
c6ffe645 | 42 | extern void router_id_get(struct prefix *, vrf_id_t); |
18a6dce6 | 43 | |
51e94aa7 EDP |
44 | #ifdef __cplusplus |
45 | } | |
46 | #endif | |
47 | ||
18a6dce6 | 48 | #endif |