summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdhcputil
diff options
context:
space:
mode:
authorBart Coddens <bart.coddens@gmail.com>2014-11-04 14:39:24 -0500
committerDan McDonald <danmcd@omniti.com>2014-11-04 15:33:26 -0500
commit786d1eec1cd1cac7e26243d118cd209e84bc6bb9 (patch)
tree683376f31035f4287d883ea67803af67b99183b1 /usr/src/lib/libdhcputil
parentf07f0fb66492a2792d4da5e0a6f9a92b4c581ab3 (diff)
downloadillumos-gate-786d1eec1cd1cac7e26243d118cd209e84bc6bb9.tar.gz
4174 Torch the old and unmaintained Sun-dhcp
Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libdhcputil')
-rw-r--r--usr/src/lib/libdhcputil/common/dhcp_symbol.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/lib/libdhcputil/common/dhcp_symbol.h b/usr/src/lib/libdhcputil/common/dhcp_symbol.h
index 0e153457e4..c8749b1424 100644
--- a/usr/src/lib/libdhcputil/common/dhcp_symbol.h
+++ b/usr/src/lib/libdhcputil/common/dhcp_symbol.h
@@ -19,6 +19,8 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -26,8 +28,6 @@
#ifndef _DHCP_SYMBOL_H
#define _DHCP_SYMBOL_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* This file, along with <dhcp_symbol_common.h>, contains the DHCP symbol
* constants and the definitions for the external interfaces to the parsing
@@ -36,7 +36,6 @@
*/
#include <sys/types.h>
-#include <dhcp_svc_private.h>
#include <dhcp_symbol_common.h>
#ifdef __cplusplus
@@ -46,13 +45,13 @@ extern "C" {
/*
* Vendor class length (and implicitly, the number of classes)
*/
-#define DSYM_CLASS_SIZE DSVC_MAX_MACSYM_LEN /* Single class max */
+#define DSYM_CLASS_SIZE 128 /* Single class max */
#define DSYM_MAX_CLASS_SIZE (DSYM_CLASS_SIZE * 10) /* At least 10 */
/*
- * Maximum symbol length is defined by the libdhcpsvc.
+ * Maximum symbol length
*/
-#define DSYM_MAX_SYM_LEN DSVC_MAX_MACSYM_LEN
+#define DSYM_MAX_SYM_LEN 128
/*
* symbol parsing error codes