diff options
author | roopa <roopa@cumulusnetworks.com> | 2013-01-17 14:48:59 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-01-23 10:02:51 (GMT) |
commit | 1481f97d3663ed35dc86020911aa9cf8ea104859 (patch) | |
tree | 354ff167251e2a11aa8aad8032481fca411457c3 /include/netlink | |
parent | 2b96c3381d1048d36e58d312b186f439d74c895d (diff) | |
download | libnl-1481f97d3663ed35dc86020911aa9cf8ea104859.zip libnl-1481f97d3663ed35dc86020911aa9cf8ea104859.tar.gz libnl-1481f97d3663ed35dc86020911aa9cf8ea104859.tar.bz2 |
route cache: This patch adds route priority to route object oo_id_attrs
The kernel allows multiple entries in the main table which differ in the
priority value. In libnl currently, since priority is not part of the base
netlink route message, it is not used as part of the key. This patch
includes priority in the key/oo_id_attrs and defaults the value to zero
for messages where priority is not included.
One point to note is that the actual selection of route from multiple
options is done implicitly in the kernel by storing the routes in sort
priority order, but there is no explicit communication to a client of libnl
of that.
Signed-off-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include/netlink')
0 files changed, 0 insertions, 0 deletions