//ArpCheat.h#ifndefMY_ARP_CHEAT_INCLUDE_H#defineMY_ARP_CHEAT_INCLUDE_H//字节对齐必须是1#pragmapack(1)structethernet_head{unsignedchardest_mac[6];//目标主机MAC地址unsignedcharsource_mac[6];//源端MAC地址unsignedshorteh_type;//以太网类型};structarp_head{unsignedshorthardware_type;//硬件类型:以太网接口类型为1unsignedshor