[Click] SetIPDSCP problem

Povilas Germanavicius germas at gmail.com
Tue Apr 24 11:38:20 EDT 2007


I am a beginner in click, so sorry for maybe stupid questions but maybe you
can help me again? I´ve stuck  on trying to do an ip generator for testing
IPClassifier and other work I have to do. Some kind of problem I can't solve
is with SetIPDSCP. I am trying to do:

RatedSource(\<0800>,10,100)
->SetIPDSCP(46)->
classify::IPClassifier(ip dscp 46,
        ip dscp 34,
        ip dscp 0,
        -);
classify[0] ->Print("audio")->Discard();
classify[1] ->Print("video")->Discard();
classify[2] ->Print("besteffort")->Discard() ;
classify[3] ->Print("shit")->Discard();

and it gives me error:

click: ../elements/ip/setipdscp.cc:54: Packet* SetIPDSCP::smaction(Packet*):
Assertion `ip' failed.
Aborted

Thank you in advance,


-- 
Povilas Germanavičius
tel. +37067612600
msn: germasss at hotmail.com
skype: povilasgermas


More information about the click mailing list