/* 00comp_ipnet_apps.cdf - IPNet Applications configuration file */ /* * Copyright (c) 2006-2007 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 -------------------- 30dec15,wjf Fix defect VXW6-83989 25Jan13,lzq Fix defect WIND00400196 06dec11,xhs Fix defect WIND00253073 19oct11,rjq Add parameter FTPC_BIND_ADDRESS 03Aug10,rjq New file for Networking Configuration VSB restructuring. */ #ifdef _WRS_CONFIG_COMPONENT_IPAPPL Folder FOLDER_TFTP { NAME TFTP Components SYNOPSIS TFTP Components CHILDREN INCLUDE_IPTFTP_COMMON \ INCLUDE_IPTFTPC \ INCLUDE_IPTFTP_CLIENT_CMD \ INCLUDE_IPTFTPS \ INCLUDE_TFTP_CLIENT _CHILDREN FOLDER_NET_L5_APPLICATIONS } Folder FOLDER_FTP { NAME FTP Components SYNOPSIS FTP Components CHILDREN INCLUDE_FTP \ INCLUDE_FTP6 \ INCLUDE_IPFTPC \ INCLUDE_IPFTPS \ INCLUDE_IPFTP_CMD \ INCLUDE_IPFTPS_TLS _CHILDREN FOLDER_NET_L5_APPLICATIONS } Component INCLUDE_IPDHCPC { NAME DHCP Client SYNOPSIS DHCP Client MODULES ipdhcpc.o CONFIGLETTES ipdhcpc_config.c ipdhcpc_example.c REQUIRES INCLUDE_IPCOM CFG_PARAMS DHCPC_CLIENT_PORT DHCPC_SERVER_PORT DHCPC_REQ_OPTS \ DHCPC_CLIENT_ID DHCPC_CLIENT_UUID DHCPC_RFC2131_INIT_DELAY \ DHCPC_RFC2131_EXP_BACKOFF DHCPC_DISCOVER_RETRIES \ DHCPC_OFFER_TIMEOUT DHCPC_IF_REQ_OPTS_LIST \ DHCPC_IF_CLIENT_ID_LIST \ DHCPC_INSTALL_OPTION_CALLBACK_HOOK \ DHCPC_INSTALL_REPLY_CALLBACK_HOOK \ DHCPC_OPTION_CALLBACK_HOOK DHCPC_REPLY_CALLBACK_HOOK \ DHCPC_BOOTP_MODE DHCPC_BOOT_FILENAME \ DHCPC_SERVER_HOSTNAME DHCPC_OPTION_HOSTNAME \ DHCPC_OPTION_NETMASK DHCPC_OPTION_VENDOR_CLASS_ID \ DHCPC_OPTION_IPADDRESS_LEASE_TIME \ DHCPC_OPTION_VI_VENDOR_CLASS \ DHCPC_REMOVE_EXISTING_ADDRESSES \ DHCPC_REMOVE_LEASED_ADDRESS \ DHCPC_AUTO_DISABLE \ DHCPC_TTL \ DHCPC_OPTION_MAX_MESSAGE_SIZE \ DHCPC_OPTION_USER_SPECIFIED \ DHCPC_IF_INFORMATION_ONLY_LIST \ DHCPC_FLAGS_BIT_BROADCAST _CHILDREN FOLDER_DHCP } Component INCLUDE_IPDNSC { NAME DNS Client SYNOPSIS DNS Client MODULES ipdnsc.o REQUIRES INCLUDE_IPCOM CONFIGLETTES ipdnsc_config.c CFG_PARAMS DNSC_SERVER_PORT DNSC_TIMEOUT DNSC_RETRIES \ DNSC_DOMAIN_NAME DNSC_PRIMARY_NAME_SERVER \ DNSC_SECONDARY_NAME_SERVER DNSC_TERTIARY_NAME_SERVER \ DNSC_QUATERNARY_NAME_SERVER DNSC_IP4_ZONE \ DNSC_IP6_ZONE _CHILDREN FOLDER_NET_L5_APPLICATIONS } Component INCLUDE_IPFTPC { NAME FTP Client SYNOPSIS FTP Client MODULES ipftpc.o REQUIRES INCLUDE_IPCOM CFG_PARAMS FTPC_BIND_ADDRESS CONFIGLETTES ipftpc_config.c } Component INCLUDE_IPFTPS { NAME FTP Server SYNOPSIS FTP Server MODULES ipftps.o REQUIRES INCLUDE_IPCOM CONFIGLETTES ipftps_config.c ipftps_example.c CFG_PARAMS FTPS_AUTH_ATTEMPTS FTPS_SLEEP_TIME FTPS_LOCAL_PORT_BASE \ FTPS_PEER_PORT_BASE FTPS_ENABLE_PROXY FTPS_MODE \ FTPS_ROOT_DIR FTPS_INITIAL_DIR FTPS_MAX_SESSIONS \ FTPS_PORT_NUM FTPS_RECV_TIMEOUT FTPS_SEND_TIMEOUT \ FTPS_INACTIVITY_TIMEOUT FTPS_SOCKET_BACKLOG FTPS_SYS_TYPE \ FTPS_AUTH_CALLBACK_HOOK FTPS_DATABUF_SIZE } Component INCLUDE_IPTFTP_COMMON { NAME TFTP common configurations SYNOPSIS TFTP common configurations MODULES iptftp_common.o REQUIRES INCLUDE_IPCOM CONFIGLETTES iptftps_config.c CFG_PARAMS TFTPS_DIRS TFTPS_RETRANSMIT_TIMEOUT TFTPS_RETRIES } Component INCLUDE_IPTFTPC { NAME TFTP Client SYNOPSIS TFTP Client MODULES iptftpc.o REQUIRES INCLUDE_IPCOM INCLUDE_IPTFTP_COMMON CONFIGLETTES iptftpc_config.c } Component INCLUDE_IPTFTPS { NAME TFTP Server SYNOPSIS TFTP Server MODULES iptftps.o REQUIRES INCLUDE_IPCOM INCLUDE_IPTFTP_COMMON } #ifdef _WRS_CONFIG_IPFTP_USE_TLS Component INCLUDE_IPFTPS_TLS { NAME FTP Server with TLS SYNOPSIS FTP Server with TLS MODULES ipftps_tls.o REQUIRES INCLUDE_IPFTPS INCLUDE_IPSSL CFG_PARAMS FTPS_TLS FTPS_TLS_CERT_FILE FTPS_TLS_KEY_FILE FTPS_TLS_SECRECT_KEY\ ENABLE_ADVANCE_FTPS_KEY_PRIVACY _CHILDREN FOLDER_FTP } #endif /******************** Configuration Parameters *****************************/ /* INCLUDE_IPDHCPC configuration parameters */ Parameter DHCPC_CLIENT_PORT { NAME DHCP Client Port SYNOPSIS DHCP client port as a quoted string: e.g. "68" TYPE char * DEFAULT "68" } Parameter DHCPC_SERVER_PORT { NAME DHCP Server Port SYNOPSIS DHCP server port as a quoted string: e.g. "68" TYPE char * DEFAULT "67" } Parameter DHCPC_RFC2131_INIT_DELAY { NAME RFC2131 Initialization Delay identifier SYNOPSIS Enable(1) /disable(0) RFC2131 Initialization Delay identifier. TYPE char * DEFAULT "1" } Parameter DHCPC_RFC2131_EXP_BACKOFF { NAME RFC2131 Exponential Back-off Delay SYNOPSIS Enable(1) /disable(0) RFC2131 Exponential Back-off Delay. TYPE char * DEFAULT "1" } Parameter DHCPC_DISCOVER_RETRIES { NAME DHCP Client Retries SYNOPSIS Number of DHCP client retries. TYPE char * DEFAULT "4" } Parameter DHCPC_OFFER_TIMEOUT { NAME DHCP Offer Time-Out SYNOPSIS DHCP offer time-out in milliseconds. TYPE char * DEFAULT "2000" } Parameter DHCPC_INSTALL_OPTION_CALLBACK_HOOK { NAME Install DHCP Client Option Callback Routine SYNOPSIS Determine if the user-defined DHCP client callback routine \ as specified by the macro DHCPC_OPTION_CALLBACK_HOOK should \ be installed. If FALSE, the DHCPC_OPTION_CALLBACK_HOOK \ configuration is not applicable. TYPE BOOL DEFAULT FALSE } Parameter DHCPC_OPTION_CALLBACK_HOOK { NAME Option Callback Routine SYNOPSIS This user-defined DHCP option processing callback routine \ is called once for each option prior to IPDHCPC is acting \ on the option, i.e. this callback can be used to change \ the contents of the DHCP server reply (caution!). If not \ specified, the internal option callback routine will be \ used. The DHCPC_INSTALL_OPTION_CALLBACK_HOOK must also be set to \ TRUE in order to install this callback routine. TYPE FUNCPTR DEFAULT ipdhcpc_option_default_callback } Parameter DHCPC_INSTALL_REPLY_CALLBACK_HOOK { NAME Install DHCP Client Reply Callback Routine SYNOPSIS Determine if the user-defined DHCP client callback routine \ as specified by the macro DHCPC_REPLY_CALLBACK_HOOK should \ be installed. If FALSE, the DHCPC_REPLY_CALLBACK_HOOK \ configuration is not applicable. TYPE BOOL DEFAULT FALSE } Parameter DHCPC_REPLY_CALLBACK_HOOK { NAME Reply Callback Routine SYNOPSIS This callback can be used to change the contents of the DHCP \ server reply (caution!). If not specified, the internal reply \ callback routine will be used. The DHCPC_INSTALL_REPLY_CALLBACK_HOOK \ must also be set to TRUE in order to install this callback \ routine. TYPE FUNCPTR DEFAULT ipdhcpc_reply_default_callback } Parameter DHCPC_BOOTP_MODE { NAME BOOTP Mode SYNOPSIS Operate as a BOOTP client only. \ That is, do not append a DHCP "message type" \ option to requests. "1" to enable, "0" to disable TYPE char * DEFAULT "0" } Parameter DHCPC_BOOT_FILENAME { NAME DHCP Boot Filename SYNOPSIS Specify an optional filename to use in dhcp/bootp requests. TYPE char * DEFAULT "" } Parameter DHCPC_SERVER_HOSTNAME { NAME DHCP Server Hostname SYNOPSIS Specify an optional server hostname to use in dhcp/bootp requests. TYPE char * DEFAULT "" } Parameter DHCPC_IF_REQ_OPTS_LIST { NAME Interface Specific Option: Parameter Request List (55) SYNOPSIS An interface name followed by comma separated list of DHCP \ options numbers that the DHCP client wants the server to \ provide in the format =. Each pair of \ = is semicolon separated, e.g. \ "eth0=1,2,3,4;eth1=2,3,4,5". TYPE char * DEFAULT "" } Parameter DHCPC_IF_CLIENT_ID_LIST { NAME Interface Specific Option: Client Identifier (61) SYNOPSIS A string of characters that the DHCP client wants the server \ to identify it by in the format =. Each pair of \ = is semicolon separated, e.g. \ "eth0=my_red_computer_eth0" or \ "eth0=my_red_computer_eth0;eth1=my_blue_computer_eth1". TYPE char * DEFAULT "" } Parameter DHCPC_REQ_OPTS { NAME Global Option: Parameter Request List (55) SYNOPSIS A comma separated list of DHCP options numbers that the \ DHCP client wants the server to provide, e.g. "1,2,3,4" TYPE char * DEFAULT NULL } Parameter DHCPC_CLIENT_ID { NAME Global Option: Client Identifier (61) SYNOPSIS A string of characters that the DHCP client wants the server \ to identify it by, e.g. "my_red_computer". If DHCPC_CLIENT_UUID \ is set "true", it should be defined like "4c:5f:00:ff" TYPE char * DEFAULT NULL } Parameter DHCPC_CLIENT_UUID { NAME Global Option: Client Identifier type SYNOPSIS Determine if DHCP client identifier type is uuid \ If "false", DHCPC_CLIENT_ID parameter should be treated as string \ If "true", DHCPC_CLIENT_ID parameter should be treated as char array. TYPE char * DEFAULT "false" } Parameter DHCPC_OPTION_HOSTNAME { NAME Global Option: Hostname (12) SYNOPSIS Defines the hostname option to use in requests. TYPE char * DEFAULT "" } Parameter DHCPC_OPTION_NETMASK { NAME Global Option: Netmask (1) SYNOPSIS Defines the subnet mask option to use in requests. TYPE char * DEFAULT "" } Parameter DHCPC_OPTION_IPADDRESS_LEASE_TIME { NAME IP address lease time SYNOPSIS This option is used in a client request to allow the client to request \ a lease time for the IP address. 0 value means no lease time is specified. \ The time is in units of seconds. TYPE char * DEFAULT "0" } Parameter DHCPC_OPTION_VENDOR_CLASS_ID { NAME Global Option: Vendor Class ID (60) SYNOPSIS Defines the vendor class id option. TYPE char * DEFAULT "" } Parameter DHCPC_OPTION_VI_VENDOR_CLASS { NAME Global Option: Vendor Identifying Vendor Class (124) SYNOPSIS Defines the vendor identifying vendor class option. \ Expected format: enterprise_number1=data1;enterprise_number2=data2;... \ All data fields should be specified in network byte order TYPE char * DEFAULT "" } Parameter DHCPC_OPTION_MAX_MESSAGE_SIZE { NAME Global Option: Maximum DHCP Message Size (57) SYNOPSIS Maximum message size this client is prepared to accept. Must be \ at least 576 as per RFC 2131. TYPE char * DEFAULT "576" } Parameter DHCPC_OPTION_USER_SPECIFIED { NAME Global Option: User Specified List SYNOPSIS Defines a list of options and associated data not supported \ explicitly by other option configuration parameters. \ Expected format: