1.2.1.20.11 TCPIP_SNTP_RESULT Enumeration

C

typedef enum {
    SNTP_RES_OK,
    SNTP_RES_PROGRESS,
    SNTP_RES_BUSY = -1,
    SNTP_RES_TSTAMP_ERROR = -2,
    SNTP_RES_TSTAMP_STALE = -3,
    SNTP_RES_SKT_ERR = -4,
    SNTP_RES_SKT_BIND_ERR = -5,
    SNTP_RES_NTP_SERVER_TMO = -6,
    SNTP_RES_NTP_VERSION_ERR = -7,
    SNTP_RES_NTP_TSTAMP_ERR = -8,
    SNTP_RES_NTP_SYNC_ERR = -9,
    SNTP_RES_NTP_KOD_ERR = -10,
    SNTP_RES_NTP_DNS_ERR = -11,
    SNTP_RES_NTP_IF_ERR = -12,
    SNTP_RES_NTP_CONN_ERR = -13
} TCPIP_SNTP_RESULT;

Description

Provides a list of possible SNTP results.

Members

MembersDescription
SNTP_RES_OKThe operation was successful.
SNTP_RES_PROGRESSAn NTP operation is in progress.
SNTP_RES_BUSY = -1Module is busy.
SNTP_RES_TSTAMP_ERROR = -2No timestamp is available, server not contacted.
SNTP_RES_TSTAMP_STALE = -3Timestamp is stale, there's no recent timestamp.
SNTP_RES_SKT_ERR = -4NTP socket operation error.
SNTP_RES_SKT_BIND_ERR = -5NTP socket bind failed.
SNTP_RES_NTP_SERVER_TMO = -6NTP server could not be accessed.
SNTP_RES_NTP_VERSION_ERR = -7Wrong NTP cersion received.
SNTP_RES_NTP_TSTAMP_ERR = -8Wrong NTP timestamp received.
SNTP_RES_NTP_SYNC_ERR = -9NTP time synchronization error.
SNTP_RES_NTP_KOD_ERR = -10An NTP KissOfDeath code has been received.
SNTP_RES_NTP_DNS_ERR = -11An NTP DNS error.
SNTP_RES_NTP_IF_ERR = -12An NTP interface error.
SNTP_RES_NTP_CONN_ERR = -13An NTP connection type error.