]> git.proxmox.com Git - mirror_frr.git/blame - eigrpd/eigrp_network.h
zebra: Allow ns delete to happen after under/over flow checks
[mirror_frr.git] / eigrpd / eigrp_network.h
CommitLineData
7f57883e
DS
1/*
2 * EIGRP Network Related Functions.
3 * Copyright (C) 2013-2014
4 * Authors:
5 * Donnie Savage
6 * Jan Janovic
7 * Matej Perina
8 * Peter Orsag
9 * Peter Paluch
10 *
11 * This file is part of GNU Zebra.
12 *
13 * GNU Zebra is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2, or (at your option) any
16 * later version.
17 *
18 * GNU Zebra is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
22 *
896014f4
DL
23 * You should have received a copy of the GNU General Public License along
24 * with this program; see the file COPYING; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7f57883e
DS
26 */
27
28#ifndef _ZEBRA_EIGRP_NETWORK_H
29#define _ZEBRA_EIGRP_NETWORK_H
30
31/* Prototypes */
32
d62a17ae 33extern int eigrp_sock_init(void);
34extern int eigrp_if_ipmulticast(struct eigrp *, struct prefix *, unsigned int);
cd6c066e
DS
35extern int eigrp_network_set(struct eigrp *eigrp, struct prefix *p);
36extern int eigrp_network_unset(struct eigrp *eigrp, struct prefix *p);
7f57883e 37
d62a17ae 38extern int eigrp_hello_timer(struct thread *);
39extern void eigrp_if_update(struct interface *);
40extern int eigrp_if_add_allspfrouters(struct eigrp *, struct prefix *,
41 unsigned int);
42extern int eigrp_if_drop_allspfrouters(struct eigrp *top, struct prefix *p,
43 unsigned int ifindex);
44extern void eigrp_adjust_sndbuflen(struct eigrp *, unsigned int);
7f57883e 45
d7c0a89a
QY
46extern uint32_t eigrp_calculate_metrics(struct eigrp *, struct eigrp_metrics);
47extern uint32_t eigrp_calculate_total_metrics(struct eigrp *,
48 struct eigrp_nexthop_entry *);
49extern uint8_t eigrp_metrics_is_same(struct eigrp_metrics,
50 struct eigrp_metrics);
d62a17ae 51extern void eigrp_external_routes_refresh(struct eigrp *, int);
7f57883e
DS
52
53#endif /* EIGRP_NETWORK_H_ */