Research Article
Analysis of Denial of Service Impact on Data Routing in Mobile eHealth Wireless Mesh Network
Algorithm 2
Selective forwarding attack implementation.
if (MIPs.equals(getAddress( ).getIPv4( ))) | | if (uniform(0,1) < 0.5 & is Selective) | | if (dynamic_cast<UDPPacket >(msg)) | | delete msg; | return; | | | |
|