Documentation ¶
Index ¶
Constants ¶
View Source
const ( PktLenSize = 2 MinSpace = 16 SigHdrLen = 8 MaxSeq = (1 << 24) - 1 )
Variables ¶
This section is empty.
Functions ¶
func NewDispatcher ¶
func NewDispatcher(devName string, devIO io.ReadWriteCloser, sess *Session) *egressDispatcher
Types ¶
type RemoteInfo ¶
func (*RemoteInfo) String ¶
func (r *RemoteInfo) String() string
type Session ¶
type Session struct { log.Logger IA *addr.ISD_AS SessId mgmt.SessionType // contains filtered or unexported fields }
Session contains a pool of paths to the remote AS, metrics about those paths, as well as maintaining the currently favoured path and remote SIG to use.
func NewSession ¶
func (*Session) Remote ¶
func (s *Session) Remote() *RemoteInfo
Click to show internal directories.
Click to hide internal directories.