[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] cbr packet size
see the ns-default.tcl file.
vineet
On Tue, 13 Jun 2000, Patrick Simen wrote:
> Am I right in assuming that Application/Traffic/CBR agents have a packet
> size of 1000, but that they actually carry no data? I read in a message
> to this list that cbr packets always have size = 1000, and from my
> experiments, this seems to be true. But the packet's datalen field is
> always 0.
>
> But I can't figure out what line of c++ code causes the packet size to be
> set to 1000, even after looking through all the files I can think of.
>
> I am trying to create a TCPSink object at a node which, whenever it
> receives a TCP packet, will cause a UDP agent at that same node to
> multicast a UDP packet (with the same data as received in the TCP
> packet, if any) to multiple nodes downstream. If anyone knows of previous
> postings related to this, or can help me directly, or can just tell me
> where cbr packet sizes are initialized, that would be great.
>
> Thanks. --Pat.
>
> ----------------------
> Patrick Simen
> [email protected]
> EECS Dept.
> University of Michigan
> ----------------------
>
>