学习libpcap库,写例子代码--ether.hpp_sizeof(struct ether_header)-CSDN博客

网站介绍:#ifndef ETHER_HPP#define ETHER_HPP#include #include #include #include "ip.hpp"#include "arp.hpp"void del_ether(u_char *args, const struct pcap_pkthdr* ptr_header, const u_char* ptr_packet){ //only_sizeof(struct ether_header)