Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const EgressBufPkts + const EgressFreePktsCap + const EgressRemotePkts + const SafetyInterval + var EgressFreePkts *ringbuf.Ring + func Init() + type PathPool interface + Destroy func() error + Paths func() spathmeta.AppPathSet + type RemoteInfo struct + SessPath *SessPath + Sig *siginfo.Sig + func (r *RemoteInfo) Copy() *RemoteInfo + func (r *RemoteInfo) String() string + type SessPath struct + func NewSessPath(key spathmeta.PathKey, pathEntry *sciond.PathReplyEntry) *SessPath + func (sp *SessPath) Copy() *SessPath + func (sp *SessPath) IsCloseToExpiry() bool + func (sp *SessPath) Key() spathmeta.PathKey + func (sp *SessPath) PathEntry() *sciond.PathReplyEntry + func (sp *SessPath) String() string + type SessPathPool map[spathmeta.PathKey]*SessPathStats + func NewSessPathPool() *SessPathPool + func (spp SessPathPool) ExpireFails() + func (spp SessPathPool) Get(exclude spathmeta.PathKey) *SessPath + func (spp SessPathPool) GetByKey(key spathmeta.PathKey) *SessPath + func (spp SessPathPool) PathCount() int + func (spp SessPathPool) Reply(path *SessPath, sent time.Time) + func (spp SessPathPool) Timeout(path *SessPath, sent time.Time) + func (spp SessPathPool) Update(aps spathmeta.AppPathSet) + type SessPathStats struct + SessPath *SessPath + func NewSessPathStats(key spathmeta.PathKey, pathEntry *sciond.PathReplyEntry) *SessPathStats + type Session interface + AnnounceWorkerStopped func() + Cleanup func() error + Conn func() snet.Conn + Healthy func() bool + IA func() addr.IA + ID func() mgmt.SessionType + PathPool func() PathPool + Remote func() *RemoteInfo + Ring func() *ringbuf.Ring + type SessionSelector interface + ChooseSess func(b common.RawBytes) Session