Versions in this module Expand all Collapse all v0 v0.1.0 Jul 3, 2019 Changes in this version + const ACL_IN_USE_BY_LOOKUP_CONTEXT + const ACL_IN_USE_INBOUND + const ACL_IN_USE_OUTBOUND + const ADDRESS_FOUND_FOR_INTERFACE + const ADDRESS_IN_USE + const ADDRESS_LENGTH_MISMATCH + const ADDRESS_NOT_DELETABLE + const ADDRESS_NOT_FOUND_FOR_INTERFACE + const ADDRESS_NOT_IN_USE + const ALREADY_CONNECTED + const APPLICATION_NOT_ATTACHED + const APP_ALREADY_ATTACHED + const APP_CONNECT_FILTERED + const APP_CONNECT_SCOPE + const APP_INVALID_NS + const APP_UNSUPPORTED_CFG + const APP_WRONG_NS_SECRET + const BD_ALREADY_EXISTS + const BD_ALREADY_HAS_BVI + const BD_ID_EXCEED_MAX + const BD_IN_USE + const BD_NOT_MODIFIABLE + const BFD_EAGAIN + const BFD_EEXIST + const BFD_EINUSE + const BFD_ENOENT + const BFD_NOTSUPP + const BIER_BSL_UNSUP + const BOND_SLAVE_NOT_ALLOWED + const CANNOT_CREATE_PCAP_FILE + const CANNOT_ENABLE_DISABLE_FEATURE + const CLASSIFY_TABLE_NOT_FOUND + const DUPLICATE_IF_ADDRESS + const ENTRY_ALREADY_EXISTS + const EXCEEDED_NUMBER_OF_PORTS_CAPACITY + const EXCEEDED_NUMBER_OF_RANGES_CAPACITY + const FAILED_TO_ATTACH_TO_JAVA_THREAD + const FEATURE_DISABLED + const GoVppAPIPackageIsVersion1 + const IF_ALREADY_EXISTS + const ILLEGAL_NAME + const INCORRECT_ADJACENCY_TYPE + const INIT_FAILED + const INSTANCE_IN_USE + const INVALID_ADDRESS_FAMILY + const INVALID_ARGUMENT + const INVALID_DECAP_NEXT + const INVALID_DST_ADDRESS + const INVALID_EID_TYPE + const INVALID_GPE_MODE + const INVALID_INTERFACE + const INVALID_MEMORY_SIZE + const INVALID_QUEUE + const INVALID_REGISTRATION + const INVALID_SESSION_ID + const INVALID_SRC_ADDRESS + const INVALID_SUB_SW_IF_INDEX + const INVALID_SW_IF_INDEX + const INVALID_SW_IF_INDEX_2 + const INVALID_VALUE + const INVALID_VALUE_2 + const INVALID_VALUE_3 + const INVALID_VLAN + const INVALID_VLAN_TAG_COUNT + const INVALID_WORKER + const IN_PROGRESS + const IP6_MULTICAST_ADDRESS_NOT_PRESENT + const IP6_NOT_ENABLED + const L2_MACS_EVENT_CLINET_PRESENT + const LISP_DISABLED + const LISP_GPE_ENTRIES_PRESENT + const LISP_RLOC_LOCAL + const NAME_RESOLUTION_NOT_ENABLED + const NAME_SERVER_FORMAT_ERROR + const NAME_SERVER_NEXT_SERVER + const NAME_SERVER_NOT_FOUND + const NAME_SERVER_NO_ADDRESSES + const NAME_SERVER_NO_SUCH_NAME + const NETLINK_ERROR + const NEXT_HOP_NOT_FOUND_MP + const NEXT_HOP_NOT_IN_FIB + const NON_ETHERNET + const NOT_CONNECTED + const NOT_RUNNING_AS_ROOT + const NO_MATCHING_INTERFACE + const NO_NAME_SERVERS + const NO_SUCH_ENTRY + const NO_SUCH_FIB + const NO_SUCH_INNER_FIB + const NO_SUCH_LABEL + const NO_SUCH_NODE + const NO_SUCH_NODE2 + const NO_SUCH_TABLE + const NO_SUCH_TABLE2 + const NO_SUCH_TABLE3 + const PREFIX_MATCHES_NEXT_HOP + const QUEUE_FULL + const RESPONSE_NOT_READY + const SAME_SRC_DST + const SESSION_CONNECT + const SESSION_REDIRECT + const SR_POLICY_NAME_NOT_PRESENT + const SUBIF_ALREADY_EXISTS + const SUBIF_CREATE_FAILED + const SUBIF_DOESNT_EXIST + const SVM_SEGMENT_CREATE_FAIL + const SYSCALL_ERROR_1 + const SYSCALL_ERROR_10 + const SYSCALL_ERROR_2 + const SYSCALL_ERROR_3 + const SYSCALL_ERROR_4 + const SYSCALL_ERROR_5 + const SYSCALL_ERROR_6 + const SYSCALL_ERROR_7 + const SYSCALL_ERROR_8 + const SYSCALL_ERROR_9 + const TABLE_TOO_BIG + const TUNNEL_EXIST + const UNEXPECTED_INTF_STATE + const UNIMPLEMENTED + const UNKNOWN_DESTINATION + const UNSPECIFIED + const UNSUPPORTED + const UNSUPPORTED_JNI_VERSION + const URI_FIFO_CREATE_FAILED + const VALUE_EXIST + const VLAN_ALREADY_EXISTS + func GetRegisteredMessages() map[string]Message + func RegisterMessage(x Message, name string) + func RetvalToVPPApiError(retval int32) error + type BufferPool struct + Available float64 + Cached float64 + PoolName string + Used float64 + type BufferStats struct + Buffer map[string]BufferPool + type Channel interface + CheckCompatiblity func(msgs ...Message) error + Close func() + SendMultiRequest func(msg Message) MultiRequestCtx + SendRequest func(msg Message) RequestCtx + SetReplyTimeout func(timeout time.Duration) + SubscribeNotification func(notifChan chan Message, event Message) (SubscriptionCtx, error) + type ChannelProvider interface + NewAPIChannel func() (Channel, error) + NewAPIChannelBuffered func(reqChanBufSize, replyChanBufSize int) (Channel, error) + type DataType interface + GetTypeName func() string + type ErrorCounter struct + CounterName string + Value uint64 + type ErrorStats struct + Errors []ErrorCounter + type InterfaceCounters struct + Drops uint64 + IP4 uint64 + IP6 uint64 + InterfaceIndex uint32 + InterfaceName string + Punts uint64 + RxBroadcast [2]uint64 + RxBytes uint64 + RxErrors uint64 + RxMiss uint64 + RxMulticast [2]uint64 + RxNoBuf uint64 + RxPackets uint64 + RxUnicast [2]uint64 + TxBroadcast [2]uint64 + TxBytes uint64 + TxErrors uint64 + TxMulticast [2]uint64 + TxPackets uint64 + TxUnicastMiss [2]uint64 + type InterfaceStats struct + Interfaces []InterfaceCounters + type Message interface + GetCrcString func() string + GetMessageName func() string + GetMessageType func() MessageType + type MessageType int + const EventMessage + const OtherMessage + const ReplyMessage + const RequestMessage + type MultiRequestCtx interface + ReceiveReply func(msg Message) (lastReplyReceived bool, err error) + type NodeCounters struct + Calls uint64 + Clocks uint64 + NodeIndex uint32 + NodeName string + Suspends uint64 + Vectors uint64 + type NodeStats struct + Nodes []NodeCounters + type RequestCtx interface + ReceiveReply func(msg Message) error + type StatsProvider interface + GetBufferStats func() (*BufferStats, error) + GetErrorStats func(names ...string) (*ErrorStats, error) + GetInterfaceStats func() (*InterfaceStats, error) + GetNodeStats func() (*NodeStats, error) + GetSystemStats func() (*SystemStats, error) + type SubscriptionCtx interface + Unsubscribe func() error + type SystemStats struct + Heartbeat float64 + InputRate float64 + LastStatsClear float64 + LastUpdate float64 + VectorRate float64 + type VPPApiError int32 + func (e VPPApiError) Error() string