摘要:
以太网协议分析函数:void ethernet_protocol_packet_handle (u_char *argument, const struct pcap_pkthdr *packet_header, const u_char *packet_content)说明:首先对物理帧帧作分析,看其中包含的是IP包还是ARP数据包。如果是IP包则转入到IP包处理函数。IP包处理函数void ip_protocol_packet_handle(u_char *argument, const struct pcap_pkthdr *packet_header, const u_char *pa 阅读全文