linux /proc/net/arp 文件
来源:互联网 发布:免备案域名购买 编辑:程序博客网 时间:2024/04/29 16:29
/proc/net/arpThis holds an ASCII readable dump of the kernel ARP table used for address resolutions. It will show both dynamically learned and preprogrammed ARP entries. The format is:IP address HW type Flags HW address Mask Device192.168.0.50 0x1 0x2 00:50:BF:25:68:F3 * eth0192.168.0.250 0x1 0xc 00:00:00:00:00:00 * eth0Here "IP address" is the IPv4 address of the machine and the "HW type" is the hardware type of the address from RFC 826. The flags are the internal flags of the ARP structure (as defined in /usr/include/linux/if_arp.h) and the "HW address" is the data link layer mapping for that IP address if it is known./* ARP protocol HARDWARE identifiers. */#define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */#define ARPHRD_ETHER 1 /* Ethernet 10Mbps */#define ARPHRD_EETHER 2 /* Experimental Ethernet */#define ARPHRD_AX25 3 /* AX.25 Level 2 */#define ARPHRD_PRONET 4 /* PROnet token ring */#define ARPHRD_CHAOS 5 /* Chaosnet */#define ARPHRD_IEEE802 6 /* IEEE 802.2 Ethernet/TR/TB */#define ARPHRD_ARCNET 7 /* ARCnet */#define ARPHRD_APPLETLK 8 /* APPLEtalk */#define ARPHRD_DLCI 15 /* Frame Relay DLCI */#define ARPHRD_ATM 19 /* ATM */#define ARPHRD_METRICOM 23 /* Metricom STRIP (new IANA id) */#define ARPHRD_IEEE1394 24 /* IEEE 1394 IPv4 - RFC 2734 */#define ARPHRD_EUI64 27 /* EUI-64 */#define ARPHRD_INFINIBAND 32 /* InfiniBand *//* ARP Flag values. */#define ATF_COM 0x02 /* completed entry (ha valid) */#define ATF_PERM 0x04 /* permanent entry */#define ATF_PUBL 0x08 /* publish entry */#define ATF_USETRAILERS 0x10 /* has requested trailers */#define ATF_NETMASK 0x20 /* want to use a netmask (only for proxy entries) */#define ATF_DONTPUB 0x40 /* don't answer this addresses */
1 0
- linux /proc/net/arp 文件
- linux proc/net/
- linux /proc文件目录
- Linux proc文件详解
- linux 创建proc 文件
- linux 中的proc文件
- linux /proc 文件解析
- Linux内核proc文件系统的冰山一角--源自对/proc/net/dev文件中各网卡参数的疑问
- Linux内核proc文件系统的冰山一角--源自对/proc/net/dev文件中各网卡参数的疑问
- Linux内核proc文件系统的冰山一角 源自对/proc/net/dev文件中各网卡参数的疑问
- Linux内核proc文件系统的冰山一角--源自对/proc/net/dev文件中各网卡参数的疑问
- linux proc下创建文件
- linux /proc/cpuinfo文件分析
- linux /proc/meminfo文件分析
- linux proc maps文件分析
- linux /proc/cpuinfo文件分析
- linux /proc/stat 文件说明
- linux /proc/cpuinfo 文件描述
- 使用JavaScript的XMLHttpRequest发送请求
- 《大话数据结构》第3章 线性表 3.8.2 单链表的删除
- python学习笔记(1)
- typedef的使用
- ListView回收机制
- linux /proc/net/arp 文件
- 如何查看进程的完整路径?
- 2010. Sum of Consecutive Prime Numbers
- Linux中更改文件属性常用命令
- LinearLayout.LayoutParams动态设置子控件属性
- Android ListView初始化简单分析
- 《大话数据结构》第9章 排序 9.1 开场白
- java面向对象(接口)
- iOS7的多任务处理