Hi,
I have never done anything with TCP layer, so I'm not sure.
But a general rule I summarized is that
1) If the two layers you want to cross-access are adjacent, you can use
uptarget_/downtarget_
2) If they are not, it is a bit of difficult to make the pointer clear. My
Hi Basim,
The connection from a node to a TCP agent is fairly subtle. Basically, a
Node has an instvar dmux_ which is a classifier. It install a TcpAgent
and TcpSink in the slot of the classifier dmux_. This occurs when
you invoke commands like
$ns attach-agent $n0 $udp0
You may find the
Dear ns colleagues,
How to set max congestion window in tcp? I ns-default.tcl sets it to 0
(Zero). How it could be if following concept is correct?
maxcwnd (Maximum Congestion Window) indicates the maximum number
that the CWND can achieve. ie. After tcp enters in the Congestion
Mayur wrote:
Dear ns colleagues,
How to set max congestion window in tcp? I ns-default.tcl sets it to 0
(Zero). How it could be if following concept is correct?
maxcwnd (Maximum Congestion Window) indicates the maximum number
that the CWND can achieve. ie. After tcp enters in the
Dear NS experts,
There seems to be a BUG in ns2 (till latest version ns2.33) :
_*Abstract: *_
capture() function should treat errored_pkts and normal_pkts
differently. Viz., the NAV should be set to only EIFS for errored
packets and for normal packets to { EIFS + txtime(pkt) }.
_*More
Dear all,
[Sorry, I attached wrong file, Pl find the modified_mac-802_11.cc
attached herewith. Kindly discard the earlier sent mac-802_11.cc file.]
Mayur wrote:
Dear NS experts,
There seems to be a BUG in ns2 (till
Hi,
I don't think you want to classify packets in mac layer. Instead, you want
your packets to be submitted to aodv. Thus, in aodv.cc, you need to identify
your packets in AODV::recv(Packet *p). In fact, as you know, all packets first
arrive at such a recv function in any layer. So if