]> git.ipfire.org Git - thirdparty/bird.git/commit
KRT: Add kernel metric protocol option
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 15 Sep 2016 12:59:06 +0000 (14:59 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 15 Sep 2016 12:59:06 +0000 (14:59 +0200)
commit4adcb9df1bf551cc5fd1145c09af1843fdc4fe85
tree569aa0d159e63ea73b40a041300079f81538b34b
parent2feaa6931bfe39eba696b33b0c8aac13d313b223
KRT: Add kernel metric protocol option

Kernel routes with different metrics do not clash with each other,
therefore using dedicated metric value is a reliable way to avoid
overwriting routes from other sources (e.g. kernel device routes).

Although kernel route metric could already be set as a route attribute by
filters, that is not consistent with the way how Linux kernel handles
route metric - not just a route attribute, but a part of a route key.
doc/bird.sgml
sysdep/linux/krt-sys.h
sysdep/linux/netlink.Y
sysdep/linux/netlink.c