Lines Matching refs:file_hdr
912 struct swrap_file_hdr file_hdr;
913 file_hdr.magic = 0xA1B2C3D4;
914 file_hdr.version_major = 0x0002;
915 file_hdr.version_minor = 0x0004;
916 file_hdr.timezone = 0x00000000;
917 file_hdr.sigfigs = 0x00000000;
918 file_hdr.frame_max_len = SWRAP_FRAME_LENGTH_MAX;
919 file_hdr.link_type = 0x0065; /* 101 RAW IP */
921 write(fd, &file_hdr, sizeof(file_hdr));