blob: 7f7a8c3b2af44032c4b60a3fe9129593f9ee4548 [file] [log] [blame]
hasso18a6dce2004-10-03 18:18:34 +00001/*
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 *
18 * You should have received a copy of the GNU General Public License
19 * along with GNU Zebra; see the file COPYING. If not, write to the Free
20 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 * 02111-1307, USA.
22 */
23
24#ifndef _ROUTER_ID_H_
25#define _ROUTER_ID_H_
26
27#include <zebra.h>
28
29#include "memory.h"
30#include "prefix.h"
31#include "zclient.h"
32#include "if.h"
33
34extern void router_id_add_address(struct connected *);
35extern void router_id_del_address(struct connected *);
36extern void router_id_init(void);
37extern void router_id_write(struct vty *);
38extern void router_id_get(struct prefix *);
39
40extern void zread_router_id_add(struct zserv *, u_short);
41extern void zread_router_id_delete(struct zserv *, u_short);
42
43#endif