summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-04-05 15:00:57 +0200
committerJiri Pirko <jiri@resnulli.us>2013-04-05 16:30:16 +0200
commit87e1c69a6e3b6e11a074bbbfcb5b930976331247 (patch)
treee659ef7e667d2207fe181969115687a57ef4b805 /include
parent8296a5bf075543eef2167afdfecb222e70866744 (diff)
downloadlibndp-87e1c69a6e3b6e11a074bbbfcb5b930976331247.tar.gz
add support for Default Router Preference in RA msg (rfc4191)
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'include')
-rw-r--r--include/ndp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ndp.h b/include/ndp.h
index 1c53358..6ce2c8b 100644
--- a/include/ndp.h
+++ b/include/ndp.h
@@ -86,6 +86,9 @@ void ndp_msgra_flag_other_set(struct ndp_msgra *msgra, bool flag_other);
bool ndp_msgra_flag_home_agent(struct ndp_msgra *msgra);
void ndp_msgra_flag_home_agent_set(struct ndp_msgra *msgra,
bool flag_home_agent);
+enum ndp_route_preference ndp_msgra_route_preference(struct ndp_msgra *msgra);
+void ndp_msgra_route_preference_set(struct ndp_msgra *msgra,
+ enum ndp_route_preference pref);
uint16_t ndp_msgra_router_lifetime(struct ndp_msgra *msgra);
void ndp_msgra_router_lifetime_set(struct ndp_msgra *msgra,
uint16_t router_lifetime);