⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 if_arp.h

📁 linux下从网卡远程启动
💻 H
字号:
#ifndef	_IF_ARP_H#define	_IF_ARP_H#define ARP_REQUEST	1#define ARP_REPLY	2/* * A pity sipaddr and tipaddr are not longword aligned or we could use * in_addr. No, I don't want to use #pragma packed. */struct arprequest {	uint16_t hwtype;	uint16_t protocol;	uint8_t  hwlen;	uint8_t  protolen;	uint16_t opcode;	uint8_t  shwaddr[6];	uint8_t  sipaddr[4];	uint8_t  thwaddr[6];	uint8_t  tipaddr[4];};#endif	/* _IF_ARP_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -