1*0Sstevel@tonic-gatedivert(-1) 2*0Sstevel@tonic-gate# 3*0Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 4*0Sstevel@tonic-gate# Use is subject to license terms. 5*0Sstevel@tonic-gate# 6*0Sstevel@tonic-gate# CDDL HEADER START 7*0Sstevel@tonic-gate# 8*0Sstevel@tonic-gate# The contents of this file are subject to the terms of the 9*0Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 10*0Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 11*0Sstevel@tonic-gate# with the License. 12*0Sstevel@tonic-gate# 13*0Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14*0Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 15*0Sstevel@tonic-gate# See the License for the specific language governing permissions 16*0Sstevel@tonic-gate# and limitations under the License. 17*0Sstevel@tonic-gate# 18*0Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 19*0Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 20*0Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 21*0Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 22*0Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 23*0Sstevel@tonic-gate# 24*0Sstevel@tonic-gate# CDDL HEADER END 25*0Sstevel@tonic-gate# 26*0Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 27*0Sstevel@tonic-gate# 28*0Sstevel@tonic-gate# Select the appropriate type of output format based on whether -Djava is set 29*0Sstevel@tonic-gate# on the command line 30*0Sstevel@tonic-gateifdef(`java', `define(defdef, ` public static final String $1 = "$1";')', `define(defdef, `defint($1,"$1")')') 31*0Sstevel@tonic-gateifdef(`java', `define(defstr, ` public static final String $1 = $2;')', `define(defstr, `defint($1,$2)')') 32*0Sstevel@tonic-gateifdef(`java', `define(defint, ` public static final int $1 = $2;')', `define(defint, `#define $1 $2')') 33*0Sstevel@tonic-gate# End of opening definitions; everything after next line is going in the output 34*0Sstevel@tonic-gatedivert(0)dnl 35*0Sstevel@tonic-gate/* 36*0Sstevel@tonic-gate * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 37*0Sstevel@tonic-gate * Use is subject to license terms. 38*0Sstevel@tonic-gate * 39*0Sstevel@tonic-gate * This include file is generated from a m4 source file. Do not 40*0Sstevel@tonic-gate * modify this file. 41*0Sstevel@tonic-gate */ 42*0Sstevel@tonic-gate 43*0Sstevel@tonic-gateifdef(`java', `package com.sun.dhcpmgr.data; 44*0Sstevel@tonic-gate', `#ifndef _DHCP_SVC_CONFKEY_H 45*0Sstevel@tonic-gate#define _DHCP_SVC_CONFKEY_H 46*0Sstevel@tonic-gate 47*0Sstevel@tonic-gate#pragma ident "%Z'`%%'`M% %'`I% %'`E% SMI"') 48*0Sstevel@tonic-gateifdef(`java', `/** 49*0Sstevel@tonic-gate * DHCP server configuration parameters. 50*0Sstevel@tonic-gate */ 51*0Sstevel@tonic-gatepublic interface DhcpConfigOpts {', ` 52*0Sstevel@tonic-gate#ifdef __cplusplus') 53*0Sstevel@tonic-gateifdef(`java', `dnl', extern "C" {) 54*0Sstevel@tonic-gateifdef(`java', `dnl', `#endif 55*0Sstevel@tonic-gate') 56*0Sstevel@tonic-gate/* Definitions for valid config file parameters */ 57*0Sstevel@tonic-gatedefstr(DSVC_CK_DAEMON_ENABLED, "DAEMON_ENABLED") 58*0Sstevel@tonic-gatedefstr(DSVC_CK_RUN_MODE, "RUN_MODE") 59*0Sstevel@tonic-gatedefstr(DSVC_CK_VERBOSE, "VERBOSE") 60*0Sstevel@tonic-gatedefstr(DSVC_CK_RELAY_HOPS, "RELAY_HOPS") 61*0Sstevel@tonic-gatedefstr(DSVC_CK_INTERFACES, "INTERFACES") 62*0Sstevel@tonic-gatedefstr(DSVC_CK_ICMP_VERIFY, "ICMP_VERIFY") 63*0Sstevel@tonic-gatedefstr(DSVC_CK_OFFER_CACHE_TIMEOUT, "OFFER_CACHE_TIMEOUT") 64*0Sstevel@tonic-gatedefstr(DSVC_CK_RESCAN_INTERVAL, "RESCAN_INTERVAL") 65*0Sstevel@tonic-gatedefstr(DSVC_CK_LOGGING_FACILITY, "LOGGING_FACILITY") 66*0Sstevel@tonic-gatedefstr(DSVC_CK_BOOTP_COMPAT, "BOOTP_COMPAT") 67*0Sstevel@tonic-gatedefstr(DSVC_CK_RELAY_DESTINATIONS, "RELAY_DESTINATIONS") 68*0Sstevel@tonic-gatedefstr(DSVC_CK_RESOURCE, "RESOURCE") 69*0Sstevel@tonic-gatedefstr(DSVC_CK_RESOURCE_CONFIG, "RESOURCE_CONFIG") 70*0Sstevel@tonic-gatedefstr(DSVC_CK_NSU_TIMEOUT, "UPDATE_TIMEOUT") 71*0Sstevel@tonic-gatedefstr(DSVC_CK_PATH, "PATH") 72*0Sstevel@tonic-gatedefstr(DSVC_CK_CONVER, "CONVER") 73*0Sstevel@tonic-gatedefstr(DSVC_CK_HOSTS_RESOURCE, "HOSTS_RESOURCE") 74*0Sstevel@tonic-gatedefstr(DSVC_CK_HOSTS_DOMAIN, "HOSTS_DOMAIN") 75*0Sstevel@tonic-gatedefstr(DSVC_CK_MAX_THREADS, "MAX_THREADS") 76*0Sstevel@tonic-gatedefstr(DSVC_CK_MAX_CLIENTS, "MAX_CLIENTS") 77*0Sstevel@tonic-gatedefstr(DSVC_CK_LEASE_MIN_LRU, "LEASE_MIN_LRU") 78*0Sstevel@tonic-gatedefstr(DSVC_CK_CACHE_TIMEOUT, "CACHE_TIMEOUT") 79*0Sstevel@tonic-gatedefstr(DSVC_CK_RENOG_INTERVAL, "SECONDARY_SERVER_TIMEOUT") 80*0Sstevel@tonic-gatedefstr(DSVC_CK_OWNER_IP, "OWNER_IP") 81*0Sstevel@tonic-gate 82*0Sstevel@tonic-gate/* Definitions for DEBUG config file parameters */ 83*0Sstevel@tonic-gatedefstr(DSVC_CK_DBG_PORT_OFFSET, "DEBUG_PORT_OFFSET") 84*0Sstevel@tonic-gatedefstr(DSVC_CK_DBG_MEMORY_NET, "DEBUG_MEMORY_NET") 85*0Sstevel@tonic-gate 86*0Sstevel@tonic-gate/* Definitions for valid HOSTS_RESOURCE settings */ 87*0Sstevel@tonic-gatedefstr(DSVC_CV_NISPLUS, "nisplus") 88*0Sstevel@tonic-gatedefstr(DSVC_CV_FILES, "files") 89*0Sstevel@tonic-gatedefstr(DSVC_CV_DNS, "dns") 90*0Sstevel@tonic-gate 91*0Sstevel@tonic-gate/* Definitions for valid BOOTP_COMPAT settings */ 92*0Sstevel@tonic-gatedefstr(DSVC_CV_AUTOMATIC, "automatic") 93*0Sstevel@tonic-gatedefstr(DSVC_CV_MANUAL, "manual") 94*0Sstevel@tonic-gate 95*0Sstevel@tonic-gate/* Definitions for valid LOGGING_FACILITY settings */ 96*0Sstevel@tonic-gatedefint(DSVC_CV_LOGGING_FACILITY_MIN, 0) 97*0Sstevel@tonic-gatedefint(DSVC_CV_LOGGING_FACILITY_MAX, 7) 98*0Sstevel@tonic-gate 99*0Sstevel@tonic-gate/* Definitions for valid RUN_MODE settings */ 100*0Sstevel@tonic-gatedefstr(DSVC_CV_RELAY, "relay") 101*0Sstevel@tonic-gatedefstr(DSVC_CV_SERVER, "server") 102*0Sstevel@tonic-gate 103*0Sstevel@tonic-gate/* Definitions for valid boolean values */ 104*0Sstevel@tonic-gatedefstr(DSVC_CV_TRUE, "TRUE") 105*0Sstevel@tonic-gatedefstr(DSVC_CV_FALSE, "FALSE") 106*0Sstevel@tonic-gate 107*0Sstevel@tonic-gate/* Definitions for server config for unspecified options */ 108*0Sstevel@tonic-gatedefint(DSVC_CV_HOPS, 4) 109*0Sstevel@tonic-gatedefint(DSVC_CV_OFFER_TTL, 10) 110*0Sstevel@tonic-gatedefint(DSVC_CV_CACHE_TTL, 10) 111*0Sstevel@tonic-gatedefint(DSVC_CV_NSU_TO, 15) 112*0Sstevel@tonic-gatedefint(DSVC_CV_MIN_LRU, 60) 113*0Sstevel@tonic-gatedefint(DSVC_CV_RENOG_INT, 20) 114*0Sstevel@tonic-gate 115*0Sstevel@tonic-gate/* Definitions for server config for DEBUG options */ 116*0Sstevel@tonic-gatedefint(DSVC_CV_DBG_PORT_OFFSET, 0) 117*0Sstevel@tonic-gateifdef(`java', `dnl', ` 118*0Sstevel@tonic-gate#ifdef __cplusplus') 119*0Sstevel@tonic-gate} 120*0Sstevel@tonic-gateifdef(`java', `dnl', `#endif 121*0Sstevel@tonic-gate') 122*0Sstevel@tonic-gateifdef(`java', `dnl', `#endif /* !_DHCP_SVC_CONFKEY_H */') 123