summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-06-13 16:10:50 +0200
committerJiri Pirko <jiri@resnulli.us>2013-06-13 16:12:09 +0200
commit69d1c977b4770e651db6bc498fdca9c3061cef8c (patch)
tree6e6fe8ddb46b9a0e76e7aedef6e1a460ff7c69d5 /include
parent39e1f53dd4efc00b84ff097b15558747c92593f2 (diff)
downloadlibndp-69d1c977b4770e651db6bc498fdca9c3061cef8c.tar.gz
add flag getters for prefix option
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 423181d..08d6ad4 100644
--- a/include/ndp.h
+++ b/include/ndp.h
@@ -127,6 +127,9 @@ struct in6_addr *ndp_msg_opt_prefix(struct ndp_msg *msg, int offset);
uint8_t ndp_msg_opt_prefix_len(struct ndp_msg *msg, int offset);
uint32_t ndp_msg_opt_prefix_valid_time(struct ndp_msg *msg, int offset);
uint32_t ndp_msg_opt_prefix_preferred_time(struct ndp_msg *msg, int offset);
+bool ndp_msg_opt_prefix_flag_on_link(struct ndp_msg *msg, int offset);
+bool ndp_msg_opt_prefix_flag_auto_addr_conf(struct ndp_msg *msg, int offset);
+bool ndp_msg_opt_prefix_flag_router_addr(struct ndp_msg *msg, int offset);
uint32_t ndp_msg_opt_mtu(struct ndp_msg *msg, int offset);