ns-allinone-2.30/ns-2.30/rtp/session-rtp.cc File Reference

#include <stdlib.h>
#include "packet.h"
#include "ip.h"
#include "rtp.h"
#include <math.h>

Go to the source code of this file.

Classes

class  RTPSourceClass
class  RTPSessionClass

Defines

#define CONGESTED   0.5
#define UNLOADED   0.3
#define LOADED   0.1
#define DELTA   0.75
#define NOW   Scheduler::instance().clock()
#define RTCP_HDRSIZE   8
#define RTCP_SR_SIZE   20
#define RTCP_RR_SIZE   48

Variables

RTPSourceClass class_rtp_source
RTPSessionClass class_rtp_session


Define Documentation

#define CONGESTED   0.5

Copyright (c) 2007 University of Patras Computer Engineering and Informatics Department Greece

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement:

4. Neither the name of the University nor of the Research Group may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 41 of file session-rtp.cc.

Referenced by RTPSession::evaluate_jitter().

#define DELTA   0.75

Definition at line 44 of file session-rtp.cc.

Referenced by RTPSession::evaluate_jitter().

#define LOADED   0.1

Definition at line 43 of file session-rtp.cc.

Referenced by RTPSession::evaluate_jitter().

#define NOW   Scheduler::instance().clock()

#define RTCP_HDRSIZE   8

Definition at line 145 of file session-rtp.cc.

Referenced by RTPSession::build_report().

#define RTCP_RR_SIZE   48

Definition at line 147 of file session-rtp.cc.

Referenced by RTPSession::build_report().

#define RTCP_SR_SIZE   20

Definition at line 146 of file session-rtp.cc.

Referenced by RTPSession::build_report().

#define UNLOADED   0.3

Definition at line 42 of file session-rtp.cc.

Referenced by RTPSession::evaluate_jitter().


Variable Documentation


Generated on Mon Jun 2 11:25:26 2008 for ASMP by  doxygen 1.5.5