在Linux下进行arp抓包实验
#include <stdio.h>
#include <stdlib.h>//某些结构体定义和宏定义,如EXIT_FAILURE、EXIT_SUCCESS等
#include <string.h>
#include <unistd.h> //提供通用的文件、目录、程序及进程操作的函数
#include <sys/socket.h>//与套接字相关的函数声明和结构体定义,如socket()、bind()、connect()及struct sockaddr的定义等