Sturct pcap_file_header{Unsigned int magic;Unsigned short version_major;Unsigned short version_minor;Unsigned int thiszone;Unsigned int sigfigs;Unsigned int snaplen;Unsigned int linktype;}說明如下:(1) magic標(biāo)識(shí)位: 32位,這個(gè)標(biāo)識(shí)位的值是16進(jìn)制的0xa1b2c3d4。宜采用大端模式。(2 (共 981 字) [閱讀本文] >>