FreeBSD/contrib/ntp/ntpd/refclock_ripencc.c
/**/
/* clock offset and frequency offset in 1-SV (0-D) mode */
clock offset and frequency offset in 1-SV (0-D) mode
clock offset and frequency offset in 1 - SV ( 0 - D ) mode
short
rpt_0x54(
	 TSIPPKT *rpt,
	 float *clock_bias,
	 float *freq_offset,
	 float *time_of_fix
	 )
{
	unsigned char *buf;
	buf = rpt->buf;
	if (rpt->len != 12) return TRUE;
	*clock_bias = bGetSingle (buf);
	*freq_offset = bGetSingle (&buf[4]);
	*time_of_fix = bGetSingle (&buf[8]);
	return FALSE;
}
short rpt_0x54 ( TSIPPKT * rpt , float * clock_bias , float * freq_offset , float * time_of_fix ) { unsigned char * buf ; buf = rpt -> buf ; if ( rpt -> len != 12 ) return TRUE ; * clock_bias = bGetSingle ( buf ) ; * freq_offset = bGetSingle ( & buf [ 4 ] ) ; * time_of_fix = bGetSingle ( & buf [ 8 ] ) ; return FALSE ; }
clock offset and frequency offset in 1-SV (0-D) mode
clock offset and frequency offset in 1 - SV ( 0 - D ) mode