summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_io.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-01 18:44:02 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-11-30 22:18:00 +0100
commitcfdc170e1ae6622d002941961476dc3b678258b7 (patch)
tree1b7ddc85bea9478cd158e110598ea8371cf1c273 /bgpd/bgp_io.c
parentbgpd: style for bgp i/o (diff)
downloadfrr-cfdc170e1ae6622d002941961476dc3b678258b7.tar.xz
frr-cfdc170e1ae6622d002941961476dc3b678258b7.zip
bgpd: fix includes for bgp_io.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_io.c')
-rw-r--r--bgpd/bgp_io.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/bgpd/bgp_io.c b/bgpd/bgp_io.c
index ba51c5177..c833b6f3f 100644
--- a/bgpd/bgp_io.c
+++ b/bgpd/bgp_io.c
@@ -18,24 +18,23 @@
* MA 02110-1301 USA
*/
-#include <pthread.h>
-#include <sys/time.h>
#include <zebra.h>
+#include <pthread.h> // for pthread_mutex_unlock, pthread_mutex_lock
+
+#include "frr_pthread.h" // for frr_pthread_get, frr_pthread
+#include "linklist.h" // for list_delete, list_delete_all_node, lis...
+#include "log.h" // for zlog_debug, safe_strerror, zlog_err
+#include "memory.h" // for MTYPE_TMP, XCALLOC, XFREE
+#include "network.h" // for ERRNO_IO_RETRY
+#include "stream.h" // for stream_get_endp, stream_getw_from, str...
+#include "thread.h" // for THREAD_OFF, THREAD_ARG, thread, thread...
+#include "zassert.h" // for assert
-#include "hash.h"
-#include "log.h"
-#include "memory.h"
-#include "monotime.h"
-#include "network.h"
-#include "pqueue.h"
-#include "stream.h"
-#include "thread.h"
-
-#include "bgpd/bgp_debug.h"
-#include "bgpd/bgp_fsm.h"
#include "bgpd/bgp_io.h"
-#include "bgpd/bgp_packet.h"
-#include "bgpd/bgpd.h"
+#include "bgpd/bgp_debug.h" // for bgp_debug_neighbor_events, bgp_type_str
+#include "bgpd/bgp_fsm.h" // for BGP_EVENT_ADD, bgp_event
+#include "bgpd/bgp_packet.h" // for bgp_notify_send_with_data, bgp_notify...
+#include "bgpd/bgpd.h" // for peer, BGP_MARKER_SIZE, bgp_master, bm
/* forward declarations */
static uint16_t bgp_write(struct peer *);