aboutsummaryrefslogtreecommitdiff
path: root/protocol/pktline/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/pktline/constants.go')
-rw-r--r--protocol/pktline/constants.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/protocol/pktline/constants.go b/protocol/pktline/constants.go
deleted file mode 100644
index 811eb3c6..00000000
--- a/protocol/pktline/constants.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package pktline
-
-const (
- // DefaultPacketMax is a conservative packet size commonly used by
- // line-oriented protocol messages.
- DefaultPacketMax = 1000
- // LargePacketMax is the maximum on-wire packet size including the
- // 4-byte hexadecimal length header.
- LargePacketMax = 65520
- // LargePacketDataMax is the maximum payload size in one packet.
- LargePacketDataMax = LargePacketMax - 4
-)