This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
RTPClassifier -- Click element; splits packets pertaining to an RTP flow from other BE traffic.
RTPClassifier
Ports: 1 input, 2 outputs
Processing: Push
Drivers: linuxmodule
Package: unibo_qos
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 *
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.