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 + func AllMessages() []api.Message + type MapAddDelRule struct + IP6Dst ip_types.IP6Address + Index uint32 + IsAdd bool + Psid uint16 + func (*MapAddDelRule) GetCrcString() string + func (*MapAddDelRule) GetMessageName() string + func (*MapAddDelRule) GetMessageType() api.MessageType + func (m *MapAddDelRule) Marshal(b []byte) ([]byte, error) + func (m *MapAddDelRule) Reset() + func (m *MapAddDelRule) Size() (size int) + func (m *MapAddDelRule) Unmarshal(b []byte) error + type MapAddDelRuleReply struct + Retval int32 + func (*MapAddDelRuleReply) GetCrcString() string + func (*MapAddDelRuleReply) GetMessageName() string + func (*MapAddDelRuleReply) GetMessageType() api.MessageType + func (m *MapAddDelRuleReply) Marshal(b []byte) ([]byte, error) + func (m *MapAddDelRuleReply) Reset() + func (m *MapAddDelRuleReply) Size() (size int) + func (m *MapAddDelRuleReply) Unmarshal(b []byte) error + type MapAddDomain struct + EaBitsLen uint8 + IP4Prefix ip_types.IP4Prefix + IP6Prefix ip_types.IP6Prefix + IP6Src ip_types.IP6Prefix + Mtu uint16 + PsidLength uint8 + PsidOffset uint8 + Tag string + func (*MapAddDomain) GetCrcString() string + func (*MapAddDomain) GetMessageName() string + func (*MapAddDomain) GetMessageType() api.MessageType + func (m *MapAddDomain) Marshal(b []byte) ([]byte, error) + func (m *MapAddDomain) Reset() + func (m *MapAddDomain) Size() (size int) + func (m *MapAddDomain) Unmarshal(b []byte) error + type MapAddDomainReply struct + Index uint32 + Retval int32 + func (*MapAddDomainReply) GetCrcString() string + func (*MapAddDomainReply) GetMessageName() string + func (*MapAddDomainReply) GetMessageType() api.MessageType + func (m *MapAddDomainReply) Marshal(b []byte) ([]byte, error) + func (m *MapAddDomainReply) Reset() + func (m *MapAddDomainReply) Size() (size int) + func (m *MapAddDomainReply) Unmarshal(b []byte) error + type MapDelDomain struct + Index uint32 + func (*MapDelDomain) GetCrcString() string + func (*MapDelDomain) GetMessageName() string + func (*MapDelDomain) GetMessageType() api.MessageType + func (m *MapDelDomain) Marshal(b []byte) ([]byte, error) + func (m *MapDelDomain) Reset() + func (m *MapDelDomain) Size() (size int) + func (m *MapDelDomain) Unmarshal(b []byte) error + type MapDelDomainReply struct + Retval int32 + func (*MapDelDomainReply) GetCrcString() string + func (*MapDelDomainReply) GetMessageName() string + func (*MapDelDomainReply) GetMessageType() api.MessageType + func (m *MapDelDomainReply) Marshal(b []byte) ([]byte, error) + func (m *MapDelDomainReply) Reset() + func (m *MapDelDomainReply) Size() (size int) + func (m *MapDelDomainReply) Unmarshal(b []byte) error + type MapDomainDetails struct + DomainIndex uint32 + EaBitsLen uint8 + Flags uint8 + IP4Prefix ip_types.IP4Prefix + IP6Prefix ip_types.IP6Prefix + IP6Src ip_types.IP6Prefix + Mtu uint16 + PsidLength uint8 + PsidOffset uint8 + Tag string + func (*MapDomainDetails) GetCrcString() string + func (*MapDomainDetails) GetMessageName() string + func (*MapDomainDetails) GetMessageType() api.MessageType + func (m *MapDomainDetails) Marshal(b []byte) ([]byte, error) + func (m *MapDomainDetails) Reset() + func (m *MapDomainDetails) Size() (size int) + func (m *MapDomainDetails) Unmarshal(b []byte) error + type MapDomainDump struct + func (*MapDomainDump) GetCrcString() string + func (*MapDomainDump) GetMessageName() string + func (*MapDomainDump) GetMessageType() api.MessageType + func (m *MapDomainDump) Marshal(b []byte) ([]byte, error) + func (m *MapDomainDump) Reset() + func (m *MapDomainDump) Size() (size int) + func (m *MapDomainDump) Unmarshal(b []byte) error + type MapDomainsGet struct + Cursor uint32 + func (*MapDomainsGet) GetCrcString() string + func (*MapDomainsGet) GetMessageName() string + func (*MapDomainsGet) GetMessageType() api.MessageType + func (m *MapDomainsGet) Marshal(b []byte) ([]byte, error) + func (m *MapDomainsGet) Reset() + func (m *MapDomainsGet) Size() (size int) + func (m *MapDomainsGet) Unmarshal(b []byte) error + type MapDomainsGetReply struct + Cursor uint32 + Retval int32 + func (*MapDomainsGetReply) GetCrcString() string + func (*MapDomainsGetReply) GetMessageName() string + func (*MapDomainsGetReply) GetMessageType() api.MessageType + func (m *MapDomainsGetReply) Marshal(b []byte) ([]byte, error) + func (m *MapDomainsGetReply) Reset() + func (m *MapDomainsGetReply) Size() (size int) + func (m *MapDomainsGetReply) Unmarshal(b []byte) error + type MapIfEnableDisable struct + IsEnable bool + IsTranslation bool + SwIfIndex interface_types.InterfaceIndex + func (*MapIfEnableDisable) GetCrcString() string + func (*MapIfEnableDisable) GetMessageName() string + func (*MapIfEnableDisable) GetMessageType() api.MessageType + func (m *MapIfEnableDisable) Marshal(b []byte) ([]byte, error) + func (m *MapIfEnableDisable) Reset() + func (m *MapIfEnableDisable) Size() (size int) + func (m *MapIfEnableDisable) Unmarshal(b []byte) error + type MapIfEnableDisableReply struct + Retval int32 + func (*MapIfEnableDisableReply) GetCrcString() string + func (*MapIfEnableDisableReply) GetMessageName() string + func (*MapIfEnableDisableReply) GetMessageType() api.MessageType + func (m *MapIfEnableDisableReply) Marshal(b []byte) ([]byte, error) + func (m *MapIfEnableDisableReply) Reset() + func (m *MapIfEnableDisableReply) Size() (size int) + func (m *MapIfEnableDisableReply) Unmarshal(b []byte) error + type MapParamAddDelPreResolve struct + IP4NhAddress ip_types.IP4Address + IP6NhAddress ip_types.IP6Address + IsAdd bool + func (*MapParamAddDelPreResolve) GetCrcString() string + func (*MapParamAddDelPreResolve) GetMessageName() string + func (*MapParamAddDelPreResolve) GetMessageType() api.MessageType + func (m *MapParamAddDelPreResolve) Marshal(b []byte) ([]byte, error) + func (m *MapParamAddDelPreResolve) Reset() + func (m *MapParamAddDelPreResolve) Size() (size int) + func (m *MapParamAddDelPreResolve) Unmarshal(b []byte) error + type MapParamAddDelPreResolveReply struct + Retval int32 + func (*MapParamAddDelPreResolveReply) GetCrcString() string + func (*MapParamAddDelPreResolveReply) GetMessageName() string + func (*MapParamAddDelPreResolveReply) GetMessageType() api.MessageType + func (m *MapParamAddDelPreResolveReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamAddDelPreResolveReply) Reset() + func (m *MapParamAddDelPreResolveReply) Size() (size int) + func (m *MapParamAddDelPreResolveReply) Unmarshal(b []byte) error + type MapParamGet struct + func (*MapParamGet) GetCrcString() string + func (*MapParamGet) GetMessageName() string + func (*MapParamGet) GetMessageType() api.MessageType + func (m *MapParamGet) Marshal(b []byte) ([]byte, error) + func (m *MapParamGet) Reset() + func (m *MapParamGet) Size() (size int) + func (m *MapParamGet) Unmarshal(b []byte) error + type MapParamGetReply struct + FragIgnoreDf uint8 + FragInner uint8 + ICMP6EnableUnreachable bool + ICMPIP4ErrRelaySrc ip_types.IP4Address + IP4Buffers uint32 + IP4HtRatio float64 + IP4LifetimeMs uint16 + IP4NhAddress ip_types.IP4Address + IP4PoolSize uint16 + IP6NhAddress ip_types.IP6Address + Retval int32 + SecCheckEnable bool + SecCheckFragments bool + TcClass uint8 + TcCopy bool + func (*MapParamGetReply) GetCrcString() string + func (*MapParamGetReply) GetMessageName() string + func (*MapParamGetReply) GetMessageType() api.MessageType + func (m *MapParamGetReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamGetReply) Reset() + func (m *MapParamGetReply) Size() (size int) + func (m *MapParamGetReply) Unmarshal(b []byte) error + type MapParamSetFragmentation struct + IgnoreDf bool + Inner bool + func (*MapParamSetFragmentation) GetCrcString() string + func (*MapParamSetFragmentation) GetMessageName() string + func (*MapParamSetFragmentation) GetMessageType() api.MessageType + func (m *MapParamSetFragmentation) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetFragmentation) Reset() + func (m *MapParamSetFragmentation) Size() (size int) + func (m *MapParamSetFragmentation) Unmarshal(b []byte) error + type MapParamSetFragmentationReply struct + Retval int32 + func (*MapParamSetFragmentationReply) GetCrcString() string + func (*MapParamSetFragmentationReply) GetMessageName() string + func (*MapParamSetFragmentationReply) GetMessageType() api.MessageType + func (m *MapParamSetFragmentationReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetFragmentationReply) Reset() + func (m *MapParamSetFragmentationReply) Size() (size int) + func (m *MapParamSetFragmentationReply) Unmarshal(b []byte) error + type MapParamSetICMP struct + IP4ErrRelaySrc ip_types.IP4Address + func (*MapParamSetICMP) GetCrcString() string + func (*MapParamSetICMP) GetMessageName() string + func (*MapParamSetICMP) GetMessageType() api.MessageType + func (m *MapParamSetICMP) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetICMP) Reset() + func (m *MapParamSetICMP) Size() (size int) + func (m *MapParamSetICMP) Unmarshal(b []byte) error + type MapParamSetICMP6 struct + EnableUnreachable bool + func (*MapParamSetICMP6) GetCrcString() string + func (*MapParamSetICMP6) GetMessageName() string + func (*MapParamSetICMP6) GetMessageType() api.MessageType + func (m *MapParamSetICMP6) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetICMP6) Reset() + func (m *MapParamSetICMP6) Size() (size int) + func (m *MapParamSetICMP6) Unmarshal(b []byte) error + type MapParamSetICMP6Reply struct + Retval int32 + func (*MapParamSetICMP6Reply) GetCrcString() string + func (*MapParamSetICMP6Reply) GetMessageName() string + func (*MapParamSetICMP6Reply) GetMessageType() api.MessageType + func (m *MapParamSetICMP6Reply) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetICMP6Reply) Reset() + func (m *MapParamSetICMP6Reply) Size() (size int) + func (m *MapParamSetICMP6Reply) Unmarshal(b []byte) error + type MapParamSetICMPReply struct + Retval int32 + func (*MapParamSetICMPReply) GetCrcString() string + func (*MapParamSetICMPReply) GetMessageName() string + func (*MapParamSetICMPReply) GetMessageType() api.MessageType + func (m *MapParamSetICMPReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetICMPReply) Reset() + func (m *MapParamSetICMPReply) Size() (size int) + func (m *MapParamSetICMPReply) Unmarshal(b []byte) error + type MapParamSetSecurityCheck struct + Enable bool + Fragments bool + func (*MapParamSetSecurityCheck) GetCrcString() string + func (*MapParamSetSecurityCheck) GetMessageName() string + func (*MapParamSetSecurityCheck) GetMessageType() api.MessageType + func (m *MapParamSetSecurityCheck) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetSecurityCheck) Reset() + func (m *MapParamSetSecurityCheck) Size() (size int) + func (m *MapParamSetSecurityCheck) Unmarshal(b []byte) error + type MapParamSetSecurityCheckReply struct + Retval int32 + func (*MapParamSetSecurityCheckReply) GetCrcString() string + func (*MapParamSetSecurityCheckReply) GetMessageName() string + func (*MapParamSetSecurityCheckReply) GetMessageType() api.MessageType + func (m *MapParamSetSecurityCheckReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetSecurityCheckReply) Reset() + func (m *MapParamSetSecurityCheckReply) Size() (size int) + func (m *MapParamSetSecurityCheckReply) Unmarshal(b []byte) error + type MapParamSetTCP struct + TCPMss uint16 + func (*MapParamSetTCP) GetCrcString() string + func (*MapParamSetTCP) GetMessageName() string + func (*MapParamSetTCP) GetMessageType() api.MessageType + func (m *MapParamSetTCP) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetTCP) Reset() + func (m *MapParamSetTCP) Size() (size int) + func (m *MapParamSetTCP) Unmarshal(b []byte) error + type MapParamSetTCPReply struct + Retval int32 + func (*MapParamSetTCPReply) GetCrcString() string + func (*MapParamSetTCPReply) GetMessageName() string + func (*MapParamSetTCPReply) GetMessageType() api.MessageType + func (m *MapParamSetTCPReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetTCPReply) Reset() + func (m *MapParamSetTCPReply) Size() (size int) + func (m *MapParamSetTCPReply) Unmarshal(b []byte) error + type MapParamSetTrafficClass struct + Copy bool + TcClass uint8 + func (*MapParamSetTrafficClass) GetCrcString() string + func (*MapParamSetTrafficClass) GetMessageName() string + func (*MapParamSetTrafficClass) GetMessageType() api.MessageType + func (m *MapParamSetTrafficClass) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetTrafficClass) Reset() + func (m *MapParamSetTrafficClass) Size() (size int) + func (m *MapParamSetTrafficClass) Unmarshal(b []byte) error + type MapParamSetTrafficClassReply struct + Retval int32 + func (*MapParamSetTrafficClassReply) GetCrcString() string + func (*MapParamSetTrafficClassReply) GetMessageName() string + func (*MapParamSetTrafficClassReply) GetMessageType() api.MessageType + func (m *MapParamSetTrafficClassReply) Marshal(b []byte) ([]byte, error) + func (m *MapParamSetTrafficClassReply) Reset() + func (m *MapParamSetTrafficClassReply) Size() (size int) + func (m *MapParamSetTrafficClassReply) Unmarshal(b []byte) error + type MapRuleDetails struct + IP6Dst ip_types.IP6Address + Psid uint16 + func (*MapRuleDetails) GetCrcString() string + func (*MapRuleDetails) GetMessageName() string + func (*MapRuleDetails) GetMessageType() api.MessageType + func (m *MapRuleDetails) Marshal(b []byte) ([]byte, error) + func (m *MapRuleDetails) Reset() + func (m *MapRuleDetails) Size() (size int) + func (m *MapRuleDetails) Unmarshal(b []byte) error + type MapRuleDump struct + DomainIndex uint32 + func (*MapRuleDump) GetCrcString() string + func (*MapRuleDump) GetMessageName() string + func (*MapRuleDump) GetMessageType() api.MessageType + func (m *MapRuleDump) Marshal(b []byte) ([]byte, error) + func (m *MapRuleDump) Reset() + func (m *MapRuleDump) Size() (size int) + func (m *MapRuleDump) Unmarshal(b []byte) error + type MapSummaryStats struct + func (*MapSummaryStats) GetCrcString() string + func (*MapSummaryStats) GetMessageName() string + func (*MapSummaryStats) GetMessageType() api.MessageType + func (m *MapSummaryStats) Marshal(b []byte) ([]byte, error) + func (m *MapSummaryStats) Reset() + func (m *MapSummaryStats) Size() (size int) + func (m *MapSummaryStats) Unmarshal(b []byte) error + type MapSummaryStatsReply struct + Retval int32 + TotalBindings uint64 + TotalBytes []uint64 + TotalIP4Fragments uint64 + TotalPkts []uint64 + TotalSecurityCheck []uint64 + func (*MapSummaryStatsReply) GetCrcString() string + func (*MapSummaryStatsReply) GetMessageName() string + func (*MapSummaryStatsReply) GetMessageType() api.MessageType + func (m *MapSummaryStatsReply) Marshal(b []byte) ([]byte, error) + func (m *MapSummaryStatsReply) Reset() + func (m *MapSummaryStatsReply) Size() (size int) + func (m *MapSummaryStatsReply) Unmarshal(b []byte) error + type RPCService interface + MapAddDelRule func(ctx context.Context, in *MapAddDelRule) (*MapAddDelRuleReply, error) + MapAddDomain func(ctx context.Context, in *MapAddDomain) (*MapAddDomainReply, error) + MapDelDomain func(ctx context.Context, in *MapDelDomain) (*MapDelDomainReply, error) + MapDomainDump func(ctx context.Context, in *MapDomainDump) (RPCService_MapDomainDumpClient, error) + MapDomainsGet func(ctx context.Context, in *MapDomainsGet) (RPCService_MapDomainsGetClient, error) + MapIfEnableDisable func(ctx context.Context, in *MapIfEnableDisable) (*MapIfEnableDisableReply, error) + MapParamAddDelPreResolve func(ctx context.Context, in *MapParamAddDelPreResolve) (*MapParamAddDelPreResolveReply, error) + MapParamGet func(ctx context.Context, in *MapParamGet) (*MapParamGetReply, error) + MapParamSetFragmentation func(ctx context.Context, in *MapParamSetFragmentation) (*MapParamSetFragmentationReply, error) + MapParamSetICMP func(ctx context.Context, in *MapParamSetICMP) (*MapParamSetICMPReply, error) + MapParamSetICMP6 func(ctx context.Context, in *MapParamSetICMP6) (*MapParamSetICMP6Reply, error) + MapParamSetSecurityCheck func(ctx context.Context, in *MapParamSetSecurityCheck) (*MapParamSetSecurityCheckReply, error) + MapParamSetTCP func(ctx context.Context, in *MapParamSetTCP) (*MapParamSetTCPReply, error) + MapParamSetTrafficClass func(ctx context.Context, in *MapParamSetTrafficClass) (*MapParamSetTrafficClassReply, error) + MapRuleDump func(ctx context.Context, in *MapRuleDump) (RPCService_MapRuleDumpClient, error) + MapSummaryStats func(ctx context.Context, in *MapSummaryStats) (*MapSummaryStatsReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_MapDomainDumpClient interface + Recv func() (*MapDomainDetails, error) + type RPCService_MapDomainsGetClient interface + Recv func() (*MapDomainDetails, error) + type RPCService_MapRuleDumpClient interface + Recv func() (*MapRuleDetails, error)