 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type AllocationBead
- type ColibriRequestPayload
- type E2EBase
- type E2ECleanup
- type E2ECleanupRes
- type E2EReservationID
- type E2ESetup
- type E2ESetupFailure
- type E2ESetupReqFailure
- type E2ESetupReqSuccess
- type E2ESetupRes
- type E2ESetupSuccess
- type PathEndProps
- type Request
- type Response
- type SegmentBase
- type SegmentCleanup
- type SegmentCleanupRes
- type SegmentIndexConfirmation
- type SegmentIndexConfirmationRes
- type SegmentReservationID
- type SegmentSetup
- type SegmentSetupRes
- type SegmentTeardownReq
- type SegmentTeardownRes
- type SegmentTelesSetup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocationBead ¶ added in v0.6.0
func (*AllocationBead) ProtoId ¶ added in v0.6.0
func (ab *AllocationBead) ProtoId() proto.ProtoIdType
type ColibriRequestPayload ¶
type ColibriRequestPayload struct {
	Timestamp uint32
	Which     proto.ColibriRequestPayload_Which
	Request   *Request
	Response  *Response
}
    func NewFromRaw ¶
func NewFromRaw(b []byte) (*ColibriRequestPayload, error)
func (*ColibriRequestPayload) PackRoot ¶
func (p *ColibriRequestPayload) PackRoot() ([]byte, error)
func (*ColibriRequestPayload) ProtoId ¶
func (p *ColibriRequestPayload) ProtoId() proto.ProtoIdType
func (*ColibriRequestPayload) String ¶
func (p *ColibriRequestPayload) String() string
type E2EBase ¶ added in v0.6.0
type E2EBase struct {
	ID    *E2EReservationID `capnp:"id"`
	Index uint8
}
    func (*E2EBase) ProtoId ¶ added in v0.6.0
func (p *E2EBase) ProtoId() proto.ProtoIdType
type E2ECleanup ¶
type E2ECleanup struct {
	Base *E2EBase
}
    func (*E2ECleanup) ProtoId ¶
func (r *E2ECleanup) ProtoId() proto.ProtoIdType
type E2ECleanupRes ¶ added in v0.6.0
func (*E2ECleanupRes) ProtoId ¶ added in v0.6.0
func (r *E2ECleanupRes) ProtoId() proto.ProtoIdType
type E2EReservationID ¶
func (*E2EReservationID) ProtoId ¶
func (id *E2EReservationID) ProtoId() proto.ProtoIdType
type E2ESetup ¶
type E2ESetup struct {
	Base              *E2EBase
	SegmentRsvs       []SegmentReservationID
	SegmentRsvASCount []uint8
	RequestedBW       uint8
	AllocationTrail   []uint8
	Which             proto.E2ESetupReqData_Which
	Success           *E2ESetupReqSuccess
	Failure           *E2ESetupReqFailure
}
    func (*E2ESetup) ProtoId ¶
func (s *E2ESetup) ProtoId() proto.ProtoIdType
type E2ESetupFailure ¶
type E2ESetupReqFailure ¶ added in v0.6.0
type E2ESetupReqFailure struct {
	ErrorCode uint8
}
    type E2ESetupReqSuccess ¶ added in v0.6.0
type E2ESetupReqSuccess struct {
	Token []byte
}
    type E2ESetupRes ¶ added in v0.6.0
type E2ESetupRes struct {
	Base    *E2EBase
	Which   proto.E2ESetupResData_Which
	Success *E2ESetupSuccess
	Failure *E2ESetupFailure
}
    func (*E2ESetupRes) ProtoId ¶ added in v0.6.0
func (s *E2ESetupRes) ProtoId() proto.ProtoIdType
type E2ESetupSuccess ¶
type E2ESetupSuccess struct {
	Token []byte
}
    type PathEndProps ¶
func (*PathEndProps) ProtoId ¶
func (pep *PathEndProps) ProtoId() proto.ProtoIdType
type Request ¶
type Request struct {
	Which                    proto.Request_Which
	SegmentSetup             *SegmentSetup
	SegmentRenewal           *SegmentSetup
	SegmentTelesSetup        *SegmentTelesSetup
	SegmentTelesRenewal      *SegmentTelesSetup
	SegmentTeardown          *SegmentTeardownReq
	SegmentIndexConfirmation *SegmentIndexConfirmation
	SegmentCleanup           *SegmentCleanup
	E2ESetup                 *E2ESetup   `capnp:"e2eSetup"`
	E2ERenewal               *E2ESetup   `capnp:"e2eRenewal"`
	E2ECleanup               *E2ECleanup `capnp:"e2eCleanup"`
}
    func (*Request) ProtoId ¶
func (r *Request) ProtoId() proto.ProtoIdType
type Response ¶
type Response struct {
	Which                    proto.Response_Which
	SegmentSetup             *SegmentSetupRes
	SegmentRenewal           *SegmentSetupRes
	SegmentTeardown          *SegmentTeardownRes
	SegmentIndexConfirmation *SegmentIndexConfirmationRes
	SegmentCleanup           *SegmentCleanupRes
	E2ESetup                 *E2ESetupRes   `capnp:"e2eSetup"`
	E2ERenewal               *E2ESetupRes   `capnp:"e2eRenewal"`
	E2ECleanup               *E2ECleanupRes `capnp:"e2eCleanup"`
	Accepted                 bool
	FailedHop                uint8 // only relevant if Accepted == false
}
    func (*Response) ProtoId ¶ added in v0.6.0
func (r *Response) ProtoId() proto.ProtoIdType
type SegmentBase ¶ added in v0.6.0
type SegmentBase struct {
	ID    *SegmentReservationID `capnp:"id"`
	Index uint8
}
    func (*SegmentBase) ProtoId ¶ added in v0.6.0
func (p *SegmentBase) ProtoId() proto.ProtoIdType
type SegmentCleanup ¶
type SegmentCleanup struct {
	Base *SegmentBase
}
    func (*SegmentCleanup) ProtoId ¶
func (s *SegmentCleanup) ProtoId() proto.ProtoIdType
type SegmentCleanupRes ¶ added in v0.6.0
type SegmentCleanupRes struct {
	Base      *SegmentBase
	ErrorCode uint8
}
    func (*SegmentCleanupRes) ProtoId ¶ added in v0.6.0
func (s *SegmentCleanupRes) ProtoId() proto.ProtoIdType
type SegmentIndexConfirmation ¶
type SegmentIndexConfirmation struct {
	Base  *SegmentBase
	State proto.ReservationIndexState
}
    func (*SegmentIndexConfirmation) ProtoId ¶
func (s *SegmentIndexConfirmation) ProtoId() proto.ProtoIdType
type SegmentIndexConfirmationRes ¶ added in v0.6.0
type SegmentIndexConfirmationRes struct {
	Base      *SegmentBase
	ErrorCode uint8
}
    func (*SegmentIndexConfirmationRes) ProtoId ¶ added in v0.6.0
func (s *SegmentIndexConfirmationRes) ProtoId() proto.ProtoIdType
type SegmentReservationID ¶
func (*SegmentReservationID) ProtoId ¶
func (id *SegmentReservationID) ProtoId() proto.ProtoIdType
type SegmentSetup ¶
type SegmentSetup struct {
	Base            *SegmentBase
	MinBW           uint8
	MaxBW           uint8
	SplitCls        uint8
	StartProps      PathEndProps
	EndProps        PathEndProps
	InfoField       []byte
	AllocationTrail []*AllocationBead
}
    func (*SegmentSetup) ProtoId ¶
func (s *SegmentSetup) ProtoId() proto.ProtoIdType
type SegmentSetupRes ¶ added in v0.6.0
type SegmentSetupRes struct {
	Base    *SegmentBase
	Which   proto.SegmentSetupResData_Which
	Failure *SegmentSetup
	Token   []byte
}
    func (*SegmentSetupRes) ProtoId ¶ added in v0.6.0
func (s *SegmentSetupRes) ProtoId() proto.ProtoIdType
type SegmentTeardownReq ¶
type SegmentTeardownReq struct {
	Base *SegmentBase
}
    func (*SegmentTeardownReq) ProtoId ¶
func (s *SegmentTeardownReq) ProtoId() proto.ProtoIdType
type SegmentTeardownRes ¶ added in v0.6.0
type SegmentTeardownRes struct {
	Base      *SegmentBase
	ErrorCode uint8 // relevant only if Response.Accepted == false
}
    func (*SegmentTeardownRes) ProtoId ¶ added in v0.6.0
func (r *SegmentTeardownRes) ProtoId() proto.ProtoIdType
type SegmentTelesSetup ¶
type SegmentTelesSetup struct {
	Setup  *SegmentSetup
	BaseID *SegmentReservationID
}
    func (*SegmentTelesSetup) ProtoId ¶
func (sts *SegmentTelesSetup) ProtoId() proto.ProtoIdType
 Click to show internal directories. 
   Click to hide internal directories.