]>
Commit | Line | Data |
---|---|---|
7f57883e DS |
1 | /* |
2 | * EIGRP Neighbor Handling. | |
3 | * Copyright (C) 2013-2016 | |
4 | * Authors: | |
5 | * Donnie Savage | |
6 | * Jan Janovic | |
7 | * Matej Perina | |
8 | * Peter Orsag | |
9 | * Peter Paluch | |
10 | * Frantisek Gazo | |
11 | * Tomas Hvorkovy | |
12 | * Martin Kontsek | |
13 | * Lukas Koribsky | |
14 | * | |
15 | * This file is part of GNU Zebra. | |
16 | * | |
17 | * GNU Zebra is free software; you can redistribute it and/or modify it | |
18 | * under the terms of the GNU General Public License as published by the | |
19 | * Free Software Foundation; either version 2, or (at your option) any | |
20 | * later version. | |
21 | * | |
22 | * GNU Zebra is distributed in the hope that it will be useful, but | |
23 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
25 | * General Public License for more details. | |
26 | * | |
896014f4 DL |
27 | * You should have received a copy of the GNU General Public License along |
28 | * with this program; see the file COPYING; if not, write to the Free Software | |
29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
7f57883e DS |
30 | */ |
31 | ||
32 | #ifndef _ZEBRA_EIGRP_NEIGHBOR_H | |
33 | #define _ZEBRA_EIGRP_NEIGHBOR_H | |
34 | ||
35 | /* Prototypes */ | |
36 | extern struct eigrp_neighbor *eigrp_nbr_get(struct eigrp_interface *, | |
d62a17ae | 37 | struct eigrp_header *, struct ip *); |
38 | extern struct eigrp_neighbor *eigrp_nbr_new(struct eigrp_interface *); | |
7f57883e DS |
39 | extern void eigrp_nbr_delete(struct eigrp_neighbor *); |
40 | ||
41 | extern int holddown_timer_expired(struct thread *); | |
42 | ||
d62a17ae | 43 | extern int eigrp_neighborship_check(struct eigrp_neighbor *, |
44 | struct TLV_Parameter_Type *); | |
7f57883e | 45 | extern void eigrp_nbr_state_update(struct eigrp_neighbor *); |
d7c0a89a QY |
46 | extern void eigrp_nbr_state_set(struct eigrp_neighbor *, uint8_t state); |
47 | extern uint8_t eigrp_nbr_state_get(struct eigrp_neighbor *); | |
7f57883e DS |
48 | extern int eigrp_nbr_count_get(void); |
49 | extern const char *eigrp_nbr_state_str(struct eigrp_neighbor *); | |
d62a17ae | 50 | extern struct eigrp_neighbor *eigrp_nbr_lookup_by_addr(struct eigrp_interface *, |
51 | struct in_addr *); | |
52 | extern struct eigrp_neighbor *eigrp_nbr_lookup_by_addr_process(struct eigrp *, | |
53 | struct in_addr); | |
7f57883e DS |
54 | extern void eigrp_nbr_hard_restart(struct eigrp_neighbor *nbr, struct vty *vty); |
55 | ||
255ab940 | 56 | extern int eigrp_nbr_split_horizon_check(struct eigrp_nexthop_entry *ne, |
cd044247 | 57 | struct eigrp_interface *ei); |
7f57883e | 58 | #endif /* _ZEBRA_EIGRP_NEIGHBOR_H */ |