xref: /titanic_41/usr/src/uts/common/sys/sunos_dhcp_class.h (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 #define	VS_OFFSET		256	/* option number offset for dhcpinfo */
37 
38 /* SunOS/Solaris vendor class specific Options */
39 #define	VS_OPTION_START		0
40 #define	VS_NFSMNT_ROOTOPTS	1	/* ASCII NFS root fs mount options */
41 #define	VS_NFSMNT_ROOTSRVR_IP	2	/* IPv4 address of root server */
42 #define	VS_NFSMNT_ROOTSRVR_NAME	3	/* ASCII hostname of root server */
43 #define	VS_NFSMNT_ROOTPATH	4	/* ASCII UNIX pathname of root */
44 #define	VS_NFSMNT_SWAPSERVER	5	/* IPv4 address of swap server */
45 #define	VS_NFSMNT_SWAPFILE	6	/* ASCII path to swapfile */
46 #define	VS_NFSMNT_BOOTFILE	7	/* ASCII pathname of file to boot */
47 #define	VS_POSIX_TIMEZONE	8	/* ASCII 1003 posix timezone spec */
48 #define	VS_BOOT_NFS_READSIZE	9	/* 16bit int for Boot NFS read size */
49 #define	VS_INSTALL_SRVR_IP	10	/* IPv4 address of Install server */
50 #define	VS_INSTALL_SRVR_NAME	11	/* ASCII hostname of Install server */
51 #define	VS_INSTALL_PATH		12	/* ASCII path to Install directory */
52 #define	VS_SYSID_SRVR_PATH	13	/* ASCII server:/path of sysid */
53 					/* configuration file. */
54 #define	VS_JUMPSTART_SRVR_PATH	14	/* ASCII "server:/path" of JumpStart */
55 					/* configuration file. */
56 #define	VS_TERM			15	/* ASCII terminal type name */
57 #define	VS_NETBOOT_STAND_URI	16	/* ASCII URI for standalone boot file */
58 #define	VS_NETBOOT_HTTP_PROXY	17	/* ASCII proxy URL for WAN boot */
59 
60 #define	VS_OPTION_END		17	/* Must be same as entry above */
61 
62 #ifdef	__cplusplus
63 }
64 #endif
65 
66 #endif	/* _SUNOS_DHCP_CLASS_H */
67