summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-03-23 00:26:26 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-03-23 00:26:26 +0100
commit72aed1a00ba9e18116d6fd907f7e1a36d0a0a583 (patch)
treec753fb8b35af591812c5d64eeccdb6f9c9ff0c30 /doc
parent89647357af0d8507652f257f1e8f5679fe9a7078 (diff)
Adds krt_source route attribute.
Thanks Jeremie Dimino for the original patch.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 4024f137..5f478066 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1653,6 +1653,12 @@ are translated to appropriate system (and OS-specific) route attributes.
We support these attributes:
<descrip>
+ <tag>int <cf/krt_source/</tag> The source of the imported
+ kernel route. The value is system-dependent. On Linux, it is
+ a value of the protocol field of the route. See
+ /etc/iproute2/rt_protos for common values. On BSD, it is
+ based on STATIC and PROTOx flags. The attribute is read-only.
+
<tag>ip <cf/krt_prefsrc/</tag> (Linux) The preferred source address.
Used in source address selection for outgoing packets. Have to
be one of IP addresses of the router.