owamp/protocol.c
/*
 * Function:        _OWPEncodeSkipRecord
 *
 * Description:        
 *         This function is used to encode a single 8 octet/2 integer skip
 *         record used to indicate a range of test packets that were never
 *         sent due to scheduling issues on the sender host.
 *
 * In Args:        
 *
 * Out Args:        
 *
 * Scope:        
 * Returns:        
 * Side Effect:        
 */
_OWPEncodeSkipRecord
Description:
This function is used to encode a single 8 octet/2 integer skip
record used to indicate a range of test packets that were never
sent due to scheduling issues on the sender host.

In Args.

Out Args.

Side Effect.
_OWPEncodeSkipRecord Description : This function is used to encode a single 8 octet / 2 integer skip record used to indicate a range of test packets that were never sent due to scheduling issues on the sender host . In Args . Out Args . Side Effect .
void
_OWPEncodeSkipRecord(
        uint8_t buf[_OWP_SKIPREC_SIZE],
        OWPSkip skip
        )
{
    uint32_t        nlbuf;
    nlbuf = htonl(skip->begin);
    memcpy(&buf[0],&nlbuf,4);
    nlbuf = htonl(skip->end);
    memcpy(&buf[4],&nlbuf,4);
    return;
}
void _OWPEncodeSkipRecord ( uint8_t buf [ _OWP_SKIPREC_SIZE ] , OWPSkip skip ) { uint32_t nlbuf ; nlbuf = htonl ( skip -> begin ) ; memcpy ( & buf [ 0 ] , & nlbuf , 4 ) ; nlbuf = htonl ( skip -> end ) ; memcpy ( & buf [ 4 ] , & nlbuf , 4 ) ; return ; }
Function:        _OWPEncodeSkipRecord
 Description:
         This function is used to encode a single 8 octet/2 integer skip
         record used to indicate a range of test packets that were never
         sent due to scheduling issues on the sender host.
Function : _OWPEncodeSkipRecord Description : This function is used to encode a single 8 octet / 2 integer skip record used to indicate a range of test packets that were never sent due to scheduling issues on the sender host .
/* begin seq */ /* end seq */