summaryrefslogtreecommitdiff
path: root/bgpd/bgp_keepalives.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-09 19:34:29 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-11-30 16:18:02 -0500
commit6ee8ea1cf9b577e236e0f93265ee1e2cd0d7af31 (patch)
tree90da3a77022c98b6f945c4e151ba80f432acc0d2 /bgpd/bgp_keepalives.c
parent5c0c651c0a021675e8551b10b563e5dd721df6c2 (diff)
bgpd: fix includes for bgp_keeaplives.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_keepalives.c')
-rw-r--r--bgpd/bgp_keepalives.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/bgpd/bgp_keepalives.c b/bgpd/bgp_keepalives.c
index 463188f0e6..4de59da104 100644
--- a/bgpd/bgp_keepalives.c
+++ b/bgpd/bgp_keepalives.c
@@ -20,22 +20,21 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* clang-format off */
#include <zebra.h>
-#include <signal.h>
-#include <sys/time.h>
+#include <pthread.h> // for pthread_mutex_lock, pthread_mutex_unlock
-#include "thread.h"
-#include "log.h"
-#include "vty.h"
-#include "monotime.h"
-#include "hash.h"
-#include "frr_pthread.h"
+#include "frr_pthread.h" // for frr_pthread
+#include "hash.h" // for hash, hash_clean, hash_create_size...
+#include "log.h" // for zlog_debug
+#include "memory.h" // for MTYPE_TMP, XFREE, XCALLOC, XMALLOC
+#include "monotime.h" // for monotime, monotime_since
-#include "bgpd/bgpd.h"
+#include "bgpd/bgpd.h" // for peer, PEER_THREAD_KEEPALIVES_ON, peer...
+#include "bgpd/bgp_debug.h" // for bgp_debug_neighbor_events
+#include "bgpd/bgp_packet.h" // for bgp_keepalive_send
#include "bgpd/bgp_keepalives.h"
-#include "bgpd/bgp_debug.h"
-#include "bgpd/bgp_attr.h"
-#include "bgpd/bgp_packet.h"
+/* clang-format on */
/**
* Peer KeepAlive Timer.