Home
last modified time | relevance | path

Searched refs:ntp_word_0 (Results 1 – 1 of 1) sorted by relevance

/NetX-Duo-v6.2.1/addons/sntp/
Dnxd_sntp_client.c2792 ULONG *ntp_word_0; in _nx_sntp_client_extract_time_message_from_packet() local
2803 ntp_word_0 = (ULONG *)packet_ptr -> nx_packet_prepend_ptr; in _nx_sntp_client_extract_time_message_from_packet()
2804 NX_CHANGE_ULONG_ENDIAN(*ntp_word_0); in _nx_sntp_client_extract_time_message_from_packet()
2807 time_message_ptr -> flags = (*ntp_word_0 & 0xFF000000UL) >> 24; in _nx_sntp_client_extract_time_message_from_packet()
2809 time_message_ptr -> peer_clock_stratum = (*ntp_word_0 & 0x00FF0000UL) >> 16; in _nx_sntp_client_extract_time_message_from_packet()
2811 time_message_ptr -> peer_poll_interval = (*ntp_word_0 & 0x0000FF00UL) >> 8; in _nx_sntp_client_extract_time_message_from_packet()
2813 time_message_ptr -> peer_clock_precision = (*ntp_word_0 & 0x00000000FFUL); in _nx_sntp_client_extract_time_message_from_packet()
2816 ntp_word_0++; in _nx_sntp_client_extract_time_message_from_packet()
2817 NX_CHANGE_ULONG_ENDIAN(*ntp_word_0); in _nx_sntp_client_extract_time_message_from_packet()
2819 time_message_ptr -> root_delay = (ULONG)(*ntp_word_0); in _nx_sntp_client_extract_time_message_from_packet()
[all …]