In ns-2.35 i need to overhear packets in mac-802.11.cc i am able to do that
at recv_timer() function in if(dst != (u_int32_t)index_ && dst !=
MAC_BROADCAST) {
/*
* We don't want to log this event, so we just free
* the packet instead of calling the drop routine.
*/
///////////////////////////////////////here i coded printf()
discard(pktRx_, "---");
goto done;
}

i am printing the all packet info but not able to get the packet's previous
hop address .....both methods via ETHER)ADDR and ch->prev_hop_ are
displaying value 0, while it should display node address from where packets
are coming to me....
thanks



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/question-regarding-overhearing-in-ns2-35-tp28851.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to