summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-03 03:29:08 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-03 03:29:08 +0200
commit12e5c4abf1c5dbb1968ad8af61b5bf5c66c9dd9f (patch)
tree82cb27db5b629bbc83cabec902b7a2d6876d37d2 /eigrpd
parenteigrpd: Remove ei mapping to connected routes (diff)
downloadfrr-12e5c4abf1c5dbb1968ad8af61b5bf5c66c9dd9f.tar.xz
frr-12e5c4abf1c5dbb1968ad8af61b5bf5c66c9dd9f.zip
eigrpd: Remove unnecessary macro definitions
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_macros.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/eigrpd/eigrp_macros.h b/eigrpd/eigrp_macros.h
index f1389c73f..14a8892ba 100644
--- a/eigrpd/eigrp_macros.h
+++ b/eigrpd/eigrp_macros.h
@@ -28,24 +28,8 @@
#ifndef _ZEBRA_EIGRP_MACROS_H_
#define _ZEBRA_EIGRP_MACROS_H_
-#define DECLARE_IF_PARAM(T, P) T P; u_char P##__config:1
-#define IF_EIGRP_IF_INFO(I) ((struct eigrp_interface *)((I)->info))
-#define IF_OIFS(I) (IF_EIGRP_IF_INFO (I)->eifs)
-#define IF_OIFS_PARAMS(I) (IF_EIGRP_IF_INFO (I)->eparams)
-#define SET_IF_PARAM(S, P) ((S)->P##__config) = 1
-#define IF_DEF_PARAMS(I) (IF_EIGRP_IF_INFO (I)->def_params)
-
-#define UNSET_IF_PARAM(S, P) ((S)->P##__config) = 0
-
-#define EIGRP_IF_PARAM_CONFIGURED(S, P) ((S) && (S)->P##__config)
-#define EIGRP_IF_PARAM(O, P) \
- (EIGRP_IF_PARAM_CONFIGURED((O)->params, P) \
- ? (O)->params->P \
- : IF_DEF_PARAMS((O)->ifp)->P)
-
-
-//------------------------------------------------------------------------------------------------------------------------------------
+//--------------------------------------------------------------------------
#define EIGRP_IF_STRING_MAXLEN 40
#define IF_NAME(I) eigrp_if_name_string ((I))