-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Description
Answers checklist.
- I have read the documentation of the component in question and the issue is not addressed there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
according to https://wiki.wireshark.org/Development/LibpcapFileFormat#global-header the pcap header should be:
typedef struct pcap_hdr_s {
guint32 magic_number; /* magic number */
guint16 version_major; /* major version number */
guint16 version_minor; /* minor version number */
gint32 thiszone; /* GMT to local correction */
guint32 sigfigs; /* accuracy of timestamps */
guint32 snaplen; /* max length of captured packets, in octets */
guint32 network; /* data link type */
} pcap_hdr_t;
but the header specified here:
idf-extra-components/pcap/include/pcap.h
Line 52 in 116bceb
| typedef struct { |
doesn't include the magic number sigfigs, snaplen. ..
Reactions are currently unavailable