ipv6: expose RFC4191 route preference via rtnetlink

This makes it possible to retain the route preference when RAs are handled in
userspace.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Lubomir Rintel 2015-03-11 15:39:21 +01:00 committed by David S. Miller
parent ac70c05b6f
commit c78ba6d64c
2 changed files with 16 additions and 1 deletions

View file

@ -305,6 +305,7 @@ enum rtattr_type_t {
RTA_MFC_STATS,
RTA_VIA,
RTA_NEWDST,
RTA_PREF,
__RTA_MAX
};