aboutsummaryrefslogtreecommitdiff
path: root/pcap/pcap.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-23 09:43:56 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-23 10:06:04 +0200
commit69a08f5c1043f6dd9374ae9cf1d2c11b49caed0a (patch)
tree9bf9e4aab56fd13b92512a1d81be565a87c95500 /pcap/pcap.h
parenteda974efc41fba64771f450678c64ef168c11a3c (diff)
pcap savefile: Use Reserved1 and Reserved2 in the per-file header
This part is in line with the draft-ietf-opsawg-pcap. Moreover: Update some comments. Update pcap-sita.html.
Diffstat (limited to 'pcap/pcap.h')
-rw-r--r--pcap/pcap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap/pcap.h b/pcap/pcap.h
index 53733b54..3228a39f 100644
--- a/pcap/pcap.h
+++ b/pcap/pcap.h
@@ -208,8 +208,8 @@ struct pcap_file_header {
bpf_u_int32 magic;
u_short version_major;
u_short version_minor;
- bpf_int32 thiszone; /* gmt to local correction; this is always 0 */
- bpf_u_int32 sigfigs; /* accuracy of timestamps; this is always 0 */
+ bpf_int32 thiszone; /* not used - SHOULD be filled with 0 */
+ bpf_u_int32 sigfigs; /* not used - SHOULD be filled with 0 */
bpf_u_int32 snaplen; /* max length saved portion of each pkt */
bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */
};