/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _DHCP_IMPL_H
#define _DHCP_IMPL_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Common definitions used by Sun DHCP implementations
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <dhcp_symbol_common.h>
#include <sys/sunos_dhcp_class.h>
/* Packet fields */
#define CD_PACKET_START 0
/* Internal server options */
/* Error codes that could be generated while parsing packets */
/*
* Arbitrary "maximum" client ID length (in bytes), used by various bits
* of the standalone code. This needs to go away someday.
*/
/*
* Generic DHCP option structure.
*/
typedef struct {
} DHCP_OPT;
typedef union sockaddr46_s {
} sockaddr46_t;
/*
* Generic DHCP packet list. Ensure that _REENTRANT bracketed code stays at
* bottom of this definition - the client doesn't include it. Scan.c in
* libdhcp isn't aware of it either...
*
* The PKT * pointer here actually points to a dhcpv6_message_t if the packet
* is DHCPv6. We assume that PKT * the same or stricter alignment
* requirements, and that the unused elements are not a significant burden.
*/
typedef struct dhcp_list {
/*
*/
/*
* Vendor specific options (client only)
*/
} PKT_LIST;
void *, size_t *);
#ifdef __cplusplus
}
#endif
#endif /* _DHCP_IMPL_H */