ARP(7) Linux ARP(7) NAME arp - LinuxARP RFC826 Address Resolution Protocol [TCP/IP] Ipv4 packet(7) sockets ARP netlink(7) sockets ARP ioctl (2) PF_INET socket ARP ARP Entrygarbage- collected ioctls sysctl sysctl ARParp app_solicit MAC MAC ucast_solicit unicast probeARP, Linux Linux arp Linux arp arp IOCTLS ioctl PF_INET sockets struct arpreq struct arpreq { struct sockaddr arp_pa; /* (protocol address)*/ struct sockaddr arp_ha; /* (hardware address) */ int arp_flags; /* (flags) */ struct sockaddr arp_netmask; /* (netmask of protocol address)*/ char arp_dev[16]; }; SIOCSARP, SIOCDARP SIOCGARP ARP ARP CAP_NET_ADMIN UID0 arp_pa AF_INET socket arp_ha arp_dev. arp_dev null +---------------------------------------------------------+ | arp_flags | +----------------+----------------------------------------+ |(flag) | (meaning) | +----------------+----------------------------------------+ |ATF_COM | (Lookup complete) | +----------------+----------------------------------------+ |ATF_PERM | (Permanent entry) | +----------------+----------------------------------------+ |ATF_PUBL | (Publish entry) | +----------------+----------------------------------------+ |ATF_USETRAILERS | (Trailers requested) | +----------------+----------------------------------------+ |ATF_NETMASK | (Use a netmask) | +----------------+----------------------------------------+ |ATF_DONTPUB | (Don't answer) | +----------------+----------------------------------------+ ATF_NETMASK arp_netmask Linux 2.2 ARP 0xffffffff0 arp arp ATF_USETRAILERS SYSCTLS ARP sysctl sysctl /proc/sys/net/ipv4/neigh/*/* sysctl(2) /proc/sys/net/ipv4/neigh/. `default' sysctl anycast_delay IPv6 anycast1 app_solicit (multicast probe) ARPprobe ( mcast_solicit ) 0 base_reachable_time base_reachable_time/23*base_reachable_time/2 30 delay_first_probe_time (stale) 5 gc_interval 30 gc_stale_time 60 gc_thresh1 ARP 128 gc_thresh2 ARP 5 512 gc_thresh3 ARP 1024 locktime ARP jiffy (potential mapping) ARP () 1 mcast_solicit /multicast/broadcast 3 proxy_delay ARP ARP jiffyBUG 0.8 proxy_qlen ARP (proxy-ARP addresses)64 retrans_time jiffyBUG1 ucast_solicit ARPunicast probe ( app_solicit). 3 unres_qlen 3. BUGS jiffy Alpha jiffy 1/1024 1/100 connection oriented protocols ARP ndiscMAC NFS IPv4 IPv4 IPv6 Linux 2.0 struct arpreq arp_dev ioctl Linux 2.2 ioctl Linux 2.2 arp (0xffffffff) arp arp arp ip(7) RFC826 ARP RFC2461 IPv6 [] Alan Yao [] 2000/10/23 linuxman: http://cmpp.linuxforum.net man man https://github.com/man-pages-zh/manpages- zh Linux Man Page 3 Jun 1999 ARP(7)