Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rtcppacket(3) [debian man page]

RTCP compound packets manipulation.(3)			     Library Functions Manual			    RTCP compound packets manipulation.(3)

NAME
RTCP compound packets manipulation. - Classes class RTCPCompoundHandler low level structs and RTCP packet parsing and building methods. class RTCPReceiverInfo Report block information of SR/RR RTCP reports. class RTCPSenderInfo Sender block information of SR RTCP reports. Enumerations enum SDESItemType { SDESItemTypeEND = 0, SDESItemTypeCNAME, SDESItemTypeNAME, SDESItemTypeEMAIL, SDESItemTypePHONE, SDESItemTypeLOC, SDESItemTypeTOOL, SDESItemTypeNOTE, SDESItemTypePRIV, SDESItemTypeH323CADDR, SDESItemTypeLast = SDESItemTypeH323CADDR } SDES items that may be carried in a Source DEScription RTCP packet. Functions timeval NTP2Timeval (uint32 msw, uint32 lsw) Convert a NTP timestamp, expressed as two 32-bit long words, into a timeval value. uint32 timevalIntervalTo65536 (timeval &t) Convert a time interval, expressed as a timeval, into a 32-bit time interval expressed in units of 1/65536 seconds. Detailed Description Enumeration Type Documentation enum SDESItemType SDES items that may be carried in a Source DEScription RTCP packet. CNAME is mandatory in each RTCP compound packet (except when split for partial encryption), the others are optional and have different sending frequencies, though with recommended default values. Enumerator: SDESItemTypeEND END of SDES item list. SDESItemTypeCNAME Canonical end-point identifier. SDESItemTypeNAME Personal NAME of the user. SDESItemTypeEMAIL EMAIL address of the user. SDESItemTypePHONE Phone number of the user. SDESItemTypeLOC Location where the user is. SDESItemTypeTOOL Application or tool. SDESItemTypeNOTE Comment usually reporting state. SDESItemTypePRIV Private extension. SDESItemTypeH323CADDR H323 callable address. SDESItemTypeLast Last defined code. Function Documentation timeval NTP2Timeval (uint32msw, uint32lsw) Convert a NTP timestamp, expressed as two 32-bit long words, into a timeval value. Parameters: msw Integer part of NTP timestamp. lsw Fractional part of NTP timestamp. Returns: timeval value corresponding to the given NTP timestamp. uint32 timevalIntervalTo65536 (timeval &t) Convert a time interval, expressed as a timeval, into a 32-bit time interval expressed in units of 1/65536 seconds. Parameters: t Timeval interval. Returns: 32-bit value corresponding to the given timeval interval. Author Generated automatically by Doxygen for ccRTP from the source code. ccRTP Sat Jun 23 2012 RTCP compound packets manipulation.(3)

Check Out this Related Man Page

ntp_gettime(2)							System Calls Manual						    ntp_gettime(2)

NAME
ntp_gettime - Gets the date, time, and kernel time error values. SYNOPSIS
#include <sys/timex.h> int ntp_gettime (struct ntptimeval *tp); PARAMETERS
Points to the ntptimeval structure in which information is returned. The ntptimeval structure is described in the sys/timex.h header file. DESCRIPTION
The ntp_gettime() system call returns three read-only values in the ntptimeval structure. The ntptimeval structure members are as follows: The current system time expressed as a Unix timeval structure. The timeval structure consists of two 32-bit words: the first is the number of seconds past 1 January 1970 assuming no intervening leap-second insertions or deletions; and the second is the number of microseconds within the second. The value of the time_maxerror kernel variable, which represents the maximum error of the indicated time relative to the primary synchronization source, in microseconds. For NTP, the value is initialized to the synchronization distance, which is equal to the root dispersion plus one-half the root delay. It is increased by a small amount (time_tolerance) each second to reflect the maximum clock frequency error. This variable is modified by the kernel, but is otherwise not used by the kernel. The value of the time_esterror kernel variable, which represents the expected error of the indicated time relative to the primary synchronization source, in microseconds. For NTP, the value is determined as the root dispersion, which represents the best estimate of the actual error of the system clock based on its past behavior, together with observations of multiple clocks within the peer group. This variable is not used by the kernel. RETURN VALUES
Upon successful completion, a value of 0 (zero) is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
If the ntp_gettime() function fails, errno may be set to one of the following values: The tp parameter points to a location outside of the allocated address space of the process. The kernel was configured without the NTP_TIME option. delim off ntp_gettime(2)
Man Page