From be17805c0bbd37e865dc9b17b56e8e8d210c2c6c Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 13 Feb 2018 16:27:57 +0100 Subject: Add support for source-specific IPv6 routes to BIRD core This patch adds support for source-specific IPv6 routes to BIRD core. This is based on Dean Luga's original patch, with the review comments addressed. SADR support is added to network address parsing in confbase.Y and to the kernel protocol on Linux. Currently there is no way to mix source-specific and non-source-specific routes (i.e., SADR tables cannot be connected to non-SADR tables). Thanks to Toke Hoiland-Jorgensen for the original patch. Minor changes by Ondrej Santiago Zajicek. --- conf/confbase.Y | 24 ++++++++++++-- lib/net.c | 23 +++++++++++++ lib/net.h | 90 +++++++++++++++++++++++++++++++++++++++++++++----- nest/config.Y | 13 ++++++-- nest/rt-fib.c | 2 ++ nest/rt-table.c | 42 +++++++++++++++++++++++ sysdep/cf/linux.h | 1 + sysdep/linux/netlink.c | 43 +++++++++++++++++++----- sysdep/unix/krt.c | 25 +++++++++----- 9 files changed, 233 insertions(+), 30 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 7e0537c5..c2d647eb 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -83,7 +83,7 @@ CF_DECLS %type