147 lines
5.8 KiB
Mathematica
147 lines
5.8 KiB
Mathematica
/* 02comp_ipnet_dhcp.cdf - IPNet DHCP configuration file */
|
|
|
|
/*
|
|
* Copyright (c) 2006-2009 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute or otherwise make use of this software
|
|
* may be licensed only pursuant to the terms of an applicable Wind River
|
|
* license agreement. No license to Wind River intellectual property rights
|
|
* is granted herein. All rights not licensed by Wind River are reserved
|
|
* by Wind River.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01w,27nov12,xhs Fix default VSB/VIP error,WIND00387505
|
|
01v,02aug10,fei move from osconfig and spilt from 02comp_ipnet_dhcp.cdf
|
|
01u,05jul10,lzq Added INCLUDE_IPDHCPC6_CMD component
|
|
01t,04sep09,h_s Modify the DHCPC,DHCPR,DHCPS related callback function to 0 instead of NULL
|
|
to make gnu compile correct.
|
|
01s,04jun09,ggz Added DHCPC ip address lease time
|
|
01r,29may09,spw Add DHCPS_NO_STRICT_SUBNET_MATCH param
|
|
01q,11feb08,spw Add support for user defined client options
|
|
01p,10oct08,spw Add max message size, ttl, auto enable interface configs
|
|
01o,27aug08,spw Add option to remove existing addresses from interface
|
|
when starting negotiation
|
|
01n,27aug08,spw Modify option callback param name, add netmask option
|
|
01m,30may08,spw Add bootp mode and some more options
|
|
01l,23sep08,rme Misspelled words corrected
|
|
01k,19sep07,rme Added missing backslash
|
|
01n,07sep07,rme Replaced SELECTION_IPCOM_FS with SELECT_IPCOM_FS in INCLUDE_IPDHCPC6
|
|
|
|
01m,07sep07,rme Replaced SELECTION_IPCOM_FS with SELECT_IPCOM_FS in INCLUDE_IPDHCPS
|
|
|
|
01l,10sep07,mze INCLUDE_IPCOM_FS_SELECTION changed to SELECT_IPCOM_FS
|
|
01k,21aug07,mze fixed mistake in INCLUDE_IPDHCPS MODULES line continued without "\"
|
|
01j,28aug07,ps Add DHCPc6 authentication parameters
|
|
01i,07feb07,tkf Add IPDHCPS dependency on SELECT_IPCOM_FS.
|
|
01h,22jan07,kch Added DHCPC_RFC2131_INIT_DELAY, DHCPC_RFC2131_EXP_BACKOFF,
|
|
DHCPC_DISCOVER_RETRIES and DHCPC_OFFER_TIMEOUT configuration
|
|
macros (WIND00086146).
|
|
01g,03jan07,kch Changed DHCPC_SERVER_PORT default value from 68 to 67.
|
|
Renamed DHCPC_IFLIST_REQ_OPTS and DHCPC_IFLIST_CLIENT_ID
|
|
macros to DHCPC_IF_REQ_OPTS_LIST and DHCPC_IF_CLIENT_ID_LIST.
|
|
01f,19dec06,mwv Correct typos throughout (WIND00083100)
|
|
01e,15dec06,kch Corrected typo for DHCPC6_IF_IA_NA_DEFAULT_LIST description.
|
|
01d,11dec06,kch Added configuration parameters for DHCP client, relay
|
|
and server callback hooks. Also added DHCPS_NETCONF_SYSVAR
|
|
and DHCPR_NETCONF_SYSVAR. Added ipnet/ipDHCPc_example.c
|
|
configlette to INCLUDE_IPDHCPC as well.
|
|
01c,01dec06,kch Added additional configuration parameters for DHCP6 Client.
|
|
01b,23sep06.kch Added INCLUDE_IPDHCPS6_CMD.
|
|
01a,14sep06,tkf Written
|
|
*/
|
|
#if defined(_WRS_CONFIG_COMPONENT_IPDHCPS6) || defined(_WRS_CONFIG_DEFAULT_VSB)
|
|
|
|
Component INCLUDE_IPDHCPS6 {
|
|
NAME DHCP6 Server
|
|
SYNOPSIS DHCP6 Server
|
|
REQUIRES INCLUDE_IPCOM INCLUDE_IPCOM_USE_INET6
|
|
MODULES ipdhcps6.o ipdhcps6_duid.o ipdhcps6_option.o \
|
|
ipdhcps6_relay.o ipdhcps6_cmd.o ipdhcps6_host.o \
|
|
ipdhcps6_pool.o ipdhcps6_subnet.o ipdhcps6_dhcps6d.o \
|
|
ipdhcps6_msg.o ipdhcps6_prefix.o ipdhcps6_user.o \
|
|
ipdhcps6_cvthex.o ipdhcps6_authhash.o
|
|
CONFIGLETTES ipdhcps6_config.c
|
|
CFG_PARAMS DHCPS6_MODE \
|
|
DHCPS6_DUID_IFNAME \
|
|
DHCPS6_ALLOW_RAPID_COMMIT \
|
|
DHCPS6_MAXHOP_COUNT \
|
|
DHCPS6_IF_RELAY_MAP_LIST \
|
|
DHCPS6_HMAC_MD5_SECRET \
|
|
DHCPS6_AUTHENTICATION_REALM
|
|
_CHILDREN FOLDER_DHCP
|
|
}
|
|
|
|
|
|
Component INCLUDE_IPDHCPS6_CMD {
|
|
NAME IPCOM DHCP6 Server commands
|
|
MODULES ipdhcps6_cmd.o
|
|
SYNOPSIS IPCOM DHCP6 Server commands
|
|
REQUIRES INCLUDE_IPCOM_SHELL_CMD INCLUDE_IPDHCPS6
|
|
_CHILDREN FOLDER_DHCP
|
|
}
|
|
|
|
|
|
/* INCLUDE_IPDHCPS6 Configuration Parameters */
|
|
Parameter DHCPS6_MODE {
|
|
NAME Mode
|
|
SYNOPSIS The mode the DHCPv6 daemon is running in, can be "server" or \
|
|
"relay". Default is "server".
|
|
TYPE char *
|
|
DEFAULT "server"
|
|
}
|
|
|
|
Parameter DHCPS6_DUID_IFNAME {
|
|
NAME Interface Name
|
|
SYNOPSIS The interface the server will use to generate the server ID
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPS6_ALLOW_RAPID_COMMIT {
|
|
NAME Allow Rapid Commit
|
|
SYNOPSIS Specifies if the server allows rapid commit or not. \
|
|
Valid values: [yes|no]
|
|
TYPE char *
|
|
DEFAULT "yes"
|
|
}
|
|
|
|
Parameter DHCPS6_MAXHOP_COUNT {
|
|
NAME Hop Count Limit
|
|
SYNOPSIS Max hop count in a Relay-forward message.
|
|
TYPE char *
|
|
DEFAULT "32"
|
|
}
|
|
|
|
Parameter DHCPS6_IF_RELAY_MAP_LIST {
|
|
NAME Interface Relay Map List
|
|
SYNOPSIS Specifies the interface to receive the DHCPv6 server or \
|
|
relay agent messages received on the given interface. \
|
|
Leave the address field empty to use the \
|
|
all-dhcp-servers (ff05::1:3) multicast address. \
|
|
The input is specified as a list of Source \
|
|
Interface/Destination Interface pairs, each separated from \
|
|
the other with a semi-colon as follows: \
|
|
"eth0=eth1;vlan21=eth2"
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPS6_HMAC_MD5_SECRET {
|
|
NAME DHCPV6 Authentication HMAC-MD5 Key
|
|
SYNOPSIS Specifies the key used by the server to authenticate \
|
|
DHCPV6 messages.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPS6_AUTHENTICATION_REALM {
|
|
NAME DHCPV6 Authentication Realm
|
|
SYNOPSIS Specifies the DHCPV6 authentication realm used by the server
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
#endif /* _WRS_CONFIG_COMPONENT_IPDHCPS6 or _WRS_CONFIG_DEFAULT_VSB */
|