This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

RTPClassifier Element Documentation

NAME

RTPClassifier -- Click element; splits packets pertaining to an RTP flow from other BE traffic.

SYNOPSIS

RTPClassifier

Ports: 1 input, 2 outputs
Processing: Push
Drivers: linuxmodule
Package: unibo_qos

DESCRIPTION

Flows are classified as RTP if 6 following packets containing the same SSRC field are received before TIMEOUT seconds. If not, flow is not classified. Once a flow is classified, it can be cancelled if no more packets (with the same SSRC value) are received for TIMEOUTRTP seconds. (TIMEOUT = 2 seconds, TIMEOUTRTP = 30 seconds). RTP packets get out from output port 0, others from output port 1. RTPClassifier[0]-> RTP traffic RTPClassifier[1]-> non-RTP traffic *

EXAMPLES

elementclass class_RTP {

 $ssrc, $dscp |
 get::GetSSRC($ssrc);
 rtp::RTPClassifier;
 set::SetIPDSCP($dscp);
 input->get[0]->rtp;
 get[1]->[1]output;
 rtp[0]->set->[0]output;
 rtp[1]->[1]output;
 }

In the above example, RTPClassifier is used in combination with the GetSSRC and SetIPDSCP elements to hook an RTP flow and mark its packets' DSCP field.

SEE ALSO

GetSSRC, SetIPDSCP

Generated by 'click-elem2man' from 'package/rtpclassifier.hh:15' on 17/Jan/2012.

COMMENTS

 
elements/rtpclassifier.txt · Last modified: 2012/01/17 10:24 (external edit)
 
Recent changes RSS feed Driven by DokuWiki