Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/rtc/
H A Ddatetimewidget.cpp190 } ntp_packet; // Total: 384 bits or 48 bytes. in NTPGetTimeBeijingMSeconds() typedef
194 ntp_packet packet = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; in NTPGetTimeBeijingMSeconds()
196 memset( &packet, 0, sizeof( ntp_packet ) ); in NTPGetTimeBeijingMSeconds()
232 n = write( sockfd, ( char* ) &packet, sizeof( ntp_packet ) ); in NTPGetTimeBeijingMSeconds()
239 n = read( sockfd, ( char* ) &packet, sizeof( ntp_packet ) ); in NTPGetTimeBeijingMSeconds()