cross layer calling (MAC and TCP)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cross layer calling (MAC and TCP)

Shabeer_15
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello everyone i am new to ns-2
i have maded a function in tcp.cc file in under the sub class
void
TcpAgent::slowdown(int how)

decrease();

and i want to call it from mac layer(mac-802-11.cc)  after a specific event occur there
i have included tcp.h file in mac-802-11.cc.
but giving me error  after running make in the terminal make
is i need some thing more to call it without error


any type of help will be appreciated..