#include "main.h"
#include "ARP.h"
Go to the source code of this file.
◆ _CRT_SECURE_NO_DEPRECATE
| #define _CRT_SECURE_NO_DEPRECATE |
◆ fn_NetSim_Update_ARP_Table_ForwardPacket()
Function: Update Arp Table and Farward Packet
packet as
REPLY_PACKET. That is ARP reply is received. Then call
this function to
update the MAC address and forward the buffred packet. Do the following,
1.Update the ARP table by updating the destination
IP and MAC address
2.Take the buffered packet, update the destination MAC address and add the 20
byte IP header.
3.Add the packet to access buffer to forward the packet to next layer.
void IP(uint state[], uchar in[])
Definition at line 38 of file UpdateArpTable.c.