0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00

Complex route attributes are data structures, shall be in lib also

This commit is contained in:
Maria Matejka 2022-03-31 19:22:07 +02:00
parent ef6a903e6f
commit 3fb70b26fa
13 changed files with 14 additions and 14 deletions

View File

@ -19,7 +19,7 @@
#include "nest/rt.h"
#include "nest/protocol.h"
#include "nest/iface.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "conf/conf.h"
#include "filter/filter.h"
#include "filter/f-inst.h"

View File

@ -38,7 +38,7 @@
#include "nest/rt.h"
#include "nest/protocol.h"
#include "nest/iface.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "conf/conf.h"
#include "filter/filter.h"
#include "filter/f-inst.h"

View File

@ -14,7 +14,7 @@
#include "lib/ip.h"
#include "lib/macro.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
/* Possible return values of filter execution */
enum filter_return {

View File

@ -1,7 +1,7 @@
src := bitmap.c bitops.c blake2s.c blake2b.c checksum.c event.c flowspec.c idm.c ip.c lists.c mac.c md5.c mempool.c net.c patmatch.c printf.c resource.c sha1.c sha256.c sha512.c slab.c slists.c strtoul.c tbf.c timer.c xmalloc.c
src := a-path.c a-set.c bitmap.c bitops.c blake2s.c blake2b.c checksum.c event.c flowspec.c idm.c ip.c lists.c mac.c md5.c mempool.c net.c patmatch.c printf.c resource.c sha1.c sha256.c sha512.c slab.c slists.c strtoul.c tbf.c timer.c xmalloc.c
obj := $(src-o-files)
$(all-daemon)
tests_src := bitmap_test.c heap_test.c buffer_test.c event_test.c flowspec_test.c bitops_test.c patmatch_test.c fletcher16_test.c slist_test.c checksum_test.c lists_test.c mac_test.c ip_test.c hash_test.c printf_test.c slab_test.c
tests_src := a-set_test.c a-path_test.c bitmap_test.c heap_test.c buffer_test.c event_test.c flowspec_test.c bitops_test.c patmatch_test.c fletcher16_test.c slist_test.c checksum_test.c lists_test.c mac_test.c ip_test.c hash_test.c printf_test.c slab_test.c
tests_targets := $(tests_targets) $(tests-target-files)
tests_objs := $(tests_objs) $(src-o-files)

View File

@ -9,7 +9,7 @@
#include "nest/bird.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "lib/resource.h"
#include "lib/unaligned.h"
#include "lib/string.h"

View File

@ -10,7 +10,7 @@
#include "test/bt-utils.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "lib/resource.h"
#define TESTS_NUM 30

View File

@ -11,7 +11,7 @@
#include "nest/bird.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "lib/resource.h"
#include "lib/string.h"

View File

@ -11,7 +11,7 @@
#include "lib/net.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "lib/resource.h"
#define SET_SIZE 10

View File

@ -1,4 +1,4 @@
src := a-path.c a-set.c cli.c cmds.c iface.c locks.c neighbor.c password.c proto.c proto-build.c rt-attr.c rt-dev.c rt-fib.c rt-show.c rt-table.c
src := cli.c cmds.c iface.c locks.c neighbor.c password.c proto.c proto-build.c rt-attr.c rt-dev.c rt-fib.c rt-show.c rt-table.c
obj := $(src-o-files)
$(all-daemon)
$(cf-local)
@ -8,6 +8,6 @@ $(proto-build-c): $(lastword $(MAKEFILE_LIST))
$(E)echo GEN $@
$(Q)echo "$(patsubst %,void %(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %(); ,$(PROTO_BUILD))}" > $@
tests_src := a-set_test.c a-path_test.c
tests_src :=
tests_targets := $(tests_targets) $(tests-target-files)
tests_objs := $(tests_objs) $(src-o-files)

View File

@ -49,7 +49,7 @@
#include "nest/protocol.h"
#include "nest/iface.h"
#include "nest/cli.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "lib/alloca.h"
#include "lib/hash.h"
#include "lib/idm.h"

View File

@ -16,7 +16,7 @@
#include "nest/iface.h"
#include "nest/protocol.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "conf/conf.h"
#include "lib/resource.h"
#include "lib/string.h"

View File

@ -16,7 +16,7 @@
#include "nest/iface.h"
#include "nest/protocol.h"
#include "nest/rt.h"
#include "nest/attrs.h"
#include "lib/attrs.h"
#include "proto/mrt/mrt.h"
#include "conf/conf.h"
#include "lib/unaligned.h"