net/packet: add TSMPType docs

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited 2026-07-17 09:44:43 -07:00 committed by Jordan Whited
parent 3076698cdf
commit cc0b3ddbbe

View File

@ -63,6 +63,7 @@ func (rh TailscaleRejectedHeader) String() string {
return fmt.Sprintf("TSMP-reject-flow{%s %s > %s}: %s", rh.Proto, rh.Src, rh.Dst, rh.Reason)
}
// TSMPType is the type byte of a TSMP message. It follows the IPv4 or IPv6 header.
type TSMPType uint8
const (