summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index fff28d5..d1463e1 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -141,6 +141,7 @@ enum odhcpd_assignment_flags {
OAF_DHCPV4 = (1 << 4),
OAF_DHCPV6_NA = (1 << 5),
OAF_DHCPV6_PD = (1 << 6),
+ OAF_DHCPV6_TA = (1 << 7),
};
struct config {
@@ -205,7 +206,7 @@ struct dhcp_assignment {
uint32_t assigned_subnet_id;
};
uint32_t iaid;
- uint8_t length; // length == 128 -> IA_NA, length <= 64 -> IA_PD
+ uint8_t length; // length == 128 -> IA_NA or IA_TA, length <= 64 -> IA_PD
struct odhcpd_ipaddr *managed;
ssize_t managed_size;
@@ -327,6 +328,7 @@ struct interface {
bool dhcpv6_assignall;
bool dhcpv6_pd;
bool dhcpv6_na;
+ bool dhcpv6_ta;
uint32_t dhcpv6_hostid_len;
char *upstream;