You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this library, we can easily describe structures like this one:
typedefstructpcap_hdr_s {
guint32magic_number; /* magic number */guint16version_major; /* major version number */guint16version_minor; /* minor version number */gint32thiszone; /* GMT to local correction */guint32sigfigs; /* accuracy of timestamps */guint32snaplen; /* max length of captured packets, in octets */guint32network; /* data link type */
} pcap_hdr_t;
https://docs.python.org/3/library/struct.html
Using this library, we can easily describe structures like this one:
Code from wiki.wireshark.org
The text was updated successfully, but these errors were encountered: