aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <swo-dev@marcschink.de>2016-09-19 17:04:53 +0200
committerMarc Schink <swo-dev@marcschink.de>2016-09-19 17:04:53 +0200
commit7d7a451d89c7f42bb70f6561b58740a84e4281c1 (patch)
treeda889addc84082cd993dad2d9f2e0249073bd1d2
parent9d350336190aeb1758e7c0e0339644ac0a84956e (diff)
Add LIBSWO_MAX_SOURCE_ADDRESS
-rw-r--r--libswo/libswo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libswo/libswo.h b/libswo/libswo.h
index c610b3a..e4f508c 100644
--- a/libswo/libswo.h
+++ b/libswo/libswo.h
@@ -122,7 +122,10 @@ enum libswo_decoder_flags {
};
/** Maximum payload size of a packet in bytes. */
-#define LIBSWO_MAX_PAYLOAD_SIZE 4
+#define LIBSWO_MAX_PAYLOAD_SIZE 4
+
+/** Maximum address of a source packet. */
+#define LIBSWO_MAX_SOURCE_ADDRESS 32
/**
* Common fields packet.