1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1999-2003 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #ifndef	_SUNOS_DHCP_CLASS_H
28 #define	_SUNOS_DHCP_CLASS_H
29 
30 #ifdef	__cplusplus
31 extern "C" {
32 #endif
33 
34 #define	VS_OFFSET		256	/* option number offset for dhcpinfo */
35 
36 /* SunOS/Solaris vendor class specific Options */
37 #define	VS_OPTION_START		0
38 #define	VS_NFSMNT_ROOTOPTS	1	/* ASCII NFS root fs mount options */
39 #define	VS_NFSMNT_ROOTSRVR_IP	2	/* IPv4 address of root server */
40 #define	VS_NFSMNT_ROOTSRVR_NAME	3	/* ASCII hostname of root server */
41 #define	VS_NFSMNT_ROOTPATH	4	/* ASCII UNIX pathname of root */
42 #define	VS_NFSMNT_SWAPSERVER	5	/* IPv4 address of swap server */
43 #define	VS_NFSMNT_SWAPFILE	6	/* ASCII path to swapfile */
44 #define	VS_NFSMNT_BOOTFILE	7	/* ASCII pathname of file to boot */
45 #define	VS_POSIX_TIMEZONE	8	/* ASCII 1003 posix timezone spec */
46 #define	VS_BOOT_NFS_READSIZE	9	/* 16bit int for Boot NFS read size */
47 #define	VS_INSTALL_SRVR_IP	10	/* IPv4 address of Install server */
48 #define	VS_INSTALL_SRVR_NAME	11	/* ASCII hostname of Install server */
49 #define	VS_INSTALL_PATH		12	/* ASCII path to Install directory */
50 #define	VS_SYSID_SRVR_PATH	13	/* ASCII server:/path of sysid */
51 					/* configuration file. */
52 #define	VS_JUMPSTART_SRVR_PATH	14	/* ASCII "server:/path" of JumpStart */
53 					/* configuration file. */
54 #define	VS_TERM			15	/* ASCII terminal type name */
55 #define	VS_NETBOOT_STAND_URI	16	/* ASCII URI for standalone boot file */
56 #define	VS_NETBOOT_HTTP_PROXY	17	/* ASCII proxy URL for WAN boot */
57 
58 #define	VS_OPTION_END		17	/* Must be same as entry above */
59 
60 #ifdef	__cplusplus
61 }
62 #endif
63 
64 #endif	/* _SUNOS_DHCP_CLASS_H */
65