hdr_rtp Struct Reference

#include <rtp.h>

List of all members.

Public Member Functions

u_int32_t & srcid ()
int & seqno ()
u_int16_t & flags ()
double & timestamp ()
u_int32_t & T_epoch ()

Static Public Member Functions

static int & offset ()
static hdr_rtpaccess (const Packet *p)

Public Attributes

u_int32_t srcid_
int seqno_
u_int16_t flags_
double timestamp_
u_int32_t T_epoch_
sender_reportsr_
receiver_reportrr_

Static Public Attributes

static int offset_


Detailed Description

rtp packet header

Definition at line 119 of file rtp.h.


Member Function Documentation

static int& hdr_rtp::offset (  )  [inline, static]

Definition at line 130 of file rtp.h.

References offset_.

00130 { return offset_; }

static hdr_rtp* hdr_rtp::access ( const Packet *  p  )  [inline, static]

Definition at line 131 of file rtp.h.

References access(), and offset_.

Referenced by access(), RTPAgent::makepkt(), RTPSession::recv(), RTPSession::recv_ctrl(), RTPAgent::sendmsg(), and RTCPAgent::sendpkt().

00131                                                        {
00132                 return (hdr_rtp*) p->access(offset_);
00133         }

u_int32_t& hdr_rtp::srcid (  )  [inline]

return the the unique source id for this session

Definition at line 136 of file rtp.h.

References srcid_.

Referenced by RTPAgent::makepkt(), RTPSession::recv(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().

00136 { return (srcid_); }

int& hdr_rtp::seqno (  )  [inline]

return the sequence number of RTP and RTCP packets

Definition at line 138 of file rtp.h.

References seqno_.

Referenced by RTPAgent::makepkt(), RTPSession::recv(), RTPAgent::sendmsg(), and RTCPAgent::sendpkt().

00138 { return (seqno_); }

u_int16_t& hdr_rtp::flags (  )  [inline]

Definition at line 139 of file rtp.h.

References flags_.

00139 { return (flags_); }

double& hdr_rtp::timestamp (  )  [inline]

return the timestamp of the RTP packet

Definition at line 141 of file rtp.h.

References timestamp_.

Referenced by RTPAgent::makepkt(), RTPSession::recv(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().

00141 { return (timestamp_); }

u_int32_t& hdr_rtp::T_epoch (  )  [inline]

Definition at line 142 of file rtp.h.

References T_epoch_.

Referenced by RTPAgent::makepkt(), and RTPSession::recv().

00142 { return (T_epoch_); }


Member Data Documentation

u_int32_t hdr_rtp::srcid_

the unique source id for this session

Definition at line 121 of file rtp.h.

Referenced by srcid().

sequence number of RTP and RTCP packets

Definition at line 123 of file rtp.h.

Referenced by seqno().

u_int16_t hdr_rtp::flags_

rtp flags indicating significant event(begining of talkspurt)

Definition at line 125 of file rtp.h.

Referenced by flags().

timestamp of the RTP packet

Definition at line 127 of file rtp.h.

Referenced by timestamp().

u_int32_t hdr_rtp::T_epoch_

Definition at line 128 of file rtp.h.

Referenced by T_epoch().

int hdr_rtp::offset_ [static]

Definition at line 129 of file rtp.h.

Referenced by access(), offset(), and RTPHeaderClass::RTPHeaderClass().

Definition at line 143 of file rtp.h.

Referenced by RTPSession::build_report(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().

Definition at line 144 of file rtp.h.

Referenced by RTPSession::build_report(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().


The documentation for this struct was generated from the following files:

Generated on Sun Jun 1 20:54:52 2008 for ASMP_S by  doxygen 1.5.5