diff options
author | 2019-05-21 19:28:23 +0300 | |
---|---|---|
committer | 2019-05-21 19:28:23 +0300 | |
commit | 5ca7e24e58f6bd657787b9235247149ffff420ae (patch) | |
tree | 86dc508026ce7fcc8431b52efe1315c3b983b469 /src/common/protocol_private.h | |
parent | 36b3e7f310c624b7b4e31829090dd02131c528d5 (diff) | |
download | usurpation-5ca7e24e58f6bd657787b9235247149ffff420ae.tar.gz usurpation-5ca7e24e58f6bd657787b9235247149ffff420ae.tar.bz2 usurpation-5ca7e24e58f6bd657787b9235247149ffff420ae.zip |
Protocol: common no longer has device-specific implementations.
Forgot to remove device-specific code from common protocol code.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
Diffstat (limited to 'src/common/protocol_private.h')
-rw-r--r-- | src/common/protocol_private.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/protocol_private.h b/src/common/protocol_private.h index eecbc15..7433ff0 100644 --- a/src/common/protocol_private.h +++ b/src/common/protocol_private.h @@ -23,20 +23,6 @@ #include "utils.h" -#define E_PACKET_OVERFLOW (1 << 0) - -/** Read as "A maximum of 16 tlv's per packet". */ -#define TLV_BUF_SIZE (16) - -/* Pease don't rape the buffer with long messages, daemon-kun. */ -#define MSG_BUF_SIZE (257) - -/* Maximum size of packet that can fit into the packet buffer. UDP can carry - * bigger packets but memory is hard to come by and more won't be needed - * anyway. - * */ -#define PACKET_MAX_SIZE (512) - /** * Returns the amount of tlv's int a packet. * |