[Click] SetIPDSCP problem

Eddie Kohler kohler at cs.ucla.edu
Tue Apr 24 12:22:13 EDT 2007


Your RatedSource is not generating IP packets.  Send the packets 
through, for example, UDPIPEncap.

Eddie


Povilas Germanavicius wrote:
> 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,
> 
> 



More information about the click mailing list