From 69d1c977b4770e651db6bc498fdca9c3061cef8c Mon Sep 17 00:00:00 2001 From: Jiri Pirko Date: Thu, 13 Jun 2013 16:10:50 +0200 Subject: add flag getters for prefix option Signed-off-by: Jiri Pirko --- include/ndp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit v1.2.1