Hi ns-users,
I have a question related to the receive function in dsdv.cc
If you take a look on the code it does the following:
1- It first checks if the node is the sender (src == myaddr_)
2- Then it checks if the packet received is a routing packet (src !=
myaddr_) && (iph->dport() == ROUTER_PORT)
3- Then it checks if the packet received is a broadcast packet
4- Else the packet is forwarded

I wonder where the data packet receive is handled, the case when
(iph->daddr() == myaddr_) and the packet is to be transmitted up to
the application layer.

Your help is greatly appreciated.

Thanks

Reply via email to