proto

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package proto contains mostly auto-generated code for parsing/packing SCION capnp messages, as well as some helper functions to working with capnp in Go simpler.

The helper functions are all contained in cereal.go. They provide a simple interface to read/write any capnp messages that have a Go representation, relying on https://godoc.org/zombiezen.com/go/capnproto2/pogs to do the heavy lifting.

One thing to note is that these helper functions generally only operate on complete capnp messages. If you, for example, want to create an IFID proto, that needs to be nested inside a SCION control message. For example:

// Create new ifid instance
ifid1 := &ifid.IFID{OrigIfID: uint64(ifID)}
// Wrap it in a SCION control message.
cpld1, _ := ctrl.NewPld(ifid1)
// Pack the ctrl message to bytes.
b, _ := PackRoot(cpld1)
// Parse new ctrl message from bytes.
cpld2, _ := ParseFromRaw(b)
// Access the contents (unnamed union).
cont, _ := cpld2.Contents()
// Interface-assertion to IFID type.
ifid2 := cont.(*ifid.IFID)

Index

Constants

View Source
const ASEntry_TypeID = 0xd4a209e8e78874ff

ASEntry_TypeID is the unique identifier for the type ASEntry.

View Source
const ASInfoReplyEntry_TypeID = 0xfab1a3b4477ab6b3

ASInfoReplyEntry_TypeID is the unique identifier for the type ASInfoReplyEntry.

View Source
const ASInfoReply_TypeID = 0x947e1828e214e89d

ASInfoReply_TypeID is the unique identifier for the type ASInfoReply.

View Source
const ASInfoReq_TypeID = 0xcc65a2a89c24e6a5

ASInfoReq_TypeID is the unique identifier for the type ASInfoReq.

View Source
const Ack_ErrCode_TypeID = 0xdf6d763cff9bd528

Ack_ErrCode_TypeID is the unique identifier for the type Ack_ErrCode.

View Source
const Ack_TypeID = 0xf0ad983ad234aedc

Ack_TypeID is the unique identifier for the type Ack.

View Source
const Addr_TypeID = 0x8982abce7c93c140

Addr_TypeID is the unique identifier for the type Addr.

View Source
const CertChainIssRep_TypeID = 0xc95b16276878cfc1

CertChainIssRep_TypeID is the unique identifier for the type CertChainIssRep.

View Source
const CertChainIssReq_TypeID = 0xb2de94224c009676

CertChainIssReq_TypeID is the unique identifier for the type CertChainIssReq.

View Source
const CertChainReq_TypeID = 0xc464d1e0777e54d3

CertChainReq_TypeID is the unique identifier for the type CertChainReq.

View Source
const CertChain_TypeID = 0xadadc71f7e190917

CertChain_TypeID is the unique identifier for the type CertChain.

View Source
const CertMgmt_TypeID = 0xa19070b486ecd839

CertMgmt_TypeID is the unique identifier for the type CertMgmt.

View Source
const CtrlExtnDataList_TypeID = 0xcd601dbe8602c166

CtrlExtnDataList_TypeID is the unique identifier for the type CtrlExtnDataList.

View Source
const CtrlExtnData_TypeID = 0xbd3bde9856b0a03f

CtrlExtnData_TypeID is the unique identifier for the type CtrlExtnData.

View Source
const CtrlPld_TypeID = 0x8e6af2c877489f54

CtrlPld_TypeID is the unique identifier for the type CtrlPld.

View Source
const DRKeyMgmt_TypeID = 0xb1bdb7d6fb13f1ca

DRKeyMgmt_TypeID is the unique identifier for the type DRKeyMgmt.

View Source
const DRKeyRep_TypeID = 0xc3fe25dd82681d64

DRKeyRep_TypeID is the unique identifier for the type DRKeyRep.

View Source
const DRKeyReq_TypeID = 0x9f50d21c9d4ce7ef

DRKeyReq_TypeID is the unique identifier for the type DRKeyReq.

View Source
const FwdPathMeta_TypeID = 0x8adfcabe5ff9daf4

FwdPathMeta_TypeID is the unique identifier for the type FwdPathMeta.

View Source
const HPCfgReply_TypeID = 0xb27bf6e10de2aa8c

HPCfgReply_TypeID is the unique identifier for the type HPCfgReply.

View Source
const HPCfgReq_TypeID = 0xd24bad15bb2bab5e

HPCfgReq_TypeID is the unique identifier for the type HPCfgReq.

View Source
const HPCfg_TypeID = 0xf307100ab87a1963

HPCfg_TypeID is the unique identifier for the type HPCfg.

View Source
const HPGroupId_TypeID = 0xba21c7133ee44518

HPGroupId_TypeID is the unique identifier for the type HPGroupId.

View Source
const HPSegRecs_TypeID = 0xa56b96c8b25ce2e1

HPSegRecs_TypeID is the unique identifier for the type HPSegRecs.

View Source
const HPSegReply_TypeID = 0xaaf7fd9241668ed6

HPSegReply_TypeID is the unique identifier for the type HPSegReply.

View Source
const HPSegReq_TypeID = 0x8f51e8717b3fbe1c

HPSegReq_TypeID is the unique identifier for the type HPSegReq.

View Source
const HiddenPathSegExtn_TypeID = 0xff79b399e1e58cf3

HiddenPathSegExtn_TypeID is the unique identifier for the type HiddenPathSegExtn.

View Source
const HopEntry_TypeID = 0x8bb1ddafb4872b0b

HopEntry_TypeID is the unique identifier for the type HopEntry.

View Source
const HostInfo_TypeID = 0xb21a270577932520

HostInfo_TypeID is the unique identifier for the type HostInfo.

View Source
const IFID_TypeID = 0x9d95fb13f80529b9

IFID_TypeID is the unique identifier for the type IFID.

View Source
const IFInfoReplyEntry_TypeID = 0xf0c5156786d72738

IFInfoReplyEntry_TypeID is the unique identifier for the type IFInfoReplyEntry.

View Source
const IFInfoReply_TypeID = 0xe7f7d11a5652e06c

IFInfoReply_TypeID is the unique identifier for the type IFInfoReply.

View Source
const IFInfoRequest_TypeID = 0x877af4eba6adb0f3

IFInfoRequest_TypeID is the unique identifier for the type IFInfoRequest.

View Source
const IFStateInfo_TypeID = 0xc778fb6f09a6fd58

IFStateInfo_TypeID is the unique identifier for the type IFStateInfo.

View Source
const IFStateInfos_TypeID = 0xd320ce32f5fc0bbe

IFStateInfos_TypeID is the unique identifier for the type IFStateInfos.

View Source
const IFStateReq_TypeID = 0xe8ed776bc19c66a9

IFStateReq_TypeID is the unique identifier for the type IFStateReq.

View Source
const ISDAnnouncementExt_TypeID = 0xc586650e812cc6a1

ISDAnnouncementExt_TypeID is the unique identifier for the type ISDAnnouncementExt.

View Source
const LinkType_TypeID = 0x916c98f48c9bbb64

LinkType_TypeID is the unique identifier for the type LinkType.

View Source
const PCB_TypeID = 0xd6c04763377951e5

PCB_TypeID is the unique identifier for the type PCB.

View Source
const PathInterface_TypeID = 0x95794035a80b7da1

PathInterface_TypeID is the unique identifier for the type PathInterface.

View Source
const PathMgmt_TypeID = 0xa12cfa420c9ad0ca

PathMgmt_TypeID is the unique identifier for the type PathMgmt.

View Source
const PathReplyEntry_TypeID = 0xc5ff2e54709776ec

PathReplyEntry_TypeID is the unique identifier for the type PathReplyEntry.

View Source
const PathReply_TypeID = 0xf10fe9b6293ee63f

PathReply_TypeID is the unique identifier for the type PathReply.

View Source
const PathReq_TypeID = 0xc4c61531dcc4a3eb

PathReq_TypeID is the unique identifier for the type PathReq.

View Source
const PathSegMeta_TypeID = 0x9f98567b3c0aba0f

PathSegMeta_TypeID is the unique identifier for the type PathSegMeta.

View Source
const PathSegType_TypeID = 0xa1f7a9650aa23880

PathSegType_TypeID is the unique identifier for the type PathSegType.

View Source
const PathSegmentSignedData_TypeID = 0xc7cf7a18177aec2a

PathSegmentSignedData_TypeID is the unique identifier for the type PathSegmentSignedData.

View Source
const PathSegment_TypeID = 0x939cc09a86ba70fa

PathSegment_TypeID is the unique identifier for the type PathSegment.

View Source
const RevInfo_TypeID = 0xe40561cf10a34bc8

RevInfo_TypeID is the unique identifier for the type RevInfo.

View Source
const RevNotification_TypeID = 0x9b0685a785df42e9

RevNotification_TypeID is the unique identifier for the type RevNotification.

View Source
const RevReply_TypeID = 0x8f8172e4469c111a

RevReply_TypeID is the unique identifier for the type RevReply.

View Source
const RoutingPolicyExt_TypeID = 0x96c1dab83835e4f9

RoutingPolicyExt_TypeID is the unique identifier for the type RoutingPolicyExt.

View Source
const SCIONDMsg_TypeID = 0x91ea9bb47f46c346

SCIONDMsg_TypeID is the unique identifier for the type SCIONDMsg.

View Source
const SIGAddr_TypeID = 0xddf1fce11d9b0028

SIGAddr_TypeID is the unique identifier for the type SIGAddr.

View Source
const SIGCtrl_TypeID = 0xe15e242973323d08

SIGCtrl_TypeID is the unique identifier for the type SIGCtrl.

View Source
const SIGPoll_TypeID = 0x9ad73a0235a46141

SIGPoll_TypeID is the unique identifier for the type SIGPoll.

View Source
const SVCResolutionReply_TypeID = 0x85b2cdeba075551b

SVCResolutionReply_TypeID is the unique identifier for the type SVCResolutionReply.

View Source
const SegChangesIdReply_TypeID = 0xbd56ceeaf8c65140

SegChangesIdReply_TypeID is the unique identifier for the type SegChangesIdReply.

View Source
const SegChangesIdReq_TypeID = 0xc88dfa6be7a1d091

SegChangesIdReq_TypeID is the unique identifier for the type SegChangesIdReq.

View Source
const SegChangesReq_TypeID = 0xa7ad0c62a234c68b

SegChangesReq_TypeID is the unique identifier for the type SegChangesReq.

View Source
const SegIds_TypeID = 0xabf979c3f68dae4b

SegIds_TypeID is the unique identifier for the type SegIds.

View Source
const SegRecs_TypeID = 0x934ba70bfd144ebd

SegRecs_TypeID is the unique identifier for the type SegRecs.

View Source
const SegReply_TypeID = 0x9359e1b2db37dbbb

SegReply_TypeID is the unique identifier for the type SegReply.

View Source
const SegReq_TypeID = 0x9d0135027d04861e

SegReq_TypeID is the unique identifier for the type SegReq.

View Source
const SegTypeHopReplyEntry_TypeID = 0xacf8185a51a9f1b4

SegTypeHopReplyEntry_TypeID is the unique identifier for the type SegTypeHopReplyEntry.

View Source
const SegTypeHopReply_TypeID = 0xc340ede57616f2e8

SegTypeHopReply_TypeID is the unique identifier for the type SegTypeHopReply.

View Source
const SegTypeHopReq_TypeID = 0xca1e844241cf650f

SegTypeHopReq_TypeID is the unique identifier for the type SegTypeHopReq.

View Source
const ServiceInfoReplyEntry_TypeID = 0xe7279389a6bbe1dc

ServiceInfoReplyEntry_TypeID is the unique identifier for the type ServiceInfoReplyEntry.

View Source
const ServiceInfoReply_TypeID = 0xf7a6d78ba978beb9

ServiceInfoReply_TypeID is the unique identifier for the type ServiceInfoReply.

View Source
const ServiceInfoRequest_TypeID = 0xa94f085c31a03112

ServiceInfoRequest_TypeID is the unique identifier for the type ServiceInfoRequest.

View Source
const ServiceType_TypeID = 0xe2522d291bd06774

ServiceType_TypeID is the unique identifier for the type ServiceType.

View Source
const SibraPCBExt_TypeID = 0xb8fde9b959e9608d

SibraPCBExt_TypeID is the unique identifier for the type SibraPCBExt.

View Source
const SibraPayload_TypeID = 0xf231c8f55f84c390

SibraPayload_TypeID is the unique identifier for the type SibraPayload.

View Source
const SignType_TypeID = 0xf6b5bc42e3072fc9

SignType_TypeID is the unique identifier for the type SignType.

View Source
const Sign_TypeID = 0x844d9464f44e810a

Sign_TypeID is the unique identifier for the type Sign.

View Source
const SignedBlob_TypeID = 0x9f32478537fae352

SignedBlob_TypeID is the unique identifier for the type SignedBlob.

View Source
const SignedCtrlPld_TypeID = 0xc34ac578b174f099

SignedCtrlPld_TypeID is the unique identifier for the type SignedCtrlPld.

View Source
const TRCReq_TypeID = 0xd4c43f7ac10a9dbc

TRCReq_TypeID is the unique identifier for the type TRCReq.

View Source
const TRC_TypeID = 0x9aee2af152a5f7d7

TRC_TypeID is the unique identifier for the type TRC.

View Source
const Transport_TypeID = 0xdec7fa6a5148fde5

Transport_TypeID is the unique identifier for the type Transport.

View Source
const ZkId_TypeID = 0xfaadb66890d8d665

ZkId_TypeID is the unique identifier for the type ZkId.

Variables

This section is empty.

Functions

func NewRootStruct added in v0.4.0

func NewRootStruct(id ProtoIdType, seg *capnp.Segment) (capnp.Struct, error)

NewRootStruct calls the appropriate NewRoot<x> function corresponding to the capnp proto type ID, and returns the inner capnp.Struct that it receives. This allows the helper functions in cereal.go to support generic capnp root struct types.

func PackRoot

func PackRoot(c Cerealizable) (common.RawBytes, error)

PackRoot creates a complete capnp message for c, and returns it encoded as bytes.

func ParseFromRaw

func ParseFromRaw(c Cerealizable, b common.RawBytes) error

ParseFromRaw is a utility function, which reads a capnp message from b and parses it into c.

func ParseFromReader

func ParseFromReader(c Cerealizable, r io.Reader) error

ParseFromReader is a utility function, which reads a capnp message from r and parses it into c.

func SafeDecode added in v0.4.0

func SafeDecode(decoder *capnp.Decoder) (msg *capnp.Message, err error)

SafeDecode calls the decode method on the argument, converting panics to errors.

func SafeExtract added in v0.4.0

func SafeExtract(val interface{}, typeID uint64, s capnp.Struct) (err error)

SafeExtract calls pogs.Extract, converting panics to errors.

func SerializeTo added in v0.4.0

func SerializeTo(c Cerealizable, wr io.Writer) error

SerializeTo writes a Cerealizable object to an io.Writer.

func WriteRoot

func WriteRoot(c Cerealizable, b common.RawBytes) (int, error)

WriteRoot creates a complete capnp message for c, and writes it out to b. The int return value is the number of bytes written.

Types

type ASEntry added in v0.4.0

type ASEntry struct{ capnp.Struct }

func NewASEntry added in v0.4.0

func NewASEntry(s *capnp.Segment) (ASEntry, error)

func NewRootASEntry added in v0.4.0

func NewRootASEntry(s *capnp.Segment) (ASEntry, error)

func ReadRootASEntry added in v0.4.0

func ReadRootASEntry(msg *capnp.Message) (ASEntry, error)

func (ASEntry) CertVer added in v0.4.0

func (s ASEntry) CertVer() uint64

func (ASEntry) Exts added in v0.4.0

func (s ASEntry) Exts() ASEntry_exts

func (ASEntry) GetStruct added in v0.4.0

func (s ASEntry) GetStruct() capnp.Struct

func (ASEntry) HasHops added in v0.4.0

func (s ASEntry) HasHops() bool

func (ASEntry) Hops added in v0.4.0

func (s ASEntry) Hops() (HopEntry_List, error)

func (ASEntry) IfIDSize added in v0.4.0

func (s ASEntry) IfIDSize() uint8

func (ASEntry) Isdas added in v0.4.0

func (s ASEntry) Isdas() uint64

func (ASEntry) Mtu added in v0.4.0

func (s ASEntry) Mtu() uint16

func (ASEntry) NewHops added in v0.4.0

func (s ASEntry) NewHops(n int32) (HopEntry_List, error)

NewHops sets the hops field to a newly allocated HopEntry_List, preferring placement in s's segment.

func (ASEntry) SetCertVer added in v0.4.0

func (s ASEntry) SetCertVer(v uint64)

func (ASEntry) SetHops added in v0.4.0

func (s ASEntry) SetHops(v HopEntry_List) error

func (ASEntry) SetIfIDSize added in v0.4.0

func (s ASEntry) SetIfIDSize(v uint8)

func (ASEntry) SetIsdas added in v0.4.0

func (s ASEntry) SetIsdas(v uint64)

func (ASEntry) SetMtu added in v0.4.0

func (s ASEntry) SetMtu(v uint16)

func (ASEntry) SetTrcVer added in v0.4.0

func (s ASEntry) SetTrcVer(v uint64)

func (ASEntry) String added in v0.4.0

func (s ASEntry) String() string

func (ASEntry) TrcVer added in v0.4.0

func (s ASEntry) TrcVer() uint64

type ASEntry_List added in v0.4.0

type ASEntry_List struct{ capnp.List }

ASEntry_List is a list of ASEntry.

func NewASEntry_List added in v0.4.0

func NewASEntry_List(s *capnp.Segment, sz int32) (ASEntry_List, error)

NewASEntry creates a new list of ASEntry.

func (ASEntry_List) At added in v0.4.0

func (s ASEntry_List) At(i int) ASEntry

func (ASEntry_List) Set added in v0.4.0

func (s ASEntry_List) Set(i int, v ASEntry) error

func (ASEntry_List) String added in v0.4.0

func (s ASEntry_List) String() string

type ASEntry_Promise added in v0.4.0

type ASEntry_Promise struct{ *capnp.Pipeline }

ASEntry_Promise is a wrapper for a ASEntry promised by a client call.

func (ASEntry_Promise) Exts added in v0.4.0

func (ASEntry_Promise) Struct added in v0.4.0

func (p ASEntry_Promise) Struct() (ASEntry, error)

type ASEntry_exts added in v0.4.0

type ASEntry_exts ASEntry

func (ASEntry_exts) HasHiddenPathSeg added in v0.4.0

func (s ASEntry_exts) HasHiddenPathSeg() bool

func (ASEntry_exts) HasRoutingPolicy added in v0.4.0

func (s ASEntry_exts) HasRoutingPolicy() bool

func (ASEntry_exts) HasSibra added in v0.4.0

func (s ASEntry_exts) HasSibra() bool

func (ASEntry_exts) HiddenPathSeg added in v0.4.0

func (s ASEntry_exts) HiddenPathSeg() (HiddenPathSegExtn, error)

func (ASEntry_exts) NewHiddenPathSeg added in v0.4.0

func (s ASEntry_exts) NewHiddenPathSeg() (HiddenPathSegExtn, error)

NewHiddenPathSeg sets the hiddenPathSeg field to a newly allocated HiddenPathSegExtn struct, preferring placement in s's segment.

func (ASEntry_exts) NewRoutingPolicy added in v0.4.0

func (s ASEntry_exts) NewRoutingPolicy() (RoutingPolicyExt, error)

NewRoutingPolicy sets the routingPolicy field to a newly allocated RoutingPolicyExt struct, preferring placement in s's segment.

func (ASEntry_exts) NewSibra added in v0.4.0

func (s ASEntry_exts) NewSibra() (SibraPCBExt, error)

NewSibra sets the sibra field to a newly allocated SibraPCBExt struct, preferring placement in s's segment.

func (ASEntry_exts) RoutingPolicy added in v0.4.0

func (s ASEntry_exts) RoutingPolicy() (RoutingPolicyExt, error)

func (ASEntry_exts) SetHiddenPathSeg added in v0.4.0

func (s ASEntry_exts) SetHiddenPathSeg(v HiddenPathSegExtn) error

func (ASEntry_exts) SetRoutingPolicy added in v0.4.0

func (s ASEntry_exts) SetRoutingPolicy(v RoutingPolicyExt) error

func (ASEntry_exts) SetSibra added in v0.4.0

func (s ASEntry_exts) SetSibra(v SibraPCBExt) error

func (ASEntry_exts) Sibra added in v0.4.0

func (s ASEntry_exts) Sibra() (SibraPCBExt, error)

type ASEntry_exts_Promise added in v0.4.0

type ASEntry_exts_Promise struct{ *capnp.Pipeline }

ASEntry_exts_Promise is a wrapper for a ASEntry_exts promised by a client call.

func (ASEntry_exts_Promise) HiddenPathSeg added in v0.4.0

func (ASEntry_exts_Promise) RoutingPolicy added in v0.4.0

func (ASEntry_exts_Promise) Sibra added in v0.4.0

func (ASEntry_exts_Promise) Struct added in v0.4.0

func (p ASEntry_exts_Promise) Struct() (ASEntry_exts, error)

type ASInfoReply added in v0.4.0

type ASInfoReply struct{ capnp.Struct }

func NewASInfoReply added in v0.4.0

func NewASInfoReply(s *capnp.Segment) (ASInfoReply, error)

func NewRootASInfoReply added in v0.4.0

func NewRootASInfoReply(s *capnp.Segment) (ASInfoReply, error)

func ReadRootASInfoReply added in v0.4.0

func ReadRootASInfoReply(msg *capnp.Message) (ASInfoReply, error)

func (ASInfoReply) Entries added in v0.4.0

func (s ASInfoReply) Entries() (ASInfoReplyEntry_List, error)

func (ASInfoReply) HasEntries added in v0.4.0

func (s ASInfoReply) HasEntries() bool

func (ASInfoReply) NewEntries added in v0.4.0

func (s ASInfoReply) NewEntries(n int32) (ASInfoReplyEntry_List, error)

NewEntries sets the entries field to a newly allocated ASInfoReplyEntry_List, preferring placement in s's segment.

func (ASInfoReply) SetEntries added in v0.4.0

func (s ASInfoReply) SetEntries(v ASInfoReplyEntry_List) error

func (ASInfoReply) String added in v0.4.0

func (s ASInfoReply) String() string

type ASInfoReplyEntry added in v0.4.0

type ASInfoReplyEntry struct{ capnp.Struct }

func NewASInfoReplyEntry added in v0.4.0

func NewASInfoReplyEntry(s *capnp.Segment) (ASInfoReplyEntry, error)

func NewRootASInfoReplyEntry added in v0.4.0

func NewRootASInfoReplyEntry(s *capnp.Segment) (ASInfoReplyEntry, error)

func ReadRootASInfoReplyEntry added in v0.4.0

func ReadRootASInfoReplyEntry(msg *capnp.Message) (ASInfoReplyEntry, error)

func (ASInfoReplyEntry) IsCore added in v0.4.0

func (s ASInfoReplyEntry) IsCore() bool

func (ASInfoReplyEntry) Isdas added in v0.4.0

func (s ASInfoReplyEntry) Isdas() uint64

func (ASInfoReplyEntry) Mtu added in v0.4.0

func (s ASInfoReplyEntry) Mtu() uint16

func (ASInfoReplyEntry) SetIsCore added in v0.4.0

func (s ASInfoReplyEntry) SetIsCore(v bool)

func (ASInfoReplyEntry) SetIsdas added in v0.4.0

func (s ASInfoReplyEntry) SetIsdas(v uint64)

func (ASInfoReplyEntry) SetMtu added in v0.4.0

func (s ASInfoReplyEntry) SetMtu(v uint16)

func (ASInfoReplyEntry) String added in v0.4.0

func (s ASInfoReplyEntry) String() string

type ASInfoReplyEntry_List added in v0.4.0

type ASInfoReplyEntry_List struct{ capnp.List }

ASInfoReplyEntry_List is a list of ASInfoReplyEntry.

func NewASInfoReplyEntry_List added in v0.4.0

func NewASInfoReplyEntry_List(s *capnp.Segment, sz int32) (ASInfoReplyEntry_List, error)

NewASInfoReplyEntry creates a new list of ASInfoReplyEntry.

func (ASInfoReplyEntry_List) At added in v0.4.0

func (ASInfoReplyEntry_List) Set added in v0.4.0

func (ASInfoReplyEntry_List) String added in v0.4.0

func (s ASInfoReplyEntry_List) String() string

type ASInfoReplyEntry_Promise added in v0.4.0

type ASInfoReplyEntry_Promise struct{ *capnp.Pipeline }

ASInfoReplyEntry_Promise is a wrapper for a ASInfoReplyEntry promised by a client call.

func (ASInfoReplyEntry_Promise) Struct added in v0.4.0

type ASInfoReply_List added in v0.4.0

type ASInfoReply_List struct{ capnp.List }

ASInfoReply_List is a list of ASInfoReply.

func NewASInfoReply_List added in v0.4.0

func NewASInfoReply_List(s *capnp.Segment, sz int32) (ASInfoReply_List, error)

NewASInfoReply creates a new list of ASInfoReply.

func (ASInfoReply_List) At added in v0.4.0

func (ASInfoReply_List) Set added in v0.4.0

func (s ASInfoReply_List) Set(i int, v ASInfoReply) error

func (ASInfoReply_List) String added in v0.4.0

func (s ASInfoReply_List) String() string

type ASInfoReply_Promise added in v0.4.0

type ASInfoReply_Promise struct{ *capnp.Pipeline }

ASInfoReply_Promise is a wrapper for a ASInfoReply promised by a client call.

func (ASInfoReply_Promise) Struct added in v0.4.0

func (p ASInfoReply_Promise) Struct() (ASInfoReply, error)

type ASInfoReq added in v0.4.0

type ASInfoReq struct{ capnp.Struct }

func NewASInfoReq added in v0.4.0

func NewASInfoReq(s *capnp.Segment) (ASInfoReq, error)

func NewRootASInfoReq added in v0.4.0

func NewRootASInfoReq(s *capnp.Segment) (ASInfoReq, error)

func ReadRootASInfoReq added in v0.4.0

func ReadRootASInfoReq(msg *capnp.Message) (ASInfoReq, error)

func (ASInfoReq) Isdas added in v0.4.0

func (s ASInfoReq) Isdas() uint64

func (ASInfoReq) SetIsdas added in v0.4.0

func (s ASInfoReq) SetIsdas(v uint64)

func (ASInfoReq) String added in v0.4.0

func (s ASInfoReq) String() string

type ASInfoReq_List added in v0.4.0

type ASInfoReq_List struct{ capnp.List }

ASInfoReq_List is a list of ASInfoReq.

func NewASInfoReq_List added in v0.4.0

func NewASInfoReq_List(s *capnp.Segment, sz int32) (ASInfoReq_List, error)

NewASInfoReq creates a new list of ASInfoReq.

func (ASInfoReq_List) At added in v0.4.0

func (s ASInfoReq_List) At(i int) ASInfoReq

func (ASInfoReq_List) Set added in v0.4.0

func (s ASInfoReq_List) Set(i int, v ASInfoReq) error

func (ASInfoReq_List) String added in v0.4.0

func (s ASInfoReq_List) String() string

type ASInfoReq_Promise added in v0.4.0

type ASInfoReq_Promise struct{ *capnp.Pipeline }

ASInfoReq_Promise is a wrapper for a ASInfoReq promised by a client call.

func (ASInfoReq_Promise) Struct added in v0.4.0

func (p ASInfoReq_Promise) Struct() (ASInfoReq, error)

type Ack added in v0.4.0

type Ack struct{ capnp.Struct }

func NewAck added in v0.4.0

func NewAck(s *capnp.Segment) (Ack, error)

func NewRootAck added in v0.4.0

func NewRootAck(s *capnp.Segment) (Ack, error)

func ReadRootAck added in v0.4.0

func ReadRootAck(msg *capnp.Message) (Ack, error)

func (Ack) Err added in v0.4.0

func (s Ack) Err() Ack_ErrCode

func (Ack) ErrDesc added in v0.4.0

func (s Ack) ErrDesc() (string, error)

func (Ack) ErrDescBytes added in v0.4.0

func (s Ack) ErrDescBytes() ([]byte, error)

func (Ack) HasErrDesc added in v0.4.0

func (s Ack) HasErrDesc() bool

func (Ack) SetErr added in v0.4.0

func (s Ack) SetErr(v Ack_ErrCode)

func (Ack) SetErrDesc added in v0.4.0

func (s Ack) SetErrDesc(v string) error

func (Ack) String added in v0.4.0

func (s Ack) String() string

type Ack_ErrCode added in v0.4.0

type Ack_ErrCode uint16
const (
	Ack_ErrCode_ok     Ack_ErrCode = 0
	Ack_ErrCode_retry  Ack_ErrCode = 1
	Ack_ErrCode_reject Ack_ErrCode = 2
)

Values of Ack_ErrCode.

func Ack_ErrCodeFromString added in v0.4.0

func Ack_ErrCodeFromString(c string) Ack_ErrCode

Ack_ErrCodeFromString returns the enum value with a name, or the zero value if there's no such value.

func (Ack_ErrCode) String added in v0.4.0

func (c Ack_ErrCode) String() string

String returns the enum's constant name.

type Ack_ErrCode_List added in v0.4.0

type Ack_ErrCode_List struct{ capnp.List }

func NewAck_ErrCode_List added in v0.4.0

func NewAck_ErrCode_List(s *capnp.Segment, sz int32) (Ack_ErrCode_List, error)

func (Ack_ErrCode_List) At added in v0.4.0

func (Ack_ErrCode_List) Set added in v0.4.0

func (l Ack_ErrCode_List) Set(i int, v Ack_ErrCode)

type Ack_List added in v0.4.0

type Ack_List struct{ capnp.List }

Ack_List is a list of Ack.

func NewAck_List added in v0.4.0

func NewAck_List(s *capnp.Segment, sz int32) (Ack_List, error)

NewAck creates a new list of Ack.

func (Ack_List) At added in v0.4.0

func (s Ack_List) At(i int) Ack

func (Ack_List) Set added in v0.4.0

func (s Ack_List) Set(i int, v Ack) error

func (Ack_List) String added in v0.4.0

func (s Ack_List) String() string

type Ack_Promise added in v0.4.0

type Ack_Promise struct{ *capnp.Pipeline }

Ack_Promise is a wrapper for a Ack promised by a client call.

func (Ack_Promise) Struct added in v0.4.0

func (p Ack_Promise) Struct() (Ack, error)

type Addr added in v0.4.0

type Addr struct{ capnp.Struct }

func NewAddr added in v0.4.0

func NewAddr(s *capnp.Segment) (Addr, error)

func NewRootAddr added in v0.4.0

func NewRootAddr(s *capnp.Segment) (Addr, error)

func ReadRootAddr added in v0.4.0

func ReadRootAddr(msg *capnp.Message) (Addr, error)

func (Addr) Addr added in v0.4.0

func (s Addr) Addr() ([]byte, error)

func (Addr) HasAddr added in v0.4.0

func (s Addr) HasAddr() bool

func (Addr) Port added in v0.4.0

func (s Addr) Port() uint16

func (Addr) SetAddr added in v0.4.0

func (s Addr) SetAddr(v []byte) error

func (Addr) SetPort added in v0.4.0

func (s Addr) SetPort(v uint16)

func (Addr) SetType added in v0.4.0

func (s Addr) SetType(v uint8)

func (Addr) String added in v0.4.0

func (s Addr) String() string

func (Addr) Type added in v0.4.0

func (s Addr) Type() uint8

type Addr_List added in v0.4.0

type Addr_List struct{ capnp.List }

Addr_List is a list of Addr.

func NewAddr_List added in v0.4.0

func NewAddr_List(s *capnp.Segment, sz int32) (Addr_List, error)

NewAddr creates a new list of Addr.

func (Addr_List) At added in v0.4.0

func (s Addr_List) At(i int) Addr

func (Addr_List) Set added in v0.4.0

func (s Addr_List) Set(i int, v Addr) error

func (Addr_List) String added in v0.4.0

func (s Addr_List) String() string

type Addr_Promise added in v0.4.0

type Addr_Promise struct{ *capnp.Pipeline }

Addr_Promise is a wrapper for a Addr promised by a client call.

func (Addr_Promise) Struct added in v0.4.0

func (p Addr_Promise) Struct() (Addr, error)

type Cerealizable

type Cerealizable interface {
	fmt.Stringer
	ProtoId() ProtoIdType
}

Cerealizable represents a type which has a corresponding Cap'n Proto (capnp) representation, and supports pogs insertion/extraction.

type CertChain added in v0.4.0

type CertChain struct{ capnp.Struct }

func NewCertChain added in v0.4.0

func NewCertChain(s *capnp.Segment) (CertChain, error)

func NewRootCertChain added in v0.4.0

func NewRootCertChain(s *capnp.Segment) (CertChain, error)

func ReadRootCertChain added in v0.4.0

func ReadRootCertChain(msg *capnp.Message) (CertChain, error)

func (CertChain) Chain added in v0.4.0

func (s CertChain) Chain() ([]byte, error)

func (CertChain) HasChain added in v0.4.0

func (s CertChain) HasChain() bool

func (CertChain) SetChain added in v0.4.0

func (s CertChain) SetChain(v []byte) error

func (CertChain) String added in v0.4.0

func (s CertChain) String() string

type CertChainIssRep added in v0.4.0

type CertChainIssRep struct{ capnp.Struct }

func NewCertChainIssRep added in v0.4.0

func NewCertChainIssRep(s *capnp.Segment) (CertChainIssRep, error)

func NewRootCertChainIssRep added in v0.4.0

func NewRootCertChainIssRep(s *capnp.Segment) (CertChainIssRep, error)

func ReadRootCertChainIssRep added in v0.4.0

func ReadRootCertChainIssRep(msg *capnp.Message) (CertChainIssRep, error)

func (CertChainIssRep) Chain added in v0.4.0

func (s CertChainIssRep) Chain() ([]byte, error)

func (CertChainIssRep) HasChain added in v0.4.0

func (s CertChainIssRep) HasChain() bool

func (CertChainIssRep) SetChain added in v0.4.0

func (s CertChainIssRep) SetChain(v []byte) error

func (CertChainIssRep) String added in v0.4.0

func (s CertChainIssRep) String() string

type CertChainIssRep_List added in v0.4.0

type CertChainIssRep_List struct{ capnp.List }

CertChainIssRep_List is a list of CertChainIssRep.

func NewCertChainIssRep_List added in v0.4.0

func NewCertChainIssRep_List(s *capnp.Segment, sz int32) (CertChainIssRep_List, error)

NewCertChainIssRep creates a new list of CertChainIssRep.

func (CertChainIssRep_List) At added in v0.4.0

func (CertChainIssRep_List) Set added in v0.4.0

func (CertChainIssRep_List) String added in v0.4.0

func (s CertChainIssRep_List) String() string

type CertChainIssRep_Promise added in v0.4.0

type CertChainIssRep_Promise struct{ *capnp.Pipeline }

CertChainIssRep_Promise is a wrapper for a CertChainIssRep promised by a client call.

func (CertChainIssRep_Promise) Struct added in v0.4.0

type CertChainIssReq added in v0.4.0

type CertChainIssReq struct{ capnp.Struct }

func NewCertChainIssReq added in v0.4.0

func NewCertChainIssReq(s *capnp.Segment) (CertChainIssReq, error)

func NewRootCertChainIssReq added in v0.4.0

func NewRootCertChainIssReq(s *capnp.Segment) (CertChainIssReq, error)

func ReadRootCertChainIssReq added in v0.4.0

func ReadRootCertChainIssReq(msg *capnp.Message) (CertChainIssReq, error)

func (CertChainIssReq) Cert added in v0.4.0

func (s CertChainIssReq) Cert() ([]byte, error)

func (CertChainIssReq) HasCert added in v0.4.0

func (s CertChainIssReq) HasCert() bool

func (CertChainIssReq) SetCert added in v0.4.0

func (s CertChainIssReq) SetCert(v []byte) error

func (CertChainIssReq) String added in v0.4.0

func (s CertChainIssReq) String() string

type CertChainIssReq_List added in v0.4.0

type CertChainIssReq_List struct{ capnp.List }

CertChainIssReq_List is a list of CertChainIssReq.

func NewCertChainIssReq_List added in v0.4.0

func NewCertChainIssReq_List(s *capnp.Segment, sz int32) (CertChainIssReq_List, error)

NewCertChainIssReq creates a new list of CertChainIssReq.

func (CertChainIssReq_List) At added in v0.4.0

func (CertChainIssReq_List) Set added in v0.4.0

func (CertChainIssReq_List) String added in v0.4.0

func (s CertChainIssReq_List) String() string

type CertChainIssReq_Promise added in v0.4.0

type CertChainIssReq_Promise struct{ *capnp.Pipeline }

CertChainIssReq_Promise is a wrapper for a CertChainIssReq promised by a client call.

func (CertChainIssReq_Promise) Struct added in v0.4.0

type CertChainReq added in v0.4.0

type CertChainReq struct{ capnp.Struct }

func NewCertChainReq added in v0.4.0

func NewCertChainReq(s *capnp.Segment) (CertChainReq, error)

func NewRootCertChainReq added in v0.4.0

func NewRootCertChainReq(s *capnp.Segment) (CertChainReq, error)

func ReadRootCertChainReq added in v0.4.0

func ReadRootCertChainReq(msg *capnp.Message) (CertChainReq, error)

func (CertChainReq) CacheOnly added in v0.4.0

func (s CertChainReq) CacheOnly() bool

func (CertChainReq) Isdas added in v0.4.0

func (s CertChainReq) Isdas() uint64

func (CertChainReq) SetCacheOnly added in v0.4.0

func (s CertChainReq) SetCacheOnly(v bool)

func (CertChainReq) SetIsdas added in v0.4.0

func (s CertChainReq) SetIsdas(v uint64)

func (CertChainReq) SetVersion added in v0.4.0

func (s CertChainReq) SetVersion(v uint64)

func (CertChainReq) String added in v0.4.0

func (s CertChainReq) String() string

func (CertChainReq) Version added in v0.4.0

func (s CertChainReq) Version() uint64

type CertChainReq_List added in v0.4.0

type CertChainReq_List struct{ capnp.List }

CertChainReq_List is a list of CertChainReq.

func NewCertChainReq_List added in v0.4.0

func NewCertChainReq_List(s *capnp.Segment, sz int32) (CertChainReq_List, error)

NewCertChainReq creates a new list of CertChainReq.

func (CertChainReq_List) At added in v0.4.0

func (CertChainReq_List) Set added in v0.4.0

func (CertChainReq_List) String added in v0.4.0

func (s CertChainReq_List) String() string

type CertChainReq_Promise added in v0.4.0

type CertChainReq_Promise struct{ *capnp.Pipeline }

CertChainReq_Promise is a wrapper for a CertChainReq promised by a client call.

func (CertChainReq_Promise) Struct added in v0.4.0

func (p CertChainReq_Promise) Struct() (CertChainReq, error)

type CertChain_List added in v0.4.0

type CertChain_List struct{ capnp.List }

CertChain_List is a list of CertChain.

func NewCertChain_List added in v0.4.0

func NewCertChain_List(s *capnp.Segment, sz int32) (CertChain_List, error)

NewCertChain creates a new list of CertChain.

func (CertChain_List) At added in v0.4.0

func (s CertChain_List) At(i int) CertChain

func (CertChain_List) Set added in v0.4.0

func (s CertChain_List) Set(i int, v CertChain) error

func (CertChain_List) String added in v0.4.0

func (s CertChain_List) String() string

type CertChain_Promise added in v0.4.0

type CertChain_Promise struct{ *capnp.Pipeline }

CertChain_Promise is a wrapper for a CertChain promised by a client call.

func (CertChain_Promise) Struct added in v0.4.0

func (p CertChain_Promise) Struct() (CertChain, error)

type CertMgmt added in v0.4.0

type CertMgmt struct{ capnp.Struct }

func NewCertMgmt added in v0.4.0

func NewCertMgmt(s *capnp.Segment) (CertMgmt, error)

func NewRootCertMgmt added in v0.4.0

func NewRootCertMgmt(s *capnp.Segment) (CertMgmt, error)

func ReadRootCertMgmt added in v0.4.0

func ReadRootCertMgmt(msg *capnp.Message) (CertMgmt, error)

func (CertMgmt) CertChain added in v0.4.0

func (s CertMgmt) CertChain() (CertChain, error)

func (CertMgmt) CertChainIssRep added in v0.4.0

func (s CertMgmt) CertChainIssRep() (CertChainIssRep, error)

func (CertMgmt) CertChainIssReq added in v0.4.0

func (s CertMgmt) CertChainIssReq() (CertChainIssReq, error)

func (CertMgmt) CertChainReq added in v0.4.0

func (s CertMgmt) CertChainReq() (CertChainReq, error)

func (CertMgmt) HasCertChain added in v0.4.0

func (s CertMgmt) HasCertChain() bool

func (CertMgmt) HasCertChainIssRep added in v0.4.0

func (s CertMgmt) HasCertChainIssRep() bool

func (CertMgmt) HasCertChainIssReq added in v0.4.0

func (s CertMgmt) HasCertChainIssReq() bool

func (CertMgmt) HasCertChainReq added in v0.4.0

func (s CertMgmt) HasCertChainReq() bool

func (CertMgmt) HasTrc added in v0.4.0

func (s CertMgmt) HasTrc() bool

func (CertMgmt) HasTrcReq added in v0.4.0

func (s CertMgmt) HasTrcReq() bool

func (CertMgmt) NewCertChain added in v0.4.0

func (s CertMgmt) NewCertChain() (CertChain, error)

NewCertChain sets the certChain field to a newly allocated CertChain struct, preferring placement in s's segment.

func (CertMgmt) NewCertChainIssRep added in v0.4.0

func (s CertMgmt) NewCertChainIssRep() (CertChainIssRep, error)

NewCertChainIssRep sets the certChainIssRep field to a newly allocated CertChainIssRep struct, preferring placement in s's segment.

func (CertMgmt) NewCertChainIssReq added in v0.4.0

func (s CertMgmt) NewCertChainIssReq() (CertChainIssReq, error)

NewCertChainIssReq sets the certChainIssReq field to a newly allocated CertChainIssReq struct, preferring placement in s's segment.

func (CertMgmt) NewCertChainReq added in v0.4.0

func (s CertMgmt) NewCertChainReq() (CertChainReq, error)

NewCertChainReq sets the certChainReq field to a newly allocated CertChainReq struct, preferring placement in s's segment.

func (CertMgmt) NewTrc added in v0.4.0

func (s CertMgmt) NewTrc() (TRC, error)

NewTrc sets the trc field to a newly allocated TRC struct, preferring placement in s's segment.

func (CertMgmt) NewTrcReq added in v0.4.0

func (s CertMgmt) NewTrcReq() (TRCReq, error)

NewTrcReq sets the trcReq field to a newly allocated TRCReq struct, preferring placement in s's segment.

func (CertMgmt) SetCertChain added in v0.4.0

func (s CertMgmt) SetCertChain(v CertChain) error

func (CertMgmt) SetCertChainIssRep added in v0.4.0

func (s CertMgmt) SetCertChainIssRep(v CertChainIssRep) error

func (CertMgmt) SetCertChainIssReq added in v0.4.0

func (s CertMgmt) SetCertChainIssReq(v CertChainIssReq) error

func (CertMgmt) SetCertChainReq added in v0.4.0

func (s CertMgmt) SetCertChainReq(v CertChainReq) error

func (CertMgmt) SetTrc added in v0.4.0

func (s CertMgmt) SetTrc(v TRC) error

func (CertMgmt) SetTrcReq added in v0.4.0

func (s CertMgmt) SetTrcReq(v TRCReq) error

func (CertMgmt) SetUnset added in v0.4.0

func (s CertMgmt) SetUnset()

func (CertMgmt) String added in v0.4.0

func (s CertMgmt) String() string

func (CertMgmt) Trc added in v0.4.0

func (s CertMgmt) Trc() (TRC, error)

func (CertMgmt) TrcReq added in v0.4.0

func (s CertMgmt) TrcReq() (TRCReq, error)

func (CertMgmt) Which added in v0.4.0

func (s CertMgmt) Which() CertMgmt_Which

type CertMgmt_List added in v0.4.0

type CertMgmt_List struct{ capnp.List }

CertMgmt_List is a list of CertMgmt.

func NewCertMgmt_List added in v0.4.0

func NewCertMgmt_List(s *capnp.Segment, sz int32) (CertMgmt_List, error)

NewCertMgmt creates a new list of CertMgmt.

func (CertMgmt_List) At added in v0.4.0

func (s CertMgmt_List) At(i int) CertMgmt

func (CertMgmt_List) Set added in v0.4.0

func (s CertMgmt_List) Set(i int, v CertMgmt) error

func (CertMgmt_List) String added in v0.4.0

func (s CertMgmt_List) String() string

type CertMgmt_Promise added in v0.4.0

type CertMgmt_Promise struct{ *capnp.Pipeline }

CertMgmt_Promise is a wrapper for a CertMgmt promised by a client call.

func (CertMgmt_Promise) CertChain added in v0.4.0

func (p CertMgmt_Promise) CertChain() CertChain_Promise

func (CertMgmt_Promise) CertChainIssRep added in v0.4.0

func (p CertMgmt_Promise) CertChainIssRep() CertChainIssRep_Promise

func (CertMgmt_Promise) CertChainIssReq added in v0.4.0

func (p CertMgmt_Promise) CertChainIssReq() CertChainIssReq_Promise

func (CertMgmt_Promise) CertChainReq added in v0.4.0

func (p CertMgmt_Promise) CertChainReq() CertChainReq_Promise

func (CertMgmt_Promise) Struct added in v0.4.0

func (p CertMgmt_Promise) Struct() (CertMgmt, error)

func (CertMgmt_Promise) Trc added in v0.4.0

func (p CertMgmt_Promise) Trc() TRC_Promise

func (CertMgmt_Promise) TrcReq added in v0.4.0

func (p CertMgmt_Promise) TrcReq() TRCReq_Promise

type CertMgmt_Which added in v0.4.0

type CertMgmt_Which uint16
const (
	CertMgmt_Which_unset           CertMgmt_Which = 0
	CertMgmt_Which_certChainReq    CertMgmt_Which = 1
	CertMgmt_Which_certChain       CertMgmt_Which = 2
	CertMgmt_Which_trcReq          CertMgmt_Which = 3
	CertMgmt_Which_trc             CertMgmt_Which = 4
	CertMgmt_Which_certChainIssReq CertMgmt_Which = 5
	CertMgmt_Which_certChainIssRep CertMgmt_Which = 6
)

func (CertMgmt_Which) String added in v0.4.0

func (w CertMgmt_Which) String() string

type CtrlExtnData added in v0.4.0

type CtrlExtnData struct{ capnp.Struct }

func NewCtrlExtnData added in v0.4.0

func NewCtrlExtnData(s *capnp.Segment) (CtrlExtnData, error)

func NewRootCtrlExtnData added in v0.4.0

func NewRootCtrlExtnData(s *capnp.Segment) (CtrlExtnData, error)

func ReadRootCtrlExtnData added in v0.4.0

func ReadRootCtrlExtnData(msg *capnp.Message) (CtrlExtnData, error)

func (CtrlExtnData) Data added in v0.4.0

func (s CtrlExtnData) Data() ([]byte, error)

func (CtrlExtnData) HasData added in v0.4.0

func (s CtrlExtnData) HasData() bool

func (CtrlExtnData) HasType added in v0.4.0

func (s CtrlExtnData) HasType() bool

func (CtrlExtnData) SetData added in v0.4.0

func (s CtrlExtnData) SetData(v []byte) error

func (CtrlExtnData) SetType added in v0.4.0

func (s CtrlExtnData) SetType(v []byte) error

func (CtrlExtnData) String added in v0.4.0

func (s CtrlExtnData) String() string

func (CtrlExtnData) Type added in v0.4.0

func (s CtrlExtnData) Type() ([]byte, error)

type CtrlExtnDataList added in v0.4.0

type CtrlExtnDataList struct{ capnp.Struct }

func NewCtrlExtnDataList added in v0.4.0

func NewCtrlExtnDataList(s *capnp.Segment) (CtrlExtnDataList, error)

func NewRootCtrlExtnDataList added in v0.4.0

func NewRootCtrlExtnDataList(s *capnp.Segment) (CtrlExtnDataList, error)

func ReadRootCtrlExtnDataList added in v0.4.0

func ReadRootCtrlExtnDataList(msg *capnp.Message) (CtrlExtnDataList, error)

func (CtrlExtnDataList) HasItems added in v0.4.0

func (s CtrlExtnDataList) HasItems() bool

func (CtrlExtnDataList) Items added in v0.4.0

func (CtrlExtnDataList) NewItems added in v0.4.0

func (s CtrlExtnDataList) NewItems(n int32) (CtrlExtnData_List, error)

NewItems sets the items field to a newly allocated CtrlExtnData_List, preferring placement in s's segment.

func (CtrlExtnDataList) SetItems added in v0.4.0

func (CtrlExtnDataList) String added in v0.4.0

func (s CtrlExtnDataList) String() string

type CtrlExtnDataList_List added in v0.4.0

type CtrlExtnDataList_List struct{ capnp.List }

CtrlExtnDataList_List is a list of CtrlExtnDataList.

func NewCtrlExtnDataList_List added in v0.4.0

func NewCtrlExtnDataList_List(s *capnp.Segment, sz int32) (CtrlExtnDataList_List, error)

NewCtrlExtnDataList creates a new list of CtrlExtnDataList.

func (CtrlExtnDataList_List) At added in v0.4.0

func (CtrlExtnDataList_List) Set added in v0.4.0

func (CtrlExtnDataList_List) String added in v0.4.0

func (s CtrlExtnDataList_List) String() string

type CtrlExtnDataList_Promise added in v0.4.0

type CtrlExtnDataList_Promise struct{ *capnp.Pipeline }

CtrlExtnDataList_Promise is a wrapper for a CtrlExtnDataList promised by a client call.

func (CtrlExtnDataList_Promise) Struct added in v0.4.0

type CtrlExtnData_List added in v0.4.0

type CtrlExtnData_List struct{ capnp.List }

CtrlExtnData_List is a list of CtrlExtnData.

func NewCtrlExtnData_List added in v0.4.0

func NewCtrlExtnData_List(s *capnp.Segment, sz int32) (CtrlExtnData_List, error)

NewCtrlExtnData creates a new list of CtrlExtnData.

func (CtrlExtnData_List) At added in v0.4.0

func (CtrlExtnData_List) Set added in v0.4.0

func (CtrlExtnData_List) String added in v0.4.0

func (s CtrlExtnData_List) String() string

type CtrlExtnData_Promise added in v0.4.0

type CtrlExtnData_Promise struct{ *capnp.Pipeline }

CtrlExtnData_Promise is a wrapper for a CtrlExtnData promised by a client call.

func (CtrlExtnData_Promise) Struct added in v0.4.0

func (p CtrlExtnData_Promise) Struct() (CtrlExtnData, error)

type CtrlPld added in v0.4.0

type CtrlPld struct{ capnp.Struct }

func NewCtrlPld added in v0.4.0

func NewCtrlPld(s *capnp.Segment) (CtrlPld, error)

func NewRootCtrlPld added in v0.4.0

func NewRootCtrlPld(s *capnp.Segment) (CtrlPld, error)

func ReadRootCtrlPld added in v0.4.0

func ReadRootCtrlPld(msg *capnp.Message) (CtrlPld, error)

func (CtrlPld) Ack added in v0.4.0

func (s CtrlPld) Ack() (Ack, error)

func (CtrlPld) CertMgmt added in v0.4.0

func (s CtrlPld) CertMgmt() (CertMgmt, error)

func (CtrlPld) DrkeyMgmt added in v0.4.0

func (s CtrlPld) DrkeyMgmt() (DRKeyMgmt, error)

func (CtrlPld) Extn added in v0.4.0

func (s CtrlPld) Extn() (CtrlExtnDataList, error)

func (CtrlPld) GetStruct added in v0.4.0

func (s CtrlPld) GetStruct() capnp.Struct

func (CtrlPld) HasAck added in v0.4.0

func (s CtrlPld) HasAck() bool

func (CtrlPld) HasCertMgmt added in v0.4.0

func (s CtrlPld) HasCertMgmt() bool

func (CtrlPld) HasDrkeyMgmt added in v0.4.0

func (s CtrlPld) HasDrkeyMgmt() bool

func (CtrlPld) HasExtn added in v0.4.0

func (s CtrlPld) HasExtn() bool

func (CtrlPld) HasIfid added in v0.4.0

func (s CtrlPld) HasIfid() bool

func (CtrlPld) HasPathMgmt added in v0.4.0

func (s CtrlPld) HasPathMgmt() bool

func (CtrlPld) HasPcb added in v0.4.0

func (s CtrlPld) HasPcb() bool

func (CtrlPld) HasSibra added in v0.4.0

func (s CtrlPld) HasSibra() bool

func (CtrlPld) HasSig added in v0.4.0

func (s CtrlPld) HasSig() bool

func (CtrlPld) HasTraceId added in v0.4.0

func (s CtrlPld) HasTraceId() bool

func (CtrlPld) Ifid added in v0.4.0

func (s CtrlPld) Ifid() (IFID, error)

func (CtrlPld) NewAck added in v0.4.0

func (s CtrlPld) NewAck() (Ack, error)

NewAck sets the ack field to a newly allocated Ack struct, preferring placement in s's segment.

func (CtrlPld) NewCertMgmt added in v0.4.0

func (s CtrlPld) NewCertMgmt() (CertMgmt, error)

NewCertMgmt sets the certMgmt field to a newly allocated CertMgmt struct, preferring placement in s's segment.

func (CtrlPld) NewDrkeyMgmt added in v0.4.0

func (s CtrlPld) NewDrkeyMgmt() (DRKeyMgmt, error)

NewDrkeyMgmt sets the drkeyMgmt field to a newly allocated DRKeyMgmt struct, preferring placement in s's segment.

func (CtrlPld) NewExtn added in v0.4.0

func (s CtrlPld) NewExtn() (CtrlExtnDataList, error)

NewExtn sets the extn field to a newly allocated CtrlExtnDataList struct, preferring placement in s's segment.

func (CtrlPld) NewIfid added in v0.4.0

func (s CtrlPld) NewIfid() (IFID, error)

NewIfid sets the ifid field to a newly allocated IFID struct, preferring placement in s's segment.

func (CtrlPld) NewPathMgmt added in v0.4.0

func (s CtrlPld) NewPathMgmt() (PathMgmt, error)

NewPathMgmt sets the pathMgmt field to a newly allocated PathMgmt struct, preferring placement in s's segment.

func (CtrlPld) NewPcb added in v0.4.0

func (s CtrlPld) NewPcb() (PCB, error)

NewPcb sets the pcb field to a newly allocated PCB struct, preferring placement in s's segment.

func (CtrlPld) NewSibra added in v0.4.0

func (s CtrlPld) NewSibra() (SibraPayload, error)

NewSibra sets the sibra field to a newly allocated SibraPayload struct, preferring placement in s's segment.

func (CtrlPld) NewSig added in v0.4.0

func (s CtrlPld) NewSig() (SIGCtrl, error)

NewSig sets the sig field to a newly allocated SIGCtrl struct, preferring placement in s's segment.

func (CtrlPld) PathMgmt added in v0.4.0

func (s CtrlPld) PathMgmt() (PathMgmt, error)

func (CtrlPld) Pcb added in v0.4.0

func (s CtrlPld) Pcb() (PCB, error)

func (CtrlPld) ReqId added in v0.4.0

func (s CtrlPld) ReqId() uint64

func (CtrlPld) SetAck added in v0.4.0

func (s CtrlPld) SetAck(v Ack) error

func (CtrlPld) SetCertMgmt added in v0.4.0

func (s CtrlPld) SetCertMgmt(v CertMgmt) error

func (CtrlPld) SetDrkeyMgmt added in v0.4.0

func (s CtrlPld) SetDrkeyMgmt(v DRKeyMgmt) error

func (CtrlPld) SetExtn added in v0.4.0

func (s CtrlPld) SetExtn(v CtrlExtnDataList) error

func (CtrlPld) SetIfid added in v0.4.0

func (s CtrlPld) SetIfid(v IFID) error

func (CtrlPld) SetPathMgmt added in v0.4.0

func (s CtrlPld) SetPathMgmt(v PathMgmt) error

func (CtrlPld) SetPcb added in v0.4.0

func (s CtrlPld) SetPcb(v PCB) error

func (CtrlPld) SetReqId added in v0.4.0

func (s CtrlPld) SetReqId(v uint64)

func (CtrlPld) SetSibra added in v0.4.0

func (s CtrlPld) SetSibra(v SibraPayload) error

func (CtrlPld) SetSig added in v0.4.0

func (s CtrlPld) SetSig(v SIGCtrl) error

func (CtrlPld) SetTraceId added in v0.4.0

func (s CtrlPld) SetTraceId(v []byte) error

func (CtrlPld) SetUnset added in v0.4.0

func (s CtrlPld) SetUnset()

func (CtrlPld) Sibra added in v0.4.0

func (s CtrlPld) Sibra() (SibraPayload, error)

func (CtrlPld) Sig added in v0.4.0

func (s CtrlPld) Sig() (SIGCtrl, error)

func (CtrlPld) String added in v0.4.0

func (s CtrlPld) String() string

func (CtrlPld) TraceId added in v0.4.0

func (s CtrlPld) TraceId() ([]byte, error)

func (CtrlPld) Which added in v0.4.0

func (s CtrlPld) Which() CtrlPld_Which

type CtrlPld_List added in v0.4.0

type CtrlPld_List struct{ capnp.List }

CtrlPld_List is a list of CtrlPld.

func NewCtrlPld_List added in v0.4.0

func NewCtrlPld_List(s *capnp.Segment, sz int32) (CtrlPld_List, error)

NewCtrlPld creates a new list of CtrlPld.

func (CtrlPld_List) At added in v0.4.0

func (s CtrlPld_List) At(i int) CtrlPld

func (CtrlPld_List) Set added in v0.4.0

func (s CtrlPld_List) Set(i int, v CtrlPld) error

func (CtrlPld_List) String added in v0.4.0

func (s CtrlPld_List) String() string

type CtrlPld_Promise added in v0.4.0

type CtrlPld_Promise struct{ *capnp.Pipeline }

CtrlPld_Promise is a wrapper for a CtrlPld promised by a client call.

func (CtrlPld_Promise) Ack added in v0.4.0

func (p CtrlPld_Promise) Ack() Ack_Promise

func (CtrlPld_Promise) CertMgmt added in v0.4.0

func (p CtrlPld_Promise) CertMgmt() CertMgmt_Promise

func (CtrlPld_Promise) DrkeyMgmt added in v0.4.0

func (p CtrlPld_Promise) DrkeyMgmt() DRKeyMgmt_Promise

func (CtrlPld_Promise) Extn added in v0.4.0

func (CtrlPld_Promise) Ifid added in v0.4.0

func (p CtrlPld_Promise) Ifid() IFID_Promise

func (CtrlPld_Promise) PathMgmt added in v0.4.0

func (p CtrlPld_Promise) PathMgmt() PathMgmt_Promise

func (CtrlPld_Promise) Pcb added in v0.4.0

func (p CtrlPld_Promise) Pcb() PCB_Promise

func (CtrlPld_Promise) Sibra added in v0.4.0

func (CtrlPld_Promise) Sig added in v0.4.0

func (CtrlPld_Promise) Struct added in v0.4.0

func (p CtrlPld_Promise) Struct() (CtrlPld, error)

type CtrlPld_Which added in v0.4.0

type CtrlPld_Which uint16
const (
	CtrlPld_Which_unset     CtrlPld_Which = 0
	CtrlPld_Which_pcb       CtrlPld_Which = 1
	CtrlPld_Which_ifid      CtrlPld_Which = 2
	CtrlPld_Which_certMgmt  CtrlPld_Which = 3
	CtrlPld_Which_pathMgmt  CtrlPld_Which = 4
	CtrlPld_Which_sibra     CtrlPld_Which = 5
	CtrlPld_Which_drkeyMgmt CtrlPld_Which = 6
	CtrlPld_Which_sig       CtrlPld_Which = 7
	CtrlPld_Which_extn      CtrlPld_Which = 8
	CtrlPld_Which_ack       CtrlPld_Which = 9
)

func (CtrlPld_Which) String added in v0.4.0

func (w CtrlPld_Which) String() string

type DRKeyMgmt added in v0.4.0

type DRKeyMgmt struct{ capnp.Struct }

func NewDRKeyMgmt added in v0.4.0

func NewDRKeyMgmt(s *capnp.Segment) (DRKeyMgmt, error)

func NewRootDRKeyMgmt added in v0.4.0

func NewRootDRKeyMgmt(s *capnp.Segment) (DRKeyMgmt, error)

func ReadRootDRKeyMgmt added in v0.4.0

func ReadRootDRKeyMgmt(msg *capnp.Message) (DRKeyMgmt, error)

func (DRKeyMgmt) DrkeyRep added in v0.4.0

func (s DRKeyMgmt) DrkeyRep() (DRKeyRep, error)

func (DRKeyMgmt) DrkeyReq added in v0.4.0

func (s DRKeyMgmt) DrkeyReq() (DRKeyReq, error)

func (DRKeyMgmt) HasDrkeyRep added in v0.4.0

func (s DRKeyMgmt) HasDrkeyRep() bool

func (DRKeyMgmt) HasDrkeyReq added in v0.4.0

func (s DRKeyMgmt) HasDrkeyReq() bool

func (DRKeyMgmt) NewDrkeyRep added in v0.4.0

func (s DRKeyMgmt) NewDrkeyRep() (DRKeyRep, error)

NewDrkeyRep sets the drkeyRep field to a newly allocated DRKeyRep struct, preferring placement in s's segment.

func (DRKeyMgmt) NewDrkeyReq added in v0.4.0

func (s DRKeyMgmt) NewDrkeyReq() (DRKeyReq, error)

NewDrkeyReq sets the drkeyReq field to a newly allocated DRKeyReq struct, preferring placement in s's segment.

func (DRKeyMgmt) SetDrkeyRep added in v0.4.0

func (s DRKeyMgmt) SetDrkeyRep(v DRKeyRep) error

func (DRKeyMgmt) SetDrkeyReq added in v0.4.0

func (s DRKeyMgmt) SetDrkeyReq(v DRKeyReq) error

func (DRKeyMgmt) SetUnset added in v0.4.0

func (s DRKeyMgmt) SetUnset()

func (DRKeyMgmt) String added in v0.4.0

func (s DRKeyMgmt) String() string

func (DRKeyMgmt) Which added in v0.4.0

func (s DRKeyMgmt) Which() DRKeyMgmt_Which

type DRKeyMgmt_List added in v0.4.0

type DRKeyMgmt_List struct{ capnp.List }

DRKeyMgmt_List is a list of DRKeyMgmt.

func NewDRKeyMgmt_List added in v0.4.0

func NewDRKeyMgmt_List(s *capnp.Segment, sz int32) (DRKeyMgmt_List, error)

NewDRKeyMgmt creates a new list of DRKeyMgmt.

func (DRKeyMgmt_List) At added in v0.4.0

func (s DRKeyMgmt_List) At(i int) DRKeyMgmt

func (DRKeyMgmt_List) Set added in v0.4.0

func (s DRKeyMgmt_List) Set(i int, v DRKeyMgmt) error

func (DRKeyMgmt_List) String added in v0.4.0

func (s DRKeyMgmt_List) String() string

type DRKeyMgmt_Promise added in v0.4.0

type DRKeyMgmt_Promise struct{ *capnp.Pipeline }

DRKeyMgmt_Promise is a wrapper for a DRKeyMgmt promised by a client call.

func (DRKeyMgmt_Promise) DrkeyRep added in v0.4.0

func (p DRKeyMgmt_Promise) DrkeyRep() DRKeyRep_Promise

func (DRKeyMgmt_Promise) DrkeyReq added in v0.4.0

func (p DRKeyMgmt_Promise) DrkeyReq() DRKeyReq_Promise

func (DRKeyMgmt_Promise) Struct added in v0.4.0

func (p DRKeyMgmt_Promise) Struct() (DRKeyMgmt, error)

type DRKeyMgmt_Which added in v0.4.0

type DRKeyMgmt_Which uint16
const (
	DRKeyMgmt_Which_unset    DRKeyMgmt_Which = 0
	DRKeyMgmt_Which_drkeyReq DRKeyMgmt_Which = 1
	DRKeyMgmt_Which_drkeyRep DRKeyMgmt_Which = 2
)

func (DRKeyMgmt_Which) String added in v0.4.0

func (w DRKeyMgmt_Which) String() string

type DRKeyRep added in v0.4.0

type DRKeyRep struct{ capnp.Struct }

func NewDRKeyRep added in v0.4.0

func NewDRKeyRep(s *capnp.Segment) (DRKeyRep, error)

func NewRootDRKeyRep added in v0.4.0

func NewRootDRKeyRep(s *capnp.Segment) (DRKeyRep, error)

func ReadRootDRKeyRep added in v0.4.0

func ReadRootDRKeyRep(msg *capnp.Message) (DRKeyRep, error)

func (DRKeyRep) CertVerDst added in v0.4.0

func (s DRKeyRep) CertVerDst() uint32

func (DRKeyRep) CertVerSrc added in v0.4.0

func (s DRKeyRep) CertVerSrc() uint32

func (DRKeyRep) Cipher added in v0.4.0

func (s DRKeyRep) Cipher() ([]byte, error)

func (DRKeyRep) ExpTime added in v0.4.0

func (s DRKeyRep) ExpTime() uint32

func (DRKeyRep) HasCipher added in v0.4.0

func (s DRKeyRep) HasCipher() bool

func (DRKeyRep) HasSignature added in v0.4.0

func (s DRKeyRep) HasSignature() bool

func (DRKeyRep) Isdas added in v0.4.0

func (s DRKeyRep) Isdas() uint64

func (DRKeyRep) SetCertVerDst added in v0.4.0

func (s DRKeyRep) SetCertVerDst(v uint32)

func (DRKeyRep) SetCertVerSrc added in v0.4.0

func (s DRKeyRep) SetCertVerSrc(v uint32)

func (DRKeyRep) SetCipher added in v0.4.0

func (s DRKeyRep) SetCipher(v []byte) error

func (DRKeyRep) SetExpTime added in v0.4.0

func (s DRKeyRep) SetExpTime(v uint32)

func (DRKeyRep) SetIsdas added in v0.4.0

func (s DRKeyRep) SetIsdas(v uint64)

func (DRKeyRep) SetSignature added in v0.4.0

func (s DRKeyRep) SetSignature(v []byte) error

func (DRKeyRep) SetTimestamp added in v0.4.0

func (s DRKeyRep) SetTimestamp(v uint32)

func (DRKeyRep) SetTrcVer added in v0.4.0

func (s DRKeyRep) SetTrcVer(v uint32)

func (DRKeyRep) Signature added in v0.4.0

func (s DRKeyRep) Signature() ([]byte, error)

func (DRKeyRep) String added in v0.4.0

func (s DRKeyRep) String() string

func (DRKeyRep) Timestamp added in v0.4.0

func (s DRKeyRep) Timestamp() uint32

func (DRKeyRep) TrcVer added in v0.4.0

func (s DRKeyRep) TrcVer() uint32

type DRKeyRep_List added in v0.4.0

type DRKeyRep_List struct{ capnp.List }

DRKeyRep_List is a list of DRKeyRep.

func NewDRKeyRep_List added in v0.4.0

func NewDRKeyRep_List(s *capnp.Segment, sz int32) (DRKeyRep_List, error)

NewDRKeyRep creates a new list of DRKeyRep.

func (DRKeyRep_List) At added in v0.4.0

func (s DRKeyRep_List) At(i int) DRKeyRep

func (DRKeyRep_List) Set added in v0.4.0

func (s DRKeyRep_List) Set(i int, v DRKeyRep) error

func (DRKeyRep_List) String added in v0.4.0

func (s DRKeyRep_List) String() string

type DRKeyRep_Promise added in v0.4.0

type DRKeyRep_Promise struct{ *capnp.Pipeline }

DRKeyRep_Promise is a wrapper for a DRKeyRep promised by a client call.

func (DRKeyRep_Promise) Struct added in v0.4.0

func (p DRKeyRep_Promise) Struct() (DRKeyRep, error)

type DRKeyReq added in v0.4.0

type DRKeyReq struct{ capnp.Struct }

func NewDRKeyReq added in v0.4.0

func NewDRKeyReq(s *capnp.Segment) (DRKeyReq, error)

func NewRootDRKeyReq added in v0.4.0

func NewRootDRKeyReq(s *capnp.Segment) (DRKeyReq, error)

func ReadRootDRKeyReq added in v0.4.0

func ReadRootDRKeyReq(msg *capnp.Message) (DRKeyReq, error)

func (DRKeyReq) CertVer added in v0.4.0

func (s DRKeyReq) CertVer() uint32

func (DRKeyReq) Flags added in v0.4.0

func (s DRKeyReq) Flags() DRKeyReq_flags

func (DRKeyReq) HasSignature added in v0.4.0

func (s DRKeyReq) HasSignature() bool

func (DRKeyReq) Isdas added in v0.4.0

func (s DRKeyReq) Isdas() uint64

func (DRKeyReq) SetCertVer added in v0.4.0

func (s DRKeyReq) SetCertVer(v uint32)

func (DRKeyReq) SetIsdas added in v0.4.0

func (s DRKeyReq) SetIsdas(v uint64)

func (DRKeyReq) SetSignature added in v0.4.0

func (s DRKeyReq) SetSignature(v []byte) error

func (DRKeyReq) SetTimestamp added in v0.4.0

func (s DRKeyReq) SetTimestamp(v uint32)

func (DRKeyReq) SetTrcVer added in v0.4.0

func (s DRKeyReq) SetTrcVer(v uint32)

func (DRKeyReq) Signature added in v0.4.0

func (s DRKeyReq) Signature() ([]byte, error)

func (DRKeyReq) String added in v0.4.0

func (s DRKeyReq) String() string

func (DRKeyReq) Timestamp added in v0.4.0

func (s DRKeyReq) Timestamp() uint32

func (DRKeyReq) TrcVer added in v0.4.0

func (s DRKeyReq) TrcVer() uint32

type DRKeyReq_List added in v0.4.0

type DRKeyReq_List struct{ capnp.List }

DRKeyReq_List is a list of DRKeyReq.

func NewDRKeyReq_List added in v0.4.0

func NewDRKeyReq_List(s *capnp.Segment, sz int32) (DRKeyReq_List, error)

NewDRKeyReq creates a new list of DRKeyReq.

func (DRKeyReq_List) At added in v0.4.0

func (s DRKeyReq_List) At(i int) DRKeyReq

func (DRKeyReq_List) Set added in v0.4.0

func (s DRKeyReq_List) Set(i int, v DRKeyReq) error

func (DRKeyReq_List) String added in v0.4.0

func (s DRKeyReq_List) String() string

type DRKeyReq_Promise added in v0.4.0

type DRKeyReq_Promise struct{ *capnp.Pipeline }

DRKeyReq_Promise is a wrapper for a DRKeyReq promised by a client call.

func (DRKeyReq_Promise) Flags added in v0.4.0

func (DRKeyReq_Promise) Struct added in v0.4.0

func (p DRKeyReq_Promise) Struct() (DRKeyReq, error)

type DRKeyReq_flags added in v0.4.0

type DRKeyReq_flags DRKeyReq

func (DRKeyReq_flags) Prefetch added in v0.4.0

func (s DRKeyReq_flags) Prefetch() bool

func (DRKeyReq_flags) SetPrefetch added in v0.4.0

func (s DRKeyReq_flags) SetPrefetch(v bool)

type DRKeyReq_flags_Promise added in v0.4.0

type DRKeyReq_flags_Promise struct{ *capnp.Pipeline }

DRKeyReq_flags_Promise is a wrapper for a DRKeyReq_flags promised by a client call.

func (DRKeyReq_flags_Promise) Struct added in v0.4.0

type FwdPathMeta added in v0.4.0

type FwdPathMeta struct{ capnp.Struct }

func NewFwdPathMeta added in v0.4.0

func NewFwdPathMeta(s *capnp.Segment) (FwdPathMeta, error)

func NewRootFwdPathMeta added in v0.4.0

func NewRootFwdPathMeta(s *capnp.Segment) (FwdPathMeta, error)

func ReadRootFwdPathMeta added in v0.4.0

func ReadRootFwdPathMeta(msg *capnp.Message) (FwdPathMeta, error)

func (FwdPathMeta) ExpTime added in v0.4.0

func (s FwdPathMeta) ExpTime() uint32

func (FwdPathMeta) FwdPath added in v0.4.0

func (s FwdPathMeta) FwdPath() ([]byte, error)

func (FwdPathMeta) HasFwdPath added in v0.4.0

func (s FwdPathMeta) HasFwdPath() bool

func (FwdPathMeta) HasInterfaces added in v0.4.0

func (s FwdPathMeta) HasInterfaces() bool

func (FwdPathMeta) Interfaces added in v0.4.0

func (s FwdPathMeta) Interfaces() (PathInterface_List, error)

func (FwdPathMeta) Mtu added in v0.4.0

func (s FwdPathMeta) Mtu() uint16

func (FwdPathMeta) NewInterfaces added in v0.4.0

func (s FwdPathMeta) NewInterfaces(n int32) (PathInterface_List, error)

NewInterfaces sets the interfaces field to a newly allocated PathInterface_List, preferring placement in s's segment.

func (FwdPathMeta) SetExpTime added in v0.4.0

func (s FwdPathMeta) SetExpTime(v uint32)

func (FwdPathMeta) SetFwdPath added in v0.4.0

func (s FwdPathMeta) SetFwdPath(v []byte) error

func (FwdPathMeta) SetInterfaces added in v0.4.0

func (s FwdPathMeta) SetInterfaces(v PathInterface_List) error

func (FwdPathMeta) SetMtu added in v0.4.0

func (s FwdPathMeta) SetMtu(v uint16)

func (FwdPathMeta) String added in v0.4.0

func (s FwdPathMeta) String() string

type FwdPathMeta_List added in v0.4.0

type FwdPathMeta_List struct{ capnp.List }

FwdPathMeta_List is a list of FwdPathMeta.

func NewFwdPathMeta_List added in v0.4.0

func NewFwdPathMeta_List(s *capnp.Segment, sz int32) (FwdPathMeta_List, error)

NewFwdPathMeta creates a new list of FwdPathMeta.

func (FwdPathMeta_List) At added in v0.4.0

func (FwdPathMeta_List) Set added in v0.4.0

func (s FwdPathMeta_List) Set(i int, v FwdPathMeta) error

func (FwdPathMeta_List) String added in v0.4.0

func (s FwdPathMeta_List) String() string

type FwdPathMeta_Promise added in v0.4.0

type FwdPathMeta_Promise struct{ *capnp.Pipeline }

FwdPathMeta_Promise is a wrapper for a FwdPathMeta promised by a client call.

func (FwdPathMeta_Promise) Struct added in v0.4.0

func (p FwdPathMeta_Promise) Struct() (FwdPathMeta, error)

type HPCfg added in v0.4.0

type HPCfg struct{ capnp.Struct }

func NewHPCfg added in v0.4.0

func NewHPCfg(s *capnp.Segment) (HPCfg, error)

func NewRootHPCfg added in v0.4.0

func NewRootHPCfg(s *capnp.Segment) (HPCfg, error)

func ReadRootHPCfg added in v0.4.0

func ReadRootHPCfg(msg *capnp.Message) (HPCfg, error)

func (HPCfg) GroupId added in v0.4.0

func (s HPCfg) GroupId() (HPGroupId, error)

func (HPCfg) HasGroupId added in v0.4.0

func (s HPCfg) HasGroupId() bool

func (HPCfg) HasReaders added in v0.4.0

func (s HPCfg) HasReaders() bool

func (HPCfg) HasRegistries added in v0.4.0

func (s HPCfg) HasRegistries() bool

func (HPCfg) HasWriters added in v0.4.0

func (s HPCfg) HasWriters() bool

func (HPCfg) NewGroupId added in v0.4.0

func (s HPCfg) NewGroupId() (HPGroupId, error)

NewGroupId sets the groupId field to a newly allocated HPGroupId struct, preferring placement in s's segment.

func (HPCfg) NewReaders added in v0.4.0

func (s HPCfg) NewReaders(n int32) (capnp.UInt64List, error)

NewReaders sets the readers field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (HPCfg) NewRegistries added in v0.4.0

func (s HPCfg) NewRegistries(n int32) (capnp.UInt64List, error)

NewRegistries sets the registries field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (HPCfg) NewWriters added in v0.4.0

func (s HPCfg) NewWriters(n int32) (capnp.UInt64List, error)

NewWriters sets the writers field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (HPCfg) OwnerISD added in v0.4.0

func (s HPCfg) OwnerISD() uint16

func (HPCfg) Readers added in v0.4.0

func (s HPCfg) Readers() (capnp.UInt64List, error)

func (HPCfg) Registries added in v0.4.0

func (s HPCfg) Registries() (capnp.UInt64List, error)

func (HPCfg) SetGroupId added in v0.4.0

func (s HPCfg) SetGroupId(v HPGroupId) error

func (HPCfg) SetOwnerISD added in v0.4.0

func (s HPCfg) SetOwnerISD(v uint16)

func (HPCfg) SetReaders added in v0.4.0

func (s HPCfg) SetReaders(v capnp.UInt64List) error

func (HPCfg) SetRegistries added in v0.4.0

func (s HPCfg) SetRegistries(v capnp.UInt64List) error

func (HPCfg) SetVersion added in v0.4.0

func (s HPCfg) SetVersion(v uint32)

func (HPCfg) SetWriters added in v0.4.0

func (s HPCfg) SetWriters(v capnp.UInt64List) error

func (HPCfg) String added in v0.4.0

func (s HPCfg) String() string

func (HPCfg) Version added in v0.4.0

func (s HPCfg) Version() uint32

func (HPCfg) Writers added in v0.4.0

func (s HPCfg) Writers() (capnp.UInt64List, error)

type HPCfgReply added in v0.4.0

type HPCfgReply struct{ capnp.Struct }

func NewHPCfgReply added in v0.4.0

func NewHPCfgReply(s *capnp.Segment) (HPCfgReply, error)

func NewRootHPCfgReply added in v0.4.0

func NewRootHPCfgReply(s *capnp.Segment) (HPCfgReply, error)

func ReadRootHPCfgReply added in v0.4.0

func ReadRootHPCfgReply(msg *capnp.Message) (HPCfgReply, error)

func (HPCfgReply) Cfgs added in v0.4.0

func (s HPCfgReply) Cfgs() (HPCfg_List, error)

func (HPCfgReply) HasCfgs added in v0.4.0

func (s HPCfgReply) HasCfgs() bool

func (HPCfgReply) NewCfgs added in v0.4.0

func (s HPCfgReply) NewCfgs(n int32) (HPCfg_List, error)

NewCfgs sets the cfgs field to a newly allocated HPCfg_List, preferring placement in s's segment.

func (HPCfgReply) SetCfgs added in v0.4.0

func (s HPCfgReply) SetCfgs(v HPCfg_List) error

func (HPCfgReply) String added in v0.4.0

func (s HPCfgReply) String() string

type HPCfgReply_List added in v0.4.0

type HPCfgReply_List struct{ capnp.List }

HPCfgReply_List is a list of HPCfgReply.

func NewHPCfgReply_List added in v0.4.0

func NewHPCfgReply_List(s *capnp.Segment, sz int32) (HPCfgReply_List, error)

NewHPCfgReply creates a new list of HPCfgReply.

func (HPCfgReply_List) At added in v0.4.0

func (s HPCfgReply_List) At(i int) HPCfgReply

func (HPCfgReply_List) Set added in v0.4.0

func (s HPCfgReply_List) Set(i int, v HPCfgReply) error

func (HPCfgReply_List) String added in v0.4.0

func (s HPCfgReply_List) String() string

type HPCfgReply_Promise added in v0.4.0

type HPCfgReply_Promise struct{ *capnp.Pipeline }

HPCfgReply_Promise is a wrapper for a HPCfgReply promised by a client call.

func (HPCfgReply_Promise) Struct added in v0.4.0

func (p HPCfgReply_Promise) Struct() (HPCfgReply, error)

type HPCfgReq added in v0.4.0

type HPCfgReq struct{ capnp.Struct }

func NewHPCfgReq added in v0.4.0

func NewHPCfgReq(s *capnp.Segment) (HPCfgReq, error)

func NewRootHPCfgReq added in v0.4.0

func NewRootHPCfgReq(s *capnp.Segment) (HPCfgReq, error)

func ReadRootHPCfgReq added in v0.4.0

func ReadRootHPCfgReq(msg *capnp.Message) (HPCfgReq, error)

func (HPCfgReq) ChangedSince added in v0.4.0

func (s HPCfgReq) ChangedSince() uint32

func (HPCfgReq) SetChangedSince added in v0.4.0

func (s HPCfgReq) SetChangedSince(v uint32)

func (HPCfgReq) String added in v0.4.0

func (s HPCfgReq) String() string

type HPCfgReq_List added in v0.4.0

type HPCfgReq_List struct{ capnp.List }

HPCfgReq_List is a list of HPCfgReq.

func NewHPCfgReq_List added in v0.4.0

func NewHPCfgReq_List(s *capnp.Segment, sz int32) (HPCfgReq_List, error)

NewHPCfgReq creates a new list of HPCfgReq.

func (HPCfgReq_List) At added in v0.4.0

func (s HPCfgReq_List) At(i int) HPCfgReq

func (HPCfgReq_List) Set added in v0.4.0

func (s HPCfgReq_List) Set(i int, v HPCfgReq) error

func (HPCfgReq_List) String added in v0.4.0

func (s HPCfgReq_List) String() string

type HPCfgReq_Promise added in v0.4.0

type HPCfgReq_Promise struct{ *capnp.Pipeline }

HPCfgReq_Promise is a wrapper for a HPCfgReq promised by a client call.

func (HPCfgReq_Promise) Struct added in v0.4.0

func (p HPCfgReq_Promise) Struct() (HPCfgReq, error)

type HPCfg_List added in v0.4.0

type HPCfg_List struct{ capnp.List }

HPCfg_List is a list of HPCfg.

func NewHPCfg_List added in v0.4.0

func NewHPCfg_List(s *capnp.Segment, sz int32) (HPCfg_List, error)

NewHPCfg creates a new list of HPCfg.

func (HPCfg_List) At added in v0.4.0

func (s HPCfg_List) At(i int) HPCfg

func (HPCfg_List) Set added in v0.4.0

func (s HPCfg_List) Set(i int, v HPCfg) error

func (HPCfg_List) String added in v0.4.0

func (s HPCfg_List) String() string

type HPCfg_Promise added in v0.4.0

type HPCfg_Promise struct{ *capnp.Pipeline }

HPCfg_Promise is a wrapper for a HPCfg promised by a client call.

func (HPCfg_Promise) GroupId added in v0.4.0

func (p HPCfg_Promise) GroupId() HPGroupId_Promise

func (HPCfg_Promise) Struct added in v0.4.0

func (p HPCfg_Promise) Struct() (HPCfg, error)

type HPGroupId added in v0.4.0

type HPGroupId struct{ capnp.Struct }

func NewHPGroupId added in v0.4.0

func NewHPGroupId(s *capnp.Segment) (HPGroupId, error)

func NewRootHPGroupId added in v0.4.0

func NewRootHPGroupId(s *capnp.Segment) (HPGroupId, error)

func ReadRootHPGroupId added in v0.4.0

func ReadRootHPGroupId(msg *capnp.Message) (HPGroupId, error)

func (HPGroupId) GroupId added in v0.4.0

func (s HPGroupId) GroupId() uint16

func (HPGroupId) OwnerAS added in v0.4.0

func (s HPGroupId) OwnerAS() uint64

func (HPGroupId) SetGroupId added in v0.4.0

func (s HPGroupId) SetGroupId(v uint16)

func (HPGroupId) SetOwnerAS added in v0.4.0

func (s HPGroupId) SetOwnerAS(v uint64)

func (HPGroupId) String added in v0.4.0

func (s HPGroupId) String() string

type HPGroupId_List added in v0.4.0

type HPGroupId_List struct{ capnp.List }

HPGroupId_List is a list of HPGroupId.

func NewHPGroupId_List added in v0.4.0

func NewHPGroupId_List(s *capnp.Segment, sz int32) (HPGroupId_List, error)

NewHPGroupId creates a new list of HPGroupId.

func (HPGroupId_List) At added in v0.4.0

func (s HPGroupId_List) At(i int) HPGroupId

func (HPGroupId_List) Set added in v0.4.0

func (s HPGroupId_List) Set(i int, v HPGroupId) error

func (HPGroupId_List) String added in v0.4.0

func (s HPGroupId_List) String() string

type HPGroupId_Promise added in v0.4.0

type HPGroupId_Promise struct{ *capnp.Pipeline }

HPGroupId_Promise is a wrapper for a HPGroupId promised by a client call.

func (HPGroupId_Promise) Struct added in v0.4.0

func (p HPGroupId_Promise) Struct() (HPGroupId, error)

type HPSegRecs added in v0.4.0

type HPSegRecs struct{ capnp.Struct }

func NewHPSegRecs added in v0.4.0

func NewHPSegRecs(s *capnp.Segment) (HPSegRecs, error)

func NewRootHPSegRecs added in v0.4.0

func NewRootHPSegRecs(s *capnp.Segment) (HPSegRecs, error)

func ReadRootHPSegRecs added in v0.4.0

func ReadRootHPSegRecs(msg *capnp.Message) (HPSegRecs, error)

func (HPSegRecs) Err added in v0.4.0

func (s HPSegRecs) Err() (string, error)

func (HPSegRecs) ErrBytes added in v0.4.0

func (s HPSegRecs) ErrBytes() ([]byte, error)

func (HPSegRecs) GroupId added in v0.4.0

func (s HPSegRecs) GroupId() (HPGroupId, error)

func (HPSegRecs) HasErr added in v0.4.0

func (s HPSegRecs) HasErr() bool

func (HPSegRecs) HasGroupId added in v0.4.0

func (s HPSegRecs) HasGroupId() bool

func (HPSegRecs) HasRecs added in v0.4.0

func (s HPSegRecs) HasRecs() bool

func (HPSegRecs) NewGroupId added in v0.4.0

func (s HPSegRecs) NewGroupId() (HPGroupId, error)

NewGroupId sets the groupId field to a newly allocated HPGroupId struct, preferring placement in s's segment.

func (HPSegRecs) NewRecs added in v0.4.0

func (s HPSegRecs) NewRecs(n int32) (PathSegMeta_List, error)

NewRecs sets the recs field to a newly allocated PathSegMeta_List, preferring placement in s's segment.

func (HPSegRecs) Recs added in v0.4.0

func (s HPSegRecs) Recs() (PathSegMeta_List, error)

func (HPSegRecs) SetErr added in v0.4.0

func (s HPSegRecs) SetErr(v string) error

func (HPSegRecs) SetGroupId added in v0.4.0

func (s HPSegRecs) SetGroupId(v HPGroupId) error

func (HPSegRecs) SetRecs added in v0.4.0

func (s HPSegRecs) SetRecs(v PathSegMeta_List) error

func (HPSegRecs) String added in v0.4.0

func (s HPSegRecs) String() string

type HPSegRecs_List added in v0.4.0

type HPSegRecs_List struct{ capnp.List }

HPSegRecs_List is a list of HPSegRecs.

func NewHPSegRecs_List added in v0.4.0

func NewHPSegRecs_List(s *capnp.Segment, sz int32) (HPSegRecs_List, error)

NewHPSegRecs creates a new list of HPSegRecs.

func (HPSegRecs_List) At added in v0.4.0

func (s HPSegRecs_List) At(i int) HPSegRecs

func (HPSegRecs_List) Set added in v0.4.0

func (s HPSegRecs_List) Set(i int, v HPSegRecs) error

func (HPSegRecs_List) String added in v0.4.0

func (s HPSegRecs_List) String() string

type HPSegRecs_Promise added in v0.4.0

type HPSegRecs_Promise struct{ *capnp.Pipeline }

HPSegRecs_Promise is a wrapper for a HPSegRecs promised by a client call.

func (HPSegRecs_Promise) GroupId added in v0.4.0

func (HPSegRecs_Promise) Struct added in v0.4.0

func (p HPSegRecs_Promise) Struct() (HPSegRecs, error)

type HPSegReply added in v0.4.0

type HPSegReply struct{ capnp.Struct }

func NewHPSegReply added in v0.4.0

func NewHPSegReply(s *capnp.Segment) (HPSegReply, error)

func NewRootHPSegReply added in v0.4.0

func NewRootHPSegReply(s *capnp.Segment) (HPSegReply, error)

func ReadRootHPSegReply added in v0.4.0

func ReadRootHPSegReply(msg *capnp.Message) (HPSegReply, error)

func (HPSegReply) HasRecs added in v0.4.0

func (s HPSegReply) HasRecs() bool

func (HPSegReply) NewRecs added in v0.4.0

func (s HPSegReply) NewRecs(n int32) (HPSegRecs_List, error)

NewRecs sets the recs field to a newly allocated HPSegRecs_List, preferring placement in s's segment.

func (HPSegReply) Recs added in v0.4.0

func (s HPSegReply) Recs() (HPSegRecs_List, error)

func (HPSegReply) SetRecs added in v0.4.0

func (s HPSegReply) SetRecs(v HPSegRecs_List) error

func (HPSegReply) String added in v0.4.0

func (s HPSegReply) String() string

type HPSegReply_List added in v0.4.0

type HPSegReply_List struct{ capnp.List }

HPSegReply_List is a list of HPSegReply.

func NewHPSegReply_List added in v0.4.0

func NewHPSegReply_List(s *capnp.Segment, sz int32) (HPSegReply_List, error)

NewHPSegReply creates a new list of HPSegReply.

func (HPSegReply_List) At added in v0.4.0

func (s HPSegReply_List) At(i int) HPSegReply

func (HPSegReply_List) Set added in v0.4.0

func (s HPSegReply_List) Set(i int, v HPSegReply) error

func (HPSegReply_List) String added in v0.4.0

func (s HPSegReply_List) String() string

type HPSegReply_Promise added in v0.4.0

type HPSegReply_Promise struct{ *capnp.Pipeline }

HPSegReply_Promise is a wrapper for a HPSegReply promised by a client call.

func (HPSegReply_Promise) Struct added in v0.4.0

func (p HPSegReply_Promise) Struct() (HPSegReply, error)

type HPSegReq added in v0.4.0

type HPSegReq struct{ capnp.Struct }

func NewHPSegReq added in v0.4.0

func NewHPSegReq(s *capnp.Segment) (HPSegReq, error)

func NewRootHPSegReq added in v0.4.0

func NewRootHPSegReq(s *capnp.Segment) (HPSegReq, error)

func ReadRootHPSegReq added in v0.4.0

func ReadRootHPSegReq(msg *capnp.Message) (HPSegReq, error)

func (HPSegReq) DstIA added in v0.4.0

func (s HPSegReq) DstIA() uint64

func (HPSegReq) GroupIds added in v0.4.0

func (s HPSegReq) GroupIds() (HPGroupId_List, error)

func (HPSegReq) HasGroupIds added in v0.4.0

func (s HPSegReq) HasGroupIds() bool

func (HPSegReq) NewGroupIds added in v0.4.0

func (s HPSegReq) NewGroupIds(n int32) (HPGroupId_List, error)

NewGroupIds sets the groupIds field to a newly allocated HPGroupId_List, preferring placement in s's segment.

func (HPSegReq) SetDstIA added in v0.4.0

func (s HPSegReq) SetDstIA(v uint64)

func (HPSegReq) SetGroupIds added in v0.4.0

func (s HPSegReq) SetGroupIds(v HPGroupId_List) error

func (HPSegReq) String added in v0.4.0

func (s HPSegReq) String() string

type HPSegReq_List added in v0.4.0

type HPSegReq_List struct{ capnp.List }

HPSegReq_List is a list of HPSegReq.

func NewHPSegReq_List added in v0.4.0

func NewHPSegReq_List(s *capnp.Segment, sz int32) (HPSegReq_List, error)

NewHPSegReq creates a new list of HPSegReq.

func (HPSegReq_List) At added in v0.4.0

func (s HPSegReq_List) At(i int) HPSegReq

func (HPSegReq_List) Set added in v0.4.0

func (s HPSegReq_List) Set(i int, v HPSegReq) error

func (HPSegReq_List) String added in v0.4.0

func (s HPSegReq_List) String() string

type HPSegReq_Promise added in v0.4.0

type HPSegReq_Promise struct{ *capnp.Pipeline }

HPSegReq_Promise is a wrapper for a HPSegReq promised by a client call.

func (HPSegReq_Promise) Struct added in v0.4.0

func (p HPSegReq_Promise) Struct() (HPSegReq, error)

type HiddenPathSegExtn added in v0.4.0

type HiddenPathSegExtn struct{ capnp.Struct }

func NewHiddenPathSegExtn added in v0.4.0

func NewHiddenPathSegExtn(s *capnp.Segment) (HiddenPathSegExtn, error)

func NewRootHiddenPathSegExtn added in v0.4.0

func NewRootHiddenPathSegExtn(s *capnp.Segment) (HiddenPathSegExtn, error)

func ReadRootHiddenPathSegExtn added in v0.4.0

func ReadRootHiddenPathSegExtn(msg *capnp.Message) (HiddenPathSegExtn, error)

func (HiddenPathSegExtn) Set added in v0.4.0

func (s HiddenPathSegExtn) Set() bool

func (HiddenPathSegExtn) SetSet added in v0.4.0

func (s HiddenPathSegExtn) SetSet(v bool)

func (HiddenPathSegExtn) String added in v0.4.0

func (s HiddenPathSegExtn) String() string

type HiddenPathSegExtn_List added in v0.4.0

type HiddenPathSegExtn_List struct{ capnp.List }

HiddenPathSegExtn_List is a list of HiddenPathSegExtn.

func NewHiddenPathSegExtn_List added in v0.4.0

func NewHiddenPathSegExtn_List(s *capnp.Segment, sz int32) (HiddenPathSegExtn_List, error)

NewHiddenPathSegExtn creates a new list of HiddenPathSegExtn.

func (HiddenPathSegExtn_List) At added in v0.4.0

func (HiddenPathSegExtn_List) Set added in v0.4.0

func (HiddenPathSegExtn_List) String added in v0.4.0

func (s HiddenPathSegExtn_List) String() string

type HiddenPathSegExtn_Promise added in v0.4.0

type HiddenPathSegExtn_Promise struct{ *capnp.Pipeline }

HiddenPathSegExtn_Promise is a wrapper for a HiddenPathSegExtn promised by a client call.

func (HiddenPathSegExtn_Promise) Struct added in v0.4.0

type HopEntry added in v0.4.0

type HopEntry struct{ capnp.Struct }

func NewHopEntry added in v0.4.0

func NewHopEntry(s *capnp.Segment) (HopEntry, error)

func NewRootHopEntry added in v0.4.0

func NewRootHopEntry(s *capnp.Segment) (HopEntry, error)

func ReadRootHopEntry added in v0.4.0

func ReadRootHopEntry(msg *capnp.Message) (HopEntry, error)

func (HopEntry) HasHopF added in v0.4.0

func (s HopEntry) HasHopF() bool

func (HopEntry) HopF added in v0.4.0

func (s HopEntry) HopF() ([]byte, error)

func (HopEntry) InIA added in v0.4.0

func (s HopEntry) InIA() uint64

func (HopEntry) InMTU added in v0.4.0

func (s HopEntry) InMTU() uint16

func (HopEntry) OutIA added in v0.4.0

func (s HopEntry) OutIA() uint64

func (HopEntry) RemoteInIF added in v0.4.0

func (s HopEntry) RemoteInIF() uint64

func (HopEntry) RemoteOutIF added in v0.4.0

func (s HopEntry) RemoteOutIF() uint64

func (HopEntry) SetHopF added in v0.4.0

func (s HopEntry) SetHopF(v []byte) error

func (HopEntry) SetInIA added in v0.4.0

func (s HopEntry) SetInIA(v uint64)

func (HopEntry) SetInMTU added in v0.4.0

func (s HopEntry) SetInMTU(v uint16)

func (HopEntry) SetOutIA added in v0.4.0

func (s HopEntry) SetOutIA(v uint64)

func (HopEntry) SetRemoteInIF added in v0.4.0

func (s HopEntry) SetRemoteInIF(v uint64)

func (HopEntry) SetRemoteOutIF added in v0.4.0

func (s HopEntry) SetRemoteOutIF(v uint64)

func (HopEntry) String added in v0.4.0

func (s HopEntry) String() string

type HopEntry_List added in v0.4.0

type HopEntry_List struct{ capnp.List }

HopEntry_List is a list of HopEntry.

func NewHopEntry_List added in v0.4.0

func NewHopEntry_List(s *capnp.Segment, sz int32) (HopEntry_List, error)

NewHopEntry creates a new list of HopEntry.

func (HopEntry_List) At added in v0.4.0

func (s HopEntry_List) At(i int) HopEntry

func (HopEntry_List) Set added in v0.4.0

func (s HopEntry_List) Set(i int, v HopEntry) error

func (HopEntry_List) String added in v0.4.0

func (s HopEntry_List) String() string

type HopEntry_Promise added in v0.4.0

type HopEntry_Promise struct{ *capnp.Pipeline }

HopEntry_Promise is a wrapper for a HopEntry promised by a client call.

func (HopEntry_Promise) Struct added in v0.4.0

func (p HopEntry_Promise) Struct() (HopEntry, error)

type HostInfo added in v0.4.0

type HostInfo struct{ capnp.Struct }

func NewHostInfo added in v0.4.0

func NewHostInfo(s *capnp.Segment) (HostInfo, error)

func NewRootHostInfo added in v0.4.0

func NewRootHostInfo(s *capnp.Segment) (HostInfo, error)

func ReadRootHostInfo added in v0.4.0

func ReadRootHostInfo(msg *capnp.Message) (HostInfo, error)

func (HostInfo) Addrs added in v0.4.0

func (s HostInfo) Addrs() HostInfo_addrs

func (HostInfo) Port added in v0.4.0

func (s HostInfo) Port() uint16

func (HostInfo) SetPort added in v0.4.0

func (s HostInfo) SetPort(v uint16)

func (HostInfo) String added in v0.4.0

func (s HostInfo) String() string

type HostInfo_List added in v0.4.0

type HostInfo_List struct{ capnp.List }

HostInfo_List is a list of HostInfo.

func NewHostInfo_List added in v0.4.0

func NewHostInfo_List(s *capnp.Segment, sz int32) (HostInfo_List, error)

NewHostInfo creates a new list of HostInfo.

func (HostInfo_List) At added in v0.4.0

func (s HostInfo_List) At(i int) HostInfo

func (HostInfo_List) Set added in v0.4.0

func (s HostInfo_List) Set(i int, v HostInfo) error

func (HostInfo_List) String added in v0.4.0

func (s HostInfo_List) String() string

type HostInfo_Promise added in v0.4.0

type HostInfo_Promise struct{ *capnp.Pipeline }

HostInfo_Promise is a wrapper for a HostInfo promised by a client call.

func (HostInfo_Promise) Addrs added in v0.4.0

func (HostInfo_Promise) Struct added in v0.4.0

func (p HostInfo_Promise) Struct() (HostInfo, error)

type HostInfo_addrs added in v0.4.0

type HostInfo_addrs HostInfo

func (HostInfo_addrs) HasIpv4 added in v0.4.0

func (s HostInfo_addrs) HasIpv4() bool

func (HostInfo_addrs) HasIpv6 added in v0.4.0

func (s HostInfo_addrs) HasIpv6() bool

func (HostInfo_addrs) Ipv4 added in v0.4.0

func (s HostInfo_addrs) Ipv4() ([]byte, error)

func (HostInfo_addrs) Ipv6 added in v0.4.0

func (s HostInfo_addrs) Ipv6() ([]byte, error)

func (HostInfo_addrs) SetIpv4 added in v0.4.0

func (s HostInfo_addrs) SetIpv4(v []byte) error

func (HostInfo_addrs) SetIpv6 added in v0.4.0

func (s HostInfo_addrs) SetIpv6(v []byte) error

type HostInfo_addrs_Promise added in v0.4.0

type HostInfo_addrs_Promise struct{ *capnp.Pipeline }

HostInfo_addrs_Promise is a wrapper for a HostInfo_addrs promised by a client call.

func (HostInfo_addrs_Promise) Struct added in v0.4.0

type IFID added in v0.4.0

type IFID struct{ capnp.Struct }

func NewIFID added in v0.4.0

func NewIFID(s *capnp.Segment) (IFID, error)

func NewRootIFID added in v0.4.0

func NewRootIFID(s *capnp.Segment) (IFID, error)

func ReadRootIFID added in v0.4.0

func ReadRootIFID(msg *capnp.Message) (IFID, error)

func (IFID) OrigIF added in v0.4.0

func (s IFID) OrigIF() uint64

func (IFID) SetOrigIF added in v0.4.0

func (s IFID) SetOrigIF(v uint64)

func (IFID) String added in v0.4.0

func (s IFID) String() string

type IFID_List added in v0.4.0

type IFID_List struct{ capnp.List }

IFID_List is a list of IFID.

func NewIFID_List added in v0.4.0

func NewIFID_List(s *capnp.Segment, sz int32) (IFID_List, error)

NewIFID creates a new list of IFID.

func (IFID_List) At added in v0.4.0

func (s IFID_List) At(i int) IFID

func (IFID_List) Set added in v0.4.0

func (s IFID_List) Set(i int, v IFID) error

func (IFID_List) String added in v0.4.0

func (s IFID_List) String() string

type IFID_Promise added in v0.4.0

type IFID_Promise struct{ *capnp.Pipeline }

IFID_Promise is a wrapper for a IFID promised by a client call.

func (IFID_Promise) Struct added in v0.4.0

func (p IFID_Promise) Struct() (IFID, error)

type IFInfoReply added in v0.4.0

type IFInfoReply struct{ capnp.Struct }

func NewIFInfoReply added in v0.4.0

func NewIFInfoReply(s *capnp.Segment) (IFInfoReply, error)

func NewRootIFInfoReply added in v0.4.0

func NewRootIFInfoReply(s *capnp.Segment) (IFInfoReply, error)

func ReadRootIFInfoReply added in v0.4.0

func ReadRootIFInfoReply(msg *capnp.Message) (IFInfoReply, error)

func (IFInfoReply) Entries added in v0.4.0

func (s IFInfoReply) Entries() (IFInfoReplyEntry_List, error)

func (IFInfoReply) HasEntries added in v0.4.0

func (s IFInfoReply) HasEntries() bool

func (IFInfoReply) NewEntries added in v0.4.0

func (s IFInfoReply) NewEntries(n int32) (IFInfoReplyEntry_List, error)

NewEntries sets the entries field to a newly allocated IFInfoReplyEntry_List, preferring placement in s's segment.

func (IFInfoReply) SetEntries added in v0.4.0

func (s IFInfoReply) SetEntries(v IFInfoReplyEntry_List) error

func (IFInfoReply) String added in v0.4.0

func (s IFInfoReply) String() string

type IFInfoReplyEntry added in v0.4.0

type IFInfoReplyEntry struct{ capnp.Struct }

func NewIFInfoReplyEntry added in v0.4.0

func NewIFInfoReplyEntry(s *capnp.Segment) (IFInfoReplyEntry, error)

func NewRootIFInfoReplyEntry added in v0.4.0

func NewRootIFInfoReplyEntry(s *capnp.Segment) (IFInfoReplyEntry, error)

func ReadRootIFInfoReplyEntry added in v0.4.0

func ReadRootIFInfoReplyEntry(msg *capnp.Message) (IFInfoReplyEntry, error)

func (IFInfoReplyEntry) HasHostInfo added in v0.4.0

func (s IFInfoReplyEntry) HasHostInfo() bool

func (IFInfoReplyEntry) HostInfo added in v0.4.0

func (s IFInfoReplyEntry) HostInfo() (HostInfo, error)

func (IFInfoReplyEntry) IfID added in v0.4.0

func (s IFInfoReplyEntry) IfID() uint64

func (IFInfoReplyEntry) NewHostInfo added in v0.4.0

func (s IFInfoReplyEntry) NewHostInfo() (HostInfo, error)

NewHostInfo sets the hostInfo field to a newly allocated HostInfo struct, preferring placement in s's segment.

func (IFInfoReplyEntry) SetHostInfo added in v0.4.0

func (s IFInfoReplyEntry) SetHostInfo(v HostInfo) error

func (IFInfoReplyEntry) SetIfID added in v0.4.0

func (s IFInfoReplyEntry) SetIfID(v uint64)

func (IFInfoReplyEntry) String added in v0.4.0

func (s IFInfoReplyEntry) String() string

type IFInfoReplyEntry_List added in v0.4.0

type IFInfoReplyEntry_List struct{ capnp.List }

IFInfoReplyEntry_List is a list of IFInfoReplyEntry.

func NewIFInfoReplyEntry_List added in v0.4.0

func NewIFInfoReplyEntry_List(s *capnp.Segment, sz int32) (IFInfoReplyEntry_List, error)

NewIFInfoReplyEntry creates a new list of IFInfoReplyEntry.

func (IFInfoReplyEntry_List) At added in v0.4.0

func (IFInfoReplyEntry_List) Set added in v0.4.0

func (IFInfoReplyEntry_List) String added in v0.4.0

func (s IFInfoReplyEntry_List) String() string

type IFInfoReplyEntry_Promise added in v0.4.0

type IFInfoReplyEntry_Promise struct{ *capnp.Pipeline }

IFInfoReplyEntry_Promise is a wrapper for a IFInfoReplyEntry promised by a client call.

func (IFInfoReplyEntry_Promise) HostInfo added in v0.4.0

func (IFInfoReplyEntry_Promise) Struct added in v0.4.0

type IFInfoReply_List added in v0.4.0

type IFInfoReply_List struct{ capnp.List }

IFInfoReply_List is a list of IFInfoReply.

func NewIFInfoReply_List added in v0.4.0

func NewIFInfoReply_List(s *capnp.Segment, sz int32) (IFInfoReply_List, error)

NewIFInfoReply creates a new list of IFInfoReply.

func (IFInfoReply_List) At added in v0.4.0

func (IFInfoReply_List) Set added in v0.4.0

func (s IFInfoReply_List) Set(i int, v IFInfoReply) error

func (IFInfoReply_List) String added in v0.4.0

func (s IFInfoReply_List) String() string

type IFInfoReply_Promise added in v0.4.0

type IFInfoReply_Promise struct{ *capnp.Pipeline }

IFInfoReply_Promise is a wrapper for a IFInfoReply promised by a client call.

func (IFInfoReply_Promise) Struct added in v0.4.0

func (p IFInfoReply_Promise) Struct() (IFInfoReply, error)

type IFInfoRequest added in v0.4.0

type IFInfoRequest struct{ capnp.Struct }

func NewIFInfoRequest added in v0.4.0

func NewIFInfoRequest(s *capnp.Segment) (IFInfoRequest, error)

func NewRootIFInfoRequest added in v0.4.0

func NewRootIFInfoRequest(s *capnp.Segment) (IFInfoRequest, error)

func ReadRootIFInfoRequest added in v0.4.0

func ReadRootIFInfoRequest(msg *capnp.Message) (IFInfoRequest, error)

func (IFInfoRequest) HasIfIDs added in v0.4.0

func (s IFInfoRequest) HasIfIDs() bool

func (IFInfoRequest) IfIDs added in v0.4.0

func (s IFInfoRequest) IfIDs() (capnp.UInt64List, error)

func (IFInfoRequest) NewIfIDs added in v0.4.0

func (s IFInfoRequest) NewIfIDs(n int32) (capnp.UInt64List, error)

NewIfIDs sets the ifIDs field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (IFInfoRequest) SetIfIDs added in v0.4.0

func (s IFInfoRequest) SetIfIDs(v capnp.UInt64List) error

func (IFInfoRequest) String added in v0.4.0

func (s IFInfoRequest) String() string

type IFInfoRequest_List added in v0.4.0

type IFInfoRequest_List struct{ capnp.List }

IFInfoRequest_List is a list of IFInfoRequest.

func NewIFInfoRequest_List added in v0.4.0

func NewIFInfoRequest_List(s *capnp.Segment, sz int32) (IFInfoRequest_List, error)

NewIFInfoRequest creates a new list of IFInfoRequest.

func (IFInfoRequest_List) At added in v0.4.0

func (IFInfoRequest_List) Set added in v0.4.0

func (IFInfoRequest_List) String added in v0.4.0

func (s IFInfoRequest_List) String() string

type IFInfoRequest_Promise added in v0.4.0

type IFInfoRequest_Promise struct{ *capnp.Pipeline }

IFInfoRequest_Promise is a wrapper for a IFInfoRequest promised by a client call.

func (IFInfoRequest_Promise) Struct added in v0.4.0

type IFStateInfo added in v0.4.0

type IFStateInfo struct{ capnp.Struct }

func NewIFStateInfo added in v0.4.0

func NewIFStateInfo(s *capnp.Segment) (IFStateInfo, error)

func NewRootIFStateInfo added in v0.4.0

func NewRootIFStateInfo(s *capnp.Segment) (IFStateInfo, error)

func ReadRootIFStateInfo added in v0.4.0

func ReadRootIFStateInfo(msg *capnp.Message) (IFStateInfo, error)

func (IFStateInfo) Active added in v0.4.0

func (s IFStateInfo) Active() bool

func (IFStateInfo) HasSRevInfo added in v0.4.0

func (s IFStateInfo) HasSRevInfo() bool

func (IFStateInfo) IfID added in v0.4.0

func (s IFStateInfo) IfID() uint64

func (IFStateInfo) NewSRevInfo added in v0.4.0

func (s IFStateInfo) NewSRevInfo() (SignedBlob, error)

NewSRevInfo sets the sRevInfo field to a newly allocated SignedBlob struct, preferring placement in s's segment.

func (IFStateInfo) SRevInfo added in v0.4.0

func (s IFStateInfo) SRevInfo() (SignedBlob, error)

func (IFStateInfo) SetActive added in v0.4.0

func (s IFStateInfo) SetActive(v bool)

func (IFStateInfo) SetIfID added in v0.4.0

func (s IFStateInfo) SetIfID(v uint64)

func (IFStateInfo) SetSRevInfo added in v0.4.0

func (s IFStateInfo) SetSRevInfo(v SignedBlob) error

func (IFStateInfo) String added in v0.4.0

func (s IFStateInfo) String() string

type IFStateInfo_List added in v0.4.0

type IFStateInfo_List struct{ capnp.List }

IFStateInfo_List is a list of IFStateInfo.

func NewIFStateInfo_List added in v0.4.0

func NewIFStateInfo_List(s *capnp.Segment, sz int32) (IFStateInfo_List, error)

NewIFStateInfo creates a new list of IFStateInfo.

func (IFStateInfo_List) At added in v0.4.0

func (IFStateInfo_List) Set added in v0.4.0

func (s IFStateInfo_List) Set(i int, v IFStateInfo) error

func (IFStateInfo_List) String added in v0.4.0

func (s IFStateInfo_List) String() string

type IFStateInfo_Promise added in v0.4.0

type IFStateInfo_Promise struct{ *capnp.Pipeline }

IFStateInfo_Promise is a wrapper for a IFStateInfo promised by a client call.

func (IFStateInfo_Promise) SRevInfo added in v0.4.0

func (IFStateInfo_Promise) Struct added in v0.4.0

func (p IFStateInfo_Promise) Struct() (IFStateInfo, error)

type IFStateInfos added in v0.4.0

type IFStateInfos struct{ capnp.Struct }

func NewIFStateInfos added in v0.4.0

func NewIFStateInfos(s *capnp.Segment) (IFStateInfos, error)

func NewRootIFStateInfos added in v0.4.0

func NewRootIFStateInfos(s *capnp.Segment) (IFStateInfos, error)

func ReadRootIFStateInfos added in v0.4.0

func ReadRootIFStateInfos(msg *capnp.Message) (IFStateInfos, error)

func (IFStateInfos) HasInfos added in v0.4.0

func (s IFStateInfos) HasInfos() bool

func (IFStateInfos) Infos added in v0.4.0

func (s IFStateInfos) Infos() (IFStateInfo_List, error)

func (IFStateInfos) NewInfos added in v0.4.0

func (s IFStateInfos) NewInfos(n int32) (IFStateInfo_List, error)

NewInfos sets the infos field to a newly allocated IFStateInfo_List, preferring placement in s's segment.

func (IFStateInfos) SetInfos added in v0.4.0

func (s IFStateInfos) SetInfos(v IFStateInfo_List) error

func (IFStateInfos) String added in v0.4.0

func (s IFStateInfos) String() string

type IFStateInfos_List added in v0.4.0

type IFStateInfos_List struct{ capnp.List }

IFStateInfos_List is a list of IFStateInfos.

func NewIFStateInfos_List added in v0.4.0

func NewIFStateInfos_List(s *capnp.Segment, sz int32) (IFStateInfos_List, error)

NewIFStateInfos creates a new list of IFStateInfos.

func (IFStateInfos_List) At added in v0.4.0

func (IFStateInfos_List) Set added in v0.4.0

func (IFStateInfos_List) String added in v0.4.0

func (s IFStateInfos_List) String() string

type IFStateInfos_Promise added in v0.4.0

type IFStateInfos_Promise struct{ *capnp.Pipeline }

IFStateInfos_Promise is a wrapper for a IFStateInfos promised by a client call.

func (IFStateInfos_Promise) Struct added in v0.4.0

func (p IFStateInfos_Promise) Struct() (IFStateInfos, error)

type IFStateReq added in v0.4.0

type IFStateReq struct{ capnp.Struct }

func NewIFStateReq added in v0.4.0

func NewIFStateReq(s *capnp.Segment) (IFStateReq, error)

func NewRootIFStateReq added in v0.4.0

func NewRootIFStateReq(s *capnp.Segment) (IFStateReq, error)

func ReadRootIFStateReq added in v0.4.0

func ReadRootIFStateReq(msg *capnp.Message) (IFStateReq, error)

func (IFStateReq) IfID added in v0.4.0

func (s IFStateReq) IfID() uint64

func (IFStateReq) SetIfID added in v0.4.0

func (s IFStateReq) SetIfID(v uint64)

func (IFStateReq) String added in v0.4.0

func (s IFStateReq) String() string

type IFStateReq_List added in v0.4.0

type IFStateReq_List struct{ capnp.List }

IFStateReq_List is a list of IFStateReq.

func NewIFStateReq_List added in v0.4.0

func NewIFStateReq_List(s *capnp.Segment, sz int32) (IFStateReq_List, error)

NewIFStateReq creates a new list of IFStateReq.

func (IFStateReq_List) At added in v0.4.0

func (s IFStateReq_List) At(i int) IFStateReq

func (IFStateReq_List) Set added in v0.4.0

func (s IFStateReq_List) Set(i int, v IFStateReq) error

func (IFStateReq_List) String added in v0.4.0

func (s IFStateReq_List) String() string

type IFStateReq_Promise added in v0.4.0

type IFStateReq_Promise struct{ *capnp.Pipeline }

IFStateReq_Promise is a wrapper for a IFStateReq promised by a client call.

func (IFStateReq_Promise) Struct added in v0.4.0

func (p IFStateReq_Promise) Struct() (IFStateReq, error)

type ISDAnnouncementExt added in v0.4.0

type ISDAnnouncementExt struct{ capnp.Struct }

func NewISDAnnouncementExt added in v0.4.0

func NewISDAnnouncementExt(s *capnp.Segment) (ISDAnnouncementExt, error)

func NewRootISDAnnouncementExt added in v0.4.0

func NewRootISDAnnouncementExt(s *capnp.Segment) (ISDAnnouncementExt, error)

func ReadRootISDAnnouncementExt added in v0.4.0

func ReadRootISDAnnouncementExt(msg *capnp.Message) (ISDAnnouncementExt, error)

func (ISDAnnouncementExt) Set added in v0.4.0

func (s ISDAnnouncementExt) Set() bool

func (ISDAnnouncementExt) SetSet added in v0.4.0

func (s ISDAnnouncementExt) SetSet(v bool)

func (ISDAnnouncementExt) String added in v0.4.0

func (s ISDAnnouncementExt) String() string

type ISDAnnouncementExt_List added in v0.4.0

type ISDAnnouncementExt_List struct{ capnp.List }

ISDAnnouncementExt_List is a list of ISDAnnouncementExt.

func NewISDAnnouncementExt_List added in v0.4.0

func NewISDAnnouncementExt_List(s *capnp.Segment, sz int32) (ISDAnnouncementExt_List, error)

NewISDAnnouncementExt creates a new list of ISDAnnouncementExt.

func (ISDAnnouncementExt_List) At added in v0.4.0

func (ISDAnnouncementExt_List) Set added in v0.4.0

func (ISDAnnouncementExt_List) String added in v0.4.0

func (s ISDAnnouncementExt_List) String() string

type ISDAnnouncementExt_Promise added in v0.4.0

type ISDAnnouncementExt_Promise struct{ *capnp.Pipeline }

ISDAnnouncementExt_Promise is a wrapper for a ISDAnnouncementExt promised by a client call.

func (ISDAnnouncementExt_Promise) Struct added in v0.4.0

type LinkType added in v0.4.0

type LinkType uint16
const (
	LinkType_unset  LinkType = 0
	LinkType_core   LinkType = 1
	LinkType_parent LinkType = 2
	LinkType_child  LinkType = 3
	LinkType_peer   LinkType = 4
)

Values of LinkType.

func LinkTypeFromString added in v0.4.0

func LinkTypeFromString(c string) LinkType

LinkTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (LinkType) String added in v0.4.0

func (c LinkType) String() string

String returns the enum's constant name.

type LinkType_List added in v0.4.0

type LinkType_List struct{ capnp.List }

func NewLinkType_List added in v0.4.0

func NewLinkType_List(s *capnp.Segment, sz int32) (LinkType_List, error)

func (LinkType_List) At added in v0.4.0

func (l LinkType_List) At(i int) LinkType

func (LinkType_List) Set added in v0.4.0

func (l LinkType_List) Set(i int, v LinkType)

type PCB added in v0.4.0

type PCB struct{ capnp.Struct }

func NewPCB added in v0.4.0

func NewPCB(s *capnp.Segment) (PCB, error)

func NewRootPCB added in v0.4.0

func NewRootPCB(s *capnp.Segment) (PCB, error)

func ReadRootPCB added in v0.4.0

func ReadRootPCB(msg *capnp.Message) (PCB, error)

func (PCB) HasPathSeg added in v0.4.0

func (s PCB) HasPathSeg() bool

func (PCB) IfID added in v0.4.0

func (s PCB) IfID() uint64

func (PCB) NewPathSeg added in v0.4.0

func (s PCB) NewPathSeg() (PathSegment, error)

NewPathSeg sets the pathSeg field to a newly allocated PathSegment struct, preferring placement in s's segment.

func (PCB) PathSeg added in v0.4.0

func (s PCB) PathSeg() (PathSegment, error)

func (PCB) SetIfID added in v0.4.0

func (s PCB) SetIfID(v uint64)

func (PCB) SetPathSeg added in v0.4.0

func (s PCB) SetPathSeg(v PathSegment) error

func (PCB) String added in v0.4.0

func (s PCB) String() string

type PCB_List added in v0.4.0

type PCB_List struct{ capnp.List }

PCB_List is a list of PCB.

func NewPCB_List added in v0.4.0

func NewPCB_List(s *capnp.Segment, sz int32) (PCB_List, error)

NewPCB creates a new list of PCB.

func (PCB_List) At added in v0.4.0

func (s PCB_List) At(i int) PCB

func (PCB_List) Set added in v0.4.0

func (s PCB_List) Set(i int, v PCB) error

func (PCB_List) String added in v0.4.0

func (s PCB_List) String() string

type PCB_Promise added in v0.4.0

type PCB_Promise struct{ *capnp.Pipeline }

PCB_Promise is a wrapper for a PCB promised by a client call.

func (PCB_Promise) PathSeg added in v0.4.0

func (p PCB_Promise) PathSeg() PathSegment_Promise

func (PCB_Promise) Struct added in v0.4.0

func (p PCB_Promise) Struct() (PCB, error)

type PathInterface added in v0.4.0

type PathInterface struct{ capnp.Struct }

func NewPathInterface added in v0.4.0

func NewPathInterface(s *capnp.Segment) (PathInterface, error)

func NewRootPathInterface added in v0.4.0

func NewRootPathInterface(s *capnp.Segment) (PathInterface, error)

func ReadRootPathInterface added in v0.4.0

func ReadRootPathInterface(msg *capnp.Message) (PathInterface, error)

func (PathInterface) IfID added in v0.4.0

func (s PathInterface) IfID() uint64

func (PathInterface) Isdas added in v0.4.0

func (s PathInterface) Isdas() uint64

func (PathInterface) SetIfID added in v0.4.0

func (s PathInterface) SetIfID(v uint64)

func (PathInterface) SetIsdas added in v0.4.0

func (s PathInterface) SetIsdas(v uint64)

func (PathInterface) String added in v0.4.0

func (s PathInterface) String() string

type PathInterface_List added in v0.4.0

type PathInterface_List struct{ capnp.List }

PathInterface_List is a list of PathInterface.

func NewPathInterface_List added in v0.4.0

func NewPathInterface_List(s *capnp.Segment, sz int32) (PathInterface_List, error)

NewPathInterface creates a new list of PathInterface.

func (PathInterface_List) At added in v0.4.0

func (PathInterface_List) Set added in v0.4.0

func (PathInterface_List) String added in v0.4.0

func (s PathInterface_List) String() string

type PathInterface_Promise added in v0.4.0

type PathInterface_Promise struct{ *capnp.Pipeline }

PathInterface_Promise is a wrapper for a PathInterface promised by a client call.

func (PathInterface_Promise) Struct added in v0.4.0

type PathMgmt added in v0.4.0

type PathMgmt struct{ capnp.Struct }

func NewPathMgmt added in v0.4.0

func NewPathMgmt(s *capnp.Segment) (PathMgmt, error)

func NewRootPathMgmt added in v0.4.0

func NewRootPathMgmt(s *capnp.Segment) (PathMgmt, error)

func ReadRootPathMgmt added in v0.4.0

func ReadRootPathMgmt(msg *capnp.Message) (PathMgmt, error)

func (PathMgmt) HasHpCfgReply added in v0.4.0

func (s PathMgmt) HasHpCfgReply() bool

func (PathMgmt) HasHpCfgReq added in v0.4.0

func (s PathMgmt) HasHpCfgReq() bool

func (PathMgmt) HasHpSegReg added in v0.4.0

func (s PathMgmt) HasHpSegReg() bool

func (PathMgmt) HasHpSegReply added in v0.4.0

func (s PathMgmt) HasHpSegReply() bool

func (PathMgmt) HasHpSegReq added in v0.4.0

func (s PathMgmt) HasHpSegReq() bool

func (PathMgmt) HasIfStateInfos added in v0.4.0

func (s PathMgmt) HasIfStateInfos() bool

func (PathMgmt) HasIfStateReq added in v0.4.0

func (s PathMgmt) HasIfStateReq() bool

func (PathMgmt) HasSRevInfo added in v0.4.0

func (s PathMgmt) HasSRevInfo() bool

func (PathMgmt) HasSegChangesIdReply added in v0.4.0

func (s PathMgmt) HasSegChangesIdReply() bool

func (PathMgmt) HasSegChangesIdReq added in v0.4.0

func (s PathMgmt) HasSegChangesIdReq() bool

func (PathMgmt) HasSegChangesReply added in v0.4.0

func (s PathMgmt) HasSegChangesReply() bool

func (PathMgmt) HasSegChangesReq added in v0.4.0

func (s PathMgmt) HasSegChangesReq() bool

func (PathMgmt) HasSegReg added in v0.4.0

func (s PathMgmt) HasSegReg() bool

func (PathMgmt) HasSegReply added in v0.4.0

func (s PathMgmt) HasSegReply() bool

func (PathMgmt) HasSegReq added in v0.4.0

func (s PathMgmt) HasSegReq() bool

func (PathMgmt) HasSegSync added in v0.4.0

func (s PathMgmt) HasSegSync() bool

func (PathMgmt) HpCfgReply added in v0.4.0

func (s PathMgmt) HpCfgReply() (HPCfgReply, error)

func (PathMgmt) HpCfgReq added in v0.4.0

func (s PathMgmt) HpCfgReq() (HPCfgReq, error)

func (PathMgmt) HpSegReg added in v0.4.0

func (s PathMgmt) HpSegReg() (HPSegRecs, error)

func (PathMgmt) HpSegReply added in v0.4.0

func (s PathMgmt) HpSegReply() (HPSegReply, error)

func (PathMgmt) HpSegReq added in v0.4.0

func (s PathMgmt) HpSegReq() (HPSegReq, error)

func (PathMgmt) IfStateInfos added in v0.4.0

func (s PathMgmt) IfStateInfos() (IFStateInfos, error)

func (PathMgmt) IfStateReq added in v0.4.0

func (s PathMgmt) IfStateReq() (IFStateReq, error)

func (PathMgmt) NewHpCfgReply added in v0.4.0

func (s PathMgmt) NewHpCfgReply() (HPCfgReply, error)

NewHpCfgReply sets the hpCfgReply field to a newly allocated HPCfgReply struct, preferring placement in s's segment.

func (PathMgmt) NewHpCfgReq added in v0.4.0

func (s PathMgmt) NewHpCfgReq() (HPCfgReq, error)

NewHpCfgReq sets the hpCfgReq field to a newly allocated HPCfgReq struct, preferring placement in s's segment.

func (PathMgmt) NewHpSegReg added in v0.4.0

func (s PathMgmt) NewHpSegReg() (HPSegRecs, error)

NewHpSegReg sets the hpSegReg field to a newly allocated HPSegRecs struct, preferring placement in s's segment.

func (PathMgmt) NewHpSegReply added in v0.4.0

func (s PathMgmt) NewHpSegReply() (HPSegReply, error)

NewHpSegReply sets the hpSegReply field to a newly allocated HPSegReply struct, preferring placement in s's segment.

func (PathMgmt) NewHpSegReq added in v0.4.0

func (s PathMgmt) NewHpSegReq() (HPSegReq, error)

NewHpSegReq sets the hpSegReq field to a newly allocated HPSegReq struct, preferring placement in s's segment.

func (PathMgmt) NewIfStateInfos added in v0.4.0

func (s PathMgmt) NewIfStateInfos() (IFStateInfos, error)

NewIfStateInfos sets the ifStateInfos field to a newly allocated IFStateInfos struct, preferring placement in s's segment.

func (PathMgmt) NewIfStateReq added in v0.4.0

func (s PathMgmt) NewIfStateReq() (IFStateReq, error)

NewIfStateReq sets the ifStateReq field to a newly allocated IFStateReq struct, preferring placement in s's segment.

func (PathMgmt) NewSRevInfo added in v0.4.0

func (s PathMgmt) NewSRevInfo() (SignedBlob, error)

NewSRevInfo sets the sRevInfo field to a newly allocated SignedBlob struct, preferring placement in s's segment.

func (PathMgmt) NewSegChangesIdReply added in v0.4.0

func (s PathMgmt) NewSegChangesIdReply() (SegChangesIdReply, error)

NewSegChangesIdReply sets the segChangesIdReply field to a newly allocated SegChangesIdReply struct, preferring placement in s's segment.

func (PathMgmt) NewSegChangesIdReq added in v0.4.0

func (s PathMgmt) NewSegChangesIdReq() (SegChangesIdReq, error)

NewSegChangesIdReq sets the segChangesIdReq field to a newly allocated SegChangesIdReq struct, preferring placement in s's segment.

func (PathMgmt) NewSegChangesReply added in v0.4.0

func (s PathMgmt) NewSegChangesReply() (SegRecs, error)

NewSegChangesReply sets the segChangesReply field to a newly allocated SegRecs struct, preferring placement in s's segment.

func (PathMgmt) NewSegChangesReq added in v0.4.0

func (s PathMgmt) NewSegChangesReq() (SegChangesReq, error)

NewSegChangesReq sets the segChangesReq field to a newly allocated SegChangesReq struct, preferring placement in s's segment.

func (PathMgmt) NewSegReg added in v0.4.0

func (s PathMgmt) NewSegReg() (SegRecs, error)

NewSegReg sets the segReg field to a newly allocated SegRecs struct, preferring placement in s's segment.

func (PathMgmt) NewSegReply added in v0.4.0

func (s PathMgmt) NewSegReply() (SegReply, error)

NewSegReply sets the segReply field to a newly allocated SegReply struct, preferring placement in s's segment.

func (PathMgmt) NewSegReq added in v0.4.0

func (s PathMgmt) NewSegReq() (SegReq, error)

NewSegReq sets the segReq field to a newly allocated SegReq struct, preferring placement in s's segment.

func (PathMgmt) NewSegSync added in v0.4.0

func (s PathMgmt) NewSegSync() (SegRecs, error)

NewSegSync sets the segSync field to a newly allocated SegRecs struct, preferring placement in s's segment.

func (PathMgmt) SRevInfo added in v0.4.0

func (s PathMgmt) SRevInfo() (SignedBlob, error)

func (PathMgmt) SegChangesIdReply added in v0.4.0

func (s PathMgmt) SegChangesIdReply() (SegChangesIdReply, error)

func (PathMgmt) SegChangesIdReq added in v0.4.0

func (s PathMgmt) SegChangesIdReq() (SegChangesIdReq, error)

func (PathMgmt) SegChangesReply added in v0.4.0

func (s PathMgmt) SegChangesReply() (SegRecs, error)

func (PathMgmt) SegChangesReq added in v0.4.0

func (s PathMgmt) SegChangesReq() (SegChangesReq, error)

func (PathMgmt) SegReg added in v0.4.0

func (s PathMgmt) SegReg() (SegRecs, error)

func (PathMgmt) SegReply added in v0.4.0

func (s PathMgmt) SegReply() (SegReply, error)

func (PathMgmt) SegReq added in v0.4.0

func (s PathMgmt) SegReq() (SegReq, error)

func (PathMgmt) SegSync added in v0.4.0

func (s PathMgmt) SegSync() (SegRecs, error)

func (PathMgmt) SetHpCfgReply added in v0.4.0

func (s PathMgmt) SetHpCfgReply(v HPCfgReply) error

func (PathMgmt) SetHpCfgReq added in v0.4.0

func (s PathMgmt) SetHpCfgReq(v HPCfgReq) error

func (PathMgmt) SetHpSegReg added in v0.4.0

func (s PathMgmt) SetHpSegReg(v HPSegRecs) error

func (PathMgmt) SetHpSegReply added in v0.4.0

func (s PathMgmt) SetHpSegReply(v HPSegReply) error

func (PathMgmt) SetHpSegReq added in v0.4.0

func (s PathMgmt) SetHpSegReq(v HPSegReq) error

func (PathMgmt) SetIfStateInfos added in v0.4.0

func (s PathMgmt) SetIfStateInfos(v IFStateInfos) error

func (PathMgmt) SetIfStateReq added in v0.4.0

func (s PathMgmt) SetIfStateReq(v IFStateReq) error

func (PathMgmt) SetSRevInfo added in v0.4.0

func (s PathMgmt) SetSRevInfo(v SignedBlob) error

func (PathMgmt) SetSegChangesIdReply added in v0.4.0

func (s PathMgmt) SetSegChangesIdReply(v SegChangesIdReply) error

func (PathMgmt) SetSegChangesIdReq added in v0.4.0

func (s PathMgmt) SetSegChangesIdReq(v SegChangesIdReq) error

func (PathMgmt) SetSegChangesReply added in v0.4.0

func (s PathMgmt) SetSegChangesReply(v SegRecs) error

func (PathMgmt) SetSegChangesReq added in v0.4.0

func (s PathMgmt) SetSegChangesReq(v SegChangesReq) error

func (PathMgmt) SetSegReg added in v0.4.0

func (s PathMgmt) SetSegReg(v SegRecs) error

func (PathMgmt) SetSegReply added in v0.4.0

func (s PathMgmt) SetSegReply(v SegReply) error

func (PathMgmt) SetSegReq added in v0.4.0

func (s PathMgmt) SetSegReq(v SegReq) error

func (PathMgmt) SetSegSync added in v0.4.0

func (s PathMgmt) SetSegSync(v SegRecs) error

func (PathMgmt) SetUnset added in v0.4.0

func (s PathMgmt) SetUnset()

func (PathMgmt) String added in v0.4.0

func (s PathMgmt) String() string

func (PathMgmt) Which added in v0.4.0

func (s PathMgmt) Which() PathMgmt_Which

type PathMgmt_List added in v0.4.0

type PathMgmt_List struct{ capnp.List }

PathMgmt_List is a list of PathMgmt.

func NewPathMgmt_List added in v0.4.0

func NewPathMgmt_List(s *capnp.Segment, sz int32) (PathMgmt_List, error)

NewPathMgmt creates a new list of PathMgmt.

func (PathMgmt_List) At added in v0.4.0

func (s PathMgmt_List) At(i int) PathMgmt

func (PathMgmt_List) Set added in v0.4.0

func (s PathMgmt_List) Set(i int, v PathMgmt) error

func (PathMgmt_List) String added in v0.4.0

func (s PathMgmt_List) String() string

type PathMgmt_Promise added in v0.4.0

type PathMgmt_Promise struct{ *capnp.Pipeline }

PathMgmt_Promise is a wrapper for a PathMgmt promised by a client call.

func (PathMgmt_Promise) HpCfgReply added in v0.4.0

func (p PathMgmt_Promise) HpCfgReply() HPCfgReply_Promise

func (PathMgmt_Promise) HpCfgReq added in v0.4.0

func (p PathMgmt_Promise) HpCfgReq() HPCfgReq_Promise

func (PathMgmt_Promise) HpSegReg added in v0.4.0

func (p PathMgmt_Promise) HpSegReg() HPSegRecs_Promise

func (PathMgmt_Promise) HpSegReply added in v0.4.0

func (p PathMgmt_Promise) HpSegReply() HPSegReply_Promise

func (PathMgmt_Promise) HpSegReq added in v0.4.0

func (p PathMgmt_Promise) HpSegReq() HPSegReq_Promise

func (PathMgmt_Promise) IfStateInfos added in v0.4.0

func (p PathMgmt_Promise) IfStateInfos() IFStateInfos_Promise

func (PathMgmt_Promise) IfStateReq added in v0.4.0

func (p PathMgmt_Promise) IfStateReq() IFStateReq_Promise

func (PathMgmt_Promise) SRevInfo added in v0.4.0

func (p PathMgmt_Promise) SRevInfo() SignedBlob_Promise

func (PathMgmt_Promise) SegChangesIdReply added in v0.4.0

func (p PathMgmt_Promise) SegChangesIdReply() SegChangesIdReply_Promise

func (PathMgmt_Promise) SegChangesIdReq added in v0.4.0

func (p PathMgmt_Promise) SegChangesIdReq() SegChangesIdReq_Promise

func (PathMgmt_Promise) SegChangesReply added in v0.4.0

func (p PathMgmt_Promise) SegChangesReply() SegRecs_Promise

func (PathMgmt_Promise) SegChangesReq added in v0.4.0

func (p PathMgmt_Promise) SegChangesReq() SegChangesReq_Promise

func (PathMgmt_Promise) SegReg added in v0.4.0

func (p PathMgmt_Promise) SegReg() SegRecs_Promise

func (PathMgmt_Promise) SegReply added in v0.4.0

func (p PathMgmt_Promise) SegReply() SegReply_Promise

func (PathMgmt_Promise) SegReq added in v0.4.0

func (p PathMgmt_Promise) SegReq() SegReq_Promise

func (PathMgmt_Promise) SegSync added in v0.4.0

func (p PathMgmt_Promise) SegSync() SegRecs_Promise

func (PathMgmt_Promise) Struct added in v0.4.0

func (p PathMgmt_Promise) Struct() (PathMgmt, error)

type PathMgmt_Which added in v0.4.0

type PathMgmt_Which uint16
const (
	PathMgmt_Which_unset             PathMgmt_Which = 0
	PathMgmt_Which_segReq            PathMgmt_Which = 1
	PathMgmt_Which_segReply          PathMgmt_Which = 2
	PathMgmt_Which_segReg            PathMgmt_Which = 3
	PathMgmt_Which_segSync           PathMgmt_Which = 4
	PathMgmt_Which_sRevInfo          PathMgmt_Which = 5
	PathMgmt_Which_ifStateReq        PathMgmt_Which = 6
	PathMgmt_Which_ifStateInfos      PathMgmt_Which = 7
	PathMgmt_Which_segChangesIdReq   PathMgmt_Which = 8
	PathMgmt_Which_segChangesIdReply PathMgmt_Which = 9
	PathMgmt_Which_segChangesReq     PathMgmt_Which = 10
	PathMgmt_Which_segChangesReply   PathMgmt_Which = 11
	PathMgmt_Which_hpSegReq          PathMgmt_Which = 12
	PathMgmt_Which_hpSegReply        PathMgmt_Which = 13
	PathMgmt_Which_hpSegReg          PathMgmt_Which = 14
	PathMgmt_Which_hpCfgReq          PathMgmt_Which = 15
	PathMgmt_Which_hpCfgReply        PathMgmt_Which = 16
)

func (PathMgmt_Which) String added in v0.4.0

func (w PathMgmt_Which) String() string

type PathReply added in v0.4.0

type PathReply struct{ capnp.Struct }

func NewPathReply added in v0.4.0

func NewPathReply(s *capnp.Segment) (PathReply, error)

func NewRootPathReply added in v0.4.0

func NewRootPathReply(s *capnp.Segment) (PathReply, error)

func ReadRootPathReply added in v0.4.0

func ReadRootPathReply(msg *capnp.Message) (PathReply, error)

func (PathReply) Entries added in v0.4.0

func (s PathReply) Entries() (PathReplyEntry_List, error)

func (PathReply) ErrorCode added in v0.4.0

func (s PathReply) ErrorCode() uint16

func (PathReply) HasEntries added in v0.4.0

func (s PathReply) HasEntries() bool

func (PathReply) NewEntries added in v0.4.0

func (s PathReply) NewEntries(n int32) (PathReplyEntry_List, error)

NewEntries sets the entries field to a newly allocated PathReplyEntry_List, preferring placement in s's segment.

func (PathReply) SetEntries added in v0.4.0

func (s PathReply) SetEntries(v PathReplyEntry_List) error

func (PathReply) SetErrorCode added in v0.4.0

func (s PathReply) SetErrorCode(v uint16)

func (PathReply) String added in v0.4.0

func (s PathReply) String() string

type PathReplyEntry added in v0.4.0

type PathReplyEntry struct{ capnp.Struct }

func NewPathReplyEntry added in v0.4.0

func NewPathReplyEntry(s *capnp.Segment) (PathReplyEntry, error)

func NewRootPathReplyEntry added in v0.4.0

func NewRootPathReplyEntry(s *capnp.Segment) (PathReplyEntry, error)

func ReadRootPathReplyEntry added in v0.4.0

func ReadRootPathReplyEntry(msg *capnp.Message) (PathReplyEntry, error)

func (PathReplyEntry) HasHostInfo added in v0.4.0

func (s PathReplyEntry) HasHostInfo() bool

func (PathReplyEntry) HasPath added in v0.4.0

func (s PathReplyEntry) HasPath() bool

func (PathReplyEntry) HostInfo added in v0.4.0

func (s PathReplyEntry) HostInfo() (HostInfo, error)

func (PathReplyEntry) NewHostInfo added in v0.4.0

func (s PathReplyEntry) NewHostInfo() (HostInfo, error)

NewHostInfo sets the hostInfo field to a newly allocated HostInfo struct, preferring placement in s's segment.

func (PathReplyEntry) NewPath added in v0.4.0

func (s PathReplyEntry) NewPath() (FwdPathMeta, error)

NewPath sets the path field to a newly allocated FwdPathMeta struct, preferring placement in s's segment.

func (PathReplyEntry) Path added in v0.4.0

func (s PathReplyEntry) Path() (FwdPathMeta, error)

func (PathReplyEntry) SetHostInfo added in v0.4.0

func (s PathReplyEntry) SetHostInfo(v HostInfo) error

func (PathReplyEntry) SetPath added in v0.4.0

func (s PathReplyEntry) SetPath(v FwdPathMeta) error

func (PathReplyEntry) String added in v0.4.0

func (s PathReplyEntry) String() string

type PathReplyEntry_List added in v0.4.0

type PathReplyEntry_List struct{ capnp.List }

PathReplyEntry_List is a list of PathReplyEntry.

func NewPathReplyEntry_List added in v0.4.0

func NewPathReplyEntry_List(s *capnp.Segment, sz int32) (PathReplyEntry_List, error)

NewPathReplyEntry creates a new list of PathReplyEntry.

func (PathReplyEntry_List) At added in v0.4.0

func (PathReplyEntry_List) Set added in v0.4.0

func (PathReplyEntry_List) String added in v0.4.0

func (s PathReplyEntry_List) String() string

type PathReplyEntry_Promise added in v0.4.0

type PathReplyEntry_Promise struct{ *capnp.Pipeline }

PathReplyEntry_Promise is a wrapper for a PathReplyEntry promised by a client call.

func (PathReplyEntry_Promise) HostInfo added in v0.4.0

func (PathReplyEntry_Promise) Path added in v0.4.0

func (PathReplyEntry_Promise) Struct added in v0.4.0

type PathReply_List added in v0.4.0

type PathReply_List struct{ capnp.List }

PathReply_List is a list of PathReply.

func NewPathReply_List added in v0.4.0

func NewPathReply_List(s *capnp.Segment, sz int32) (PathReply_List, error)

NewPathReply creates a new list of PathReply.

func (PathReply_List) At added in v0.4.0

func (s PathReply_List) At(i int) PathReply

func (PathReply_List) Set added in v0.4.0

func (s PathReply_List) Set(i int, v PathReply) error

func (PathReply_List) String added in v0.4.0

func (s PathReply_List) String() string

type PathReply_Promise added in v0.4.0

type PathReply_Promise struct{ *capnp.Pipeline }

PathReply_Promise is a wrapper for a PathReply promised by a client call.

func (PathReply_Promise) Struct added in v0.4.0

func (p PathReply_Promise) Struct() (PathReply, error)

type PathReq added in v0.4.0

type PathReq struct{ capnp.Struct }

func NewPathReq added in v0.4.0

func NewPathReq(s *capnp.Segment) (PathReq, error)

func NewRootPathReq added in v0.4.0

func NewRootPathReq(s *capnp.Segment) (PathReq, error)

func ReadRootPathReq added in v0.4.0

func ReadRootPathReq(msg *capnp.Message) (PathReq, error)

func (PathReq) Dst added in v0.4.0

func (s PathReq) Dst() uint64

func (PathReq) Flags added in v0.4.0

func (s PathReq) Flags() PathReq_flags

func (PathReq) HasHpCfgs added in v0.4.0

func (s PathReq) HasHpCfgs() bool

func (PathReq) HpCfgs added in v0.4.0

func (s PathReq) HpCfgs() (HPGroupId_List, error)

func (PathReq) MaxPaths added in v0.4.0

func (s PathReq) MaxPaths() uint16

func (PathReq) NewHpCfgs added in v0.4.0

func (s PathReq) NewHpCfgs(n int32) (HPGroupId_List, error)

NewHpCfgs sets the hpCfgs field to a newly allocated HPGroupId_List, preferring placement in s's segment.

func (PathReq) SetDst added in v0.4.0

func (s PathReq) SetDst(v uint64)

func (PathReq) SetHpCfgs added in v0.4.0

func (s PathReq) SetHpCfgs(v HPGroupId_List) error

func (PathReq) SetMaxPaths added in v0.4.0

func (s PathReq) SetMaxPaths(v uint16)

func (PathReq) SetSrc added in v0.4.0

func (s PathReq) SetSrc(v uint64)

func (PathReq) Src added in v0.4.0

func (s PathReq) Src() uint64

func (PathReq) String added in v0.4.0

func (s PathReq) String() string

type PathReq_List added in v0.4.0

type PathReq_List struct{ capnp.List }

PathReq_List is a list of PathReq.

func NewPathReq_List added in v0.4.0

func NewPathReq_List(s *capnp.Segment, sz int32) (PathReq_List, error)

NewPathReq creates a new list of PathReq.

func (PathReq_List) At added in v0.4.0

func (s PathReq_List) At(i int) PathReq

func (PathReq_List) Set added in v0.4.0

func (s PathReq_List) Set(i int, v PathReq) error

func (PathReq_List) String added in v0.4.0

func (s PathReq_List) String() string

type PathReq_Promise added in v0.4.0

type PathReq_Promise struct{ *capnp.Pipeline }

PathReq_Promise is a wrapper for a PathReq promised by a client call.

func (PathReq_Promise) Flags added in v0.4.0

func (PathReq_Promise) Struct added in v0.4.0

func (p PathReq_Promise) Struct() (PathReq, error)

type PathReq_flags added in v0.4.0

type PathReq_flags PathReq

func (PathReq_flags) Hidden added in v0.4.0

func (s PathReq_flags) Hidden() bool

func (PathReq_flags) Refresh added in v0.4.0

func (s PathReq_flags) Refresh() bool

func (PathReq_flags) SetHidden added in v0.4.0

func (s PathReq_flags) SetHidden(v bool)

func (PathReq_flags) SetRefresh added in v0.4.0

func (s PathReq_flags) SetRefresh(v bool)

type PathReq_flags_Promise added in v0.4.0

type PathReq_flags_Promise struct{ *capnp.Pipeline }

PathReq_flags_Promise is a wrapper for a PathReq_flags promised by a client call.

func (PathReq_flags_Promise) Struct added in v0.4.0

type PathSegMeta added in v0.4.0

type PathSegMeta struct{ capnp.Struct }

func NewPathSegMeta added in v0.4.0

func NewPathSegMeta(s *capnp.Segment) (PathSegMeta, error)

func NewRootPathSegMeta added in v0.4.0

func NewRootPathSegMeta(s *capnp.Segment) (PathSegMeta, error)

func ReadRootPathSegMeta added in v0.4.0

func ReadRootPathSegMeta(msg *capnp.Message) (PathSegMeta, error)

func (PathSegMeta) HasPathSeg added in v0.4.0

func (s PathSegMeta) HasPathSeg() bool

func (PathSegMeta) NewPathSeg added in v0.4.0

func (s PathSegMeta) NewPathSeg() (PathSegment, error)

NewPathSeg sets the pathSeg field to a newly allocated PathSegment struct, preferring placement in s's segment.

func (PathSegMeta) PathSeg added in v0.4.0

func (s PathSegMeta) PathSeg() (PathSegment, error)

func (PathSegMeta) SetPathSeg added in v0.4.0

func (s PathSegMeta) SetPathSeg(v PathSegment) error

func (PathSegMeta) SetType added in v0.4.0

func (s PathSegMeta) SetType(v PathSegType)

func (PathSegMeta) String added in v0.4.0

func (s PathSegMeta) String() string

func (PathSegMeta) Type added in v0.4.0

func (s PathSegMeta) Type() PathSegType

type PathSegMeta_List added in v0.4.0

type PathSegMeta_List struct{ capnp.List }

PathSegMeta_List is a list of PathSegMeta.

func NewPathSegMeta_List added in v0.4.0

func NewPathSegMeta_List(s *capnp.Segment, sz int32) (PathSegMeta_List, error)

NewPathSegMeta creates a new list of PathSegMeta.

func (PathSegMeta_List) At added in v0.4.0

func (PathSegMeta_List) Set added in v0.4.0

func (s PathSegMeta_List) Set(i int, v PathSegMeta) error

func (PathSegMeta_List) String added in v0.4.0

func (s PathSegMeta_List) String() string

type PathSegMeta_Promise added in v0.4.0

type PathSegMeta_Promise struct{ *capnp.Pipeline }

PathSegMeta_Promise is a wrapper for a PathSegMeta promised by a client call.

func (PathSegMeta_Promise) PathSeg added in v0.4.0

func (PathSegMeta_Promise) Struct added in v0.4.0

func (p PathSegMeta_Promise) Struct() (PathSegMeta, error)

type PathSegType added in v0.4.0

type PathSegType uint16
const (
	PathSegType_unset PathSegType = 0
	PathSegType_up    PathSegType = 1
	PathSegType_down  PathSegType = 2
	PathSegType_core  PathSegType = 3
)

Values of PathSegType.

func PathSegTypeFromString added in v0.4.0

func PathSegTypeFromString(c string) PathSegType

PathSegTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (PathSegType) String added in v0.4.0

func (c PathSegType) String() string

String returns the enum's constant name.

type PathSegType_List added in v0.4.0

type PathSegType_List struct{ capnp.List }

func NewPathSegType_List added in v0.4.0

func NewPathSegType_List(s *capnp.Segment, sz int32) (PathSegType_List, error)

func (PathSegType_List) At added in v0.4.0

func (PathSegType_List) Set added in v0.4.0

func (l PathSegType_List) Set(i int, v PathSegType)

type PathSegment added in v0.4.0

type PathSegment struct{ capnp.Struct }

func NewPathSegment added in v0.4.0

func NewPathSegment(s *capnp.Segment) (PathSegment, error)

func NewRootPathSegment added in v0.4.0

func NewRootPathSegment(s *capnp.Segment) (PathSegment, error)

func ReadRootPathSegment added in v0.4.0

func ReadRootPathSegment(msg *capnp.Message) (PathSegment, error)

func (PathSegment) AsEntries added in v0.4.0

func (s PathSegment) AsEntries() (SignedBlob_List, error)

func (PathSegment) GetStruct added in v0.4.0

func (s PathSegment) GetStruct() capnp.Struct

func (PathSegment) HasAsEntries added in v0.4.0

func (s PathSegment) HasAsEntries() bool

func (PathSegment) HasSdata added in v0.4.0

func (s PathSegment) HasSdata() bool

func (PathSegment) NewAsEntries added in v0.4.0

func (s PathSegment) NewAsEntries(n int32) (SignedBlob_List, error)

NewAsEntries sets the asEntries field to a newly allocated SignedBlob_List, preferring placement in s's segment.

func (PathSegment) Sdata added in v0.4.0

func (s PathSegment) Sdata() ([]byte, error)

func (PathSegment) SetAsEntries added in v0.4.0

func (s PathSegment) SetAsEntries(v SignedBlob_List) error

func (PathSegment) SetSdata added in v0.4.0

func (s PathSegment) SetSdata(v []byte) error

func (PathSegment) String added in v0.4.0

func (s PathSegment) String() string

type PathSegmentSignedData added in v0.4.0

type PathSegmentSignedData struct{ capnp.Struct }

func NewPathSegmentSignedData added in v0.4.0

func NewPathSegmentSignedData(s *capnp.Segment) (PathSegmentSignedData, error)

func NewRootPathSegmentSignedData added in v0.4.0

func NewRootPathSegmentSignedData(s *capnp.Segment) (PathSegmentSignedData, error)

func ReadRootPathSegmentSignedData added in v0.4.0

func ReadRootPathSegmentSignedData(msg *capnp.Message) (PathSegmentSignedData, error)

func (PathSegmentSignedData) GetStruct added in v0.4.0

func (s PathSegmentSignedData) GetStruct() capnp.Struct

func (PathSegmentSignedData) HasInfoF added in v0.4.0

func (s PathSegmentSignedData) HasInfoF() bool

func (PathSegmentSignedData) InfoF added in v0.4.0

func (s PathSegmentSignedData) InfoF() ([]byte, error)

func (PathSegmentSignedData) SetInfoF added in v0.4.0

func (s PathSegmentSignedData) SetInfoF(v []byte) error

func (PathSegmentSignedData) String added in v0.4.0

func (s PathSegmentSignedData) String() string

type PathSegmentSignedData_List added in v0.4.0

type PathSegmentSignedData_List struct{ capnp.List }

PathSegmentSignedData_List is a list of PathSegmentSignedData.

func NewPathSegmentSignedData_List added in v0.4.0

func NewPathSegmentSignedData_List(s *capnp.Segment, sz int32) (PathSegmentSignedData_List, error)

NewPathSegmentSignedData creates a new list of PathSegmentSignedData.

func (PathSegmentSignedData_List) At added in v0.4.0

func (PathSegmentSignedData_List) Set added in v0.4.0

func (PathSegmentSignedData_List) String added in v0.4.0

type PathSegmentSignedData_Promise added in v0.4.0

type PathSegmentSignedData_Promise struct{ *capnp.Pipeline }

PathSegmentSignedData_Promise is a wrapper for a PathSegmentSignedData promised by a client call.

func (PathSegmentSignedData_Promise) Struct added in v0.4.0

type PathSegment_List added in v0.4.0

type PathSegment_List struct{ capnp.List }

PathSegment_List is a list of PathSegment.

func NewPathSegment_List added in v0.4.0

func NewPathSegment_List(s *capnp.Segment, sz int32) (PathSegment_List, error)

NewPathSegment creates a new list of PathSegment.

func (PathSegment_List) At added in v0.4.0

func (PathSegment_List) Set added in v0.4.0

func (s PathSegment_List) Set(i int, v PathSegment) error

func (PathSegment_List) String added in v0.4.0

func (s PathSegment_List) String() string

type PathSegment_Promise added in v0.4.0

type PathSegment_Promise struct{ *capnp.Pipeline }

PathSegment_Promise is a wrapper for a PathSegment promised by a client call.

func (PathSegment_Promise) Struct added in v0.4.0

func (p PathSegment_Promise) Struct() (PathSegment, error)

type ProtoIdType

type ProtoIdType uint64

ProtoIdType represents a capnp struct Id.

func (ProtoIdType) String

func (p ProtoIdType) String() string

type RevInfo added in v0.4.0

type RevInfo struct{ capnp.Struct }

func NewRevInfo added in v0.4.0

func NewRevInfo(s *capnp.Segment) (RevInfo, error)

func NewRootRevInfo added in v0.4.0

func NewRootRevInfo(s *capnp.Segment) (RevInfo, error)

func ReadRootRevInfo added in v0.4.0

func ReadRootRevInfo(msg *capnp.Message) (RevInfo, error)

func (RevInfo) GetStruct added in v0.4.0

func (s RevInfo) GetStruct() capnp.Struct

func (RevInfo) IfID added in v0.4.0

func (s RevInfo) IfID() uint64

func (RevInfo) Isdas added in v0.4.0

func (s RevInfo) Isdas() uint64

func (RevInfo) LinkType added in v0.4.0

func (s RevInfo) LinkType() LinkType

func (RevInfo) SetIfID added in v0.4.0

func (s RevInfo) SetIfID(v uint64)

func (RevInfo) SetIsdas added in v0.4.0

func (s RevInfo) SetIsdas(v uint64)

func (RevInfo) SetLinkType added in v0.4.0

func (s RevInfo) SetLinkType(v LinkType)

func (RevInfo) SetTimestamp added in v0.4.0

func (s RevInfo) SetTimestamp(v uint32)

func (RevInfo) SetTtl added in v0.4.0

func (s RevInfo) SetTtl(v uint32)

func (RevInfo) String added in v0.4.0

func (s RevInfo) String() string

func (RevInfo) Timestamp added in v0.4.0

func (s RevInfo) Timestamp() uint32

func (RevInfo) Ttl added in v0.4.0

func (s RevInfo) Ttl() uint32

type RevInfo_List added in v0.4.0

type RevInfo_List struct{ capnp.List }

RevInfo_List is a list of RevInfo.

func NewRevInfo_List added in v0.4.0

func NewRevInfo_List(s *capnp.Segment, sz int32) (RevInfo_List, error)

NewRevInfo creates a new list of RevInfo.

func (RevInfo_List) At added in v0.4.0

func (s RevInfo_List) At(i int) RevInfo

func (RevInfo_List) Set added in v0.4.0

func (s RevInfo_List) Set(i int, v RevInfo) error

func (RevInfo_List) String added in v0.4.0

func (s RevInfo_List) String() string

type RevInfo_Promise added in v0.4.0

type RevInfo_Promise struct{ *capnp.Pipeline }

RevInfo_Promise is a wrapper for a RevInfo promised by a client call.

func (RevInfo_Promise) Struct added in v0.4.0

func (p RevInfo_Promise) Struct() (RevInfo, error)

type RevNotification added in v0.4.0

type RevNotification struct{ capnp.Struct }

func NewRevNotification added in v0.4.0

func NewRevNotification(s *capnp.Segment) (RevNotification, error)

func NewRootRevNotification added in v0.4.0

func NewRootRevNotification(s *capnp.Segment) (RevNotification, error)

func ReadRootRevNotification added in v0.4.0

func ReadRootRevNotification(msg *capnp.Message) (RevNotification, error)

func (RevNotification) HasSRevInfo added in v0.4.0

func (s RevNotification) HasSRevInfo() bool

func (RevNotification) NewSRevInfo added in v0.4.0

func (s RevNotification) NewSRevInfo() (SignedBlob, error)

NewSRevInfo sets the sRevInfo field to a newly allocated SignedBlob struct, preferring placement in s's segment.

func (RevNotification) SRevInfo added in v0.4.0

func (s RevNotification) SRevInfo() (SignedBlob, error)

func (RevNotification) SetSRevInfo added in v0.4.0

func (s RevNotification) SetSRevInfo(v SignedBlob) error

func (RevNotification) String added in v0.4.0

func (s RevNotification) String() string

type RevNotification_List added in v0.4.0

type RevNotification_List struct{ capnp.List }

RevNotification_List is a list of RevNotification.

func NewRevNotification_List added in v0.4.0

func NewRevNotification_List(s *capnp.Segment, sz int32) (RevNotification_List, error)

NewRevNotification creates a new list of RevNotification.

func (RevNotification_List) At added in v0.4.0

func (RevNotification_List) Set added in v0.4.0

func (RevNotification_List) String added in v0.4.0

func (s RevNotification_List) String() string

type RevNotification_Promise added in v0.4.0

type RevNotification_Promise struct{ *capnp.Pipeline }

RevNotification_Promise is a wrapper for a RevNotification promised by a client call.

func (RevNotification_Promise) SRevInfo added in v0.4.0

func (RevNotification_Promise) Struct added in v0.4.0

type RevReply added in v0.4.0

type RevReply struct{ capnp.Struct }

func NewRevReply added in v0.4.0

func NewRevReply(s *capnp.Segment) (RevReply, error)

func NewRootRevReply added in v0.4.0

func NewRootRevReply(s *capnp.Segment) (RevReply, error)

func ReadRootRevReply added in v0.4.0

func ReadRootRevReply(msg *capnp.Message) (RevReply, error)

func (RevReply) Result added in v0.4.0

func (s RevReply) Result() uint16

func (RevReply) SetResult added in v0.4.0

func (s RevReply) SetResult(v uint16)

func (RevReply) String added in v0.4.0

func (s RevReply) String() string

type RevReply_List added in v0.4.0

type RevReply_List struct{ capnp.List }

RevReply_List is a list of RevReply.

func NewRevReply_List added in v0.4.0

func NewRevReply_List(s *capnp.Segment, sz int32) (RevReply_List, error)

NewRevReply creates a new list of RevReply.

func (RevReply_List) At added in v0.4.0

func (s RevReply_List) At(i int) RevReply

func (RevReply_List) Set added in v0.4.0

func (s RevReply_List) Set(i int, v RevReply) error

func (RevReply_List) String added in v0.4.0

func (s RevReply_List) String() string

type RevReply_Promise added in v0.4.0

type RevReply_Promise struct{ *capnp.Pipeline }

RevReply_Promise is a wrapper for a RevReply promised by a client call.

func (RevReply_Promise) Struct added in v0.4.0

func (p RevReply_Promise) Struct() (RevReply, error)

type RoutingPolicyExt added in v0.4.0

type RoutingPolicyExt struct{ capnp.Struct }

func NewRootRoutingPolicyExt added in v0.4.0

func NewRootRoutingPolicyExt(s *capnp.Segment) (RoutingPolicyExt, error)

func NewRoutingPolicyExt added in v0.4.0

func NewRoutingPolicyExt(s *capnp.Segment) (RoutingPolicyExt, error)

func ReadRootRoutingPolicyExt added in v0.4.0

func ReadRootRoutingPolicyExt(msg *capnp.Message) (RoutingPolicyExt, error)

func (RoutingPolicyExt) HasIsdases added in v0.4.0

func (s RoutingPolicyExt) HasIsdases() bool

func (RoutingPolicyExt) IfID added in v0.4.0

func (s RoutingPolicyExt) IfID() uint64

func (RoutingPolicyExt) Isdases added in v0.4.0

func (s RoutingPolicyExt) Isdases() (capnp.UInt64List, error)

func (RoutingPolicyExt) NewIsdases added in v0.4.0

func (s RoutingPolicyExt) NewIsdases(n int32) (capnp.UInt64List, error)

NewIsdases sets the isdases field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (RoutingPolicyExt) PolType added in v0.4.0

func (s RoutingPolicyExt) PolType() uint8

func (RoutingPolicyExt) Set added in v0.4.0

func (s RoutingPolicyExt) Set() bool

func (RoutingPolicyExt) SetIfID added in v0.4.0

func (s RoutingPolicyExt) SetIfID(v uint64)

func (RoutingPolicyExt) SetIsdases added in v0.4.0

func (s RoutingPolicyExt) SetIsdases(v capnp.UInt64List) error

func (RoutingPolicyExt) SetPolType added in v0.4.0

func (s RoutingPolicyExt) SetPolType(v uint8)

func (RoutingPolicyExt) SetSet added in v0.4.0

func (s RoutingPolicyExt) SetSet(v bool)

func (RoutingPolicyExt) String added in v0.4.0

func (s RoutingPolicyExt) String() string

type RoutingPolicyExt_List added in v0.4.0

type RoutingPolicyExt_List struct{ capnp.List }

RoutingPolicyExt_List is a list of RoutingPolicyExt.

func NewRoutingPolicyExt_List added in v0.4.0

func NewRoutingPolicyExt_List(s *capnp.Segment, sz int32) (RoutingPolicyExt_List, error)

NewRoutingPolicyExt creates a new list of RoutingPolicyExt.

func (RoutingPolicyExt_List) At added in v0.4.0

func (RoutingPolicyExt_List) Set added in v0.4.0

func (RoutingPolicyExt_List) String added in v0.4.0

func (s RoutingPolicyExt_List) String() string

type RoutingPolicyExt_Promise added in v0.4.0

type RoutingPolicyExt_Promise struct{ *capnp.Pipeline }

RoutingPolicyExt_Promise is a wrapper for a RoutingPolicyExt promised by a client call.

func (RoutingPolicyExt_Promise) Struct added in v0.4.0

type SCIONDMsg added in v0.4.0

type SCIONDMsg struct{ capnp.Struct }

func NewRootSCIONDMsg added in v0.4.0

func NewRootSCIONDMsg(s *capnp.Segment) (SCIONDMsg, error)

func NewSCIONDMsg added in v0.4.0

func NewSCIONDMsg(s *capnp.Segment) (SCIONDMsg, error)

func ReadRootSCIONDMsg added in v0.4.0

func ReadRootSCIONDMsg(msg *capnp.Message) (SCIONDMsg, error)

func (SCIONDMsg) AsInfoReply added in v0.4.0

func (s SCIONDMsg) AsInfoReply() (ASInfoReply, error)

func (SCIONDMsg) AsInfoReq added in v0.4.0

func (s SCIONDMsg) AsInfoReq() (ASInfoReq, error)

func (SCIONDMsg) GetStruct added in v0.4.0

func (s SCIONDMsg) GetStruct() capnp.Struct

func (SCIONDMsg) HasAsInfoReply added in v0.4.0

func (s SCIONDMsg) HasAsInfoReply() bool

func (SCIONDMsg) HasAsInfoReq added in v0.4.0

func (s SCIONDMsg) HasAsInfoReq() bool

func (SCIONDMsg) HasIfInfoReply added in v0.4.0

func (s SCIONDMsg) HasIfInfoReply() bool

func (SCIONDMsg) HasIfInfoRequest added in v0.4.0

func (s SCIONDMsg) HasIfInfoRequest() bool

func (SCIONDMsg) HasPathReply added in v0.4.0

func (s SCIONDMsg) HasPathReply() bool

func (SCIONDMsg) HasPathReq added in v0.4.0

func (s SCIONDMsg) HasPathReq() bool

func (SCIONDMsg) HasRevNotification added in v0.4.0

func (s SCIONDMsg) HasRevNotification() bool

func (SCIONDMsg) HasRevReply added in v0.4.0

func (s SCIONDMsg) HasRevReply() bool

func (SCIONDMsg) HasSegTypeHopReply added in v0.4.0

func (s SCIONDMsg) HasSegTypeHopReply() bool

func (SCIONDMsg) HasSegTypeHopReq added in v0.4.0

func (s SCIONDMsg) HasSegTypeHopReq() bool

func (SCIONDMsg) HasServiceInfoReply added in v0.4.0

func (s SCIONDMsg) HasServiceInfoReply() bool

func (SCIONDMsg) HasServiceInfoRequest added in v0.4.0

func (s SCIONDMsg) HasServiceInfoRequest() bool

func (SCIONDMsg) Id added in v0.4.0

func (s SCIONDMsg) Id() uint64

func (SCIONDMsg) IfInfoReply added in v0.4.0

func (s SCIONDMsg) IfInfoReply() (IFInfoReply, error)

func (SCIONDMsg) IfInfoRequest added in v0.4.0

func (s SCIONDMsg) IfInfoRequest() (IFInfoRequest, error)

func (SCIONDMsg) NewAsInfoReply added in v0.4.0

func (s SCIONDMsg) NewAsInfoReply() (ASInfoReply, error)

NewAsInfoReply sets the asInfoReply field to a newly allocated ASInfoReply struct, preferring placement in s's segment.

func (SCIONDMsg) NewAsInfoReq added in v0.4.0

func (s SCIONDMsg) NewAsInfoReq() (ASInfoReq, error)

NewAsInfoReq sets the asInfoReq field to a newly allocated ASInfoReq struct, preferring placement in s's segment.

func (SCIONDMsg) NewIfInfoReply added in v0.4.0

func (s SCIONDMsg) NewIfInfoReply() (IFInfoReply, error)

NewIfInfoReply sets the ifInfoReply field to a newly allocated IFInfoReply struct, preferring placement in s's segment.

func (SCIONDMsg) NewIfInfoRequest added in v0.4.0

func (s SCIONDMsg) NewIfInfoRequest() (IFInfoRequest, error)

NewIfInfoRequest sets the ifInfoRequest field to a newly allocated IFInfoRequest struct, preferring placement in s's segment.

func (SCIONDMsg) NewPathReply added in v0.4.0

func (s SCIONDMsg) NewPathReply() (PathReply, error)

NewPathReply sets the pathReply field to a newly allocated PathReply struct, preferring placement in s's segment.

func (SCIONDMsg) NewPathReq added in v0.4.0

func (s SCIONDMsg) NewPathReq() (PathReq, error)

NewPathReq sets the pathReq field to a newly allocated PathReq struct, preferring placement in s's segment.

func (SCIONDMsg) NewRevNotification added in v0.4.0

func (s SCIONDMsg) NewRevNotification() (RevNotification, error)

NewRevNotification sets the revNotification field to a newly allocated RevNotification struct, preferring placement in s's segment.

func (SCIONDMsg) NewRevReply added in v0.4.0

func (s SCIONDMsg) NewRevReply() (RevReply, error)

NewRevReply sets the revReply field to a newly allocated RevReply struct, preferring placement in s's segment.

func (SCIONDMsg) NewSegTypeHopReply added in v0.4.0

func (s SCIONDMsg) NewSegTypeHopReply() (SegTypeHopReply, error)

NewSegTypeHopReply sets the segTypeHopReply field to a newly allocated SegTypeHopReply struct, preferring placement in s's segment.

func (SCIONDMsg) NewSegTypeHopReq added in v0.4.0

func (s SCIONDMsg) NewSegTypeHopReq() (SegTypeHopReq, error)

NewSegTypeHopReq sets the segTypeHopReq field to a newly allocated SegTypeHopReq struct, preferring placement in s's segment.

func (SCIONDMsg) NewServiceInfoReply added in v0.4.0

func (s SCIONDMsg) NewServiceInfoReply() (ServiceInfoReply, error)

NewServiceInfoReply sets the serviceInfoReply field to a newly allocated ServiceInfoReply struct, preferring placement in s's segment.

func (SCIONDMsg) NewServiceInfoRequest added in v0.4.0

func (s SCIONDMsg) NewServiceInfoRequest() (ServiceInfoRequest, error)

NewServiceInfoRequest sets the serviceInfoRequest field to a newly allocated ServiceInfoRequest struct, preferring placement in s's segment.

func (SCIONDMsg) PathReply added in v0.4.0

func (s SCIONDMsg) PathReply() (PathReply, error)

func (SCIONDMsg) PathReq added in v0.4.0

func (s SCIONDMsg) PathReq() (PathReq, error)

func (SCIONDMsg) RevNotification added in v0.4.0

func (s SCIONDMsg) RevNotification() (RevNotification, error)

func (SCIONDMsg) RevReply added in v0.4.0

func (s SCIONDMsg) RevReply() (RevReply, error)

func (SCIONDMsg) SegTypeHopReply added in v0.4.0

func (s SCIONDMsg) SegTypeHopReply() (SegTypeHopReply, error)

func (SCIONDMsg) SegTypeHopReq added in v0.4.0

func (s SCIONDMsg) SegTypeHopReq() (SegTypeHopReq, error)

func (SCIONDMsg) ServiceInfoReply added in v0.4.0

func (s SCIONDMsg) ServiceInfoReply() (ServiceInfoReply, error)

func (SCIONDMsg) ServiceInfoRequest added in v0.4.0

func (s SCIONDMsg) ServiceInfoRequest() (ServiceInfoRequest, error)

func (SCIONDMsg) SetAsInfoReply added in v0.4.0

func (s SCIONDMsg) SetAsInfoReply(v ASInfoReply) error

func (SCIONDMsg) SetAsInfoReq added in v0.4.0

func (s SCIONDMsg) SetAsInfoReq(v ASInfoReq) error

func (SCIONDMsg) SetId added in v0.4.0

func (s SCIONDMsg) SetId(v uint64)

func (SCIONDMsg) SetIfInfoReply added in v0.4.0

func (s SCIONDMsg) SetIfInfoReply(v IFInfoReply) error

func (SCIONDMsg) SetIfInfoRequest added in v0.4.0

func (s SCIONDMsg) SetIfInfoRequest(v IFInfoRequest) error

func (SCIONDMsg) SetPathReply added in v0.4.0

func (s SCIONDMsg) SetPathReply(v PathReply) error

func (SCIONDMsg) SetPathReq added in v0.4.0

func (s SCIONDMsg) SetPathReq(v PathReq) error

func (SCIONDMsg) SetRevNotification added in v0.4.0

func (s SCIONDMsg) SetRevNotification(v RevNotification) error

func (SCIONDMsg) SetRevReply added in v0.4.0

func (s SCIONDMsg) SetRevReply(v RevReply) error

func (SCIONDMsg) SetSegTypeHopReply added in v0.4.0

func (s SCIONDMsg) SetSegTypeHopReply(v SegTypeHopReply) error

func (SCIONDMsg) SetSegTypeHopReq added in v0.4.0

func (s SCIONDMsg) SetSegTypeHopReq(v SegTypeHopReq) error

func (SCIONDMsg) SetServiceInfoReply added in v0.4.0

func (s SCIONDMsg) SetServiceInfoReply(v ServiceInfoReply) error

func (SCIONDMsg) SetServiceInfoRequest added in v0.4.0

func (s SCIONDMsg) SetServiceInfoRequest(v ServiceInfoRequest) error

func (SCIONDMsg) SetUnset added in v0.4.0

func (s SCIONDMsg) SetUnset()

func (SCIONDMsg) String added in v0.4.0

func (s SCIONDMsg) String() string

func (SCIONDMsg) Which added in v0.4.0

func (s SCIONDMsg) Which() SCIONDMsg_Which

type SCIONDMsg_List added in v0.4.0

type SCIONDMsg_List struct{ capnp.List }

SCIONDMsg_List is a list of SCIONDMsg.

func NewSCIONDMsg_List added in v0.4.0

func NewSCIONDMsg_List(s *capnp.Segment, sz int32) (SCIONDMsg_List, error)

NewSCIONDMsg creates a new list of SCIONDMsg.

func (SCIONDMsg_List) At added in v0.4.0

func (s SCIONDMsg_List) At(i int) SCIONDMsg

func (SCIONDMsg_List) Set added in v0.4.0

func (s SCIONDMsg_List) Set(i int, v SCIONDMsg) error

func (SCIONDMsg_List) String added in v0.4.0

func (s SCIONDMsg_List) String() string

type SCIONDMsg_Promise added in v0.4.0

type SCIONDMsg_Promise struct{ *capnp.Pipeline }

SCIONDMsg_Promise is a wrapper for a SCIONDMsg promised by a client call.

func (SCIONDMsg_Promise) AsInfoReply added in v0.4.0

func (p SCIONDMsg_Promise) AsInfoReply() ASInfoReply_Promise

func (SCIONDMsg_Promise) AsInfoReq added in v0.4.0

func (p SCIONDMsg_Promise) AsInfoReq() ASInfoReq_Promise

func (SCIONDMsg_Promise) IfInfoReply added in v0.4.0

func (p SCIONDMsg_Promise) IfInfoReply() IFInfoReply_Promise

func (SCIONDMsg_Promise) IfInfoRequest added in v0.4.0

func (p SCIONDMsg_Promise) IfInfoRequest() IFInfoRequest_Promise

func (SCIONDMsg_Promise) PathReply added in v0.4.0

func (p SCIONDMsg_Promise) PathReply() PathReply_Promise

func (SCIONDMsg_Promise) PathReq added in v0.4.0

func (p SCIONDMsg_Promise) PathReq() PathReq_Promise

func (SCIONDMsg_Promise) RevNotification added in v0.4.0

func (p SCIONDMsg_Promise) RevNotification() RevNotification_Promise

func (SCIONDMsg_Promise) RevReply added in v0.4.0

func (p SCIONDMsg_Promise) RevReply() RevReply_Promise

func (SCIONDMsg_Promise) SegTypeHopReply added in v0.4.0

func (p SCIONDMsg_Promise) SegTypeHopReply() SegTypeHopReply_Promise

func (SCIONDMsg_Promise) SegTypeHopReq added in v0.4.0

func (p SCIONDMsg_Promise) SegTypeHopReq() SegTypeHopReq_Promise

func (SCIONDMsg_Promise) ServiceInfoReply added in v0.4.0

func (p SCIONDMsg_Promise) ServiceInfoReply() ServiceInfoReply_Promise

func (SCIONDMsg_Promise) ServiceInfoRequest added in v0.4.0

func (p SCIONDMsg_Promise) ServiceInfoRequest() ServiceInfoRequest_Promise

func (SCIONDMsg_Promise) Struct added in v0.4.0

func (p SCIONDMsg_Promise) Struct() (SCIONDMsg, error)

type SCIONDMsg_Which added in v0.4.0

type SCIONDMsg_Which uint16
const (
	SCIONDMsg_Which_unset              SCIONDMsg_Which = 0
	SCIONDMsg_Which_pathReq            SCIONDMsg_Which = 1
	SCIONDMsg_Which_pathReply          SCIONDMsg_Which = 2
	SCIONDMsg_Which_asInfoReq          SCIONDMsg_Which = 3
	SCIONDMsg_Which_asInfoReply        SCIONDMsg_Which = 4
	SCIONDMsg_Which_revNotification    SCIONDMsg_Which = 5
	SCIONDMsg_Which_ifInfoRequest      SCIONDMsg_Which = 6
	SCIONDMsg_Which_ifInfoReply        SCIONDMsg_Which = 7
	SCIONDMsg_Which_serviceInfoRequest SCIONDMsg_Which = 8
	SCIONDMsg_Which_serviceInfoReply   SCIONDMsg_Which = 9
	SCIONDMsg_Which_revReply           SCIONDMsg_Which = 10
	SCIONDMsg_Which_segTypeHopReq      SCIONDMsg_Which = 11
	SCIONDMsg_Which_segTypeHopReply    SCIONDMsg_Which = 12
)

func (SCIONDMsg_Which) String added in v0.4.0

func (w SCIONDMsg_Which) String() string

type SIGAddr added in v0.4.0

type SIGAddr struct{ capnp.Struct }

func NewRootSIGAddr added in v0.4.0

func NewRootSIGAddr(s *capnp.Segment) (SIGAddr, error)

func NewSIGAddr added in v0.4.0

func NewSIGAddr(s *capnp.Segment) (SIGAddr, error)

func ReadRootSIGAddr added in v0.4.0

func ReadRootSIGAddr(msg *capnp.Message) (SIGAddr, error)

func (SIGAddr) Ctrl added in v0.4.0

func (s SIGAddr) Ctrl() (HostInfo, error)

func (SIGAddr) EncapPort added in v0.4.0

func (s SIGAddr) EncapPort() uint16

func (SIGAddr) HasCtrl added in v0.4.0

func (s SIGAddr) HasCtrl() bool

func (SIGAddr) NewCtrl added in v0.4.0

func (s SIGAddr) NewCtrl() (HostInfo, error)

NewCtrl sets the ctrl field to a newly allocated HostInfo struct, preferring placement in s's segment.

func (SIGAddr) SetCtrl added in v0.4.0

func (s SIGAddr) SetCtrl(v HostInfo) error

func (SIGAddr) SetEncapPort added in v0.4.0

func (s SIGAddr) SetEncapPort(v uint16)

func (SIGAddr) String added in v0.4.0

func (s SIGAddr) String() string

type SIGAddr_List added in v0.4.0

type SIGAddr_List struct{ capnp.List }

SIGAddr_List is a list of SIGAddr.

func NewSIGAddr_List added in v0.4.0

func NewSIGAddr_List(s *capnp.Segment, sz int32) (SIGAddr_List, error)

NewSIGAddr creates a new list of SIGAddr.

func (SIGAddr_List) At added in v0.4.0

func (s SIGAddr_List) At(i int) SIGAddr

func (SIGAddr_List) Set added in v0.4.0

func (s SIGAddr_List) Set(i int, v SIGAddr) error

func (SIGAddr_List) String added in v0.4.0

func (s SIGAddr_List) String() string

type SIGAddr_Promise added in v0.4.0

type SIGAddr_Promise struct{ *capnp.Pipeline }

SIGAddr_Promise is a wrapper for a SIGAddr promised by a client call.

func (SIGAddr_Promise) Ctrl added in v0.4.0

func (SIGAddr_Promise) Struct added in v0.4.0

func (p SIGAddr_Promise) Struct() (SIGAddr, error)

type SIGCtrl added in v0.4.0

type SIGCtrl struct{ capnp.Struct }

func NewRootSIGCtrl added in v0.4.0

func NewRootSIGCtrl(s *capnp.Segment) (SIGCtrl, error)

func NewSIGCtrl added in v0.4.0

func NewSIGCtrl(s *capnp.Segment) (SIGCtrl, error)

func ReadRootSIGCtrl added in v0.4.0

func ReadRootSIGCtrl(msg *capnp.Message) (SIGCtrl, error)

func (SIGCtrl) HasPollRep added in v0.4.0

func (s SIGCtrl) HasPollRep() bool

func (SIGCtrl) HasPollReq added in v0.4.0

func (s SIGCtrl) HasPollReq() bool

func (SIGCtrl) Id added in v0.4.0

func (s SIGCtrl) Id() uint64

func (SIGCtrl) NewPollRep added in v0.4.0

func (s SIGCtrl) NewPollRep() (SIGPoll, error)

NewPollRep sets the pollRep field to a newly allocated SIGPoll struct, preferring placement in s's segment.

func (SIGCtrl) NewPollReq added in v0.4.0

func (s SIGCtrl) NewPollReq() (SIGPoll, error)

NewPollReq sets the pollReq field to a newly allocated SIGPoll struct, preferring placement in s's segment.

func (SIGCtrl) PollRep added in v0.4.0

func (s SIGCtrl) PollRep() (SIGPoll, error)

func (SIGCtrl) PollReq added in v0.4.0

func (s SIGCtrl) PollReq() (SIGPoll, error)

func (SIGCtrl) SetId added in v0.4.0

func (s SIGCtrl) SetId(v uint64)

func (SIGCtrl) SetPollRep added in v0.4.0

func (s SIGCtrl) SetPollRep(v SIGPoll) error

func (SIGCtrl) SetPollReq added in v0.4.0

func (s SIGCtrl) SetPollReq(v SIGPoll) error

func (SIGCtrl) SetUnset added in v0.4.0

func (s SIGCtrl) SetUnset()

func (SIGCtrl) String added in v0.4.0

func (s SIGCtrl) String() string

func (SIGCtrl) Which added in v0.4.0

func (s SIGCtrl) Which() SIGCtrl_Which

type SIGCtrl_List added in v0.4.0

type SIGCtrl_List struct{ capnp.List }

SIGCtrl_List is a list of SIGCtrl.

func NewSIGCtrl_List added in v0.4.0

func NewSIGCtrl_List(s *capnp.Segment, sz int32) (SIGCtrl_List, error)

NewSIGCtrl creates a new list of SIGCtrl.

func (SIGCtrl_List) At added in v0.4.0

func (s SIGCtrl_List) At(i int) SIGCtrl

func (SIGCtrl_List) Set added in v0.4.0

func (s SIGCtrl_List) Set(i int, v SIGCtrl) error

func (SIGCtrl_List) String added in v0.4.0

func (s SIGCtrl_List) String() string

type SIGCtrl_Promise added in v0.4.0

type SIGCtrl_Promise struct{ *capnp.Pipeline }

SIGCtrl_Promise is a wrapper for a SIGCtrl promised by a client call.

func (SIGCtrl_Promise) PollRep added in v0.4.0

func (p SIGCtrl_Promise) PollRep() SIGPoll_Promise

func (SIGCtrl_Promise) PollReq added in v0.4.0

func (p SIGCtrl_Promise) PollReq() SIGPoll_Promise

func (SIGCtrl_Promise) Struct added in v0.4.0

func (p SIGCtrl_Promise) Struct() (SIGCtrl, error)

type SIGCtrl_Which added in v0.4.0

type SIGCtrl_Which uint16
const (
	SIGCtrl_Which_unset   SIGCtrl_Which = 0
	SIGCtrl_Which_pollReq SIGCtrl_Which = 1
	SIGCtrl_Which_pollRep SIGCtrl_Which = 2
)

func (SIGCtrl_Which) String added in v0.4.0

func (w SIGCtrl_Which) String() string

type SIGPoll added in v0.4.0

type SIGPoll struct{ capnp.Struct }

func NewRootSIGPoll added in v0.4.0

func NewRootSIGPoll(s *capnp.Segment) (SIGPoll, error)

func NewSIGPoll added in v0.4.0

func NewSIGPoll(s *capnp.Segment) (SIGPoll, error)

func ReadRootSIGPoll added in v0.4.0

func ReadRootSIGPoll(msg *capnp.Message) (SIGPoll, error)

func (SIGPoll) Addr added in v0.4.0

func (s SIGPoll) Addr() (SIGAddr, error)

func (SIGPoll) HasAddr added in v0.4.0

func (s SIGPoll) HasAddr() bool

func (SIGPoll) NewAddr added in v0.4.0

func (s SIGPoll) NewAddr() (SIGAddr, error)

NewAddr sets the addr field to a newly allocated SIGAddr struct, preferring placement in s's segment.

func (SIGPoll) Session added in v0.4.0

func (s SIGPoll) Session() uint8

func (SIGPoll) SetAddr added in v0.4.0

func (s SIGPoll) SetAddr(v SIGAddr) error

func (SIGPoll) SetSession added in v0.4.0

func (s SIGPoll) SetSession(v uint8)

func (SIGPoll) String added in v0.4.0

func (s SIGPoll) String() string

type SIGPoll_List added in v0.4.0

type SIGPoll_List struct{ capnp.List }

SIGPoll_List is a list of SIGPoll.

func NewSIGPoll_List added in v0.4.0

func NewSIGPoll_List(s *capnp.Segment, sz int32) (SIGPoll_List, error)

NewSIGPoll creates a new list of SIGPoll.

func (SIGPoll_List) At added in v0.4.0

func (s SIGPoll_List) At(i int) SIGPoll

func (SIGPoll_List) Set added in v0.4.0

func (s SIGPoll_List) Set(i int, v SIGPoll) error

func (SIGPoll_List) String added in v0.4.0

func (s SIGPoll_List) String() string

type SIGPoll_Promise added in v0.4.0

type SIGPoll_Promise struct{ *capnp.Pipeline }

SIGPoll_Promise is a wrapper for a SIGPoll promised by a client call.

func (SIGPoll_Promise) Addr added in v0.4.0

func (SIGPoll_Promise) Struct added in v0.4.0

func (p SIGPoll_Promise) Struct() (SIGPoll, error)

type SVCResolutionReply added in v0.4.0

type SVCResolutionReply struct{ capnp.Struct }

func NewRootSVCResolutionReply added in v0.4.0

func NewRootSVCResolutionReply(s *capnp.Segment) (SVCResolutionReply, error)

func NewSVCResolutionReply added in v0.4.0

func NewSVCResolutionReply(s *capnp.Segment) (SVCResolutionReply, error)

func ReadRootSVCResolutionReply added in v0.4.0

func ReadRootSVCResolutionReply(msg *capnp.Message) (SVCResolutionReply, error)

func (SVCResolutionReply) GetStruct added in v0.4.0

func (s SVCResolutionReply) GetStruct() capnp.Struct

func (SVCResolutionReply) HasTransports added in v0.4.0

func (s SVCResolutionReply) HasTransports() bool

func (SVCResolutionReply) NewTransports added in v0.4.0

func (s SVCResolutionReply) NewTransports(n int32) (Transport_List, error)

NewTransports sets the transports field to a newly allocated Transport_List, preferring placement in s's segment.

func (SVCResolutionReply) SetTransports added in v0.4.0

func (s SVCResolutionReply) SetTransports(v Transport_List) error

func (SVCResolutionReply) String added in v0.4.0

func (s SVCResolutionReply) String() string

func (SVCResolutionReply) Transports added in v0.4.0

func (s SVCResolutionReply) Transports() (Transport_List, error)

type SVCResolutionReply_List added in v0.4.0

type SVCResolutionReply_List struct{ capnp.List }

SVCResolutionReply_List is a list of SVCResolutionReply.

func NewSVCResolutionReply_List added in v0.4.0

func NewSVCResolutionReply_List(s *capnp.Segment, sz int32) (SVCResolutionReply_List, error)

NewSVCResolutionReply creates a new list of SVCResolutionReply.

func (SVCResolutionReply_List) At added in v0.4.0

func (SVCResolutionReply_List) Set added in v0.4.0

func (SVCResolutionReply_List) String added in v0.4.0

func (s SVCResolutionReply_List) String() string

type SVCResolutionReply_Promise added in v0.4.0

type SVCResolutionReply_Promise struct{ *capnp.Pipeline }

SVCResolutionReply_Promise is a wrapper for a SVCResolutionReply promised by a client call.

func (SVCResolutionReply_Promise) Struct added in v0.4.0

type SegChangesIdReply added in v0.4.0

type SegChangesIdReply struct{ capnp.Struct }

func NewRootSegChangesIdReply added in v0.4.0

func NewRootSegChangesIdReply(s *capnp.Segment) (SegChangesIdReply, error)

func NewSegChangesIdReply added in v0.4.0

func NewSegChangesIdReply(s *capnp.Segment) (SegChangesIdReply, error)

func ReadRootSegChangesIdReply added in v0.4.0

func ReadRootSegChangesIdReply(msg *capnp.Message) (SegChangesIdReply, error)

func (SegChangesIdReply) HasIds added in v0.4.0

func (s SegChangesIdReply) HasIds() bool

func (SegChangesIdReply) Ids added in v0.4.0

func (s SegChangesIdReply) Ids() (SegIds_List, error)

func (SegChangesIdReply) NewIds added in v0.4.0

func (s SegChangesIdReply) NewIds(n int32) (SegIds_List, error)

NewIds sets the ids field to a newly allocated SegIds_List, preferring placement in s's segment.

func (SegChangesIdReply) SetIds added in v0.4.0

func (s SegChangesIdReply) SetIds(v SegIds_List) error

func (SegChangesIdReply) String added in v0.4.0

func (s SegChangesIdReply) String() string

type SegChangesIdReply_List added in v0.4.0

type SegChangesIdReply_List struct{ capnp.List }

SegChangesIdReply_List is a list of SegChangesIdReply.

func NewSegChangesIdReply_List added in v0.4.0

func NewSegChangesIdReply_List(s *capnp.Segment, sz int32) (SegChangesIdReply_List, error)

NewSegChangesIdReply creates a new list of SegChangesIdReply.

func (SegChangesIdReply_List) At added in v0.4.0

func (SegChangesIdReply_List) Set added in v0.4.0

func (SegChangesIdReply_List) String added in v0.4.0

func (s SegChangesIdReply_List) String() string

type SegChangesIdReply_Promise added in v0.4.0

type SegChangesIdReply_Promise struct{ *capnp.Pipeline }

SegChangesIdReply_Promise is a wrapper for a SegChangesIdReply promised by a client call.

func (SegChangesIdReply_Promise) Struct added in v0.4.0

type SegChangesIdReq added in v0.4.0

type SegChangesIdReq struct{ capnp.Struct }

func NewRootSegChangesIdReq added in v0.4.0

func NewRootSegChangesIdReq(s *capnp.Segment) (SegChangesIdReq, error)

func NewSegChangesIdReq added in v0.4.0

func NewSegChangesIdReq(s *capnp.Segment) (SegChangesIdReq, error)

func ReadRootSegChangesIdReq added in v0.4.0

func ReadRootSegChangesIdReq(msg *capnp.Message) (SegChangesIdReq, error)

func (SegChangesIdReq) LastCheck added in v0.4.0

func (s SegChangesIdReq) LastCheck() uint32

func (SegChangesIdReq) SetLastCheck added in v0.4.0

func (s SegChangesIdReq) SetLastCheck(v uint32)

func (SegChangesIdReq) String added in v0.4.0

func (s SegChangesIdReq) String() string

type SegChangesIdReq_List added in v0.4.0

type SegChangesIdReq_List struct{ capnp.List }

SegChangesIdReq_List is a list of SegChangesIdReq.

func NewSegChangesIdReq_List added in v0.4.0

func NewSegChangesIdReq_List(s *capnp.Segment, sz int32) (SegChangesIdReq_List, error)

NewSegChangesIdReq creates a new list of SegChangesIdReq.

func (SegChangesIdReq_List) At added in v0.4.0

func (SegChangesIdReq_List) Set added in v0.4.0

func (SegChangesIdReq_List) String added in v0.4.0

func (s SegChangesIdReq_List) String() string

type SegChangesIdReq_Promise added in v0.4.0

type SegChangesIdReq_Promise struct{ *capnp.Pipeline }

SegChangesIdReq_Promise is a wrapper for a SegChangesIdReq promised by a client call.

func (SegChangesIdReq_Promise) Struct added in v0.4.0

type SegChangesReq added in v0.4.0

type SegChangesReq struct{ capnp.Struct }

func NewRootSegChangesReq added in v0.4.0

func NewRootSegChangesReq(s *capnp.Segment) (SegChangesReq, error)

func NewSegChangesReq added in v0.4.0

func NewSegChangesReq(s *capnp.Segment) (SegChangesReq, error)

func ReadRootSegChangesReq added in v0.4.0

func ReadRootSegChangesReq(msg *capnp.Message) (SegChangesReq, error)

func (SegChangesReq) HasSegIds added in v0.4.0

func (s SegChangesReq) HasSegIds() bool

func (SegChangesReq) NewSegIds added in v0.4.0

func (s SegChangesReq) NewSegIds(n int32) (capnp.DataList, error)

NewSegIds sets the segIds field to a newly allocated capnp.DataList, preferring placement in s's segment.

func (SegChangesReq) SegIds added in v0.4.0

func (s SegChangesReq) SegIds() (capnp.DataList, error)

func (SegChangesReq) SetSegIds added in v0.4.0

func (s SegChangesReq) SetSegIds(v capnp.DataList) error

func (SegChangesReq) String added in v0.4.0

func (s SegChangesReq) String() string

type SegChangesReq_List added in v0.4.0

type SegChangesReq_List struct{ capnp.List }

SegChangesReq_List is a list of SegChangesReq.

func NewSegChangesReq_List added in v0.4.0

func NewSegChangesReq_List(s *capnp.Segment, sz int32) (SegChangesReq_List, error)

NewSegChangesReq creates a new list of SegChangesReq.

func (SegChangesReq_List) At added in v0.4.0

func (SegChangesReq_List) Set added in v0.4.0

func (SegChangesReq_List) String added in v0.4.0

func (s SegChangesReq_List) String() string

type SegChangesReq_Promise added in v0.4.0

type SegChangesReq_Promise struct{ *capnp.Pipeline }

SegChangesReq_Promise is a wrapper for a SegChangesReq promised by a client call.

func (SegChangesReq_Promise) Struct added in v0.4.0

type SegIds added in v0.4.0

type SegIds struct{ capnp.Struct }

func NewRootSegIds added in v0.4.0

func NewRootSegIds(s *capnp.Segment) (SegIds, error)

func NewSegIds added in v0.4.0

func NewSegIds(s *capnp.Segment) (SegIds, error)

func ReadRootSegIds added in v0.4.0

func ReadRootSegIds(msg *capnp.Message) (SegIds, error)

func (SegIds) FullId added in v0.4.0

func (s SegIds) FullId() ([]byte, error)

func (SegIds) HasFullId added in v0.4.0

func (s SegIds) HasFullId() bool

func (SegIds) HasSegId added in v0.4.0

func (s SegIds) HasSegId() bool

func (SegIds) SegId added in v0.4.0

func (s SegIds) SegId() ([]byte, error)

func (SegIds) SetFullId added in v0.4.0

func (s SegIds) SetFullId(v []byte) error

func (SegIds) SetSegId added in v0.4.0

func (s SegIds) SetSegId(v []byte) error

func (SegIds) String added in v0.4.0

func (s SegIds) String() string

type SegIds_List added in v0.4.0

type SegIds_List struct{ capnp.List }

SegIds_List is a list of SegIds.

func NewSegIds_List added in v0.4.0

func NewSegIds_List(s *capnp.Segment, sz int32) (SegIds_List, error)

NewSegIds creates a new list of SegIds.

func (SegIds_List) At added in v0.4.0

func (s SegIds_List) At(i int) SegIds

func (SegIds_List) Set added in v0.4.0

func (s SegIds_List) Set(i int, v SegIds) error

func (SegIds_List) String added in v0.4.0

func (s SegIds_List) String() string

type SegIds_Promise added in v0.4.0

type SegIds_Promise struct{ *capnp.Pipeline }

SegIds_Promise is a wrapper for a SegIds promised by a client call.

func (SegIds_Promise) Struct added in v0.4.0

func (p SegIds_Promise) Struct() (SegIds, error)

type SegRecs added in v0.4.0

type SegRecs struct{ capnp.Struct }

func NewRootSegRecs added in v0.4.0

func NewRootSegRecs(s *capnp.Segment) (SegRecs, error)

func NewSegRecs added in v0.4.0

func NewSegRecs(s *capnp.Segment) (SegRecs, error)

func ReadRootSegRecs added in v0.4.0

func ReadRootSegRecs(msg *capnp.Message) (SegRecs, error)

func (SegRecs) HasRecs added in v0.4.0

func (s SegRecs) HasRecs() bool

func (SegRecs) HasSRevInfos added in v0.4.0

func (s SegRecs) HasSRevInfos() bool

func (SegRecs) NewRecs added in v0.4.0

func (s SegRecs) NewRecs(n int32) (PathSegMeta_List, error)

NewRecs sets the recs field to a newly allocated PathSegMeta_List, preferring placement in s's segment.

func (SegRecs) NewSRevInfos added in v0.4.0

func (s SegRecs) NewSRevInfos(n int32) (SignedBlob_List, error)

NewSRevInfos sets the sRevInfos field to a newly allocated SignedBlob_List, preferring placement in s's segment.

func (SegRecs) Recs added in v0.4.0

func (s SegRecs) Recs() (PathSegMeta_List, error)

func (SegRecs) SRevInfos added in v0.4.0

func (s SegRecs) SRevInfos() (SignedBlob_List, error)

func (SegRecs) SetRecs added in v0.4.0

func (s SegRecs) SetRecs(v PathSegMeta_List) error

func (SegRecs) SetSRevInfos added in v0.4.0

func (s SegRecs) SetSRevInfos(v SignedBlob_List) error

func (SegRecs) String added in v0.4.0

func (s SegRecs) String() string

type SegRecs_List added in v0.4.0

type SegRecs_List struct{ capnp.List }

SegRecs_List is a list of SegRecs.

func NewSegRecs_List added in v0.4.0

func NewSegRecs_List(s *capnp.Segment, sz int32) (SegRecs_List, error)

NewSegRecs creates a new list of SegRecs.

func (SegRecs_List) At added in v0.4.0

func (s SegRecs_List) At(i int) SegRecs

func (SegRecs_List) Set added in v0.4.0

func (s SegRecs_List) Set(i int, v SegRecs) error

func (SegRecs_List) String added in v0.4.0

func (s SegRecs_List) String() string

type SegRecs_Promise added in v0.4.0

type SegRecs_Promise struct{ *capnp.Pipeline }

SegRecs_Promise is a wrapper for a SegRecs promised by a client call.

func (SegRecs_Promise) Struct added in v0.4.0

func (p SegRecs_Promise) Struct() (SegRecs, error)

type SegReply added in v0.4.0

type SegReply struct{ capnp.Struct }

func NewRootSegReply added in v0.4.0

func NewRootSegReply(s *capnp.Segment) (SegReply, error)

func NewSegReply added in v0.4.0

func NewSegReply(s *capnp.Segment) (SegReply, error)

func ReadRootSegReply added in v0.4.0

func ReadRootSegReply(msg *capnp.Message) (SegReply, error)

func (SegReply) HasRecs added in v0.4.0

func (s SegReply) HasRecs() bool

func (SegReply) HasReq added in v0.4.0

func (s SegReply) HasReq() bool

func (SegReply) NewRecs added in v0.4.0

func (s SegReply) NewRecs() (SegRecs, error)

NewRecs sets the recs field to a newly allocated SegRecs struct, preferring placement in s's segment.

func (SegReply) NewReq added in v0.4.0

func (s SegReply) NewReq() (SegReq, error)

NewReq sets the req field to a newly allocated SegReq struct, preferring placement in s's segment.

func (SegReply) Recs added in v0.4.0

func (s SegReply) Recs() (SegRecs, error)

func (SegReply) Req added in v0.4.0

func (s SegReply) Req() (SegReq, error)

func (SegReply) SetRecs added in v0.4.0

func (s SegReply) SetRecs(v SegRecs) error

func (SegReply) SetReq added in v0.4.0

func (s SegReply) SetReq(v SegReq) error

func (SegReply) String added in v0.4.0

func (s SegReply) String() string

type SegReply_List added in v0.4.0

type SegReply_List struct{ capnp.List }

SegReply_List is a list of SegReply.

func NewSegReply_List added in v0.4.0

func NewSegReply_List(s *capnp.Segment, sz int32) (SegReply_List, error)

NewSegReply creates a new list of SegReply.

func (SegReply_List) At added in v0.4.0

func (s SegReply_List) At(i int) SegReply

func (SegReply_List) Set added in v0.4.0

func (s SegReply_List) Set(i int, v SegReply) error

func (SegReply_List) String added in v0.4.0

func (s SegReply_List) String() string

type SegReply_Promise added in v0.4.0

type SegReply_Promise struct{ *capnp.Pipeline }

SegReply_Promise is a wrapper for a SegReply promised by a client call.

func (SegReply_Promise) Recs added in v0.4.0

func (SegReply_Promise) Req added in v0.4.0

func (SegReply_Promise) Struct added in v0.4.0

func (p SegReply_Promise) Struct() (SegReply, error)

type SegReq added in v0.4.0

type SegReq struct{ capnp.Struct }

func NewRootSegReq added in v0.4.0

func NewRootSegReq(s *capnp.Segment) (SegReq, error)

func NewSegReq added in v0.4.0

func NewSegReq(s *capnp.Segment) (SegReq, error)

func ReadRootSegReq added in v0.4.0

func ReadRootSegReq(msg *capnp.Message) (SegReq, error)

func (SegReq) DstIA added in v0.4.0

func (s SegReq) DstIA() uint64

func (SegReq) Flags added in v0.4.0

func (s SegReq) Flags() SegReq_flags

func (SegReq) SetDstIA added in v0.4.0

func (s SegReq) SetDstIA(v uint64)

func (SegReq) SetSrcIA added in v0.4.0

func (s SegReq) SetSrcIA(v uint64)

func (SegReq) SrcIA added in v0.4.0

func (s SegReq) SrcIA() uint64

func (SegReq) String added in v0.4.0

func (s SegReq) String() string

type SegReq_List added in v0.4.0

type SegReq_List struct{ capnp.List }

SegReq_List is a list of SegReq.

func NewSegReq_List added in v0.4.0

func NewSegReq_List(s *capnp.Segment, sz int32) (SegReq_List, error)

NewSegReq creates a new list of SegReq.

func (SegReq_List) At added in v0.4.0

func (s SegReq_List) At(i int) SegReq

func (SegReq_List) Set added in v0.4.0

func (s SegReq_List) Set(i int, v SegReq) error

func (SegReq_List) String added in v0.4.0

func (s SegReq_List) String() string

type SegReq_Promise added in v0.4.0

type SegReq_Promise struct{ *capnp.Pipeline }

SegReq_Promise is a wrapper for a SegReq promised by a client call.

func (SegReq_Promise) Flags added in v0.4.0

func (SegReq_Promise) Struct added in v0.4.0

func (p SegReq_Promise) Struct() (SegReq, error)

type SegReq_flags added in v0.4.0

type SegReq_flags SegReq

func (SegReq_flags) CacheOnly added in v0.4.0

func (s SegReq_flags) CacheOnly() bool

func (SegReq_flags) SetCacheOnly added in v0.4.0

func (s SegReq_flags) SetCacheOnly(v bool)

func (SegReq_flags) SetSibra added in v0.4.0

func (s SegReq_flags) SetSibra(v bool)

func (SegReq_flags) Sibra added in v0.4.0

func (s SegReq_flags) Sibra() bool

type SegReq_flags_Promise added in v0.4.0

type SegReq_flags_Promise struct{ *capnp.Pipeline }

SegReq_flags_Promise is a wrapper for a SegReq_flags promised by a client call.

func (SegReq_flags_Promise) Struct added in v0.4.0

func (p SegReq_flags_Promise) Struct() (SegReq_flags, error)

type SegTypeHopReply added in v0.4.0

type SegTypeHopReply struct{ capnp.Struct }

func NewRootSegTypeHopReply added in v0.4.0

func NewRootSegTypeHopReply(s *capnp.Segment) (SegTypeHopReply, error)

func NewSegTypeHopReply added in v0.4.0

func NewSegTypeHopReply(s *capnp.Segment) (SegTypeHopReply, error)

func ReadRootSegTypeHopReply added in v0.4.0

func ReadRootSegTypeHopReply(msg *capnp.Message) (SegTypeHopReply, error)

func (SegTypeHopReply) Entries added in v0.4.0

func (SegTypeHopReply) HasEntries added in v0.4.0

func (s SegTypeHopReply) HasEntries() bool

func (SegTypeHopReply) NewEntries added in v0.4.0

NewEntries sets the entries field to a newly allocated SegTypeHopReplyEntry_List, preferring placement in s's segment.

func (SegTypeHopReply) SetEntries added in v0.4.0

func (SegTypeHopReply) String added in v0.4.0

func (s SegTypeHopReply) String() string

type SegTypeHopReplyEntry added in v0.4.0

type SegTypeHopReplyEntry struct{ capnp.Struct }

func NewRootSegTypeHopReplyEntry added in v0.4.0

func NewRootSegTypeHopReplyEntry(s *capnp.Segment) (SegTypeHopReplyEntry, error)

func NewSegTypeHopReplyEntry added in v0.4.0

func NewSegTypeHopReplyEntry(s *capnp.Segment) (SegTypeHopReplyEntry, error)

func ReadRootSegTypeHopReplyEntry added in v0.4.0

func ReadRootSegTypeHopReplyEntry(msg *capnp.Message) (SegTypeHopReplyEntry, error)

func (SegTypeHopReplyEntry) ExpTime added in v0.4.0

func (s SegTypeHopReplyEntry) ExpTime() uint32

func (SegTypeHopReplyEntry) HasInterfaces added in v0.4.0

func (s SegTypeHopReplyEntry) HasInterfaces() bool

func (SegTypeHopReplyEntry) Interfaces added in v0.4.0

func (s SegTypeHopReplyEntry) Interfaces() (PathInterface_List, error)

func (SegTypeHopReplyEntry) NewInterfaces added in v0.4.0

func (s SegTypeHopReplyEntry) NewInterfaces(n int32) (PathInterface_List, error)

NewInterfaces sets the interfaces field to a newly allocated PathInterface_List, preferring placement in s's segment.

func (SegTypeHopReplyEntry) SetExpTime added in v0.4.0

func (s SegTypeHopReplyEntry) SetExpTime(v uint32)

func (SegTypeHopReplyEntry) SetInterfaces added in v0.4.0

func (s SegTypeHopReplyEntry) SetInterfaces(v PathInterface_List) error

func (SegTypeHopReplyEntry) SetTimestamp added in v0.4.0

func (s SegTypeHopReplyEntry) SetTimestamp(v uint32)

func (SegTypeHopReplyEntry) String added in v0.4.0

func (s SegTypeHopReplyEntry) String() string

func (SegTypeHopReplyEntry) Timestamp added in v0.4.0

func (s SegTypeHopReplyEntry) Timestamp() uint32

type SegTypeHopReplyEntry_List added in v0.4.0

type SegTypeHopReplyEntry_List struct{ capnp.List }

SegTypeHopReplyEntry_List is a list of SegTypeHopReplyEntry.

func NewSegTypeHopReplyEntry_List added in v0.4.0

func NewSegTypeHopReplyEntry_List(s *capnp.Segment, sz int32) (SegTypeHopReplyEntry_List, error)

NewSegTypeHopReplyEntry creates a new list of SegTypeHopReplyEntry.

func (SegTypeHopReplyEntry_List) At added in v0.4.0

func (SegTypeHopReplyEntry_List) Set added in v0.4.0

func (SegTypeHopReplyEntry_List) String added in v0.4.0

func (s SegTypeHopReplyEntry_List) String() string

type SegTypeHopReplyEntry_Promise added in v0.4.0

type SegTypeHopReplyEntry_Promise struct{ *capnp.Pipeline }

SegTypeHopReplyEntry_Promise is a wrapper for a SegTypeHopReplyEntry promised by a client call.

func (SegTypeHopReplyEntry_Promise) Struct added in v0.4.0

type SegTypeHopReply_List added in v0.4.0

type SegTypeHopReply_List struct{ capnp.List }

SegTypeHopReply_List is a list of SegTypeHopReply.

func NewSegTypeHopReply_List added in v0.4.0

func NewSegTypeHopReply_List(s *capnp.Segment, sz int32) (SegTypeHopReply_List, error)

NewSegTypeHopReply creates a new list of SegTypeHopReply.

func (SegTypeHopReply_List) At added in v0.4.0

func (SegTypeHopReply_List) Set added in v0.4.0

func (SegTypeHopReply_List) String added in v0.4.0

func (s SegTypeHopReply_List) String() string

type SegTypeHopReply_Promise added in v0.4.0

type SegTypeHopReply_Promise struct{ *capnp.Pipeline }

SegTypeHopReply_Promise is a wrapper for a SegTypeHopReply promised by a client call.

func (SegTypeHopReply_Promise) Struct added in v0.4.0

type SegTypeHopReq added in v0.4.0

type SegTypeHopReq struct{ capnp.Struct }

func NewRootSegTypeHopReq added in v0.4.0

func NewRootSegTypeHopReq(s *capnp.Segment) (SegTypeHopReq, error)

func NewSegTypeHopReq added in v0.4.0

func NewSegTypeHopReq(s *capnp.Segment) (SegTypeHopReq, error)

func ReadRootSegTypeHopReq added in v0.4.0

func ReadRootSegTypeHopReq(msg *capnp.Message) (SegTypeHopReq, error)

func (SegTypeHopReq) SetType added in v0.4.0

func (s SegTypeHopReq) SetType(v PathSegType)

func (SegTypeHopReq) String added in v0.4.0

func (s SegTypeHopReq) String() string

func (SegTypeHopReq) Type added in v0.4.0

func (s SegTypeHopReq) Type() PathSegType

type SegTypeHopReq_List added in v0.4.0

type SegTypeHopReq_List struct{ capnp.List }

SegTypeHopReq_List is a list of SegTypeHopReq.

func NewSegTypeHopReq_List added in v0.4.0

func NewSegTypeHopReq_List(s *capnp.Segment, sz int32) (SegTypeHopReq_List, error)

NewSegTypeHopReq creates a new list of SegTypeHopReq.

func (SegTypeHopReq_List) At added in v0.4.0

func (SegTypeHopReq_List) Set added in v0.4.0

func (SegTypeHopReq_List) String added in v0.4.0

func (s SegTypeHopReq_List) String() string

type SegTypeHopReq_Promise added in v0.4.0

type SegTypeHopReq_Promise struct{ *capnp.Pipeline }

SegTypeHopReq_Promise is a wrapper for a SegTypeHopReq promised by a client call.

func (SegTypeHopReq_Promise) Struct added in v0.4.0

type ServiceInfoReply added in v0.4.0

type ServiceInfoReply struct{ capnp.Struct }

func NewRootServiceInfoReply added in v0.4.0

func NewRootServiceInfoReply(s *capnp.Segment) (ServiceInfoReply, error)

func NewServiceInfoReply added in v0.4.0

func NewServiceInfoReply(s *capnp.Segment) (ServiceInfoReply, error)

func ReadRootServiceInfoReply added in v0.4.0

func ReadRootServiceInfoReply(msg *capnp.Message) (ServiceInfoReply, error)

func (ServiceInfoReply) Entries added in v0.4.0

func (ServiceInfoReply) HasEntries added in v0.4.0

func (s ServiceInfoReply) HasEntries() bool

func (ServiceInfoReply) NewEntries added in v0.4.0

NewEntries sets the entries field to a newly allocated ServiceInfoReplyEntry_List, preferring placement in s's segment.

func (ServiceInfoReply) SetEntries added in v0.4.0

func (ServiceInfoReply) String added in v0.4.0

func (s ServiceInfoReply) String() string

type ServiceInfoReplyEntry added in v0.4.0

type ServiceInfoReplyEntry struct{ capnp.Struct }

func NewRootServiceInfoReplyEntry added in v0.4.0

func NewRootServiceInfoReplyEntry(s *capnp.Segment) (ServiceInfoReplyEntry, error)

func NewServiceInfoReplyEntry added in v0.4.0

func NewServiceInfoReplyEntry(s *capnp.Segment) (ServiceInfoReplyEntry, error)

func ReadRootServiceInfoReplyEntry added in v0.4.0

func ReadRootServiceInfoReplyEntry(msg *capnp.Message) (ServiceInfoReplyEntry, error)

func (ServiceInfoReplyEntry) HasHostInfos added in v0.4.0

func (s ServiceInfoReplyEntry) HasHostInfos() bool

func (ServiceInfoReplyEntry) HostInfos added in v0.4.0

func (s ServiceInfoReplyEntry) HostInfos() (HostInfo_List, error)

func (ServiceInfoReplyEntry) NewHostInfos added in v0.4.0

func (s ServiceInfoReplyEntry) NewHostInfos(n int32) (HostInfo_List, error)

NewHostInfos sets the hostInfos field to a newly allocated HostInfo_List, preferring placement in s's segment.

func (ServiceInfoReplyEntry) ServiceType added in v0.4.0

func (s ServiceInfoReplyEntry) ServiceType() ServiceType

func (ServiceInfoReplyEntry) SetHostInfos added in v0.4.0

func (s ServiceInfoReplyEntry) SetHostInfos(v HostInfo_List) error

func (ServiceInfoReplyEntry) SetServiceType added in v0.4.0

func (s ServiceInfoReplyEntry) SetServiceType(v ServiceType)

func (ServiceInfoReplyEntry) SetTtl added in v0.4.0

func (s ServiceInfoReplyEntry) SetTtl(v uint32)

func (ServiceInfoReplyEntry) String added in v0.4.0

func (s ServiceInfoReplyEntry) String() string

func (ServiceInfoReplyEntry) Ttl added in v0.4.0

func (s ServiceInfoReplyEntry) Ttl() uint32

type ServiceInfoReplyEntry_List added in v0.4.0

type ServiceInfoReplyEntry_List struct{ capnp.List }

ServiceInfoReplyEntry_List is a list of ServiceInfoReplyEntry.

func NewServiceInfoReplyEntry_List added in v0.4.0

func NewServiceInfoReplyEntry_List(s *capnp.Segment, sz int32) (ServiceInfoReplyEntry_List, error)

NewServiceInfoReplyEntry creates a new list of ServiceInfoReplyEntry.

func (ServiceInfoReplyEntry_List) At added in v0.4.0

func (ServiceInfoReplyEntry_List) Set added in v0.4.0

func (ServiceInfoReplyEntry_List) String added in v0.4.0

type ServiceInfoReplyEntry_Promise added in v0.4.0

type ServiceInfoReplyEntry_Promise struct{ *capnp.Pipeline }

ServiceInfoReplyEntry_Promise is a wrapper for a ServiceInfoReplyEntry promised by a client call.

func (ServiceInfoReplyEntry_Promise) Struct added in v0.4.0

type ServiceInfoReply_List added in v0.4.0

type ServiceInfoReply_List struct{ capnp.List }

ServiceInfoReply_List is a list of ServiceInfoReply.

func NewServiceInfoReply_List added in v0.4.0

func NewServiceInfoReply_List(s *capnp.Segment, sz int32) (ServiceInfoReply_List, error)

NewServiceInfoReply creates a new list of ServiceInfoReply.

func (ServiceInfoReply_List) At added in v0.4.0

func (ServiceInfoReply_List) Set added in v0.4.0

func (ServiceInfoReply_List) String added in v0.4.0

func (s ServiceInfoReply_List) String() string

type ServiceInfoReply_Promise added in v0.4.0

type ServiceInfoReply_Promise struct{ *capnp.Pipeline }

ServiceInfoReply_Promise is a wrapper for a ServiceInfoReply promised by a client call.

func (ServiceInfoReply_Promise) Struct added in v0.4.0

type ServiceInfoRequest added in v0.4.0

type ServiceInfoRequest struct{ capnp.Struct }

func NewRootServiceInfoRequest added in v0.4.0

func NewRootServiceInfoRequest(s *capnp.Segment) (ServiceInfoRequest, error)

func NewServiceInfoRequest added in v0.4.0

func NewServiceInfoRequest(s *capnp.Segment) (ServiceInfoRequest, error)

func ReadRootServiceInfoRequest added in v0.4.0

func ReadRootServiceInfoRequest(msg *capnp.Message) (ServiceInfoRequest, error)

func (ServiceInfoRequest) HasServiceTypes added in v0.4.0

func (s ServiceInfoRequest) HasServiceTypes() bool

func (ServiceInfoRequest) NewServiceTypes added in v0.4.0

func (s ServiceInfoRequest) NewServiceTypes(n int32) (ServiceType_List, error)

NewServiceTypes sets the serviceTypes field to a newly allocated ServiceType_List, preferring placement in s's segment.

func (ServiceInfoRequest) ServiceTypes added in v0.4.0

func (s ServiceInfoRequest) ServiceTypes() (ServiceType_List, error)

func (ServiceInfoRequest) SetServiceTypes added in v0.4.0

func (s ServiceInfoRequest) SetServiceTypes(v ServiceType_List) error

func (ServiceInfoRequest) String added in v0.4.0

func (s ServiceInfoRequest) String() string

type ServiceInfoRequest_List added in v0.4.0

type ServiceInfoRequest_List struct{ capnp.List }

ServiceInfoRequest_List is a list of ServiceInfoRequest.

func NewServiceInfoRequest_List added in v0.4.0

func NewServiceInfoRequest_List(s *capnp.Segment, sz int32) (ServiceInfoRequest_List, error)

NewServiceInfoRequest creates a new list of ServiceInfoRequest.

func (ServiceInfoRequest_List) At added in v0.4.0

func (ServiceInfoRequest_List) Set added in v0.4.0

func (ServiceInfoRequest_List) String added in v0.4.0

func (s ServiceInfoRequest_List) String() string

type ServiceInfoRequest_Promise added in v0.4.0

type ServiceInfoRequest_Promise struct{ *capnp.Pipeline }

ServiceInfoRequest_Promise is a wrapper for a ServiceInfoRequest promised by a client call.

func (ServiceInfoRequest_Promise) Struct added in v0.4.0

type ServiceType added in v0.4.0

type ServiceType uint16
const (
	ServiceType_unset ServiceType = 0
	ServiceType_bs    ServiceType = 1
	ServiceType_ps    ServiceType = 2
	ServiceType_cs    ServiceType = 3
	ServiceType_sb    ServiceType = 4
	ServiceType_ds    ServiceType = 5
	ServiceType_br    ServiceType = 6
	ServiceType_sig   ServiceType = 7
	ServiceType_hps   ServiceType = 8
)

Values of ServiceType.

func ServiceTypeFromString added in v0.4.0

func ServiceTypeFromString(c string) ServiceType

ServiceTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (ServiceType) String added in v0.4.0

func (c ServiceType) String() string

String returns the enum's constant name.

type ServiceType_List added in v0.4.0

type ServiceType_List struct{ capnp.List }

func NewServiceType_List added in v0.4.0

func NewServiceType_List(s *capnp.Segment, sz int32) (ServiceType_List, error)

func (ServiceType_List) At added in v0.4.0

func (ServiceType_List) Set added in v0.4.0

func (l ServiceType_List) Set(i int, v ServiceType)

type SibraPCBExt added in v0.4.0

type SibraPCBExt struct{ capnp.Struct }

func NewRootSibraPCBExt added in v0.4.0

func NewRootSibraPCBExt(s *capnp.Segment) (SibraPCBExt, error)

func NewSibraPCBExt added in v0.4.0

func NewSibraPCBExt(s *capnp.Segment) (SibraPCBExt, error)

func ReadRootSibraPCBExt added in v0.4.0

func ReadRootSibraPCBExt(msg *capnp.Message) (SibraPCBExt, error)

func (SibraPCBExt) HasId added in v0.4.0

func (s SibraPCBExt) HasId() bool

func (SibraPCBExt) HasInfo added in v0.4.0

func (s SibraPCBExt) HasInfo() bool

func (SibraPCBExt) HasSofs added in v0.4.0

func (s SibraPCBExt) HasSofs() bool

func (SibraPCBExt) Id added in v0.4.0

func (s SibraPCBExt) Id() ([]byte, error)

func (SibraPCBExt) Info added in v0.4.0

func (s SibraPCBExt) Info() ([]byte, error)

func (SibraPCBExt) NewSofs added in v0.4.0

func (s SibraPCBExt) NewSofs(n int32) (capnp.DataList, error)

NewSofs sets the sofs field to a newly allocated capnp.DataList, preferring placement in s's segment.

func (SibraPCBExt) SetId added in v0.4.0

func (s SibraPCBExt) SetId(v []byte) error

func (SibraPCBExt) SetInfo added in v0.4.0

func (s SibraPCBExt) SetInfo(v []byte) error

func (SibraPCBExt) SetSofs added in v0.4.0

func (s SibraPCBExt) SetSofs(v capnp.DataList) error

func (SibraPCBExt) SetUp added in v0.4.0

func (s SibraPCBExt) SetUp(v bool)

func (SibraPCBExt) Sofs added in v0.4.0

func (s SibraPCBExt) Sofs() (capnp.DataList, error)

func (SibraPCBExt) String added in v0.4.0

func (s SibraPCBExt) String() string

func (SibraPCBExt) Up added in v0.4.0

func (s SibraPCBExt) Up() bool

type SibraPCBExt_List added in v0.4.0

type SibraPCBExt_List struct{ capnp.List }

SibraPCBExt_List is a list of SibraPCBExt.

func NewSibraPCBExt_List added in v0.4.0

func NewSibraPCBExt_List(s *capnp.Segment, sz int32) (SibraPCBExt_List, error)

NewSibraPCBExt creates a new list of SibraPCBExt.

func (SibraPCBExt_List) At added in v0.4.0

func (SibraPCBExt_List) Set added in v0.4.0

func (s SibraPCBExt_List) Set(i int, v SibraPCBExt) error

func (SibraPCBExt_List) String added in v0.4.0

func (s SibraPCBExt_List) String() string

type SibraPCBExt_Promise added in v0.4.0

type SibraPCBExt_Promise struct{ *capnp.Pipeline }

SibraPCBExt_Promise is a wrapper for a SibraPCBExt promised by a client call.

func (SibraPCBExt_Promise) Struct added in v0.4.0

func (p SibraPCBExt_Promise) Struct() (SibraPCBExt, error)

type SibraPayload added in v0.4.0

type SibraPayload struct{ capnp.Struct }

func NewRootSibraPayload added in v0.4.0

func NewRootSibraPayload(s *capnp.Segment) (SibraPayload, error)

func NewSibraPayload added in v0.4.0

func NewSibraPayload(s *capnp.Segment) (SibraPayload, error)

func ReadRootSibraPayload added in v0.4.0

func ReadRootSibraPayload(msg *capnp.Message) (SibraPayload, error)

func (SibraPayload) String added in v0.4.0

func (s SibraPayload) String() string

type SibraPayload_List added in v0.4.0

type SibraPayload_List struct{ capnp.List }

SibraPayload_List is a list of SibraPayload.

func NewSibraPayload_List added in v0.4.0

func NewSibraPayload_List(s *capnp.Segment, sz int32) (SibraPayload_List, error)

NewSibraPayload creates a new list of SibraPayload.

func (SibraPayload_List) At added in v0.4.0

func (SibraPayload_List) Set added in v0.4.0

func (SibraPayload_List) String added in v0.4.0

func (s SibraPayload_List) String() string

type SibraPayload_Promise added in v0.4.0

type SibraPayload_Promise struct{ *capnp.Pipeline }

SibraPayload_Promise is a wrapper for a SibraPayload promised by a client call.

func (SibraPayload_Promise) Struct added in v0.4.0

func (p SibraPayload_Promise) Struct() (SibraPayload, error)

type Sign added in v0.4.0

type Sign struct{ capnp.Struct }

func NewRootSign added in v0.4.0

func NewRootSign(s *capnp.Segment) (Sign, error)

func NewSign added in v0.4.0

func NewSign(s *capnp.Segment) (Sign, error)

func ReadRootSign added in v0.4.0

func ReadRootSign(msg *capnp.Message) (Sign, error)

func (Sign) HasSignature added in v0.4.0

func (s Sign) HasSignature() bool

func (Sign) HasSrc added in v0.4.0

func (s Sign) HasSrc() bool

func (Sign) SetSignature added in v0.4.0

func (s Sign) SetSignature(v []byte) error

func (Sign) SetSrc added in v0.4.0

func (s Sign) SetSrc(v []byte) error

func (Sign) SetTimestamp added in v0.4.0

func (s Sign) SetTimestamp(v uint32)

func (Sign) SetType added in v0.4.0

func (s Sign) SetType(v SignType)

func (Sign) Signature added in v0.4.0

func (s Sign) Signature() ([]byte, error)

func (Sign) Src added in v0.4.0

func (s Sign) Src() ([]byte, error)

func (Sign) String added in v0.4.0

func (s Sign) String() string

func (Sign) Timestamp added in v0.4.0

func (s Sign) Timestamp() uint32

func (Sign) Type added in v0.4.0

func (s Sign) Type() SignType

type SignS

type SignS struct {
	Timestamp uint32
	Type      SignType
	// Src holds the required metadata to verify the signature. The format is "STRING: METADATA".
	// The prefix consists of "STRING: " and is required to match the regex "^\w+\: ".
	// There are no format restrictions on the metadata.
	Src       common.RawBytes
	Signature common.RawBytes
}

func NewSignS

func NewSignS(type_ SignType, src common.RawBytes) *SignS

func (*SignS) Copy

func (s *SignS) Copy() *SignS

func (*SignS) Pack

func (s *SignS) Pack() common.RawBytes

Pack serializes the signature metadata including the signature.

func (*SignS) ProtoId

func (s *SignS) ProtoId() ProtoIdType

func (*SignS) SetTimestamp added in v0.4.0

func (s *SignS) SetTimestamp(ts time.Time)

SetTimestamp sets the timestamp.

func (*SignS) SigInput added in v0.4.0

func (s *SignS) SigInput(msg common.RawBytes, setTimestamp bool) common.RawBytes

SigInput serializes the signature metadata to the signature input including the provided message. If setTimestamp is set, the timestamp of the signature metadata is updated to the current time, before creating the signature input. It should be true when signing to provide a recent timestamp. When verifying, it should be false to guarantee the same produced input.

func (*SignS) String

func (s *SignS) String() string

func (*SignS) Time

func (s *SignS) Time() time.Time

Time returns the timestamp. If the receiver is nil, the zero value is returned.

type SignType added in v0.4.0

type SignType uint16
const (
	SignType_none    SignType = 0
	SignType_ed25519 SignType = 1
)

Values of SignType.

func SignTypeFromString added in v0.4.0

func SignTypeFromString(c string) SignType

SignTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (SignType) String added in v0.4.0

func (c SignType) String() string

String returns the enum's constant name.

type SignType_List added in v0.4.0

type SignType_List struct{ capnp.List }

func NewSignType_List added in v0.4.0

func NewSignType_List(s *capnp.Segment, sz int32) (SignType_List, error)

func (SignType_List) At added in v0.4.0

func (l SignType_List) At(i int) SignType

func (SignType_List) Set added in v0.4.0

func (l SignType_List) Set(i int, v SignType)

type Sign_List added in v0.4.0

type Sign_List struct{ capnp.List }

Sign_List is a list of Sign.

func NewSign_List added in v0.4.0

func NewSign_List(s *capnp.Segment, sz int32) (Sign_List, error)

NewSign creates a new list of Sign.

func (Sign_List) At added in v0.4.0

func (s Sign_List) At(i int) Sign

func (Sign_List) Set added in v0.4.0

func (s Sign_List) Set(i int, v Sign) error

func (Sign_List) String added in v0.4.0

func (s Sign_List) String() string

type Sign_Promise added in v0.4.0

type Sign_Promise struct{ *capnp.Pipeline }

Sign_Promise is a wrapper for a Sign promised by a client call.

func (Sign_Promise) Struct added in v0.4.0

func (p Sign_Promise) Struct() (Sign, error)

type SignedBlob added in v0.4.0

type SignedBlob struct{ capnp.Struct }

func NewRootSignedBlob added in v0.4.0

func NewRootSignedBlob(s *capnp.Segment) (SignedBlob, error)

func NewSignedBlob added in v0.4.0

func NewSignedBlob(s *capnp.Segment) (SignedBlob, error)

func ReadRootSignedBlob added in v0.4.0

func ReadRootSignedBlob(msg *capnp.Message) (SignedBlob, error)

func (SignedBlob) Blob added in v0.4.0

func (s SignedBlob) Blob() ([]byte, error)

func (SignedBlob) GetStruct added in v0.4.0

func (s SignedBlob) GetStruct() capnp.Struct

func (SignedBlob) HasBlob added in v0.4.0

func (s SignedBlob) HasBlob() bool

func (SignedBlob) HasSign added in v0.4.0

func (s SignedBlob) HasSign() bool

func (SignedBlob) NewSign added in v0.4.0

func (s SignedBlob) NewSign() (Sign, error)

NewSign sets the sign field to a newly allocated Sign struct, preferring placement in s's segment.

func (SignedBlob) SetBlob added in v0.4.0

func (s SignedBlob) SetBlob(v []byte) error

func (SignedBlob) SetSign added in v0.4.0

func (s SignedBlob) SetSign(v Sign) error

func (SignedBlob) Sign added in v0.4.0

func (s SignedBlob) Sign() (Sign, error)

func (SignedBlob) String added in v0.4.0

func (s SignedBlob) String() string

type SignedBlobS

type SignedBlobS struct {
	Blob common.RawBytes
	Sign *SignS
}

func (*SignedBlobS) Pack

func (sbs *SignedBlobS) Pack() common.RawBytes

func (*SignedBlobS) ProtoId

func (sbs *SignedBlobS) ProtoId() ProtoIdType

func (*SignedBlobS) String

func (sbs *SignedBlobS) String() string

type SignedBlob_List added in v0.4.0

type SignedBlob_List struct{ capnp.List }

SignedBlob_List is a list of SignedBlob.

func NewSignedBlob_List added in v0.4.0

func NewSignedBlob_List(s *capnp.Segment, sz int32) (SignedBlob_List, error)

NewSignedBlob creates a new list of SignedBlob.

func (SignedBlob_List) At added in v0.4.0

func (s SignedBlob_List) At(i int) SignedBlob

func (SignedBlob_List) Set added in v0.4.0

func (s SignedBlob_List) Set(i int, v SignedBlob) error

func (SignedBlob_List) String added in v0.4.0

func (s SignedBlob_List) String() string

type SignedBlob_Promise added in v0.4.0

type SignedBlob_Promise struct{ *capnp.Pipeline }

SignedBlob_Promise is a wrapper for a SignedBlob promised by a client call.

func (SignedBlob_Promise) Sign added in v0.4.0

func (SignedBlob_Promise) Struct added in v0.4.0

func (p SignedBlob_Promise) Struct() (SignedBlob, error)

type SignedCtrlPld added in v0.4.0

type SignedCtrlPld struct{ capnp.Struct }

func NewRootSignedCtrlPld added in v0.4.0

func NewRootSignedCtrlPld(s *capnp.Segment) (SignedCtrlPld, error)

func NewSignedCtrlPld added in v0.4.0

func NewSignedCtrlPld(s *capnp.Segment) (SignedCtrlPld, error)

func ReadRootSignedCtrlPld added in v0.4.0

func ReadRootSignedCtrlPld(msg *capnp.Message) (SignedCtrlPld, error)

func (SignedCtrlPld) Blob added in v0.4.0

func (s SignedCtrlPld) Blob() ([]byte, error)

func (SignedCtrlPld) GetStruct added in v0.4.0

func (s SignedCtrlPld) GetStruct() capnp.Struct

func (SignedCtrlPld) HasBlob added in v0.4.0

func (s SignedCtrlPld) HasBlob() bool

func (SignedCtrlPld) HasSign added in v0.4.0

func (s SignedCtrlPld) HasSign() bool

func (SignedCtrlPld) NewSign added in v0.4.0

func (s SignedCtrlPld) NewSign() (Sign, error)

NewSign sets the sign field to a newly allocated Sign struct, preferring placement in s's segment.

func (SignedCtrlPld) SetBlob added in v0.4.0

func (s SignedCtrlPld) SetBlob(v []byte) error

func (SignedCtrlPld) SetSign added in v0.4.0

func (s SignedCtrlPld) SetSign(v Sign) error

func (SignedCtrlPld) Sign added in v0.4.0

func (s SignedCtrlPld) Sign() (Sign, error)

func (SignedCtrlPld) String added in v0.4.0

func (s SignedCtrlPld) String() string

type SignedCtrlPld_List added in v0.4.0

type SignedCtrlPld_List struct{ capnp.List }

SignedCtrlPld_List is a list of SignedCtrlPld.

func NewSignedCtrlPld_List added in v0.4.0

func NewSignedCtrlPld_List(s *capnp.Segment, sz int32) (SignedCtrlPld_List, error)

NewSignedCtrlPld creates a new list of SignedCtrlPld.

func (SignedCtrlPld_List) At added in v0.4.0

func (SignedCtrlPld_List) Set added in v0.4.0

func (SignedCtrlPld_List) String added in v0.4.0

func (s SignedCtrlPld_List) String() string

type SignedCtrlPld_Promise added in v0.4.0

type SignedCtrlPld_Promise struct{ *capnp.Pipeline }

SignedCtrlPld_Promise is a wrapper for a SignedCtrlPld promised by a client call.

func (SignedCtrlPld_Promise) Sign added in v0.4.0

func (SignedCtrlPld_Promise) Struct added in v0.4.0

type TRC added in v0.4.0

type TRC struct{ capnp.Struct }

func NewRootTRC added in v0.4.0

func NewRootTRC(s *capnp.Segment) (TRC, error)

func NewTRC added in v0.4.0

func NewTRC(s *capnp.Segment) (TRC, error)

func ReadRootTRC added in v0.4.0

func ReadRootTRC(msg *capnp.Message) (TRC, error)

func (TRC) HasTrc added in v0.4.0

func (s TRC) HasTrc() bool

func (TRC) SetTrc added in v0.4.0

func (s TRC) SetTrc(v []byte) error

func (TRC) String added in v0.4.0

func (s TRC) String() string

func (TRC) Trc added in v0.4.0

func (s TRC) Trc() ([]byte, error)

type TRCReq added in v0.4.0

type TRCReq struct{ capnp.Struct }

func NewRootTRCReq added in v0.4.0

func NewRootTRCReq(s *capnp.Segment) (TRCReq, error)

func NewTRCReq added in v0.4.0

func NewTRCReq(s *capnp.Segment) (TRCReq, error)

func ReadRootTRCReq added in v0.4.0

func ReadRootTRCReq(msg *capnp.Message) (TRCReq, error)

func (TRCReq) CacheOnly added in v0.4.0

func (s TRCReq) CacheOnly() bool

func (TRCReq) Isd added in v0.4.0

func (s TRCReq) Isd() uint16

func (TRCReq) SetCacheOnly added in v0.4.0

func (s TRCReq) SetCacheOnly(v bool)

func (TRCReq) SetIsd added in v0.4.0

func (s TRCReq) SetIsd(v uint16)

func (TRCReq) SetVersion added in v0.4.0

func (s TRCReq) SetVersion(v uint64)

func (TRCReq) String added in v0.4.0

func (s TRCReq) String() string

func (TRCReq) Version added in v0.4.0

func (s TRCReq) Version() uint64

type TRCReq_List added in v0.4.0

type TRCReq_List struct{ capnp.List }

TRCReq_List is a list of TRCReq.

func NewTRCReq_List added in v0.4.0

func NewTRCReq_List(s *capnp.Segment, sz int32) (TRCReq_List, error)

NewTRCReq creates a new list of TRCReq.

func (TRCReq_List) At added in v0.4.0

func (s TRCReq_List) At(i int) TRCReq

func (TRCReq_List) Set added in v0.4.0

func (s TRCReq_List) Set(i int, v TRCReq) error

func (TRCReq_List) String added in v0.4.0

func (s TRCReq_List) String() string

type TRCReq_Promise added in v0.4.0

type TRCReq_Promise struct{ *capnp.Pipeline }

TRCReq_Promise is a wrapper for a TRCReq promised by a client call.

func (TRCReq_Promise) Struct added in v0.4.0

func (p TRCReq_Promise) Struct() (TRCReq, error)

type TRC_List added in v0.4.0

type TRC_List struct{ capnp.List }

TRC_List is a list of TRC.

func NewTRC_List added in v0.4.0

func NewTRC_List(s *capnp.Segment, sz int32) (TRC_List, error)

NewTRC creates a new list of TRC.

func (TRC_List) At added in v0.4.0

func (s TRC_List) At(i int) TRC

func (TRC_List) Set added in v0.4.0

func (s TRC_List) Set(i int, v TRC) error

func (TRC_List) String added in v0.4.0

func (s TRC_List) String() string

type TRC_Promise added in v0.4.0

type TRC_Promise struct{ *capnp.Pipeline }

TRC_Promise is a wrapper for a TRC promised by a client call.

func (TRC_Promise) Struct added in v0.4.0

func (p TRC_Promise) Struct() (TRC, error)

type Transport added in v0.4.0

type Transport struct{ capnp.Struct }

func NewRootTransport added in v0.4.0

func NewRootTransport(s *capnp.Segment) (Transport, error)

func NewTransport added in v0.4.0

func NewTransport(s *capnp.Segment) (Transport, error)

func ReadRootTransport added in v0.4.0

func ReadRootTransport(msg *capnp.Message) (Transport, error)

func (Transport) HasKey added in v0.4.0

func (s Transport) HasKey() bool

func (Transport) HasValue added in v0.4.0

func (s Transport) HasValue() bool

func (Transport) Key added in v0.4.0

func (s Transport) Key() (string, error)

func (Transport) KeyBytes added in v0.4.0

func (s Transport) KeyBytes() ([]byte, error)

func (Transport) SetKey added in v0.4.0

func (s Transport) SetKey(v string) error

func (Transport) SetValue added in v0.4.0

func (s Transport) SetValue(v string) error

func (Transport) String added in v0.4.0

func (s Transport) String() string

func (Transport) Value added in v0.4.0

func (s Transport) Value() (string, error)

func (Transport) ValueBytes added in v0.4.0

func (s Transport) ValueBytes() ([]byte, error)

type Transport_List added in v0.4.0

type Transport_List struct{ capnp.List }

Transport_List is a list of Transport.

func NewTransport_List added in v0.4.0

func NewTransport_List(s *capnp.Segment, sz int32) (Transport_List, error)

NewTransport creates a new list of Transport.

func (Transport_List) At added in v0.4.0

func (s Transport_List) At(i int) Transport

func (Transport_List) Set added in v0.4.0

func (s Transport_List) Set(i int, v Transport) error

func (Transport_List) String added in v0.4.0

func (s Transport_List) String() string

type Transport_Promise added in v0.4.0

type Transport_Promise struct{ *capnp.Pipeline }

Transport_Promise is a wrapper for a Transport promised by a client call.

func (Transport_Promise) Struct added in v0.4.0

func (p Transport_Promise) Struct() (Transport, error)

type ZkId added in v0.4.0

type ZkId struct{ capnp.Struct }

func NewRootZkId added in v0.4.0

func NewRootZkId(s *capnp.Segment) (ZkId, error)

func NewZkId added in v0.4.0

func NewZkId(s *capnp.Segment) (ZkId, error)

func ReadRootZkId added in v0.4.0

func ReadRootZkId(msg *capnp.Message) (ZkId, error)

func (ZkId) Addrs added in v0.4.0

func (s ZkId) Addrs() (Addr_List, error)

func (ZkId) HasAddrs added in v0.4.0

func (s ZkId) HasAddrs() bool

func (ZkId) HasId added in v0.4.0

func (s ZkId) HasId() bool

func (ZkId) Id added in v0.4.0

func (s ZkId) Id() (string, error)

func (ZkId) IdBytes added in v0.4.0

func (s ZkId) IdBytes() ([]byte, error)

func (ZkId) Isdas added in v0.4.0

func (s ZkId) Isdas() uint64

func (ZkId) NewAddrs added in v0.4.0

func (s ZkId) NewAddrs(n int32) (Addr_List, error)

NewAddrs sets the addrs field to a newly allocated Addr_List, preferring placement in s's segment.

func (ZkId) SetAddrs added in v0.4.0

func (s ZkId) SetAddrs(v Addr_List) error

func (ZkId) SetId added in v0.4.0

func (s ZkId) SetId(v string) error

func (ZkId) SetIsdas added in v0.4.0

func (s ZkId) SetIsdas(v uint64)

func (ZkId) String added in v0.4.0

func (s ZkId) String() string

type ZkId_List added in v0.4.0

type ZkId_List struct{ capnp.List }

ZkId_List is a list of ZkId.

func NewZkId_List added in v0.4.0

func NewZkId_List(s *capnp.Segment, sz int32) (ZkId_List, error)

NewZkId creates a new list of ZkId.

func (ZkId_List) At added in v0.4.0

func (s ZkId_List) At(i int) ZkId

func (ZkId_List) Set added in v0.4.0

func (s ZkId_List) Set(i int, v ZkId) error

func (ZkId_List) String added in v0.4.0

func (s ZkId_List) String() string

type ZkId_Promise added in v0.4.0

type ZkId_Promise struct{ *capnp.Pipeline }

ZkId_Promise is a wrapper for a ZkId promised by a client call.

func (ZkId_Promise) Struct added in v0.4.0

func (p ZkId_Promise) Struct() (ZkId, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL