Linux: network: arp: arp_accept
文章目录
- 接收
- 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