original files of m241
This commit is contained in:
@@ -0,0 +1,438 @@
|
||||
/* 02comp_ipnet_dhcpc6.cdf - IPNet DHCPC ipv6 configuration file */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006-2015 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
|
||||
--------------------
|
||||
01z,29jun15,rjq Adding support for Vendor-specific Information Option in dhcpc6
|
||||
01y,25Sep13,lzq Add the parameters for DHCPC6 CallBack
|
||||
01x,27nov12,xhs Fix default VSB/VIP error,WIND00387505
|
||||
01w,14Jun11,h_s Add the parameters for ia_pd feature
|
||||
01v,11aug10,h_s move from osconfig and split 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_IPDHCPC6) || defined(_WRS_CONFIG_DEFAULT_VSB)
|
||||
Component INCLUDE_IPDHCPC6 {
|
||||
NAME DHCP6 Client
|
||||
SYNOPSIS DHCP6 Client
|
||||
REQUIRES INCLUDE_IPCOM INCLUDE_IPCOM_USE_INET6 \
|
||||
SELECT_IPCOM_FS
|
||||
CONFIGLETTES ipdhcpc6_config.c ipdhcpc6_example.c
|
||||
MODULES ipdhcpc6.o
|
||||
CFG_PARAMS DHCPC6_DUID_TYPE \
|
||||
DHCPC6_DUID_IF \
|
||||
DHCPC6_DUID_EN_NUM \
|
||||
DHCPC6_DUID_EN_VAL \
|
||||
DHCPC6_IF_ENUM_LIST \
|
||||
DHCPC6_IF_RAPID_COMMIT_LIST \
|
||||
DHCPC6_IF_INFORMATION_ONLY_LIST \
|
||||
DHCPC6_IF_DNS_LIST DHCPC6_IF_SNTP_LIST \
|
||||
DHCPC6_IF_INFO_REFRESH_LIST \
|
||||
DHCPC6_IF_SIP_LIST \
|
||||
DHCPC6_IF_INFO_REFRESH_MIN_LIST \
|
||||
DHCPC6_IF_INFO_REFRESH_DEFAULT_LIST \
|
||||
DHCPC6_IF_INFO_REFRESH_MAX_LIST \
|
||||
DHCPC6_IF_IA_NA_DEFAULT_LIST \
|
||||
DHCPC6_IF_IA_NA_DEFAULT_IAID_LIST \
|
||||
DHCPC6_IF_HINTS_DEFAULT_ENUM_LIST \
|
||||
DHCPC6_IF_HINTS_DEFAULT_PREFIX_LIST \
|
||||
DHCPC6_IF_HINTS_DEFAULT_VALID_LIST \
|
||||
DHCPC6_IF_HINTS_DEFAULT_PREFERRED_LIST \
|
||||
DHCPC6_IF_HINTS_DEFAULT_RENEW_LIST \
|
||||
DHCPC6_IF_HINTS_DEFAULT_REBIND_LIST \
|
||||
DHCPC6_IF_IA_PD_DEFAULT_LIST \
|
||||
DHCPC6_IF_IA_PD_DEFAULT_IAID_LIST \
|
||||
DHCPC6_IF_IA_PD_HINTS_DEFAULT_ENUM_LIST \
|
||||
DHCPC6_IF_IA_PD_HINTS_DEFAULT_PREFIX_LIST \
|
||||
DHCPC6_IF_IA_PD_HINTS_DEFAULT_VALID_LIST \
|
||||
DHCPC6_IF_IA_PD_HINTS_DEFAULT_PREFERRED_LIST \
|
||||
DHCPC6_IF_IA_PD_HINTS_DEFAULT_RENEW_LIST \
|
||||
DHCPC6_IF_IA_PD_HINTS_DEFAULT_REBIND_LIST \
|
||||
DHCPC6_HMAC_MD5_SECRET \
|
||||
DHCPC6_AUTHENTICATION_REALM \
|
||||
DHCPC6_INSTALL_REPLY_CALLBACK_HOOK \
|
||||
DHCPC6_REPLY_CALLBACK_HOOK \
|
||||
DHCPC6_IF_VENDOR_SPEC_INFO_LIST \
|
||||
DHCPC6_OPTION_VENDOR_SPEC_INFO_DATA
|
||||
_CHILDREN FOLDER_DHCP
|
||||
}
|
||||
|
||||
|
||||
Component INCLUDE_IPDHCPC6_CMD {
|
||||
NAME IPCOM DHCP6 Client commands
|
||||
MODULES ipdhcpc6_cmd.o
|
||||
SYNOPSIS IPCOM DHCP6 Client commands
|
||||
REQUIRES INCLUDE_IPCOM_SHELL_CMD INCLUDE_IPDHCPC6
|
||||
_CHILDREN FOLDER_DHCP
|
||||
}
|
||||
|
||||
|
||||
/* INCLUDE_IPDHCPC6 Configuration Parameters */
|
||||
Parameter DHCPC6_DUID_TYPE {
|
||||
NAME DUID Type
|
||||
SYNOPSIS DHCP6 Client DUID Type. Possible values are "ll","llt", or "en".
|
||||
TYPE char *
|
||||
DEFAULT "ll"
|
||||
}
|
||||
|
||||
Parameter DHCPC6_DUID_IF {
|
||||
NAME DUID Interface
|
||||
SYNOPSIS DHCP6 Client DUID Interface Name
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_DUID_EN_NUM {
|
||||
NAME DUID EN Number
|
||||
SYNOPSIS DHCP6 Client DUID EN Number. Must be specified for EN.
|
||||
TYPE char *
|
||||
DEFAULT "10000"
|
||||
}
|
||||
|
||||
Parameter DHCPC6_DUID_EN_VAL {
|
||||
NAME DUID EN Value
|
||||
SYNOPSIS DHCP6 Client DUID EN Value. Must be specified for EN.
|
||||
TYPE char *
|
||||
DEFAULT "0xabcdef"
|
||||
}
|
||||
Parameter DHCPC6_INSTALL_REPLY_CALLBACK_HOOK {
|
||||
NAME Install DHCP6 Client Reply Callback Routine
|
||||
SYNOPSIS Determine if the user-defined DHCP6 client callback routine \
|
||||
as specified by the macro DHCPC6_REPLY_CALLBACK_HOOK should \
|
||||
be installed. If FALSE, the DHCPC6_REPLY_CALLBACK_HOOK \
|
||||
configuration is not applicable.
|
||||
TYPE BOOL
|
||||
DEFAULT FALSE
|
||||
}
|
||||
|
||||
Parameter DHCPC6_REPLY_CALLBACK_HOOK {
|
||||
NAME Reply Callback Routine
|
||||
SYNOPSIS This callback can be just used to do things related to user,If not specified, the internal reply \
|
||||
callback routine will be used. The DHCPC6_INSTALL_REPLY_CALLBACK_HOOK \
|
||||
must also be set to TRUE in order to install this callback \
|
||||
routine.
|
||||
TYPE FUNCPTR
|
||||
DEFAULT ipdhcpc6_reply_default_callback
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_ENUM_LIST {
|
||||
NAME Interface Status List
|
||||
SYNOPSIS Specifies the dhcp6 Client operation mode on a given \
|
||||
interface. \
|
||||
The input is specified as a list of interface/Status pairs, \
|
||||
each separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_RAPID_COMMIT_LIST {
|
||||
NAME Interface Rapid Commit Status List
|
||||
SYNOPSIS Specifies whether rapid commit is enabled on a given \
|
||||
interface. \
|
||||
The input is specified as a list of interface/Rapid Commit \
|
||||
Status pairs, each separated from the other by a semi-colon \
|
||||
as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_INFORMATION_ONLY_LIST {
|
||||
NAME Interface Information Only Status List
|
||||
SYNOPSIS A list of interface/Information Only Status pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_DNS_LIST {
|
||||
NAME Interface DNS Status List
|
||||
SYNOPSIS A list of interface/DNS Status pairs, each separated from the \
|
||||
other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_SNTP_LIST {
|
||||
NAME Interface SNTP Status List
|
||||
SYNOPSIS A list of interface/SNTP Status pairs, each separated from the \
|
||||
other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=enable"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_INFO_REFRESH_LIST {
|
||||
NAME Interface Information Refresh Status List
|
||||
SYNOPSIS A list of interface/Information Refresh Status pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=enable"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_SIP_LIST {
|
||||
NAME Interface SIP Status List
|
||||
SYNOPSIS A list of interface/SIP Status pairs, each separated from the \
|
||||
other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=enable"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_INFO_REFRESH_MIN_LIST {
|
||||
NAME Interface Information Refresh Min Status List
|
||||
SYNOPSIS A list of interface/Information Refresh Minimum Value pairs, \
|
||||
each separated from the other by a semi-colon as follows: \
|
||||
"eth0=600;vlan21=600"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_INFO_REFRESH_DEFAULT_LIST {
|
||||
NAME Interface Information Refresh Default Status List
|
||||
SYNOPSIS A list of interface/Information Refresh Default Value pairs, \
|
||||
each separated from the other by a semi-colon as follows: \
|
||||
"eth0=86400;vlan21=86400"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_INFO_REFRESH_MAX_LIST {
|
||||
NAME Interface Information Refresh Max Status List
|
||||
SYNOPSIS A list of interface/Information Refresh Maximum Value pairs, \
|
||||
each separated from the other by a semi-colon as follows: \
|
||||
"eth0=0;vlan21=0"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_NA_DEFAULT_LIST {
|
||||
NAME Interface IA_NA Default List
|
||||
SYNOPSIS A list of interface/IA_NA Default Status pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_NA_DEFAULT_IAID_LIST {
|
||||
NAME Interface IAID List
|
||||
SYNOPSIS A list of interface/IA_NA Default IAID pairs, each separated \
|
||||
from the other by a semi-colon as follows: \
|
||||
"eth0=1;vlan21=2"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_HINTS_DEFAULT_ENUM_LIST {
|
||||
NAME Interface Default Hints Status List
|
||||
SYNOPSIS A list of interface/Default Hints Status pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_HINTS_DEFAULT_PREFIX_LIST {
|
||||
NAME Interface Prefix Hints List
|
||||
SYNOPSIS A list of interface/Default Prefix Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=3FFE:01;vlan21=3FFE:02"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_HINTS_DEFAULT_VALID_LIST {
|
||||
NAME Interface Hints Valid List
|
||||
SYNOPSIS A list of interface/Default Valid Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=7000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_HINTS_DEFAULT_PREFERRED_LIST {
|
||||
NAME Interface Preferred List
|
||||
SYNOPSIS A list of interface/Default Preferred Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=7000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_HINTS_DEFAULT_RENEW_LIST {
|
||||
NAME Interface Renew List
|
||||
SYNOPSIS A list of interface/Default Renew Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=4000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_HINTS_DEFAULT_REBIND_LIST {
|
||||
NAME DHCPC Client Interface Rebind List
|
||||
SYNOPSIS A list of interface/Default Rebind Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=4000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_DEFAULT_LIST {
|
||||
NAME Interface IA_PD Default List
|
||||
SYNOPSIS A list of interface/IA_PD Default Status pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_DEFAULT_IAID_LIST {
|
||||
NAME Interface IA_PD IAID List
|
||||
SYNOPSIS A list of interface/IA_PD Default IAID pairs, each separated \
|
||||
from the other by a semi-colon as follows: \
|
||||
"eth0=1;vlan21=2"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_HINTS_DEFAULT_ENUM_LIST {
|
||||
NAME Interface IA_PD Default Hints Status List
|
||||
SYNOPSIS A list of interface/Default IA_PD Hints Status pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=enable;vlan21=automatic"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_HINTS_DEFAULT_PREFIX_LIST {
|
||||
NAME Interface IA_PD Prefix Hints List
|
||||
SYNOPSIS A list of interface/Default IA_PD Prefix Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=3FFE:01;vlan21=3FFE:02"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_HINTS_DEFAULT_VALID_LIST {
|
||||
NAME Interface IA_PD Hints Valid List
|
||||
SYNOPSIS A list of interface/Default IA_PD Valid Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=7000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_HINTS_DEFAULT_PREFERRED_LIST {
|
||||
NAME Interface IA_PD Preferred List
|
||||
SYNOPSIS A list of interface/Default IA_PD Preferred Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=7000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_HINTS_DEFAULT_RENEW_LIST {
|
||||
NAME Interface IA_PD Renew List
|
||||
SYNOPSIS A list of interface/Default IA_PD Renew Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=4000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_IA_PD_HINTS_DEFAULT_REBIND_LIST {
|
||||
NAME DHCP Client IA_PD Interface Rebind List
|
||||
SYNOPSIS A list of interface/Default IA_PD Rebind Hints pairs, each \
|
||||
separated from the other by a semi-colon as follows: \
|
||||
"eth0=8000;vlan21=4000"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_HMAC_MD5_SECRET {
|
||||
NAME DHCPV6 Authentication HMAC-MD5 Key
|
||||
SYNOPSIS Specifies the key used by the client to authenticate \
|
||||
DHCPV6 messages.
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_AUTHENTICATION_REALM {
|
||||
NAME DHCPV6 Authentication Realm
|
||||
SYNOPSIS Specifies the DHCPV6 authentication realm used by the client
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_IF_VENDOR_SPEC_INFO_LIST {
|
||||
NAME Interface Vendor-specific Information Option Status List
|
||||
SYNOPSIS Specifies whether Vendor-specific Information Option is enabled on a given \
|
||||
interface. \
|
||||
The input is specified as a list of interface/Vendor-specific Information Option \
|
||||
Status pairs, each separated from the other by a semi-colon \
|
||||
as follows: \
|
||||
"eth0=enable;vlan21=disable"
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
Parameter DHCPC6_OPTION_VENDOR_SPEC_INFO_DATA {
|
||||
NAME Vendor-specific Information Option data (17)
|
||||
SYNOPSIS Defines the vendor specific information option data. \
|
||||
Expected format: enterprise_number1=code1%data1,code2%data2; \
|
||||
enterprise_number2=code1%data1,code2%data2;... \
|
||||
All data fields should be specified in network byte order
|
||||
TYPE char *
|
||||
DEFAULT ""
|
||||
}
|
||||
|
||||
#endif /* _WRS_CONFIG_COMPONENT_IPDHCPC6 or _WRS_CONFIG_DEFAULT_VSB */
|
||||
Reference in New Issue
Block a user