Hi Sangameshwar,
Nodes overhear and check the packet. If the packet is not destined to them,
discard the packet. This is happening at the MAC layer. So, you should see
the mac layer.
MAC_802.11 code in recv_timer:
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.
*/
if (tap_ && type == MAC_Type_Data &&
MAC_Subtype_Data == subtype )
tap_->tap(pktRx_);
discard(pktRx_, "---");
goto done;
}
This says that: if the packet is not broadcast packet or I
am not the destination, then discard the packet.
Which means, I hear the packet, I check the header and then discard.
Regards
Mubashir Husain Rehmani
Lip6, UPMC, Paris, France
www-npa-lip6.fr/~rehmani
2009/4/26 Sangameshwar Alladi <[email protected]>
>
> how to implement overhearing in DSR?
> i am not getting how to over hear the transmissions of neighbor node?
> According to my knowledge a node stores only the address or handle of the
> downstream node only, then how can an upstream node may receive the
> transmission of its downstream node?
>
> and also i need to know how can all the nodes in the radio range of the
> transmitting downstream node receive a packet?
>
> Help me.
>
> From:~
> Sangameshwar Srinivas Alladi
>
--
Mubashir Husain Rehmani