Versions in this module Expand all Collapse all v0 v0.7.0 Mar 12, 2022 Changes in this version + const SupportedMTU v0.6.0 Dec 4, 2020 Changes in this version type L4ProtocolType + const L4BFD v0.5.0 Mar 30, 2020 Changes in this version + const CPService type IFIDType + func (ifid *IFIDType) UnmarshalJSON(data []byte) error v0.4.0 Nov 14, 2019 Changes in this version + const SIG + const TimeFmtSecs + var ExtnE2EDebugType = ExtnType + func CloneByteSlice(x []byte) []byte + func FmtErrors(es []error) string type BasicError + func (be BasicError) Is(err error) bool + func (be BasicError) Unwrap() error + type ErrMsg string + func (e ErrMsg) Error() string type IFIDType + func (ifid *IFIDType) UnmarshalText(text []byte) error + type MultiError []error + func (be MultiError) ToError() error v0.3.1 Sep 24, 2018 v0.3.0 Sep 19, 2018 v0.2.0 Aug 27, 2018 v0.1.1 Jul 31, 2018 v0.1.0 Jul 19, 2018 Changes in this version + const BR + const BS + const CS + const DS + const ExtnFirstLineLen + const ExtnMaxHBH + const ExtnSubHdrLen + const IFIDBytes + const LineLen + const MaxMTU + const MinMTU + const PS + const RS + const SB + const TimeFmt + var ExtnOneHopPathType = ExtnType + var ExtnPathProbeType = ExtnType + var ExtnPathTransType = ExtnType + var ExtnSCIONPacketSecurityType = ExtnType + var ExtnSCMPType = ExtnType + var ExtnSIBRAType = ExtnType + var IsBigEndian bool + var L4Protocols = map[L4ProtocolType]bool + var NativeOrder ByteOrderN + var Order ByteOrderN = newBigEndianN() + func FmtError(e error) string + func GetErrorMsg(e error) string + func GetNestedError(e error) error + func IsTemporaryErr(e error) bool + func IsTimeoutErr(e error) bool + func NewBasicError(msg string, e error, logCtx ...interface{}) error + func TypeOf(v interface{}) string + type BasicError struct + Err error + Msg string + func (be BasicError) Error() string + func (be BasicError) GetErr() error + func (be BasicError) GetMsg() string + func (be BasicError) TopError() string + type ByteOrderN interface + PutUintN func(b []byte, v uint64, width int) + UintN func(b []byte, width int) uint64 + type ErrorMsger interface + GetMsg func() string + type ErrorNester interface + GetErr func() error + TopError func() string + type Extension interface + Copy func() Extension + Pack func() (RawBytes, error) + Reverse func() (bool, error) + Write func(b RawBytes) error + type ExtnBase interface + Class func() L4ProtocolType + Len func() int + Type func() ExtnType + type ExtnType struct + Class L4ProtocolType + Type uint8 + func (e ExtnType) String() string + type IFIDType uint64 + func (ifid IFIDType) String() string + type L4ProtocolType uint8 + const End2EndClass + const HopByHopClass + const L4None + const L4SCMP + const L4TCP + const L4UDP + func (p L4ProtocolType) String() string + type Payload interface + Copy func() (Payload, error) + Len func() int + WritePld func(RawBytes) (int, error) + type RawBytes []byte + func (r RawBytes) Copy() (Payload, error) + func (r RawBytes) Len() int + func (r RawBytes) String() string + func (r RawBytes) WritePld(b RawBytes) (int, error) + func (r RawBytes) Zero() + type Temporary interface + Temporary func() bool + type Timeout interface + Timeout func() bool