diff options
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index 37a5a4a..8715ca7 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -246,6 +246,13 @@ struct interface { bool master; bool ignore; bool always_rewrite_dns; + + // NDP + int learn_routes; + + // RA + uint8_t ra_flags; + bool ra_slaac; bool ra_not_onlink; bool ra_advrouter; bool ra_useleasetime; @@ -253,11 +260,7 @@ struct interface { bool no_dynamic_dhcp; uint8_t pio_filter_length; struct in6_addr pio_filter_addr; - - // RA - int learn_routes; int default_router; - int ra_managed; int route_preference; int ra_maxinterval; int ra_mininterval; @@ -303,10 +306,6 @@ struct interface { extern struct avl_tree interfaces; -#define RA_MANAGED_NO_MFLAG 0 -#define RA_MANAGED_MFLAG 1 -#define RA_MANAGED_NO_AFLAG 2 - inline static void free_assignment(struct dhcp_assignment *a) { list_del(&a->head); |