Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BFDHeader ¶
type BFDHeader struct {
Version uint8
Diagnostic DiagnosticType
State StateType
Poll bool
Final bool
DetectTimeMultiplier uint8
MyDiscriminator uint32
YourDiscriminator uint32
DesiredMinTxInterval uint32
RequiredMinRxInterval uint32
}
func (*BFDHeader) MarshalBinary ¶
func (*BFDHeader) UnmarshalBinary ¶
type DiagnosticType ¶
type DiagnosticType uint8
const ( DiagnosticNoDiagnostic DiagnosticType = iota // no diagnostic DiagnosticControlDetectionTimeExpired // control detection time expired DiagnosticEchoFunctionFailed // echo function failed DiagnosticNeighborSignaledSessionDown // neighbor signaled session down DiagnosticForwardingPlaneReset // forwarding plane reset DiagnosticPathDown // path down DiagnosticConcatenatedPathDown // concatenated path down DiagnosticAdministrativelyDown // administratively down DiagnosticReverseConcatenatedPathDown // reverse concatenated path down DiagnosticReservedStart DiagnosticType = 9 // reserved (9-31) DiagnosticReservedEnd DiagnosticType = 31 // reserved (9-31) )
A diagnostic code specifying the local system's reason for the last change in session state.
func (DiagnosticType) String ¶
func (i DiagnosticType) String() string
Click to show internal directories.
Click to hide internal directories.