Print this page
7388 Support DHCP Client FQDN. Allow IAID/DUID for all v4.
*** 19,28 ****
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
*/
#ifndef _DHCP_IMPL_H
#define _DHCP_IMPL_H
*** 92,101 ****
--- 93,107 ----
uint8_t code;
uint8_t len;
uint8_t value[1];
} DHCP_OPT;
+ /*
+ * Defines the size of DHCP_OPT code + len
+ */
+ #define DHCP_OPT_META_LEN 2
+
typedef union sockaddr46_s {
struct sockaddr_in v4;
struct sockaddr_in6 v6;
} sockaddr46_t;