getntpserverResult Structure Definition

The getntpserverResult structure defines the return type for getntpserver API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

ntpserverList

List of ntpservers


ntpserver Structure Definition

The ntpserver structure defines the actual return type values for getntpserver API.

Syntax



Members

serverip

IP address of the NTP server about which to display information.

servername

Name of the NTP server about which to display information.

minpoll

Minimum poll interval of the server in secs.

maxpoll

Maximum poll interval of the server in secs.

preferredntpserver

Preferred NTP server. The Citrix ADC chooses this NTP server for time synchronization among a set of correctly operating hosts.

autokey

Use the Autokey protocol for key management for this server, with the cryptographic values (for example, symmetric key, host and public certificate files, and sign key) generated by the ntp-keygen utility. To require authentication for communication with the server, you must set either the value of this parameter or the key parameter.

key

Key to use for encrypting authentication fields. All packets sent to and received from the server must include authentication fields encrypted by using this key. To require authentication for communication with the server, you must set either the value of this parameter or the autokey parameter.

_nextgenapiresource


See Also