摘要:
认识pcap_t实例handle = { fd = 7, // 文件描述符 snapshot = 8192, // 可以接收的最大长度 linktype = 1, // LINKTYPE_ETHERNET 1 链路层的类型 tzoff = 0, /* timezone offset */ offset = 2, /* offset for proper alignment */ sf = { // struct pcap_sf sf; sf = savefile rfile = 0x0, // File * swapped = 0, version_major = 0... 阅读全文