Print this page
7388 Support DHCP Client FQDN. Allow IAID/DUID for all v4.
*** 19,28 ****
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
*/
#ifndef STATES_H
#define STATES_H
*** 199,208 ****
--- 200,222 ----
* here between the DISCOVER and the REQUEST. (v4 only)
*/
char *dsm_reqhost;
/*
+ * The host name we've been asked by IPC message (e.g.,
+ * `ipadm -T dhcp -h ...') to request is remembered here until it is
+ * reset by another external message.
+ */
+ char *dsm_msg_reqhost;
+
+ /*
+ * The determined FQDN is remembered here between the DISCOVER/SOLICIT
+ * and the REQUEST.
+ */
+ char *dsm_reqfqdn;
+
+ /*
* V4 and V6 use slightly different timers. For v4, we must count
* seconds from the point where we first try to configure the
* interface. For v6, only seconds while performing a transaction
* matter.
*