]> git.proxmox.com Git - mirror_frr.git/blame - eigrpd/eigrp_macros.h
zebra: Allow ns delete to happen after under/over flow checks
[mirror_frr.git] / eigrpd / eigrp_macros.h
CommitLineData
7f57883e
DS
1/*
2 * EIGRP Macros Definition.
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_MACROS_H_
29#define _ZEBRA_EIGRP_MACROS_H_
30
12e5c4ab 31//--------------------------------------------------------------------------
7f57883e
DS
32
33#define EIGRP_IF_STRING_MAXLEN 40
34#define IF_NAME(I) eigrp_if_name_string ((I))
35
b748db67 36//--------------------------------------------------------------------------
7f57883e 37
9378632f
PJ
38#define EIGRP_PACKET_MTU(mtu) ((mtu) - (sizeof(struct ip)))
39
7f57883e
DS
40/* Topology Macros */
41
42
43/* FSM macros*/
d62a17ae 44#define EIGRP_FSM_EVENT_SCHEDULE(I, E) \
45 thread_add_event(master, eigrp_fsm_event, (I), (E))
7f57883e
DS
46
47#endif /* _ZEBRA_EIGRP_MACROS_H_ */