]> git.proxmox.com Git - mirror_frr.git/blame - eigrpd/eigrp_macros.h
Merge pull request #12837 from donaldsharp/unlikely_routemap
[mirror_frr.git] / eigrpd / eigrp_macros.h
CommitLineData
acddc0ed 1// SPDX-License-Identifier: GPL-2.0-or-later
7f57883e
DS
2/*
3 * EIGRP Macros Definition.
4 * Copyright (C) 2013-2014
5 * Authors:
6 * Donnie Savage
7 * Jan Janovic
8 * Matej Perina
9 * Peter Orsag
10 * Peter Paluch
7f57883e
DS
11 */
12
13#ifndef _ZEBRA_EIGRP_MACROS_H_
14#define _ZEBRA_EIGRP_MACROS_H_
15
12e5c4ab 16//--------------------------------------------------------------------------
7f57883e
DS
17
18#define EIGRP_IF_STRING_MAXLEN 40
19#define IF_NAME(I) eigrp_if_name_string ((I))
20
b748db67 21//--------------------------------------------------------------------------
7f57883e 22
9378632f
PJ
23#define EIGRP_PACKET_MTU(mtu) ((mtu) - (sizeof(struct ip)))
24
7f57883e
DS
25/* Topology Macros */
26
27
28/* FSM macros*/
d62a17ae 29#define EIGRP_FSM_EVENT_SCHEDULE(I, E) \
907a2395 30 event_add_event(master, eigrp_fsm_event, (I), (E))
7f57883e
DS
31
32#endif /* _ZEBRA_EIGRP_MACROS_H_ */