Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var L2tLookupKey_name = map[uint8]string + var L2tLookupKey_value = map[string]uint8 + func AllMessages() []api.Message + type L2tLookupKey uint8 + const L2T_LOOKUP_KEY_API_DST_ADDR + const L2T_LOOKUP_KEY_API_SESSION_ID + const L2T_LOOKUP_KEY_API_SRC_ADDR + func (x L2tLookupKey) String() string + type L2tpv3CreateTunnel struct + ClientAddress ip_types.Address + EncapVrfID uint32 + L2SublayerPresent bool + LocalCookie uint64 + LocalSessionID uint32 + OurAddress ip_types.Address + RemoteCookie uint64 + RemoteSessionID uint32 + func (*L2tpv3CreateTunnel) GetCrcString() string + func (*L2tpv3CreateTunnel) GetMessageName() string + func (*L2tpv3CreateTunnel) GetMessageType() api.MessageType + func (m *L2tpv3CreateTunnel) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3CreateTunnel) Reset() + func (m *L2tpv3CreateTunnel) Size() (size int) + func (m *L2tpv3CreateTunnel) Unmarshal(b []byte) error + type L2tpv3CreateTunnelReply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*L2tpv3CreateTunnelReply) GetCrcString() string + func (*L2tpv3CreateTunnelReply) GetMessageName() string + func (*L2tpv3CreateTunnelReply) GetMessageType() api.MessageType + func (m *L2tpv3CreateTunnelReply) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3CreateTunnelReply) Reset() + func (m *L2tpv3CreateTunnelReply) Size() (size int) + func (m *L2tpv3CreateTunnelReply) Unmarshal(b []byte) error + type L2tpv3InterfaceEnableDisable struct + EnableDisable bool + SwIfIndex interface_types.InterfaceIndex + func (*L2tpv3InterfaceEnableDisable) GetCrcString() string + func (*L2tpv3InterfaceEnableDisable) GetMessageName() string + func (*L2tpv3InterfaceEnableDisable) GetMessageType() api.MessageType + func (m *L2tpv3InterfaceEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3InterfaceEnableDisable) Reset() + func (m *L2tpv3InterfaceEnableDisable) Size() (size int) + func (m *L2tpv3InterfaceEnableDisable) Unmarshal(b []byte) error + type L2tpv3InterfaceEnableDisableReply struct + Retval int32 + func (*L2tpv3InterfaceEnableDisableReply) GetCrcString() string + func (*L2tpv3InterfaceEnableDisableReply) GetMessageName() string + func (*L2tpv3InterfaceEnableDisableReply) GetMessageType() api.MessageType + func (m *L2tpv3InterfaceEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3InterfaceEnableDisableReply) Reset() + func (m *L2tpv3InterfaceEnableDisableReply) Size() (size int) + func (m *L2tpv3InterfaceEnableDisableReply) Unmarshal(b []byte) error + type L2tpv3SetLookupKey struct + Key L2tLookupKey + func (*L2tpv3SetLookupKey) GetCrcString() string + func (*L2tpv3SetLookupKey) GetMessageName() string + func (*L2tpv3SetLookupKey) GetMessageType() api.MessageType + func (m *L2tpv3SetLookupKey) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3SetLookupKey) Reset() + func (m *L2tpv3SetLookupKey) Size() (size int) + func (m *L2tpv3SetLookupKey) Unmarshal(b []byte) error + type L2tpv3SetLookupKeyReply struct + Retval int32 + func (*L2tpv3SetLookupKeyReply) GetCrcString() string + func (*L2tpv3SetLookupKeyReply) GetMessageName() string + func (*L2tpv3SetLookupKeyReply) GetMessageType() api.MessageType + func (m *L2tpv3SetLookupKeyReply) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3SetLookupKeyReply) Reset() + func (m *L2tpv3SetLookupKeyReply) Size() (size int) + func (m *L2tpv3SetLookupKeyReply) Unmarshal(b []byte) error + type L2tpv3SetTunnelCookies struct + NewLocalCookie uint64 + NewRemoteCookie uint64 + SwIfIndex interface_types.InterfaceIndex + func (*L2tpv3SetTunnelCookies) GetCrcString() string + func (*L2tpv3SetTunnelCookies) GetMessageName() string + func (*L2tpv3SetTunnelCookies) GetMessageType() api.MessageType + func (m *L2tpv3SetTunnelCookies) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3SetTunnelCookies) Reset() + func (m *L2tpv3SetTunnelCookies) Size() (size int) + func (m *L2tpv3SetTunnelCookies) Unmarshal(b []byte) error + type L2tpv3SetTunnelCookiesReply struct + Retval int32 + func (*L2tpv3SetTunnelCookiesReply) GetCrcString() string + func (*L2tpv3SetTunnelCookiesReply) GetMessageName() string + func (*L2tpv3SetTunnelCookiesReply) GetMessageType() api.MessageType + func (m *L2tpv3SetTunnelCookiesReply) Marshal(b []byte) ([]byte, error) + func (m *L2tpv3SetTunnelCookiesReply) Reset() + func (m *L2tpv3SetTunnelCookiesReply) Size() (size int) + func (m *L2tpv3SetTunnelCookiesReply) Unmarshal(b []byte) error + type RPCService interface + L2tpv3CreateTunnel func(ctx context.Context, in *L2tpv3CreateTunnel) (*L2tpv3CreateTunnelReply, error) + L2tpv3InterfaceEnableDisable func(ctx context.Context, in *L2tpv3InterfaceEnableDisable) (*L2tpv3InterfaceEnableDisableReply, error) + L2tpv3SetLookupKey func(ctx context.Context, in *L2tpv3SetLookupKey) (*L2tpv3SetLookupKeyReply, error) + L2tpv3SetTunnelCookies func(ctx context.Context, in *L2tpv3SetTunnelCookies) (*L2tpv3SetTunnelCookiesReply, error) + SwIfL2tpv3TunnelDump func(ctx context.Context, in *SwIfL2tpv3TunnelDump) (RPCService_SwIfL2tpv3TunnelDumpClient, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SwIfL2tpv3TunnelDumpClient interface + Recv func() (*SwIfL2tpv3TunnelDetails, error) + type SwIfL2tpv3TunnelDetails struct + ClientAddress ip_types.Address + InterfaceName string + L2SublayerPresent bool + LocalCookie []uint64 + LocalSessionID uint32 + OurAddress ip_types.Address + RemoteCookie uint64 + RemoteSessionID uint32 + SwIfIndex interface_types.InterfaceIndex + func (*SwIfL2tpv3TunnelDetails) GetCrcString() string + func (*SwIfL2tpv3TunnelDetails) GetMessageName() string + func (*SwIfL2tpv3TunnelDetails) GetMessageType() api.MessageType + func (m *SwIfL2tpv3TunnelDetails) Marshal(b []byte) ([]byte, error) + func (m *SwIfL2tpv3TunnelDetails) Reset() + func (m *SwIfL2tpv3TunnelDetails) Size() (size int) + func (m *SwIfL2tpv3TunnelDetails) Unmarshal(b []byte) error + type SwIfL2tpv3TunnelDump struct + func (*SwIfL2tpv3TunnelDump) GetCrcString() string + func (*SwIfL2tpv3TunnelDump) GetMessageName() string + func (*SwIfL2tpv3TunnelDump) GetMessageType() api.MessageType + func (m *SwIfL2tpv3TunnelDump) Marshal(b []byte) ([]byte, error) + func (m *SwIfL2tpv3TunnelDump) Reset() + func (m *SwIfL2tpv3TunnelDump) Size() (size int) + func (m *SwIfL2tpv3TunnelDump) Unmarshal(b []byte) error