]> git.ipfire.org Git - thirdparty/bird.git/commit
KRT: Add krt_scope attribute
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 19 Sep 2016 10:29:56 +0000 (12:29 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 19 Sep 2016 10:29:56 +0000 (12:29 +0200)
commit6e75d0d27fe85f12a22928e5729465823704281e
tree4813d2bd3507439e27f566b29ebd10ed46afa2a6
parent292f7858e60b0dffd8c06f6818d90ccf3b34e0b2
KRT: Add krt_scope attribute

Add a new route attribute, krt_scope, to expose the Linux kernel route
scope. Constants from /etc/iproute2/rt_scopes (prefixed by "ips_") are
expected to be used with the attribute. Both import and export are
supported.

Also, the patch fixes device route export to the kernel, by setting link
scope automatically.
doc/bird.sgml
sysdep/linux/krt-sys.h
sysdep/linux/netlink.Y
sysdep/linux/netlink.c