owamp/protocol.c
/*
 * Function:        _OWPTWEncodeDataRecord
 *
 * Description:
 *         This function is used to encode the 50 octet "packet record" from
 *         the values in the given OWPTWDataRec. It returns false if the
 *         timestamp err estimates are invalid values.
 *
 * In Args:
 *
 * Out Args:
 *
 * Scope:
 * Returns:
 * Side Effect:
 */
_OWPTWEncodeDataRecord
Description:
This function is used to encode the 50 octet "packet record" from
the values in the given OWPTWDataRec. It returns false if the
timestamp err estimates are invalid values.

In Args.

Out Args.

Side Effect.
_OWPTWEncodeDataRecord Description : This function is used to encode the 50 octet " packet record " from the values in the given OWPTWDataRec . It returns false if the timestamp err estimates are invalid values . In Args . Out Args . Side Effect .
OWPBoolean
_OWPEncodeTWDataRecord(
        char        buf[50],
        OWPTWDataRec  *rec
        )
{
    if (!_OWPEncodeDataRecord(&buf[0], &rec->sent)) {
        return False;
    }
    if (!_OWPEncodeDataRecord(&buf[25], &rec->reflected)) {
        return False;
    }
    return True;
}
OWPBoolean _OWPEncodeTWDataRecord ( char buf [ 50 ] , OWPTWDataRec * rec ) { if ( ! _OWPEncodeDataRecord ( & buf [ 0 ] , & rec -> sent ) ) { return False ; } if ( ! _OWPEncodeDataRecord ( & buf [ 25 ] , & rec -> reflected ) ) { return False ; } return True ; }
Function:        _OWPTWEncodeDataRecord
 Description:
         This function is used to encode the 50 octet "packet record" from
         the values in the given OWPTWDataRec.
Function : _OWPTWEncodeDataRecord Description : This function is used to encode the 50 octet " packet record " from the values in the given OWPTWDataRec .