0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-11 17:08:46 +00:00

Moved BFD IO loop out of BFD as we want to use it as socket-io coroutine

This commit is contained in:
Maria Matejka 2021-06-18 18:23:41 +02:00
parent a4451535c6
commit c84ed60371
5 changed files with 8 additions and 8 deletions

@ -1,6 +1,6 @@
src := bfd.c io.c packets.c
src := bfd.c packets.c
obj := $(src-o-files)
$(all-daemon)
$(cf-local)
tests_objs := $(tests_objs) $(src-o-files)
tests_objs := $(tests_objs) $(src-o-files)

@ -22,7 +22,7 @@
#include "lib/string.h"
#include "nest/bfd.h"
#include "io.h"
#include "sysdep/unix/io-loop.h"
#define BFD_CONTROL_PORT 3784

@ -1,4 +1,4 @@
src := alloc.c io.c krt.c log.c main.c random.c coroutine.c
src := alloc.c io.c io-loop.c krt.c log.c main.c random.c coroutine.c
obj := $(src-o-files)
$(all-daemon)
$(cf-local)

@ -15,7 +15,7 @@
#include <sys/time.h>
#include "nest/bird.h"
#include "proto/bfd/io.h"
#include "sysdep/unix/io-loop.h"
#include "lib/buffer.h"
#include "lib/lists.h"

@ -4,8 +4,8 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#ifndef _BIRD_BFD_IO_H_
#define _BIRD_BFD_IO_H_
#ifndef _BIRD_IO_LOOP_H_
#define _BIRD_IO_LOOP_H_
#include "nest/bird.h"
#include "lib/lists.h"
@ -31,4 +31,4 @@ void birdloop_mask_wakeups(struct birdloop *loop);
void birdloop_unmask_wakeups(struct birdloop *loop);
#endif /* _BIRD_BFD_IO_H_ */
#endif /* _BIRD_IO_LOOP_H_ */