net/packet: add TSMPType docs
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
committed by
Jordan Whited
parent
3076698cdf
commit
cc0b3ddbbe
@@ -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)
|
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
|
type TSMPType uint8
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
Reference in New Issue
Block a user