Versions in this module Expand all Collapse all v0 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var AddressFamily_name = map[uint32]string + var AddressFamily_value = map[string]uint32 + var IPDscp_name = map[uint8]string + var IPDscp_value = map[string]uint8 + var IPEcn_name = map[uint8]string + var IPEcn_value = map[string]uint8 + var IPProto_name = map[uint32]string + var IPProto_value = map[string]uint32 + var IfStatusFlags_name = map[uint32]string + var IfStatusFlags_value = map[string]uint32 + var IfType_name = map[uint32]string + var IfType_value = map[string]uint32 + var LinkDuplex_name = map[uint32]string + var LinkDuplex_value = map[string]uint32 + var MtuProto_name = map[uint32]string + var MtuProto_value = map[string]uint32 + var RxMode_name = map[uint32]string + var RxMode_value = map[string]uint32 + var SubIfFlags_name = map[uint32]string + var SubIfFlags_value = map[string]uint32 + func AllMessages() []api.Message + type Address struct + Af AddressFamily + Un AddressUnion + func ParseAddress(s string) (Address, error) + func (x *Address) MarshalText() ([]byte, error) + func (x *Address) UnmarshalText(text []byte) error + func (x Address) String() string + func (x Address) ToIP() net.IP + type AddressFamily uint32 + const ADDRESS_IP4 + const ADDRESS_IP6 + func (x AddressFamily) String() string + type AddressUnion struct + XXX_UnionData [16]byte + func AddressUnionIP4(a IP4Address) (u AddressUnion) + func AddressUnionIP6(a IP6Address) (u AddressUnion) + func (u *AddressUnion) GetIP4() (a IP4Address) + func (u *AddressUnion) GetIP6() (a IP6Address) + func (u *AddressUnion) SetIP4(a IP4Address) + func (u *AddressUnion) SetIP6(a IP6Address) + type AddressWithPrefix Prefix + func ParseAddressWithPrefix(s string) (AddressWithPrefix, error) + func (x *AddressWithPrefix) MarshalText() ([]byte, error) + func (x *AddressWithPrefix) UnmarshalText(text []byte) error + func (x AddressWithPrefix) String() string + type CollectDetailedInterfaceStats struct + EnableDisable bool + SwIfIndex InterfaceIndex + func (*CollectDetailedInterfaceStats) GetCrcString() string + func (*CollectDetailedInterfaceStats) GetMessageName() string + func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType + func (m *CollectDetailedInterfaceStats) Marshal(b []byte) ([]byte, error) + func (m *CollectDetailedInterfaceStats) Reset() + func (m *CollectDetailedInterfaceStats) Size() (size int) + func (m *CollectDetailedInterfaceStats) Unmarshal(b []byte) error + type CollectDetailedInterfaceStatsReply struct + Retval int32 + func (*CollectDetailedInterfaceStatsReply) GetCrcString() string + func (*CollectDetailedInterfaceStatsReply) GetMessageName() string + func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType + func (m *CollectDetailedInterfaceStatsReply) Marshal(b []byte) ([]byte, error) + func (m *CollectDetailedInterfaceStatsReply) Reset() + func (m *CollectDetailedInterfaceStatsReply) Size() (size int) + func (m *CollectDetailedInterfaceStatsReply) Unmarshal(b []byte) error + type CreateLoopback struct + MacAddress MacAddress + func (*CreateLoopback) GetCrcString() string + func (*CreateLoopback) GetMessageName() string + func (*CreateLoopback) GetMessageType() api.MessageType + func (m *CreateLoopback) Marshal(b []byte) ([]byte, error) + func (m *CreateLoopback) Reset() + func (m *CreateLoopback) Size() (size int) + func (m *CreateLoopback) Unmarshal(b []byte) error + type CreateLoopbackInstance struct + IsSpecified bool + MacAddress MacAddress + UserInstance uint32 + func (*CreateLoopbackInstance) GetCrcString() string + func (*CreateLoopbackInstance) GetMessageName() string + func (*CreateLoopbackInstance) GetMessageType() api.MessageType + func (m *CreateLoopbackInstance) Marshal(b []byte) ([]byte, error) + func (m *CreateLoopbackInstance) Reset() + func (m *CreateLoopbackInstance) Size() (size int) + func (m *CreateLoopbackInstance) Unmarshal(b []byte) error + type CreateLoopbackInstanceReply struct + Retval int32 + SwIfIndex InterfaceIndex + func (*CreateLoopbackInstanceReply) GetCrcString() string + func (*CreateLoopbackInstanceReply) GetMessageName() string + func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType + func (m *CreateLoopbackInstanceReply) Marshal(b []byte) ([]byte, error) + func (m *CreateLoopbackInstanceReply) Reset() + func (m *CreateLoopbackInstanceReply) Size() (size int) + func (m *CreateLoopbackInstanceReply) Unmarshal(b []byte) error + type CreateLoopbackReply struct + Retval int32 + SwIfIndex InterfaceIndex + func (*CreateLoopbackReply) GetCrcString() string + func (*CreateLoopbackReply) GetMessageName() string + func (*CreateLoopbackReply) GetMessageType() api.MessageType + func (m *CreateLoopbackReply) Marshal(b []byte) ([]byte, error) + func (m *CreateLoopbackReply) Reset() + func (m *CreateLoopbackReply) Size() (size int) + func (m *CreateLoopbackReply) Unmarshal(b []byte) error + type CreateSubif struct + InnerVlanID uint16 + OuterVlanID uint16 + SubID uint32 + SubIfFlags SubIfFlags + SwIfIndex InterfaceIndex + func (*CreateSubif) GetCrcString() string + func (*CreateSubif) GetMessageName() string + func (*CreateSubif) GetMessageType() api.MessageType + func (m *CreateSubif) Marshal(b []byte) ([]byte, error) + func (m *CreateSubif) Reset() + func (m *CreateSubif) Size() (size int) + func (m *CreateSubif) Unmarshal(b []byte) error + type CreateSubifReply struct + Retval int32 + SwIfIndex InterfaceIndex + func (*CreateSubifReply) GetCrcString() string + func (*CreateSubifReply) GetMessageName() string + func (*CreateSubifReply) GetMessageType() api.MessageType + func (m *CreateSubifReply) Marshal(b []byte) ([]byte, error) + func (m *CreateSubifReply) Reset() + func (m *CreateSubifReply) Size() (size int) + func (m *CreateSubifReply) Unmarshal(b []byte) error + type CreateVlanSubif struct + SwIfIndex InterfaceIndex + VlanID uint32 + func (*CreateVlanSubif) GetCrcString() string + func (*CreateVlanSubif) GetMessageName() string + func (*CreateVlanSubif) GetMessageType() api.MessageType + func (m *CreateVlanSubif) Marshal(b []byte) ([]byte, error) + func (m *CreateVlanSubif) Reset() + func (m *CreateVlanSubif) Size() (size int) + func (m *CreateVlanSubif) Unmarshal(b []byte) error + type CreateVlanSubifReply struct + Retval int32 + SwIfIndex InterfaceIndex + func (*CreateVlanSubifReply) GetCrcString() string + func (*CreateVlanSubifReply) GetMessageName() string + func (*CreateVlanSubifReply) GetMessageType() api.MessageType + func (m *CreateVlanSubifReply) Marshal(b []byte) ([]byte, error) + func (m *CreateVlanSubifReply) Reset() + func (m *CreateVlanSubifReply) Size() (size int) + func (m *CreateVlanSubifReply) Unmarshal(b []byte) error + type DeleteLoopback struct + SwIfIndex InterfaceIndex + func (*DeleteLoopback) GetCrcString() string + func (*DeleteLoopback) GetMessageName() string + func (*DeleteLoopback) GetMessageType() api.MessageType + func (m *DeleteLoopback) Marshal(b []byte) ([]byte, error) + func (m *DeleteLoopback) Reset() + func (m *DeleteLoopback) Size() (size int) + func (m *DeleteLoopback) Unmarshal(b []byte) error + type DeleteLoopbackReply struct + Retval int32 + func (*DeleteLoopbackReply) GetCrcString() string + func (*DeleteLoopbackReply) GetMessageName() string + func (*DeleteLoopbackReply) GetMessageType() api.MessageType + func (m *DeleteLoopbackReply) Marshal(b []byte) ([]byte, error) + func (m *DeleteLoopbackReply) Reset() + func (m *DeleteLoopbackReply) Size() (size int) + func (m *DeleteLoopbackReply) Unmarshal(b []byte) error + type DeleteSubif struct + SwIfIndex InterfaceIndex + func (*DeleteSubif) GetCrcString() string + func (*DeleteSubif) GetMessageName() string + func (*DeleteSubif) GetMessageType() api.MessageType + func (m *DeleteSubif) Marshal(b []byte) ([]byte, error) + func (m *DeleteSubif) Reset() + func (m *DeleteSubif) Size() (size int) + func (m *DeleteSubif) Unmarshal(b []byte) error + type DeleteSubifReply struct + Retval int32 + func (*DeleteSubifReply) GetCrcString() string + func (*DeleteSubifReply) GetMessageName() string + func (*DeleteSubifReply) GetMessageType() api.MessageType + func (m *DeleteSubifReply) Marshal(b []byte) ([]byte, error) + func (m *DeleteSubifReply) Reset() + func (m *DeleteSubifReply) Size() (size int) + func (m *DeleteSubifReply) Unmarshal(b []byte) error + type HwInterfaceSetMtu struct + Mtu uint16 + SwIfIndex InterfaceIndex + func (*HwInterfaceSetMtu) GetCrcString() string + func (*HwInterfaceSetMtu) GetMessageName() string + func (*HwInterfaceSetMtu) GetMessageType() api.MessageType + func (m *HwInterfaceSetMtu) Marshal(b []byte) ([]byte, error) + func (m *HwInterfaceSetMtu) Reset() + func (m *HwInterfaceSetMtu) Size() (size int) + func (m *HwInterfaceSetMtu) Unmarshal(b []byte) error + type HwInterfaceSetMtuReply struct + Retval int32 + func (*HwInterfaceSetMtuReply) GetCrcString() string + func (*HwInterfaceSetMtuReply) GetMessageName() string + func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType + func (m *HwInterfaceSetMtuReply) Marshal(b []byte) ([]byte, error) + func (m *HwInterfaceSetMtuReply) Reset() + func (m *HwInterfaceSetMtuReply) Size() (size int) + func (m *HwInterfaceSetMtuReply) Unmarshal(b []byte) error + type IP4Address [4]uint8 + func ParseIP4Address(s string) (IP4Address, error) + func (x *IP4Address) MarshalText() ([]byte, error) + func (x *IP4Address) UnmarshalText(text []byte) error + func (x IP4Address) String() string + func (x IP4Address) ToIP() net.IP + type IP4AddressWithPrefix IP4Prefix + type IP4Prefix struct + Address IP4Address + Len uint8 + func ParseIP4Prefix(s string) (prefix IP4Prefix, err error) + func (x *IP4Prefix) MarshalText() ([]byte, error) + func (x *IP4Prefix) UnmarshalText(text []byte) error + func (x IP4Prefix) String() string + func (x IP4Prefix) ToIPNet() *net.IPNet + type IP6Address [16]uint8 + func ParseIP6Address(s string) (IP6Address, error) + func (x *IP6Address) MarshalText() ([]byte, error) + func (x *IP6Address) UnmarshalText(text []byte) error + func (x IP6Address) String() string + func (x IP6Address) ToIP() net.IP + type IP6AddressWithPrefix IP6Prefix + type IP6Prefix struct + Address IP6Address + Len uint8 + func ParseIP6Prefix(s string) (prefix IP6Prefix, err error) + func (x *IP6Prefix) MarshalText() ([]byte, error) + func (x *IP6Prefix) UnmarshalText(text []byte) error + func (x IP6Prefix) String() string + func (x IP6Prefix) ToIPNet() *net.IPNet + type IPDscp uint8 + const IP_API_DSCP_AF11 + const IP_API_DSCP_AF12 + const IP_API_DSCP_AF13 + const IP_API_DSCP_AF21 + const IP_API_DSCP_AF22 + const IP_API_DSCP_AF23 + const IP_API_DSCP_AF31 + const IP_API_DSCP_AF32 + const IP_API_DSCP_AF33 + const IP_API_DSCP_AF41 + const IP_API_DSCP_AF42 + const IP_API_DSCP_AF43 + const IP_API_DSCP_CS0 + const IP_API_DSCP_CS1 + const IP_API_DSCP_CS2 + const IP_API_DSCP_CS3 + const IP_API_DSCP_CS4 + const IP_API_DSCP_CS5 + const IP_API_DSCP_CS6 + const IP_API_DSCP_CS7 + const IP_API_DSCP_EF + func (x IPDscp) String() string + type IPEcn uint8 + const IP_API_ECN_CE + const IP_API_ECN_ECT0 + const IP_API_ECN_ECT1 + const IP_API_ECN_NONE + func (x IPEcn) String() string + type IPProto uint32 + const IP_API_PROTO_AH + const IP_API_PROTO_EIGRP + const IP_API_PROTO_ESP + const IP_API_PROTO_GRE + const IP_API_PROTO_HOPOPT + const IP_API_PROTO_ICMP + const IP_API_PROTO_IGMP + const IP_API_PROTO_OSPF + const IP_API_PROTO_RESERVED + const IP_API_PROTO_SCTP + const IP_API_PROTO_TCP + const IP_API_PROTO_UDP + func (x IPProto) String() string + type IfStatusFlags uint32 + const IF_STATUS_API_FLAG_ADMIN_UP + const IF_STATUS_API_FLAG_LINK_UP + func (x IfStatusFlags) String() string + type IfType uint32 + const IF_API_TYPE_HARDWARE + const IF_API_TYPE_P2P + const IF_API_TYPE_PIPE + const IF_API_TYPE_SUB + func (x IfType) String() string + type InterfaceIndex uint32 + type InterfaceNameRenumber struct + NewShowDevInstance uint32 + SwIfIndex InterfaceIndex + func (*InterfaceNameRenumber) GetCrcString() string + func (*InterfaceNameRenumber) GetMessageName() string + func (*InterfaceNameRenumber) GetMessageType() api.MessageType + func (m *InterfaceNameRenumber) Marshal(b []byte) ([]byte, error) + func (m *InterfaceNameRenumber) Reset() + func (m *InterfaceNameRenumber) Size() (size int) + func (m *InterfaceNameRenumber) Unmarshal(b []byte) error + type InterfaceNameRenumberReply struct + Retval int32 + func (*InterfaceNameRenumberReply) GetCrcString() string + func (*InterfaceNameRenumberReply) GetMessageName() string + func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType + func (m *InterfaceNameRenumberReply) Marshal(b []byte) ([]byte, error) + func (m *InterfaceNameRenumberReply) Reset() + func (m *InterfaceNameRenumberReply) Size() (size int) + func (m *InterfaceNameRenumberReply) Unmarshal(b []byte) error + type LinkDuplex uint32 + const LINK_DUPLEX_API_FULL + const LINK_DUPLEX_API_HALF + const LINK_DUPLEX_API_UNKNOWN + func (x LinkDuplex) String() string + type MacAddress [6]uint8 + func ParseMacAddress(s string) (MacAddress, error) + func (x *MacAddress) MarshalText() ([]byte, error) + func (x *MacAddress) UnmarshalText(text []byte) error + func (x MacAddress) String() string + func (x MacAddress) ToMAC() net.HardwareAddr + type Mprefix struct + Af AddressFamily + GrpAddress AddressUnion + GrpAddressLength uint16 + SrcAddress AddressUnion + type MtuProto uint32 + const MTU_PROTO_API_IP4 + const MTU_PROTO_API_IP6 + const MTU_PROTO_API_L3 + const MTU_PROTO_API_MPLS + const MTU_PROTO_API_N + func (x MtuProto) String() string + type Prefix struct + Address Address + Len uint8 + func ParsePrefix(ip string) (prefix Prefix, err error) + func (x *Prefix) MarshalText() ([]byte, error) + func (x *Prefix) UnmarshalText(text []byte) error + func (x Prefix) String() string + func (x Prefix) ToIPNet() *net.IPNet + type PrefixMatcher struct + Ge uint8 + Le uint8 + type RPCService interface + CollectDetailedInterfaceStats func(ctx context.Context, in *CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error) + CreateLoopback func(ctx context.Context, in *CreateLoopback) (*CreateLoopbackReply, error) + CreateLoopbackInstance func(ctx context.Context, in *CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error) + CreateSubif func(ctx context.Context, in *CreateSubif) (*CreateSubifReply, error) + CreateVlanSubif func(ctx context.Context, in *CreateVlanSubif) (*CreateVlanSubifReply, error) + DeleteLoopback func(ctx context.Context, in *DeleteLoopback) (*DeleteLoopbackReply, error) + DeleteSubif func(ctx context.Context, in *DeleteSubif) (*DeleteSubifReply, error) + HwInterfaceSetMtu func(ctx context.Context, in *HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error) + InterfaceNameRenumber func(ctx context.Context, in *InterfaceNameRenumber) (*InterfaceNameRenumberReply, error) + SwInterfaceAddDelAddress func(ctx context.Context, in *SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error) + SwInterfaceAddDelMacAddress func(ctx context.Context, in *SwInterfaceAddDelMacAddress) (*SwInterfaceAddDelMacAddressReply, error) + SwInterfaceClearStats func(ctx context.Context, in *SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error) + SwInterfaceDump func(ctx context.Context, in *SwInterfaceDump) (RPCService_SwInterfaceDumpClient, error) + SwInterfaceGetMacAddress func(ctx context.Context, in *SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error) + SwInterfaceGetTable func(ctx context.Context, in *SwInterfaceGetTable) (*SwInterfaceGetTableReply, error) + SwInterfaceRxPlacementDump func(ctx context.Context, in *SwInterfaceRxPlacementDump) (RPCService_SwInterfaceRxPlacementDumpClient, error) + SwInterfaceSetFlags func(ctx context.Context, in *SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error) + SwInterfaceSetIPDirectedBroadcast func(ctx context.Context, in *SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error) + SwInterfaceSetMacAddress func(ctx context.Context, in *SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error) + SwInterfaceSetMtu func(ctx context.Context, in *SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error) + SwInterfaceSetRxMode func(ctx context.Context, in *SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error) + SwInterfaceSetRxPlacement func(ctx context.Context, in *SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error) + SwInterfaceSetTable func(ctx context.Context, in *SwInterfaceSetTable) (*SwInterfaceSetTableReply, error) + SwInterfaceSetUnnumbered func(ctx context.Context, in *SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error) + SwInterfaceTagAddDel func(ctx context.Context, in *SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error) + WantInterfaceEvents func(ctx context.Context, in *WantInterfaceEvents) (*WantInterfaceEventsReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SwInterfaceDumpClient interface + Recv func() (*SwInterfaceDetails, error) + type RPCService_SwInterfaceRxPlacementDumpClient interface + Recv func() (*SwInterfaceRxPlacementDetails, error) + type RxMode uint32 + const RX_MODE_API_ADAPTIVE + const RX_MODE_API_DEFAULT + const RX_MODE_API_INTERRUPT + const RX_MODE_API_POLLING + const RX_MODE_API_UNKNOWN + func (x RxMode) String() string + type SubIfFlags uint32 + const SUB_IF_API_FLAG_DEFAULT + const SUB_IF_API_FLAG_DOT1AD + const SUB_IF_API_FLAG_DOT1AH + const SUB_IF_API_FLAG_EXACT_MATCH + const SUB_IF_API_FLAG_INNER_VLAN_ID_ANY + const SUB_IF_API_FLAG_MASK_VNET + const SUB_IF_API_FLAG_NO_TAGS + const SUB_IF_API_FLAG_ONE_TAG + const SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY + const SUB_IF_API_FLAG_TWO_TAGS + func (x SubIfFlags) String() string + type SwInterfaceAddDelAddress struct + DelAll bool + IsAdd bool + Prefix AddressWithPrefix + SwIfIndex InterfaceIndex + func (*SwInterfaceAddDelAddress) GetCrcString() string + func (*SwInterfaceAddDelAddress) GetMessageName() string + func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType + func (m *SwInterfaceAddDelAddress) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceAddDelAddress) Reset() + func (m *SwInterfaceAddDelAddress) Size() (size int) + func (m *SwInterfaceAddDelAddress) Unmarshal(b []byte) error + type SwInterfaceAddDelAddressReply struct + Retval int32 + func (*SwInterfaceAddDelAddressReply) GetCrcString() string + func (*SwInterfaceAddDelAddressReply) GetMessageName() string + func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType + func (m *SwInterfaceAddDelAddressReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceAddDelAddressReply) Reset() + func (m *SwInterfaceAddDelAddressReply) Size() (size int) + func (m *SwInterfaceAddDelAddressReply) Unmarshal(b []byte) error + type SwInterfaceAddDelMacAddress struct + Addr MacAddress + IsAdd uint8 + SwIfIndex uint32 + func (*SwInterfaceAddDelMacAddress) GetCrcString() string + func (*SwInterfaceAddDelMacAddress) GetMessageName() string + func (*SwInterfaceAddDelMacAddress) GetMessageType() api.MessageType + func (m *SwInterfaceAddDelMacAddress) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceAddDelMacAddress) Reset() + func (m *SwInterfaceAddDelMacAddress) Size() (size int) + func (m *SwInterfaceAddDelMacAddress) Unmarshal(b []byte) error + type SwInterfaceAddDelMacAddressReply struct + Retval int32 + func (*SwInterfaceAddDelMacAddressReply) GetCrcString() string + func (*SwInterfaceAddDelMacAddressReply) GetMessageName() string + func (*SwInterfaceAddDelMacAddressReply) GetMessageType() api.MessageType + func (m *SwInterfaceAddDelMacAddressReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceAddDelMacAddressReply) Reset() + func (m *SwInterfaceAddDelMacAddressReply) Size() (size int) + func (m *SwInterfaceAddDelMacAddressReply) Unmarshal(b []byte) error + type SwInterfaceClearStats struct + SwIfIndex InterfaceIndex + func (*SwInterfaceClearStats) GetCrcString() string + func (*SwInterfaceClearStats) GetMessageName() string + func (*SwInterfaceClearStats) GetMessageType() api.MessageType + func (m *SwInterfaceClearStats) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceClearStats) Reset() + func (m *SwInterfaceClearStats) Size() (size int) + func (m *SwInterfaceClearStats) Unmarshal(b []byte) error + type SwInterfaceClearStatsReply struct + Retval int32 + func (*SwInterfaceClearStatsReply) GetCrcString() string + func (*SwInterfaceClearStatsReply) GetMessageName() string + func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType + func (m *SwInterfaceClearStatsReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceClearStatsReply) Reset() + func (m *SwInterfaceClearStatsReply) Size() (size int) + func (m *SwInterfaceClearStatsReply) Unmarshal(b []byte) error + type SwInterfaceDetails struct + BDmac MacAddress + BSmac MacAddress + BVlanid uint16 + Flags IfStatusFlags + ISid uint32 + InterfaceDevType string + InterfaceName string + L2Address MacAddress + LinkDuplex LinkDuplex + LinkMtu uint16 + LinkSpeed uint32 + Mtu []uint32 + OuterTag uint16 + SubID uint32 + SubIfFlags SubIfFlags + SubInnerVlanID uint16 + SubNumberOfTags uint8 + SubOuterVlanID uint16 + SupSwIfIndex uint32 + SwIfIndex InterfaceIndex + Tag string + Type IfType + VtrOp uint32 + VtrPushDot1q uint32 + VtrTag1 uint32 + VtrTag2 uint32 + func (*SwInterfaceDetails) GetCrcString() string + func (*SwInterfaceDetails) GetMessageName() string + func (*SwInterfaceDetails) GetMessageType() api.MessageType + func (m *SwInterfaceDetails) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceDetails) Reset() + func (m *SwInterfaceDetails) Size() (size int) + func (m *SwInterfaceDetails) Unmarshal(b []byte) error + type SwInterfaceDump struct + NameFilter string + NameFilterValid bool + SwIfIndex InterfaceIndex + func (*SwInterfaceDump) GetCrcString() string + func (*SwInterfaceDump) GetMessageName() string + func (*SwInterfaceDump) GetMessageType() api.MessageType + func (m *SwInterfaceDump) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceDump) Reset() + func (m *SwInterfaceDump) Size() (size int) + func (m *SwInterfaceDump) Unmarshal(b []byte) error + type SwInterfaceEvent struct + Deleted bool + Flags IfStatusFlags + PID uint32 + SwIfIndex InterfaceIndex + func (*SwInterfaceEvent) GetCrcString() string + func (*SwInterfaceEvent) GetMessageName() string + func (*SwInterfaceEvent) GetMessageType() api.MessageType + func (m *SwInterfaceEvent) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceEvent) Reset() + func (m *SwInterfaceEvent) Size() (size int) + func (m *SwInterfaceEvent) Unmarshal(b []byte) error + type SwInterfaceGetMacAddress struct + SwIfIndex InterfaceIndex + func (*SwInterfaceGetMacAddress) GetCrcString() string + func (*SwInterfaceGetMacAddress) GetMessageName() string + func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType + func (m *SwInterfaceGetMacAddress) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceGetMacAddress) Reset() + func (m *SwInterfaceGetMacAddress) Size() (size int) + func (m *SwInterfaceGetMacAddress) Unmarshal(b []byte) error + type SwInterfaceGetMacAddressReply struct + MacAddress MacAddress + Retval int32 + func (*SwInterfaceGetMacAddressReply) GetCrcString() string + func (*SwInterfaceGetMacAddressReply) GetMessageName() string + func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType + func (m *SwInterfaceGetMacAddressReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceGetMacAddressReply) Reset() + func (m *SwInterfaceGetMacAddressReply) Size() (size int) + func (m *SwInterfaceGetMacAddressReply) Unmarshal(b []byte) error + type SwInterfaceGetTable struct + IsIPv6 bool + SwIfIndex InterfaceIndex + func (*SwInterfaceGetTable) GetCrcString() string + func (*SwInterfaceGetTable) GetMessageName() string + func (*SwInterfaceGetTable) GetMessageType() api.MessageType + func (m *SwInterfaceGetTable) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceGetTable) Reset() + func (m *SwInterfaceGetTable) Size() (size int) + func (m *SwInterfaceGetTable) Unmarshal(b []byte) error + type SwInterfaceGetTableReply struct + Retval int32 + VrfID uint32 + func (*SwInterfaceGetTableReply) GetCrcString() string + func (*SwInterfaceGetTableReply) GetMessageName() string + func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType + func (m *SwInterfaceGetTableReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceGetTableReply) Reset() + func (m *SwInterfaceGetTableReply) Size() (size int) + func (m *SwInterfaceGetTableReply) Unmarshal(b []byte) error + type SwInterfaceRxPlacementDetails struct + Mode RxMode + QueueID uint32 + SwIfIndex InterfaceIndex + WorkerID uint32 + func (*SwInterfaceRxPlacementDetails) GetCrcString() string + func (*SwInterfaceRxPlacementDetails) GetMessageName() string + func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType + func (m *SwInterfaceRxPlacementDetails) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceRxPlacementDetails) Reset() + func (m *SwInterfaceRxPlacementDetails) Size() (size int) + func (m *SwInterfaceRxPlacementDetails) Unmarshal(b []byte) error + type SwInterfaceRxPlacementDump struct + SwIfIndex InterfaceIndex + func (*SwInterfaceRxPlacementDump) GetCrcString() string + func (*SwInterfaceRxPlacementDump) GetMessageName() string + func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType + func (m *SwInterfaceRxPlacementDump) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceRxPlacementDump) Reset() + func (m *SwInterfaceRxPlacementDump) Size() (size int) + func (m *SwInterfaceRxPlacementDump) Unmarshal(b []byte) error + type SwInterfaceSetFlags struct + Flags IfStatusFlags + SwIfIndex InterfaceIndex + func (*SwInterfaceSetFlags) GetCrcString() string + func (*SwInterfaceSetFlags) GetMessageName() string + func (*SwInterfaceSetFlags) GetMessageType() api.MessageType + func (m *SwInterfaceSetFlags) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetFlags) Reset() + func (m *SwInterfaceSetFlags) Size() (size int) + func (m *SwInterfaceSetFlags) Unmarshal(b []byte) error + type SwInterfaceSetFlagsReply struct + Retval int32 + func (*SwInterfaceSetFlagsReply) GetCrcString() string + func (*SwInterfaceSetFlagsReply) GetMessageName() string + func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetFlagsReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetFlagsReply) Reset() + func (m *SwInterfaceSetFlagsReply) Size() (size int) + func (m *SwInterfaceSetFlagsReply) Unmarshal(b []byte) error + type SwInterfaceSetIPDirectedBroadcast struct + Enable bool + SwIfIndex InterfaceIndex + func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string + func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string + func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType + func (m *SwInterfaceSetIPDirectedBroadcast) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetIPDirectedBroadcast) Reset() + func (m *SwInterfaceSetIPDirectedBroadcast) Size() (size int) + func (m *SwInterfaceSetIPDirectedBroadcast) Unmarshal(b []byte) error + type SwInterfaceSetIPDirectedBroadcastReply struct + Retval int32 + func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string + func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string + func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetIPDirectedBroadcastReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetIPDirectedBroadcastReply) Reset() + func (m *SwInterfaceSetIPDirectedBroadcastReply) Size() (size int) + func (m *SwInterfaceSetIPDirectedBroadcastReply) Unmarshal(b []byte) error + type SwInterfaceSetMacAddress struct + MacAddress MacAddress + SwIfIndex InterfaceIndex + func (*SwInterfaceSetMacAddress) GetCrcString() string + func (*SwInterfaceSetMacAddress) GetMessageName() string + func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType + func (m *SwInterfaceSetMacAddress) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetMacAddress) Reset() + func (m *SwInterfaceSetMacAddress) Size() (size int) + func (m *SwInterfaceSetMacAddress) Unmarshal(b []byte) error + type SwInterfaceSetMacAddressReply struct + Retval int32 + func (*SwInterfaceSetMacAddressReply) GetCrcString() string + func (*SwInterfaceSetMacAddressReply) GetMessageName() string + func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetMacAddressReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetMacAddressReply) Reset() + func (m *SwInterfaceSetMacAddressReply) Size() (size int) + func (m *SwInterfaceSetMacAddressReply) Unmarshal(b []byte) error + type SwInterfaceSetMtu struct + Mtu []uint32 + SwIfIndex InterfaceIndex + func (*SwInterfaceSetMtu) GetCrcString() string + func (*SwInterfaceSetMtu) GetMessageName() string + func (*SwInterfaceSetMtu) GetMessageType() api.MessageType + func (m *SwInterfaceSetMtu) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetMtu) Reset() + func (m *SwInterfaceSetMtu) Size() (size int) + func (m *SwInterfaceSetMtu) Unmarshal(b []byte) error + type SwInterfaceSetMtuReply struct + Retval int32 + func (*SwInterfaceSetMtuReply) GetCrcString() string + func (*SwInterfaceSetMtuReply) GetMessageName() string + func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetMtuReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetMtuReply) Reset() + func (m *SwInterfaceSetMtuReply) Size() (size int) + func (m *SwInterfaceSetMtuReply) Unmarshal(b []byte) error + type SwInterfaceSetRxMode struct + Mode RxMode + QueueID uint32 + QueueIDValid bool + SwIfIndex InterfaceIndex + func (*SwInterfaceSetRxMode) GetCrcString() string + func (*SwInterfaceSetRxMode) GetMessageName() string + func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType + func (m *SwInterfaceSetRxMode) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetRxMode) Reset() + func (m *SwInterfaceSetRxMode) Size() (size int) + func (m *SwInterfaceSetRxMode) Unmarshal(b []byte) error + type SwInterfaceSetRxModeReply struct + Retval int32 + func (*SwInterfaceSetRxModeReply) GetCrcString() string + func (*SwInterfaceSetRxModeReply) GetMessageName() string + func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetRxModeReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetRxModeReply) Reset() + func (m *SwInterfaceSetRxModeReply) Size() (size int) + func (m *SwInterfaceSetRxModeReply) Unmarshal(b []byte) error + type SwInterfaceSetRxPlacement struct + IsMain bool + QueueID uint32 + SwIfIndex InterfaceIndex + WorkerID uint32 + func (*SwInterfaceSetRxPlacement) GetCrcString() string + func (*SwInterfaceSetRxPlacement) GetMessageName() string + func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType + func (m *SwInterfaceSetRxPlacement) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetRxPlacement) Reset() + func (m *SwInterfaceSetRxPlacement) Size() (size int) + func (m *SwInterfaceSetRxPlacement) Unmarshal(b []byte) error + type SwInterfaceSetRxPlacementReply struct + Retval int32 + func (*SwInterfaceSetRxPlacementReply) GetCrcString() string + func (*SwInterfaceSetRxPlacementReply) GetMessageName() string + func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetRxPlacementReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetRxPlacementReply) Reset() + func (m *SwInterfaceSetRxPlacementReply) Size() (size int) + func (m *SwInterfaceSetRxPlacementReply) Unmarshal(b []byte) error + type SwInterfaceSetTable struct + IsIPv6 bool + SwIfIndex InterfaceIndex + VrfID uint32 + func (*SwInterfaceSetTable) GetCrcString() string + func (*SwInterfaceSetTable) GetMessageName() string + func (*SwInterfaceSetTable) GetMessageType() api.MessageType + func (m *SwInterfaceSetTable) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetTable) Reset() + func (m *SwInterfaceSetTable) Size() (size int) + func (m *SwInterfaceSetTable) Unmarshal(b []byte) error + type SwInterfaceSetTableReply struct + Retval int32 + func (*SwInterfaceSetTableReply) GetCrcString() string + func (*SwInterfaceSetTableReply) GetMessageName() string + func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetTableReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetTableReply) Reset() + func (m *SwInterfaceSetTableReply) Size() (size int) + func (m *SwInterfaceSetTableReply) Unmarshal(b []byte) error + type SwInterfaceSetUnnumbered struct + IsAdd bool + SwIfIndex InterfaceIndex + UnnumberedSwIfIndex InterfaceIndex + func (*SwInterfaceSetUnnumbered) GetCrcString() string + func (*SwInterfaceSetUnnumbered) GetMessageName() string + func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType + func (m *SwInterfaceSetUnnumbered) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetUnnumbered) Reset() + func (m *SwInterfaceSetUnnumbered) Size() (size int) + func (m *SwInterfaceSetUnnumbered) Unmarshal(b []byte) error + type SwInterfaceSetUnnumberedReply struct + Retval int32 + func (*SwInterfaceSetUnnumberedReply) GetCrcString() string + func (*SwInterfaceSetUnnumberedReply) GetMessageName() string + func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetUnnumberedReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetUnnumberedReply) Reset() + func (m *SwInterfaceSetUnnumberedReply) Size() (size int) + func (m *SwInterfaceSetUnnumberedReply) Unmarshal(b []byte) error + type SwInterfaceTagAddDel struct + IsAdd bool + SwIfIndex InterfaceIndex + Tag string + func (*SwInterfaceTagAddDel) GetCrcString() string + func (*SwInterfaceTagAddDel) GetMessageName() string + func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType + func (m *SwInterfaceTagAddDel) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceTagAddDel) Reset() + func (m *SwInterfaceTagAddDel) Size() (size int) + func (m *SwInterfaceTagAddDel) Unmarshal(b []byte) error + type SwInterfaceTagAddDelReply struct + Retval int32 + func (*SwInterfaceTagAddDelReply) GetCrcString() string + func (*SwInterfaceTagAddDelReply) GetMessageName() string + func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType + func (m *SwInterfaceTagAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceTagAddDelReply) Reset() + func (m *SwInterfaceTagAddDelReply) Size() (size int) + func (m *SwInterfaceTagAddDelReply) Unmarshal(b []byte) error + type WantInterfaceEvents struct + EnableDisable uint32 + PID uint32 + func (*WantInterfaceEvents) GetCrcString() string + func (*WantInterfaceEvents) GetMessageName() string + func (*WantInterfaceEvents) GetMessageType() api.MessageType + func (m *WantInterfaceEvents) Marshal(b []byte) ([]byte, error) + func (m *WantInterfaceEvents) Reset() + func (m *WantInterfaceEvents) Size() (size int) + func (m *WantInterfaceEvents) Unmarshal(b []byte) error + type WantInterfaceEventsReply struct + Retval int32 + func (*WantInterfaceEventsReply) GetCrcString() string + func (*WantInterfaceEventsReply) GetMessageName() string + func (*WantInterfaceEventsReply) GetMessageType() api.MessageType + func (m *WantInterfaceEventsReply) Marshal(b []byte) ([]byte, error) + func (m *WantInterfaceEventsReply) Reset() + func (m *WantInterfaceEventsReply) Size() (size int) + func (m *WantInterfaceEventsReply) Unmarshal(b []byte) error