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 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 CopInterfaceEnableDisable struct + EnableDisable bool + SwIfIndex InterfaceIndex + func (*CopInterfaceEnableDisable) GetCrcString() string + func (*CopInterfaceEnableDisable) GetMessageName() string + func (*CopInterfaceEnableDisable) GetMessageType() api.MessageType + func (m *CopInterfaceEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *CopInterfaceEnableDisable) Reset() + func (m *CopInterfaceEnableDisable) Size() (size int) + func (m *CopInterfaceEnableDisable) Unmarshal(b []byte) error + type CopInterfaceEnableDisableReply struct + Retval int32 + func (*CopInterfaceEnableDisableReply) GetCrcString() string + func (*CopInterfaceEnableDisableReply) GetMessageName() string + func (*CopInterfaceEnableDisableReply) GetMessageType() api.MessageType + func (m *CopInterfaceEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *CopInterfaceEnableDisableReply) Reset() + func (m *CopInterfaceEnableDisableReply) Size() (size int) + func (m *CopInterfaceEnableDisableReply) Unmarshal(b []byte) error + type CopWhitelistEnableDisable struct + DefaultCop bool + FibID uint32 + IP4 bool + IP6 bool + SwIfIndex InterfaceIndex + func (*CopWhitelistEnableDisable) GetCrcString() string + func (*CopWhitelistEnableDisable) GetMessageName() string + func (*CopWhitelistEnableDisable) GetMessageType() api.MessageType + func (m *CopWhitelistEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *CopWhitelistEnableDisable) Reset() + func (m *CopWhitelistEnableDisable) Size() (size int) + func (m *CopWhitelistEnableDisable) Unmarshal(b []byte) error + type CopWhitelistEnableDisableReply struct + Retval int32 + func (*CopWhitelistEnableDisableReply) GetCrcString() string + func (*CopWhitelistEnableDisableReply) GetMessageName() string + func (*CopWhitelistEnableDisableReply) GetMessageType() api.MessageType + func (m *CopWhitelistEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *CopWhitelistEnableDisableReply) Reset() + func (m *CopWhitelistEnableDisableReply) Size() (size int) + func (m *CopWhitelistEnableDisableReply) Unmarshal(b []byte) error + 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 LinkDuplex uint32 + const LINK_DUPLEX_API_FULL + const LINK_DUPLEX_API_HALF + const LINK_DUPLEX_API_UNKNOWN + func (x LinkDuplex) String() string + 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 RPCService interface + CopInterfaceEnableDisable func(ctx context.Context, in *CopInterfaceEnableDisable) (*CopInterfaceEnableDisableReply, error) + CopWhitelistEnableDisable func(ctx context.Context, in *CopWhitelistEnableDisable) (*CopWhitelistEnableDisableReply, error) + func NewServiceClient(conn api.Connection) RPCService + 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