[Ns-developers] DelayBox - ns-3

Matt Crinklaw matt.crinklaw at gmail.com
Thu May 1 07:07:18 PDT 2008


>  Matt,
>  I had a look at your repo this afternoon; what you did to hook your sink to
> the source looks correct, except that you have to just remove a const
> qualifier in your sink signature:
>
>   static void
>  -TaggingSink (uint32_t flowid, std::string context, Ptr<const
>  -Packet> packet)
>  +TaggingSink (uint32_t flowid, std::string context, Ptr<Packet> packet)
>
>  then, the next error that is raised is from trying to tag the packet in two
> places with the same tag; that can be removed by deciding which tagging spot
> (in TaggingSink or in DelayBoxApplication::SendData) you want to keep.
>

Yeah, thanks.  I should have mentioned that I fixed this issue.
The next problem I had/have is that when retrieving the flow id tag
from the packet, the value of the flow id is always 0.
I'll make an update to the repo.


More information about the Ns-developers mailing list