This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
GetSSRC -- Click element; splits packets _possibly_ containing an SSRC field (used by the RTP protocol): this is copied it inside the packet annotation field
GetSSRC(OFFSET)
Ports: 1 input, 2 outputs
Processing: Push
Package: unibo_qos
GetSSRC has two output ports. All incoming packets _possibly_ having an SSRC field marked up are directed to output port 0, any remaining packets are emitted on output port 1 (since they cannot absolutely pertain to an RTP flow).
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, GetSSRC is used in combination with the RTPClassifier and SetIPDSCP elements to hook an RTP flow and mark its packets' DSCP field.
Generated by 'click-elem2man' from 'package/getssrc.hh' on 19/May/2006.