[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] New Queue Manegement



The function flowid() you used is correct. I guess
there is probably something else you're missing.


Kun-chan Lan

On Tue, 7 Aug 2001, Mathias, Felipe Rodrigues wrote:

>     I�m have to create a new queue manegement.  In this queue a need to identify the packet before forwarding. 
>     I tried to do it by the field flowid( ) of the IP header. 
> 
>      hdr_ip* h = hdr_ip::acess(p);
>     int flowid = h->flowid();
>     
>   I think that I did some mistake, or this field assume different value tham fid_ of the tcl script.
>    How can I identify the flow?
>    If you could anwser my questions, I would be very thankful.
> 
>     Thanks 
> 
>     Felipe Mathias
>      
>