Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 Changes in this version type RPCService + TapCreateV3 func(ctx context.Context, in *TapCreateV3) (*TapCreateV3Reply, error) + type TapCreateV3 struct + HostBridge string + HostBridgeSet bool + HostIP4Gw ip_types.IP4Address + HostIP4GwSet bool + HostIP4Prefix ip_types.IP4AddressWithPrefix + HostIP4PrefixSet bool + HostIP6Gw ip_types.IP6Address + HostIP6GwSet bool + HostIP6Prefix ip_types.IP6AddressWithPrefix + HostIP6PrefixSet bool + HostIfName string + HostIfNameSet bool + HostMacAddr ethernet_types.MacAddress + HostMacAddrSet bool + HostMtuSet bool + HostMtuSize uint32 + HostNamespace string + HostNamespaceSet bool + ID uint32 + MacAddress ethernet_types.MacAddress + NumRxQueues uint16 + NumTxQueues uint16 + RxRingSz uint16 + Tag string + TapFlags TapFlags + TxRingSz uint16 + UseRandomMac bool + func (*TapCreateV3) GetCrcString() string + func (*TapCreateV3) GetMessageName() string + func (*TapCreateV3) GetMessageType() api.MessageType + func (m *TapCreateV3) Marshal(b []byte) ([]byte, error) + func (m *TapCreateV3) Reset() + func (m *TapCreateV3) Size() (size int) + func (m *TapCreateV3) Unmarshal(b []byte) error + type TapCreateV3Reply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*TapCreateV3Reply) GetCrcString() string + func (*TapCreateV3Reply) GetMessageName() string + func (*TapCreateV3Reply) GetMessageType() api.MessageType + func (m *TapCreateV3Reply) Marshal(b []byte) ([]byte, error) + func (m *TapCreateV3Reply) Reset() + func (m *TapCreateV3Reply) Size() (size int) + func (m *TapCreateV3Reply) Unmarshal(b []byte) error v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var TapFlags_name = map[uint32]string + var TapFlags_value = map[string]uint32 + func AllMessages() []api.Message + type RPCService interface + SwInterfaceTapV2Dump func(ctx context.Context, in *SwInterfaceTapV2Dump) (RPCService_SwInterfaceTapV2DumpClient, error) + TapCreateV2 func(ctx context.Context, in *TapCreateV2) (*TapCreateV2Reply, error) + TapDeleteV2 func(ctx context.Context, in *TapDeleteV2) (*TapDeleteV2Reply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SwInterfaceTapV2DumpClient interface + Recv func() (*SwInterfaceTapV2Details, error) + type SwInterfaceTapV2Details struct + DevName string + HostBridge string + HostIP4Prefix ip_types.IP4AddressWithPrefix + HostIP6Prefix ip_types.IP6AddressWithPrefix + HostIfName string + HostMacAddr ethernet_types.MacAddress + HostMtuSize uint32 + HostNamespace string + ID uint32 + RxRingSz uint16 + SwIfIndex uint32 + TapFlags TapFlags + TxRingSz uint16 + func (*SwInterfaceTapV2Details) GetCrcString() string + func (*SwInterfaceTapV2Details) GetMessageName() string + func (*SwInterfaceTapV2Details) GetMessageType() api.MessageType + func (m *SwInterfaceTapV2Details) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceTapV2Details) Reset() + func (m *SwInterfaceTapV2Details) Size() (size int) + func (m *SwInterfaceTapV2Details) Unmarshal(b []byte) error + type SwInterfaceTapV2Dump struct + SwIfIndex interface_types.InterfaceIndex + func (*SwInterfaceTapV2Dump) GetCrcString() string + func (*SwInterfaceTapV2Dump) GetMessageName() string + func (*SwInterfaceTapV2Dump) GetMessageType() api.MessageType + func (m *SwInterfaceTapV2Dump) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceTapV2Dump) Reset() + func (m *SwInterfaceTapV2Dump) Size() (size int) + func (m *SwInterfaceTapV2Dump) Unmarshal(b []byte) error + type TapCreateV2 struct + HostBridge string + HostBridgeSet bool + HostIP4Gw ip_types.IP4Address + HostIP4GwSet bool + HostIP4Prefix ip_types.IP4AddressWithPrefix + HostIP4PrefixSet bool + HostIP6Gw ip_types.IP6Address + HostIP6GwSet bool + HostIP6Prefix ip_types.IP6AddressWithPrefix + HostIP6PrefixSet bool + HostIfName string + HostIfNameSet bool + HostMacAddr ethernet_types.MacAddress + HostMacAddrSet bool + HostMtuSet bool + HostMtuSize uint32 + HostNamespace string + HostNamespaceSet bool + ID uint32 + MacAddress ethernet_types.MacAddress + NumRxQueues uint8 + RxRingSz uint16 + Tag string + TapFlags TapFlags + TxRingSz uint16 + UseRandomMac bool + func (*TapCreateV2) GetCrcString() string + func (*TapCreateV2) GetMessageName() string + func (*TapCreateV2) GetMessageType() api.MessageType + func (m *TapCreateV2) Marshal(b []byte) ([]byte, error) + func (m *TapCreateV2) Reset() + func (m *TapCreateV2) Size() (size int) + func (m *TapCreateV2) Unmarshal(b []byte) error + type TapCreateV2Reply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*TapCreateV2Reply) GetCrcString() string + func (*TapCreateV2Reply) GetMessageName() string + func (*TapCreateV2Reply) GetMessageType() api.MessageType + func (m *TapCreateV2Reply) Marshal(b []byte) ([]byte, error) + func (m *TapCreateV2Reply) Reset() + func (m *TapCreateV2Reply) Size() (size int) + func (m *TapCreateV2Reply) Unmarshal(b []byte) error + type TapDeleteV2 struct + SwIfIndex interface_types.InterfaceIndex + func (*TapDeleteV2) GetCrcString() string + func (*TapDeleteV2) GetMessageName() string + func (*TapDeleteV2) GetMessageType() api.MessageType + func (m *TapDeleteV2) Marshal(b []byte) ([]byte, error) + func (m *TapDeleteV2) Reset() + func (m *TapDeleteV2) Size() (size int) + func (m *TapDeleteV2) Unmarshal(b []byte) error + type TapDeleteV2Reply struct + Retval int32 + func (*TapDeleteV2Reply) GetCrcString() string + func (*TapDeleteV2Reply) GetMessageName() string + func (*TapDeleteV2Reply) GetMessageType() api.MessageType + func (m *TapDeleteV2Reply) Marshal(b []byte) ([]byte, error) + func (m *TapDeleteV2Reply) Reset() + func (m *TapDeleteV2Reply) Size() (size int) + func (m *TapDeleteV2Reply) Unmarshal(b []byte) error + type TapFlags uint32 + const TAP_API_FLAG_ATTACH + const TAP_API_FLAG_CSUM_OFFLOAD + const TAP_API_FLAG_GRO_COALESCE + const TAP_API_FLAG_GSO + const TAP_API_FLAG_IN_ORDER + const TAP_API_FLAG_PACKED + const TAP_API_FLAG_PERSIST + const TAP_API_FLAG_TUN + func (x TapFlags) String() string