aboutsummaryrefslogtreecommitdiff
path: root/pcap-int.h
diff options
context:
space:
mode:
authorHans Leidekker <hans@meelstraat.net>2022-12-07 17:02:15 +0100
committerHans Leidekker <hans@meelstraat.net>2022-12-20 14:05:13 +0100
commita9487778d264f8e272ddb6c8b9dc4897a05d4fdb (patch)
tree085c0a4cbf56b038fa1255a72a669ebc9abf6903 /pcap-int.h
parent099b926d436131765ae219355ff44ac96cf5e4fc (diff)
Add an option to force memory-mapped buffers to be mapped as accessible to 32-bit code.
Diffstat (limited to 'pcap-int.h')
-rw-r--r--pcap-int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pcap-int.h b/pcap-int.h
index fc703bf8..661ba542 100644
--- a/pcap-int.h
+++ b/pcap-int.h
@@ -108,6 +108,11 @@ extern int pcap_new_api;
extern int pcap_utf_8_mode;
/*
+ * Map packet buffers with 32-bit addresses.
+ */
+extern int pcap_mmap_32bit;
+
+/*
* Swap byte ordering of unsigned long long timestamp on a big endian
* machine.
*/