文章目錄
- 接收
- linux 代碼
- arp協議的處理
接收
arp_accept - BOOLEAN
Define behavior for gratuitous ARP frames who’s IP is not already present in the ARP table:
0 - don’t create new entries in the ARP table
1 - create new entries in the ARP table
Both replies and requests type gratuitous arp will trigger the ARP table to be updated, if this setting is on. If the ARP table already contains the IP address of the gratuitous arp frame, the arp table will be updated regardless if this setting is on or off.
linux 代碼
static int arp_process