Linux/proc/net/arp file

Source: Internet
Author: User
Tags rfc

/proc/net/arpthis holds an ASCII readable dump of the kernel ARP table used for address resolutions.It'll show both dynamically learned andpreprogrammed ARP Entries.The Format Is:ip address HWtypeFlags HW Address Mask Device192.168. 0. the   0x1       0x2       xx: -: BF: -: the: F3*Eth0192.168. 0..  0x1       0xc       xx:xx:xx:xx:xx:xx   *Eth0here"IP Address"is the IPV4 address of the andThe"HW type"is the hardwaretypeOf the address from RFC826.The flags are the internal flags of the ARP structure (as definedinch/usr/include/linux/if_arp.H andThe"HW Address"is theData LinkLayer mapping for that IP addressifIt is known./ * ARP Protocol HARDWARE identifiers. * /#defineArphrd_netrom0               / * from Ka9q:net/rom pseudo * /#defineArphrd_ether1               / * Ethernet 10Mbps * /#defineArphrd_eether2               / * Experimental Ethernet * /#definearphrd_ax253               / * ax.25 Level 2 * /#defineArphrd_pronet4               / * Pronet Token Ring * /#defineArphrd_chaos5               / * Chaosnet * /#definearphrd_ieee8026               / * IEEE 802.2 ETHERNET/TR/TB * /#defineArphrd_arcnet7               / * ARCnet * /#defineArphrd_appletlk8               / * APPLEtalk * /#defineArphrd_dlci the              / * Frame Relay DLCI * /#defineArphrd_atm +              / * ATM * /#defineArphrd_metricom at              /* metricom STRIP (new IANA ID) */#definearphrd_ieee1394 -              / * IEEE 1394 IPV4-RFC 2734 * /#definearphrd_eui64 -              / * EUI-64 * /#defineArphrd_infiniband +            / * InfiniBand * // * ARP Flag values. * /#defineAtf_com0x02            /* Completed entry (HA valid) */#defineAtf_perm0x04            / * Permanent entry * /#defineAtf_publ0x08            / * Publish entry * /#defineAtf_usetrailers0x10            / * has requested trailers * /#defineAtf_netmask0x20            /* Want to use a netmask (only for proxy entries) */#defineAtf_dontpub0x40            / * don ' t answer this addresses * /

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Linux/proc/net/arp file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.