summaryrefslogtreecommitdiff
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-06-09 13:19:09 -0700
committerGuy Harris <guy@alum.mit.edu>2017-06-09 20:20:24 +0000
commitcc4c80d97a8dd8cc0c21bb159e3fa248a1bde51c (patch)
tree69e5f92ac888415bacb810de42c789f474e832fc /wiretap
parent2931ba843107b8775a2e33a6f27d1908d4950df8 (diff)
downloadwireshark-cc4c80d97a8dd8cc0c21bb159e3fa248a1bde51c.tar.gz
Add URL for link specifying D-Bus maximum message length.
Change-Id: I5797407a18fda674b2c9b2cc1c192c211c91c496 Reviewed-on: https://code.wireshark.org/review/22052 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit ed7e9c77db9a4a7306abfc3935a84f49a9a96ee4) Reviewed-on: https://code.wireshark.org/review/22053
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/wtap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index ca58afb9c9..a55923bd2c 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -377,7 +377,12 @@ extern "C" {
/*
* We support one maximum packet size for most link-layer header types
* and another for D-Bus, because the maximum packet size for D-Bus
- * is 128MB, and that's a lot bigger than the 256KB that we use elsewhere.
+ * is 128MB, as per
+ *
+ * https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-messages
+ *
+ * and that's a lot bigger than the 256KB that we use elsewhere.
+ *
* We don't want to write out files that specify a maximum packet size of
* 128MB if we don't have to, as software reading those files might
* allocate a buffer much larger than necessary, wasting memory.