Searched refs:file_hdr (Results 1 – 3 of 3) sorted by relevance
912 struct swrap_file_hdr file_hdr; in swrap_get_pcap_fd() local913 file_hdr.magic = 0xA1B2C3D4; in swrap_get_pcap_fd()914 file_hdr.version_major = 0x0002; in swrap_get_pcap_fd()915 file_hdr.version_minor = 0x0004; in swrap_get_pcap_fd()916 file_hdr.timezone = 0x00000000; in swrap_get_pcap_fd()917 file_hdr.sigfigs = 0x00000000; in swrap_get_pcap_fd()918 file_hdr.frame_max_len = SWRAP_FRAME_LENGTH_MAX; in swrap_get_pcap_fd()919 file_hdr.link_type = 0x0065; /* 101 RAW IP */ in swrap_get_pcap_fd()921 write(fd, &file_hdr, sizeof(file_hdr)); in swrap_get_pcap_fd()
224 image_file_header file_hdr; local226 if (pe_get_file_header(imgbase, &file_hdr))229 return (file_hdr.ifh_numsections);
8396 wwhen setting file_hdr->entry* for executables.