]> git.ipfire.org Git - thirdparty/bird.git/commit
Unified attribute and filter types
authorMaria Matejka <mq@ucw.cz>
Sat, 26 Mar 2022 10:56:02 +0000 (11:56 +0100)
committerMaria Matejka <mq@ucw.cz>
Wed, 4 May 2022 13:37:41 +0000 (15:37 +0200)
commit0d0f6554a5c233bf2bf830ae319191c4b1808d49
treeb90790a9450dc4eaefd1cab522d49221d358a5d9
parent80272d4b64a38ee6f04a1c4e8566cac3a2293176
Unified attribute and filter types

This commit removes the EAF_TYPE_* namespace completely and also for
route attributes, filter-based types T_* are used. This simplifies
fetching and setting route attributes from filters.

Also, there is now union bval which serves as an universal value holder
instead of private unions held separately by eattr and filter code.
28 files changed:
filter/config.Y
filter/data.c
filter/data.h
filter/decl.m4
filter/f-inst.c
filter/f-inst.h
filter/f-util.c
filter/filter.h
filter/test.conf
lib/type.h [new file with mode: 0644]
nest/config.Y
nest/route.h
nest/rt-attr.c
proto/babel/babel.c
proto/babel/config.Y
proto/bgp/attrs.c
proto/bgp/bgp.h
proto/bgp/config.Y
proto/ospf/config.Y
proto/ospf/rt.c
proto/radv/config.Y
proto/rip/config.Y
proto/rip/rip.c
sysdep/bsd/krt-sock.c
sysdep/linux/netlink.Y
sysdep/linux/netlink.c
sysdep/linux/netlink.c.orig [deleted file]
sysdep/unix/krt.Y