72 lines
2.4 KiB
Mathematica
72 lines
2.4 KiB
Mathematica
/* 00comp_ipnet_ntp.cdf - IPNet NTP 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
|
|
--------------------
|
|
01a,03Aug10,rjq New file for Networking Configuration VSB restructuring.
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IPNTP
|
|
|
|
Folder FOLDER_NTP {
|
|
NAME NTP Components
|
|
SYNOPSIS NTP Components
|
|
CHILDREN INCLUDE_IPNTP \
|
|
INCLUDE_IPNTP_CMD
|
|
_CHILDREN FOLDER_NET_L5_APPLICATIONS
|
|
}
|
|
|
|
Component INCLUDE_IPNTP {
|
|
NAME Network Time Protocol
|
|
SYNOPSIS NTPv4 module
|
|
CONFIGLETTES ipntp_config.c
|
|
_INIT_ORDER usrNetAppInit
|
|
EXCLUDES INCLUDE_IPSNTPC INCLUDE_IPSNTPS
|
|
CFG_PARAMS NTP_INIT_PARAM NTP_CONFIG_PARAM NTP_CONFIG_FILENAME
|
|
REQUIRES INCLUDE_GETSERVBYNAME INCLUDE_GETADDRINFO INCLUDE_GETNAMEINFO INCLUDE_IPSNTPC_API INCLUDE_IPSNTP_COMMON
|
|
}
|
|
|
|
/******************** Configuration Parameters *****************************/
|
|
|
|
/* INCLUDE_IPNTP configuration parameters */
|
|
Parameter NTP_INIT_PARAM {
|
|
NAME NTP startup parameters
|
|
SYNOPSIS Specify list of parameters.\
|
|
e.g."-c /ram/ntp.conf -g -A"
|
|
TYPE string
|
|
DEFAULT NULL
|
|
}
|
|
|
|
Parameter NTP_CONFIG_PARAM {
|
|
NAME NTP config parameters
|
|
SYNOPSIS Specify list of parameters that are normally configured in config file (e.g. /ram0/ntp.conf).\
|
|
This macro is useless if the config file has been defined with "-c" parameter in NTP_INIT_PARAM \
|
|
or NTP_CONFIG_FILENAME has been defined. \
|
|
Every parameter must be separated by semicolon e.g. "driftfile /ram/ntp.drift; server 1.debian.pool.ntp.org iburst; \
|
|
server 2.debian.pool.ntp.org iburst; disable auth"
|
|
TYPE string
|
|
DEFAULT NULL
|
|
}
|
|
|
|
Parameter NTP_CONFIG_FILENAME {
|
|
NAME NTP config filename
|
|
SYNOPSIS Specify the ntp config filename. This macro is useless if the config file has been defined with \
|
|
"-c" parameter in NTP_INIT_PARAM. Otherwise if NTP_CONFIG_FILENAME is defined, the NTP server will read config parameters from \
|
|
this file. If it is NULL the NTP server will use NTP_CONFIG_PARAM to boot up.
|
|
TYPE string
|
|
DEFAULT NULL
|
|
}
|
|
|
|
#endif
|
|
|