summaryrefslogtreecommitdiffstats
path: root/bfdd/bfd.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2020-04-09 21:52:49 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2020-04-09 21:54:11 +0200
commitb88113ef7347380f4f44436d7120f3ecc4436af7 (patch)
tree048a34abf7ec15b39e026b5da6861fffcba391c5 /bfdd/bfd.h
parentMerge pull request #6124 from kuldeepkash/bgp_basic_functionality (diff)
downloadfrr-b88113ef7347380f4f44436d7120f3ecc4436af7.tar.xz
frr-b88113ef7347380f4f44436d7120f3ecc4436af7.zip
bfdd: remove BFD_*_FLAG macros
Lets use what FRR provide us instead of implementing a new macros. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfd.h')
-rw-r--r--bfdd/bfd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h
index 2ae74d788..4f696a68b 100644
--- a/bfdd/bfd.h
+++ b/bfdd/bfd.h
@@ -172,10 +172,6 @@ enum bfd_session_flags {
BFD_SESS_FLAG_CBIT = 1 << 9, /* CBIT is set */
};
-#define BFD_SET_FLAG(field, flag) (field |= flag)
-#define BFD_UNSET_FLAG(field, flag) (field &= ~flag)
-#define BFD_CHECK_FLAG(field, flag) (field & flag)
-
/* BFD session hash keys */
struct bfd_key {
uint16_t family;