1/* 2 * Copyright (c) 1999-2012 Apple Inc. All rights reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23/* 24 * This file was auto-generated by ./genoptionfiles -dhcptype, do not edit! 25 */ 26#ifndef _S_DHCP_TYPE 27#define _S_DHCP_TYPE 28 29enum { 30 dhcptype_first_e = 0, 31 dhcptype_none_e = dhcptype_first_e, 32 dhcptype_opaque_e = 1, 33 dhcptype_bool_e = 2, 34 dhcptype_uint8_e = 3, 35 dhcptype_uint16_e = 4, 36 dhcptype_uint32_e = 5, 37 dhcptype_int32_e = 6, 38 dhcptype_uint8_mult_e = 7, 39 dhcptype_uint16_mult_e = 8, 40 dhcptype_string_e = 9, 41 dhcptype_ip_e = 10, 42 dhcptype_ip_mult_e = 11, 43 dhcptype_ip_pairs_e = 12, 44 dhcptype_dns_namelist_e = 13, 45 dhcptype_last_e = dhcptype_dns_namelist_e, 46}; 47 48typedef uint32_t dhcptype_t; 49 50typedef struct { 51 dhcptype_t type; 52 const char * name; 53} dhcptag_info_t; 54 55typedef struct { 56 int size; /* in bytes */ 57 int multiple_of; /* type of element */ 58 const char * name; 59 int string_list; 60} dhcptype_info_t; 61 62#endif /* _S_DHCP_TYPE */ 63