"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ntpd/ntp_request.c" between
ntp-4.2.8p14.tar.gz and ntp-4.2.8p15.tar.gz

About: NTP is the the Official Reference Implementation of the Network Time Protocol (NTP) that synchronize the clocks of computers over a network.

ntp_request.c  (ntp-4.2.8p14):ntp_request.c  (ntp-4.2.8p15)
skipping to change at line 1172 skipping to change at line 1172
ms->timereset = htonl((u_int32)(current_time - peer_timereset)); ms->timereset = htonl((u_int32)(current_time - peer_timereset));
ms->totalpeermem = htons((u_short)total_peer_structs); ms->totalpeermem = htons((u_short)total_peer_structs);
ms->freepeermem = htons((u_short)peer_free_count); ms->freepeermem = htons((u_short)peer_free_count);
ms->findpeer_calls = htonl((u_int32)findpeer_calls); ms->findpeer_calls = htonl((u_int32)findpeer_calls);
ms->allocations = htonl((u_int32)peer_allocations); ms->allocations = htonl((u_int32)peer_allocations);
ms->demobilizations = htonl((u_int32)peer_demobilizations); ms->demobilizations = htonl((u_int32)peer_demobilizations);
for (i = 0; i < NTP_HASH_SIZE; i++) for (i = 0; i < NTP_HASH_SIZE; i++)
ms->hashcount[i] = (u_char) ms->hashcount[i] = (u_char)
max((u_int)peer_hash_count[i], UCHAR_MAX); min((u_int)peer_hash_count[i], UCHAR_MAX);
(void) more_pkt(); (void) more_pkt();
flush_pkt(); flush_pkt();
} }
/* /*
* io_stats - return io statistics * io_stats - return io statistics
*/ */
static void static void
io_stats( io_stats(
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)