From e808bdaa15b4df61d9575192fc34cde77890da1c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 6 Mar 2026 16:23:26 +0800 Subject: format/sideband64k: Add side-band-64k --- format/sideband64k/constants.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 format/sideband64k/constants.go (limited to 'format/sideband64k/constants.go') diff --git a/format/sideband64k/constants.go b/format/sideband64k/constants.go new file mode 100644 index 00000000..40077761 --- /dev/null +++ b/format/sideband64k/constants.go @@ -0,0 +1,10 @@ +package sideband64k + +import "codeberg.org/lindenii/furgit/format/pktline" + +const ( + // PacketMax is the maximum on-wire pkt-line size used by side-band-64k. + PacketMax = pktline.LargePacketMax + // DataMax is the maximum sideband payload size excluding the 1-byte band designator. + DataMax = pktline.LargePacketDataMax - 1 +) -- cgit v1.3.1-10-gc9f91