[ns] question regarding overhearing in ns2.35

2014-06-09 Thread prince

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.



[ns] question regarding overhearing

2014-04-12 Thread prince

Hi,
at which layer overhearing is implemented in wireless network for udp
packets and in ns2 at which function i should used for overhearing ? 



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



[ns] question regarding overhearing

2013-08-12 Thread prince

how to use overhearing concept in manet in ns2...in which function()



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



Re: [ns] question regarding overhearing

2013-08-12 Thread itishi saxena

in recv()function.
 
 
 


 From: prince jaideep1...@gmail.com
To: ns-users@ISI.EDU 
Sent: Monday, 12 August 2013 9:50 PM
Subject: [ns] question regarding overhearing
  


how to use overhearing concept in manet in ns2...in which function()



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