]> git.ipfire.org Git - thirdparty/bird.git/commit - nest/route.h
Merged multipath and single-path data structures.
authorJan Moskyto Matejka <mq@ucw.cz>
Fri, 6 May 2016 13:48:35 +0000 (15:48 +0200)
committerJan Moskyto Matejka <mq@ucw.cz>
Thu, 22 Dec 2016 12:01:06 +0000 (13:01 +0100)
commit4e276a8920ed0496836f002f144943ab42f120f6
treeb2d24394f036cbd825330e0087a7f9f4ca167174
parentb7605d5c953902b461e5c9e87aa3dfa60ddce5bc
Merged multipath and single-path data structures.

Dropped struct mpnh and mpnh_*()
Now struct nexthop exists, nexthop_*(), and also included struct nexthop
into struct rta.

Also converted RTD_DEVICE and RTD_ROUTER to RTD_UNICAST. If it is needed
to distinguish between these two cases, RTD_DEVICE is equivalent to
IPA_ZERO(a->nh.gw), RTD_ROUTER is then IPA_NONZERO(a->nh.gw).

From now on, we also explicitely want C99 compatible compiler. We assume
that this 20-year norm should be known almost everywhere.
21 files changed:
configure.in
filter/filter.c
nest/config.Y
nest/route.h
nest/rt-attr.c
nest/rt-dev.c
nest/rt-table.c
proto/bgp/attrs.c
proto/bgp/packets.c
proto/ospf/ospf.c
proto/ospf/rt.c
proto/ospf/rt.h
proto/ospf/topology.c
proto/ospf/topology.h
proto/rip/rip.c
proto/static/config.Y
proto/static/static.c
proto/static/static.h
sysdep/bsd/krt-sock.c
sysdep/linux/netlink.c
sysdep/unix/krt.c