Documentation ¶
Overview ¶
Package det44 contains generated bindings for API file det44.api.
Contents: - 38 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type Det44AddDelMap
- func (*Det44AddDelMap) GetCrcString() string
- func (*Det44AddDelMap) GetMessageName() string
- func (*Det44AddDelMap) GetMessageType() api.MessageType
- func (m *Det44AddDelMap) Marshal(b []byte) ([]byte, error)
- func (m *Det44AddDelMap) Reset()
- func (m *Det44AddDelMap) Size() (size int)
- func (m *Det44AddDelMap) Unmarshal(b []byte) error
- type Det44AddDelMapReply
- func (*Det44AddDelMapReply) GetCrcString() string
- func (*Det44AddDelMapReply) GetMessageName() string
- func (*Det44AddDelMapReply) GetMessageType() api.MessageType
- func (m *Det44AddDelMapReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44AddDelMapReply) Reset()
- func (m *Det44AddDelMapReply) Size() (size int)
- func (m *Det44AddDelMapReply) Unmarshal(b []byte) error
- type Det44CloseSessionIn
- func (*Det44CloseSessionIn) GetCrcString() string
- func (*Det44CloseSessionIn) GetMessageName() string
- func (*Det44CloseSessionIn) GetMessageType() api.MessageType
- func (m *Det44CloseSessionIn) Marshal(b []byte) ([]byte, error)
- func (m *Det44CloseSessionIn) Reset()
- func (m *Det44CloseSessionIn) Size() (size int)
- func (m *Det44CloseSessionIn) Unmarshal(b []byte) error
- type Det44CloseSessionInReply
- func (*Det44CloseSessionInReply) GetCrcString() string
- func (*Det44CloseSessionInReply) GetMessageName() string
- func (*Det44CloseSessionInReply) GetMessageType() api.MessageType
- func (m *Det44CloseSessionInReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44CloseSessionInReply) Reset()
- func (m *Det44CloseSessionInReply) Size() (size int)
- func (m *Det44CloseSessionInReply) Unmarshal(b []byte) error
- type Det44CloseSessionOut
- func (*Det44CloseSessionOut) GetCrcString() string
- func (*Det44CloseSessionOut) GetMessageName() string
- func (*Det44CloseSessionOut) GetMessageType() api.MessageType
- func (m *Det44CloseSessionOut) Marshal(b []byte) ([]byte, error)
- func (m *Det44CloseSessionOut) Reset()
- func (m *Det44CloseSessionOut) Size() (size int)
- func (m *Det44CloseSessionOut) Unmarshal(b []byte) error
- type Det44CloseSessionOutReply
- func (*Det44CloseSessionOutReply) GetCrcString() string
- func (*Det44CloseSessionOutReply) GetMessageName() string
- func (*Det44CloseSessionOutReply) GetMessageType() api.MessageType
- func (m *Det44CloseSessionOutReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44CloseSessionOutReply) Reset()
- func (m *Det44CloseSessionOutReply) Size() (size int)
- func (m *Det44CloseSessionOutReply) Unmarshal(b []byte) error
- type Det44Forward
- func (*Det44Forward) GetCrcString() string
- func (*Det44Forward) GetMessageName() string
- func (*Det44Forward) GetMessageType() api.MessageType
- func (m *Det44Forward) Marshal(b []byte) ([]byte, error)
- func (m *Det44Forward) Reset()
- func (m *Det44Forward) Size() (size int)
- func (m *Det44Forward) Unmarshal(b []byte) error
- type Det44ForwardReply
- func (*Det44ForwardReply) GetCrcString() string
- func (*Det44ForwardReply) GetMessageName() string
- func (*Det44ForwardReply) GetMessageType() api.MessageType
- func (m *Det44ForwardReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44ForwardReply) Reset()
- func (m *Det44ForwardReply) Size() (size int)
- func (m *Det44ForwardReply) Unmarshal(b []byte) error
- type Det44GetTimeouts
- func (*Det44GetTimeouts) GetCrcString() string
- func (*Det44GetTimeouts) GetMessageName() string
- func (*Det44GetTimeouts) GetMessageType() api.MessageType
- func (m *Det44GetTimeouts) Marshal(b []byte) ([]byte, error)
- func (m *Det44GetTimeouts) Reset()
- func (m *Det44GetTimeouts) Size() (size int)
- func (m *Det44GetTimeouts) Unmarshal(b []byte) error
- type Det44GetTimeoutsReply
- func (*Det44GetTimeoutsReply) GetCrcString() string
- func (*Det44GetTimeoutsReply) GetMessageName() string
- func (*Det44GetTimeoutsReply) GetMessageType() api.MessageType
- func (m *Det44GetTimeoutsReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44GetTimeoutsReply) Reset()
- func (m *Det44GetTimeoutsReply) Size() (size int)
- func (m *Det44GetTimeoutsReply) Unmarshal(b []byte) error
- type Det44InterfaceAddDelFeature
- func (*Det44InterfaceAddDelFeature) GetCrcString() string
- func (*Det44InterfaceAddDelFeature) GetMessageName() string
- func (*Det44InterfaceAddDelFeature) GetMessageType() api.MessageType
- func (m *Det44InterfaceAddDelFeature) Marshal(b []byte) ([]byte, error)
- func (m *Det44InterfaceAddDelFeature) Reset()
- func (m *Det44InterfaceAddDelFeature) Size() (size int)
- func (m *Det44InterfaceAddDelFeature) Unmarshal(b []byte) error
- type Det44InterfaceAddDelFeatureReply
- func (*Det44InterfaceAddDelFeatureReply) GetCrcString() string
- func (*Det44InterfaceAddDelFeatureReply) GetMessageName() string
- func (*Det44InterfaceAddDelFeatureReply) GetMessageType() api.MessageType
- func (m *Det44InterfaceAddDelFeatureReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44InterfaceAddDelFeatureReply) Reset()
- func (m *Det44InterfaceAddDelFeatureReply) Size() (size int)
- func (m *Det44InterfaceAddDelFeatureReply) Unmarshal(b []byte) error
- type Det44InterfaceDetails
- func (*Det44InterfaceDetails) GetCrcString() string
- func (*Det44InterfaceDetails) GetMessageName() string
- func (*Det44InterfaceDetails) GetMessageType() api.MessageType
- func (m *Det44InterfaceDetails) Marshal(b []byte) ([]byte, error)
- func (m *Det44InterfaceDetails) Reset()
- func (m *Det44InterfaceDetails) Size() (size int)
- func (m *Det44InterfaceDetails) Unmarshal(b []byte) error
- type Det44InterfaceDump
- func (*Det44InterfaceDump) GetCrcString() string
- func (*Det44InterfaceDump) GetMessageName() string
- func (*Det44InterfaceDump) GetMessageType() api.MessageType
- func (m *Det44InterfaceDump) Marshal(b []byte) ([]byte, error)
- func (m *Det44InterfaceDump) Reset()
- func (m *Det44InterfaceDump) Size() (size int)
- func (m *Det44InterfaceDump) Unmarshal(b []byte) error
- type Det44MapDetails
- func (*Det44MapDetails) GetCrcString() string
- func (*Det44MapDetails) GetMessageName() string
- func (*Det44MapDetails) GetMessageType() api.MessageType
- func (m *Det44MapDetails) Marshal(b []byte) ([]byte, error)
- func (m *Det44MapDetails) Reset()
- func (m *Det44MapDetails) Size() (size int)
- func (m *Det44MapDetails) Unmarshal(b []byte) error
- type Det44MapDump
- func (*Det44MapDump) GetCrcString() string
- func (*Det44MapDump) GetMessageName() string
- func (*Det44MapDump) GetMessageType() api.MessageType
- func (m *Det44MapDump) Marshal(b []byte) ([]byte, error)
- func (m *Det44MapDump) Reset()
- func (m *Det44MapDump) Size() (size int)
- func (m *Det44MapDump) Unmarshal(b []byte) error
- type Det44PluginEnableDisable
- func (*Det44PluginEnableDisable) GetCrcString() string
- func (*Det44PluginEnableDisable) GetMessageName() string
- func (*Det44PluginEnableDisable) GetMessageType() api.MessageType
- func (m *Det44PluginEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *Det44PluginEnableDisable) Reset()
- func (m *Det44PluginEnableDisable) Size() (size int)
- func (m *Det44PluginEnableDisable) Unmarshal(b []byte) error
- type Det44PluginEnableDisableReply
- func (*Det44PluginEnableDisableReply) GetCrcString() string
- func (*Det44PluginEnableDisableReply) GetMessageName() string
- func (*Det44PluginEnableDisableReply) GetMessageType() api.MessageType
- func (m *Det44PluginEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44PluginEnableDisableReply) Reset()
- func (m *Det44PluginEnableDisableReply) Size() (size int)
- func (m *Det44PluginEnableDisableReply) Unmarshal(b []byte) error
- type Det44Reverse
- func (*Det44Reverse) GetCrcString() string
- func (*Det44Reverse) GetMessageName() string
- func (*Det44Reverse) GetMessageType() api.MessageType
- func (m *Det44Reverse) Marshal(b []byte) ([]byte, error)
- func (m *Det44Reverse) Reset()
- func (m *Det44Reverse) Size() (size int)
- func (m *Det44Reverse) Unmarshal(b []byte) error
- type Det44ReverseReply
- func (*Det44ReverseReply) GetCrcString() string
- func (*Det44ReverseReply) GetMessageName() string
- func (*Det44ReverseReply) GetMessageType() api.MessageType
- func (m *Det44ReverseReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44ReverseReply) Reset()
- func (m *Det44ReverseReply) Size() (size int)
- func (m *Det44ReverseReply) Unmarshal(b []byte) error
- type Det44SessionDetails
- func (*Det44SessionDetails) GetCrcString() string
- func (*Det44SessionDetails) GetMessageName() string
- func (*Det44SessionDetails) GetMessageType() api.MessageType
- func (m *Det44SessionDetails) Marshal(b []byte) ([]byte, error)
- func (m *Det44SessionDetails) Reset()
- func (m *Det44SessionDetails) Size() (size int)
- func (m *Det44SessionDetails) Unmarshal(b []byte) error
- type Det44SessionDump
- func (*Det44SessionDump) GetCrcString() string
- func (*Det44SessionDump) GetMessageName() string
- func (*Det44SessionDump) GetMessageType() api.MessageType
- func (m *Det44SessionDump) Marshal(b []byte) ([]byte, error)
- func (m *Det44SessionDump) Reset()
- func (m *Det44SessionDump) Size() (size int)
- func (m *Det44SessionDump) Unmarshal(b []byte) error
- type Det44SetTimeouts
- func (*Det44SetTimeouts) GetCrcString() string
- func (*Det44SetTimeouts) GetMessageName() string
- func (*Det44SetTimeouts) GetMessageType() api.MessageType
- func (m *Det44SetTimeouts) Marshal(b []byte) ([]byte, error)
- func (m *Det44SetTimeouts) Reset()
- func (m *Det44SetTimeouts) Size() (size int)
- func (m *Det44SetTimeouts) Unmarshal(b []byte) error
- type Det44SetTimeoutsReply
- func (*Det44SetTimeoutsReply) GetCrcString() string
- func (*Det44SetTimeoutsReply) GetMessageName() string
- func (*Det44SetTimeoutsReply) GetMessageType() api.MessageType
- func (m *Det44SetTimeoutsReply) Marshal(b []byte) ([]byte, error)
- func (m *Det44SetTimeoutsReply) Reset()
- func (m *Det44SetTimeoutsReply) Size() (size int)
- func (m *Det44SetTimeoutsReply) Unmarshal(b []byte) error
- type NatDetAddDelMap
- func (*NatDetAddDelMap) GetCrcString() string
- func (*NatDetAddDelMap) GetMessageName() string
- func (*NatDetAddDelMap) GetMessageType() api.MessageType
- func (m *NatDetAddDelMap) Marshal(b []byte) ([]byte, error)
- func (m *NatDetAddDelMap) Reset()
- func (m *NatDetAddDelMap) Size() (size int)
- func (m *NatDetAddDelMap) Unmarshal(b []byte) error
- type NatDetAddDelMapReply
- func (*NatDetAddDelMapReply) GetCrcString() string
- func (*NatDetAddDelMapReply) GetMessageName() string
- func (*NatDetAddDelMapReply) GetMessageType() api.MessageType
- func (m *NatDetAddDelMapReply) Marshal(b []byte) ([]byte, error)
- func (m *NatDetAddDelMapReply) Reset()
- func (m *NatDetAddDelMapReply) Size() (size int)
- func (m *NatDetAddDelMapReply) Unmarshal(b []byte) error
- type NatDetCloseSessionIn
- func (*NatDetCloseSessionIn) GetCrcString() string
- func (*NatDetCloseSessionIn) GetMessageName() string
- func (*NatDetCloseSessionIn) GetMessageType() api.MessageType
- func (m *NatDetCloseSessionIn) Marshal(b []byte) ([]byte, error)
- func (m *NatDetCloseSessionIn) Reset()
- func (m *NatDetCloseSessionIn) Size() (size int)
- func (m *NatDetCloseSessionIn) Unmarshal(b []byte) error
- type NatDetCloseSessionInReply
- func (*NatDetCloseSessionInReply) GetCrcString() string
- func (*NatDetCloseSessionInReply) GetMessageName() string
- func (*NatDetCloseSessionInReply) GetMessageType() api.MessageType
- func (m *NatDetCloseSessionInReply) Marshal(b []byte) ([]byte, error)
- func (m *NatDetCloseSessionInReply) Reset()
- func (m *NatDetCloseSessionInReply) Size() (size int)
- func (m *NatDetCloseSessionInReply) Unmarshal(b []byte) error
- type NatDetCloseSessionOut
- func (*NatDetCloseSessionOut) GetCrcString() string
- func (*NatDetCloseSessionOut) GetMessageName() string
- func (*NatDetCloseSessionOut) GetMessageType() api.MessageType
- func (m *NatDetCloseSessionOut) Marshal(b []byte) ([]byte, error)
- func (m *NatDetCloseSessionOut) Reset()
- func (m *NatDetCloseSessionOut) Size() (size int)
- func (m *NatDetCloseSessionOut) Unmarshal(b []byte) error
- type NatDetCloseSessionOutReply
- func (*NatDetCloseSessionOutReply) GetCrcString() string
- func (*NatDetCloseSessionOutReply) GetMessageName() string
- func (*NatDetCloseSessionOutReply) GetMessageType() api.MessageType
- func (m *NatDetCloseSessionOutReply) Marshal(b []byte) ([]byte, error)
- func (m *NatDetCloseSessionOutReply) Reset()
- func (m *NatDetCloseSessionOutReply) Size() (size int)
- func (m *NatDetCloseSessionOutReply) Unmarshal(b []byte) error
- type NatDetForward
- func (*NatDetForward) GetCrcString() string
- func (*NatDetForward) GetMessageName() string
- func (*NatDetForward) GetMessageType() api.MessageType
- func (m *NatDetForward) Marshal(b []byte) ([]byte, error)
- func (m *NatDetForward) Reset()
- func (m *NatDetForward) Size() (size int)
- func (m *NatDetForward) Unmarshal(b []byte) error
- type NatDetForwardReply
- func (*NatDetForwardReply) GetCrcString() string
- func (*NatDetForwardReply) GetMessageName() string
- func (*NatDetForwardReply) GetMessageType() api.MessageType
- func (m *NatDetForwardReply) Marshal(b []byte) ([]byte, error)
- func (m *NatDetForwardReply) Reset()
- func (m *NatDetForwardReply) Size() (size int)
- func (m *NatDetForwardReply) Unmarshal(b []byte) error
- type NatDetMapDetails
- func (*NatDetMapDetails) GetCrcString() string
- func (*NatDetMapDetails) GetMessageName() string
- func (*NatDetMapDetails) GetMessageType() api.MessageType
- func (m *NatDetMapDetails) Marshal(b []byte) ([]byte, error)
- func (m *NatDetMapDetails) Reset()
- func (m *NatDetMapDetails) Size() (size int)
- func (m *NatDetMapDetails) Unmarshal(b []byte) error
- type NatDetMapDump
- func (*NatDetMapDump) GetCrcString() string
- func (*NatDetMapDump) GetMessageName() string
- func (*NatDetMapDump) GetMessageType() api.MessageType
- func (m *NatDetMapDump) Marshal(b []byte) ([]byte, error)
- func (m *NatDetMapDump) Reset()
- func (m *NatDetMapDump) Size() (size int)
- func (m *NatDetMapDump) Unmarshal(b []byte) error
- type NatDetReverse
- func (*NatDetReverse) GetCrcString() string
- func (*NatDetReverse) GetMessageName() string
- func (*NatDetReverse) GetMessageType() api.MessageType
- func (m *NatDetReverse) Marshal(b []byte) ([]byte, error)
- func (m *NatDetReverse) Reset()
- func (m *NatDetReverse) Size() (size int)
- func (m *NatDetReverse) Unmarshal(b []byte) error
- type NatDetReverseReply
- func (*NatDetReverseReply) GetCrcString() string
- func (*NatDetReverseReply) GetMessageName() string
- func (*NatDetReverseReply) GetMessageType() api.MessageType
- func (m *NatDetReverseReply) Marshal(b []byte) ([]byte, error)
- func (m *NatDetReverseReply) Reset()
- func (m *NatDetReverseReply) Size() (size int)
- func (m *NatDetReverseReply) Unmarshal(b []byte) error
- type NatDetSessionDetails
- func (*NatDetSessionDetails) GetCrcString() string
- func (*NatDetSessionDetails) GetMessageName() string
- func (*NatDetSessionDetails) GetMessageType() api.MessageType
- func (m *NatDetSessionDetails) Marshal(b []byte) ([]byte, error)
- func (m *NatDetSessionDetails) Reset()
- func (m *NatDetSessionDetails) Size() (size int)
- func (m *NatDetSessionDetails) Unmarshal(b []byte) error
- type NatDetSessionDump
- func (*NatDetSessionDump) GetCrcString() string
- func (*NatDetSessionDump) GetMessageName() string
- func (*NatDetSessionDump) GetMessageType() api.MessageType
- func (m *NatDetSessionDump) Marshal(b []byte) ([]byte, error)
- func (m *NatDetSessionDump) Reset()
- func (m *NatDetSessionDump) Size() (size int)
- func (m *NatDetSessionDump) Unmarshal(b []byte) error
- type RPCService
- type RPCService_Det44InterfaceDumpClient
- type RPCService_Det44MapDumpClient
- type RPCService_Det44SessionDumpClient
- type RPCService_NatDetMapDumpClient
- type RPCService_NatDetSessionDumpClient
Constants ¶
const ( APIFile = "det44" APIVersion = "1.0.0" VersionCrc = 0x6d6e88dd )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type Det44AddDelMap ¶
type Det44AddDelMap struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` InPlen uint8 `binapi:"u8,name=in_plen" json:"in_plen,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` OutPlen uint8 `binapi:"u8,name=out_plen" json:"out_plen,omitempty"` }
Add/delete DET44 mapping
- is_add - true if add, false if delete
- in_addr - inside IPv4 address
- in_plen - inside IPv4 address prefix length
- out_addr - outside IPv4 address
- out_plen - outside IPv4 address prefix length
Det44AddDelMap defines message 'det44_add_del_map'.
func (*Det44AddDelMap) GetCrcString ¶
func (*Det44AddDelMap) GetCrcString() string
func (*Det44AddDelMap) GetMessageName ¶
func (*Det44AddDelMap) GetMessageName() string
func (*Det44AddDelMap) GetMessageType ¶
func (*Det44AddDelMap) GetMessageType() api.MessageType
func (*Det44AddDelMap) Reset ¶
func (m *Det44AddDelMap) Reset()
func (*Det44AddDelMap) Size ¶
func (m *Det44AddDelMap) Size() (size int)
func (*Det44AddDelMap) Unmarshal ¶
func (m *Det44AddDelMap) Unmarshal(b []byte) error
type Det44AddDelMapReply ¶
type Det44AddDelMapReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
Det44AddDelMapReply defines message 'det44_add_del_map_reply'.
func (*Det44AddDelMapReply) GetCrcString ¶
func (*Det44AddDelMapReply) GetCrcString() string
func (*Det44AddDelMapReply) GetMessageName ¶
func (*Det44AddDelMapReply) GetMessageName() string
func (*Det44AddDelMapReply) GetMessageType ¶
func (*Det44AddDelMapReply) GetMessageType() api.MessageType
func (*Det44AddDelMapReply) Marshal ¶
func (m *Det44AddDelMapReply) Marshal(b []byte) ([]byte, error)
func (*Det44AddDelMapReply) Reset ¶
func (m *Det44AddDelMapReply) Reset()
func (*Det44AddDelMapReply) Size ¶
func (m *Det44AddDelMapReply) Size() (size int)
func (*Det44AddDelMapReply) Unmarshal ¶
func (m *Det44AddDelMapReply) Unmarshal(b []byte) error
type Det44CloseSessionIn ¶
type Det44CloseSessionIn struct { InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` InPort uint16 `binapi:"u16,name=in_port" json:"in_port,omitempty"` ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"` ExtPort uint16 `binapi:"u16,name=ext_port" json:"ext_port,omitempty"` }
Close DET44 session by inside address and port
- in_addr - inside IP address
- in_port - inside port
- ext_addr - external host IP address
- ext_port - external host port
Det44CloseSessionIn defines message 'det44_close_session_in'.
func (*Det44CloseSessionIn) GetCrcString ¶
func (*Det44CloseSessionIn) GetCrcString() string
func (*Det44CloseSessionIn) GetMessageName ¶
func (*Det44CloseSessionIn) GetMessageName() string
func (*Det44CloseSessionIn) GetMessageType ¶
func (*Det44CloseSessionIn) GetMessageType() api.MessageType
func (*Det44CloseSessionIn) Marshal ¶
func (m *Det44CloseSessionIn) Marshal(b []byte) ([]byte, error)
func (*Det44CloseSessionIn) Reset ¶
func (m *Det44CloseSessionIn) Reset()
func (*Det44CloseSessionIn) Size ¶
func (m *Det44CloseSessionIn) Size() (size int)
func (*Det44CloseSessionIn) Unmarshal ¶
func (m *Det44CloseSessionIn) Unmarshal(b []byte) error
type Det44CloseSessionInReply ¶
type Det44CloseSessionInReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
Det44CloseSessionInReply defines message 'det44_close_session_in_reply'.
func (*Det44CloseSessionInReply) GetCrcString ¶
func (*Det44CloseSessionInReply) GetCrcString() string
func (*Det44CloseSessionInReply) GetMessageName ¶
func (*Det44CloseSessionInReply) GetMessageName() string
func (*Det44CloseSessionInReply) GetMessageType ¶
func (*Det44CloseSessionInReply) GetMessageType() api.MessageType
func (*Det44CloseSessionInReply) Marshal ¶
func (m *Det44CloseSessionInReply) Marshal(b []byte) ([]byte, error)
func (*Det44CloseSessionInReply) Reset ¶
func (m *Det44CloseSessionInReply) Reset()
func (*Det44CloseSessionInReply) Size ¶
func (m *Det44CloseSessionInReply) Size() (size int)
func (*Det44CloseSessionInReply) Unmarshal ¶
func (m *Det44CloseSessionInReply) Unmarshal(b []byte) error
type Det44CloseSessionOut ¶
type Det44CloseSessionOut struct { OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` OutPort uint16 `binapi:"u16,name=out_port" json:"out_port,omitempty"` ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"` ExtPort uint16 `binapi:"u16,name=ext_port" json:"ext_port,omitempty"` }
Close DET44 session by outside address and port
- out_addr - outside IPv4 address
- out_port - outside port
- ext_addr - external host IPv4 address
- ext_port - external host port
Det44CloseSessionOut defines message 'det44_close_session_out'.
func (*Det44CloseSessionOut) GetCrcString ¶
func (*Det44CloseSessionOut) GetCrcString() string
func (*Det44CloseSessionOut) GetMessageName ¶
func (*Det44CloseSessionOut) GetMessageName() string
func (*Det44CloseSessionOut) GetMessageType ¶
func (*Det44CloseSessionOut) GetMessageType() api.MessageType
func (*Det44CloseSessionOut) Marshal ¶
func (m *Det44CloseSessionOut) Marshal(b []byte) ([]byte, error)
func (*Det44CloseSessionOut) Reset ¶
func (m *Det44CloseSessionOut) Reset()
func (*Det44CloseSessionOut) Size ¶
func (m *Det44CloseSessionOut) Size() (size int)
func (*Det44CloseSessionOut) Unmarshal ¶
func (m *Det44CloseSessionOut) Unmarshal(b []byte) error
type Det44CloseSessionOutReply ¶
type Det44CloseSessionOutReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
Det44CloseSessionOutReply defines message 'det44_close_session_out_reply'.
func (*Det44CloseSessionOutReply) GetCrcString ¶
func (*Det44CloseSessionOutReply) GetCrcString() string
func (*Det44CloseSessionOutReply) GetMessageName ¶
func (*Det44CloseSessionOutReply) GetMessageName() string
func (*Det44CloseSessionOutReply) GetMessageType ¶
func (*Det44CloseSessionOutReply) GetMessageType() api.MessageType
func (*Det44CloseSessionOutReply) Marshal ¶
func (m *Det44CloseSessionOutReply) Marshal(b []byte) ([]byte, error)
func (*Det44CloseSessionOutReply) Reset ¶
func (m *Det44CloseSessionOutReply) Reset()
func (*Det44CloseSessionOutReply) Size ¶
func (m *Det44CloseSessionOutReply) Size() (size int)
func (*Det44CloseSessionOutReply) Unmarshal ¶
func (m *Det44CloseSessionOutReply) Unmarshal(b []byte) error
type Det44Forward ¶
type Det44Forward struct {
InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
}
Get outside address and port range from inside address
- in_addr - inside IP address
Det44Forward defines message 'det44_forward'.
func (*Det44Forward) GetCrcString ¶
func (*Det44Forward) GetCrcString() string
func (*Det44Forward) GetMessageName ¶
func (*Det44Forward) GetMessageName() string
func (*Det44Forward) GetMessageType ¶
func (*Det44Forward) GetMessageType() api.MessageType
func (*Det44Forward) Reset ¶
func (m *Det44Forward) Reset()
func (*Det44Forward) Size ¶
func (m *Det44Forward) Size() (size int)
func (*Det44Forward) Unmarshal ¶
func (m *Det44Forward) Unmarshal(b []byte) error
type Det44ForwardReply ¶
type Det44ForwardReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` OutPortLo uint16 `binapi:"u16,name=out_port_lo" json:"out_port_lo,omitempty"` OutPortHi uint16 `binapi:"u16,name=out_port_hi" json:"out_port_hi,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` }
Get outside address and port range from inside address
- retval - return code
- out_port_lo - outside port range start
- out_port_hi - outside port range end
- out_addr - outside IPv4 address
Det44ForwardReply defines message 'det44_forward_reply'.
func (*Det44ForwardReply) GetCrcString ¶
func (*Det44ForwardReply) GetCrcString() string
func (*Det44ForwardReply) GetMessageName ¶
func (*Det44ForwardReply) GetMessageName() string
func (*Det44ForwardReply) GetMessageType ¶
func (*Det44ForwardReply) GetMessageType() api.MessageType
func (*Det44ForwardReply) Reset ¶
func (m *Det44ForwardReply) Reset()
func (*Det44ForwardReply) Size ¶
func (m *Det44ForwardReply) Size() (size int)
func (*Det44ForwardReply) Unmarshal ¶
func (m *Det44ForwardReply) Unmarshal(b []byte) error
type Det44GetTimeouts ¶
type Det44GetTimeouts struct{}
Get values of timeouts for DET44 sessions (seconds) Det44GetTimeouts defines message 'det44_get_timeouts'.
func (*Det44GetTimeouts) GetCrcString ¶
func (*Det44GetTimeouts) GetCrcString() string
func (*Det44GetTimeouts) GetMessageName ¶
func (*Det44GetTimeouts) GetMessageName() string
func (*Det44GetTimeouts) GetMessageType ¶
func (*Det44GetTimeouts) GetMessageType() api.MessageType
func (*Det44GetTimeouts) Reset ¶
func (m *Det44GetTimeouts) Reset()
func (*Det44GetTimeouts) Size ¶
func (m *Det44GetTimeouts) Size() (size int)
func (*Det44GetTimeouts) Unmarshal ¶
func (m *Det44GetTimeouts) Unmarshal(b []byte) error
type Det44GetTimeoutsReply ¶
type Det44GetTimeoutsReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` UDP uint32 `binapi:"u32,name=udp" json:"udp,omitempty"` TCPEstablished uint32 `binapi:"u32,name=tcp_established" json:"tcp_established,omitempty"` TCPTransitory uint32 `binapi:"u32,name=tcp_transitory" json:"tcp_transitory,omitempty"` ICMP uint32 `binapi:"u32,name=icmp" json:"icmp,omitempty"` }
Get values of timeouts for DET44 sessions reply
- retval - return code
- udp - UDP timeout
- tcp_established - TCP established timeout
- tcp_transitory - TCP transitory timeout
- icmp - ICMP timeout
Det44GetTimeoutsReply defines message 'det44_get_timeouts_reply'. InProgress: the message form may change in the future versions
func (*Det44GetTimeoutsReply) GetCrcString ¶
func (*Det44GetTimeoutsReply) GetCrcString() string
func (*Det44GetTimeoutsReply) GetMessageName ¶
func (*Det44GetTimeoutsReply) GetMessageName() string
func (*Det44GetTimeoutsReply) GetMessageType ¶
func (*Det44GetTimeoutsReply) GetMessageType() api.MessageType
func (*Det44GetTimeoutsReply) Marshal ¶
func (m *Det44GetTimeoutsReply) Marshal(b []byte) ([]byte, error)
func (*Det44GetTimeoutsReply) Reset ¶
func (m *Det44GetTimeoutsReply) Reset()
func (*Det44GetTimeoutsReply) Size ¶
func (m *Det44GetTimeoutsReply) Size() (size int)
func (*Det44GetTimeoutsReply) Unmarshal ¶
func (m *Det44GetTimeoutsReply) Unmarshal(b []byte) error
type Det44InterfaceAddDelFeature ¶
type Det44InterfaceAddDelFeature struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` IsInside bool `binapi:"bool,name=is_inside" json:"is_inside,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
Enable/disable DET44 feature on the interface
- is_add - true if add, false if delete
- is_inside - true if interface is inside, false if outside
- sw_if_index - software index of the interface
Det44InterfaceAddDelFeature defines message 'det44_interface_add_del_feature'.
func (*Det44InterfaceAddDelFeature) GetCrcString ¶
func (*Det44InterfaceAddDelFeature) GetCrcString() string
func (*Det44InterfaceAddDelFeature) GetMessageName ¶
func (*Det44InterfaceAddDelFeature) GetMessageName() string
func (*Det44InterfaceAddDelFeature) GetMessageType ¶
func (*Det44InterfaceAddDelFeature) GetMessageType() api.MessageType
func (*Det44InterfaceAddDelFeature) Marshal ¶
func (m *Det44InterfaceAddDelFeature) Marshal(b []byte) ([]byte, error)
func (*Det44InterfaceAddDelFeature) Reset ¶
func (m *Det44InterfaceAddDelFeature) Reset()
func (*Det44InterfaceAddDelFeature) Size ¶
func (m *Det44InterfaceAddDelFeature) Size() (size int)
func (*Det44InterfaceAddDelFeature) Unmarshal ¶
func (m *Det44InterfaceAddDelFeature) Unmarshal(b []byte) error
type Det44InterfaceAddDelFeatureReply ¶
type Det44InterfaceAddDelFeatureReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
Det44InterfaceAddDelFeatureReply defines message 'det44_interface_add_del_feature_reply'.
func (*Det44InterfaceAddDelFeatureReply) GetCrcString ¶
func (*Det44InterfaceAddDelFeatureReply) GetCrcString() string
func (*Det44InterfaceAddDelFeatureReply) GetMessageName ¶
func (*Det44InterfaceAddDelFeatureReply) GetMessageName() string
func (*Det44InterfaceAddDelFeatureReply) GetMessageType ¶
func (*Det44InterfaceAddDelFeatureReply) GetMessageType() api.MessageType
func (*Det44InterfaceAddDelFeatureReply) Marshal ¶
func (m *Det44InterfaceAddDelFeatureReply) Marshal(b []byte) ([]byte, error)
func (*Det44InterfaceAddDelFeatureReply) Reset ¶
func (m *Det44InterfaceAddDelFeatureReply) Reset()
func (*Det44InterfaceAddDelFeatureReply) Size ¶
func (m *Det44InterfaceAddDelFeatureReply) Size() (size int)
func (*Det44InterfaceAddDelFeatureReply) Unmarshal ¶
func (m *Det44InterfaceAddDelFeatureReply) Unmarshal(b []byte) error
type Det44InterfaceDetails ¶
type Det44InterfaceDetails struct { IsInside bool `binapi:"bool,name=is_inside" json:"is_inside,omitempty"` IsOutside bool `binapi:"bool,name=is_outside" json:"is_outside,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
DET44 interface details response
- is_inside - true if interface is inside, false if outside
- sw_if_index - software index of the interface
Det44InterfaceDetails defines message 'det44_interface_details'.
func (*Det44InterfaceDetails) GetCrcString ¶
func (*Det44InterfaceDetails) GetCrcString() string
func (*Det44InterfaceDetails) GetMessageName ¶
func (*Det44InterfaceDetails) GetMessageName() string
func (*Det44InterfaceDetails) GetMessageType ¶
func (*Det44InterfaceDetails) GetMessageType() api.MessageType
func (*Det44InterfaceDetails) Marshal ¶
func (m *Det44InterfaceDetails) Marshal(b []byte) ([]byte, error)
func (*Det44InterfaceDetails) Reset ¶
func (m *Det44InterfaceDetails) Reset()
func (*Det44InterfaceDetails) Size ¶
func (m *Det44InterfaceDetails) Size() (size int)
func (*Det44InterfaceDetails) Unmarshal ¶
func (m *Det44InterfaceDetails) Unmarshal(b []byte) error
type Det44InterfaceDump ¶
type Det44InterfaceDump struct{}
Dump interfaces with DET44 feature Det44InterfaceDump defines message 'det44_interface_dump'.
func (*Det44InterfaceDump) GetCrcString ¶
func (*Det44InterfaceDump) GetCrcString() string
func (*Det44InterfaceDump) GetMessageName ¶
func (*Det44InterfaceDump) GetMessageName() string
func (*Det44InterfaceDump) GetMessageType ¶
func (*Det44InterfaceDump) GetMessageType() api.MessageType
func (*Det44InterfaceDump) Reset ¶
func (m *Det44InterfaceDump) Reset()
func (*Det44InterfaceDump) Size ¶
func (m *Det44InterfaceDump) Size() (size int)
func (*Det44InterfaceDump) Unmarshal ¶
func (m *Det44InterfaceDump) Unmarshal(b []byte) error
type Det44MapDetails ¶
type Det44MapDetails struct { InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` InPlen uint8 `binapi:"u8,name=in_plen" json:"in_plen,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` OutPlen uint8 `binapi:"u8,name=out_plen" json:"out_plen,omitempty"` SharingRatio uint32 `binapi:"u32,name=sharing_ratio" json:"sharing_ratio,omitempty"` PortsPerHost uint16 `binapi:"u16,name=ports_per_host" json:"ports_per_host,omitempty"` SesNum uint32 `binapi:"u32,name=ses_num" json:"ses_num,omitempty"` }
DET44 users response
- in_addr - inside IPv4 address
- in_plen - inside IPv4 address prefix length
- out_addr - outside IPv4 address
- out_plen - outside IPv4 address prefix length
- sharing_ratio - outside to inside address sharing ratio
- ports_per_host - number of ports available to a host
- ses_num - number of sessions belonging to this mapping
Det44MapDetails defines message 'det44_map_details'.
func (*Det44MapDetails) GetCrcString ¶
func (*Det44MapDetails) GetCrcString() string
func (*Det44MapDetails) GetMessageName ¶
func (*Det44MapDetails) GetMessageName() string
func (*Det44MapDetails) GetMessageType ¶
func (*Det44MapDetails) GetMessageType() api.MessageType
func (*Det44MapDetails) Reset ¶
func (m *Det44MapDetails) Reset()
func (*Det44MapDetails) Size ¶
func (m *Det44MapDetails) Size() (size int)
func (*Det44MapDetails) Unmarshal ¶
func (m *Det44MapDetails) Unmarshal(b []byte) error
type Det44MapDump ¶
type Det44MapDump struct{}
Dump DET44 mappings Det44MapDump defines message 'det44_map_dump'.
func (*Det44MapDump) GetCrcString ¶
func (*Det44MapDump) GetCrcString() string
func (*Det44MapDump) GetMessageName ¶
func (*Det44MapDump) GetMessageName() string
func (*Det44MapDump) GetMessageType ¶
func (*Det44MapDump) GetMessageType() api.MessageType
func (*Det44MapDump) Reset ¶
func (m *Det44MapDump) Reset()
func (*Det44MapDump) Size ¶
func (m *Det44MapDump) Size() (size int)
func (*Det44MapDump) Unmarshal ¶
func (m *Det44MapDump) Unmarshal(b []byte) error
type Det44PluginEnableDisable ¶
type Det44PluginEnableDisable struct { InsideVrf uint32 `binapi:"u32,name=inside_vrf" json:"inside_vrf,omitempty"` OutsideVrf uint32 `binapi:"u32,name=outside_vrf" json:"outside_vrf,omitempty"` Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` }
Enable/disable DET44 plugin
- inside_vrf - inside VRF id
- outside_vrf - outside VRF id
- enable - true if enable, false if disable
Det44PluginEnableDisable defines message 'det44_plugin_enable_disable'.
func (*Det44PluginEnableDisable) GetCrcString ¶
func (*Det44PluginEnableDisable) GetCrcString() string
func (*Det44PluginEnableDisable) GetMessageName ¶
func (*Det44PluginEnableDisable) GetMessageName() string
func (*Det44PluginEnableDisable) GetMessageType ¶
func (*Det44PluginEnableDisable) GetMessageType() api.MessageType
func (*Det44PluginEnableDisable) Marshal ¶
func (m *Det44PluginEnableDisable) Marshal(b []byte) ([]byte, error)
func (*Det44PluginEnableDisable) Reset ¶
func (m *Det44PluginEnableDisable) Reset()
func (*Det44PluginEnableDisable) Size ¶
func (m *Det44PluginEnableDisable) Size() (size int)
func (*Det44PluginEnableDisable) Unmarshal ¶
func (m *Det44PluginEnableDisable) Unmarshal(b []byte) error
type Det44PluginEnableDisableReply ¶
type Det44PluginEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
Det44PluginEnableDisableReply defines message 'det44_plugin_enable_disable_reply'.
func (*Det44PluginEnableDisableReply) GetCrcString ¶
func (*Det44PluginEnableDisableReply) GetCrcString() string
func (*Det44PluginEnableDisableReply) GetMessageName ¶
func (*Det44PluginEnableDisableReply) GetMessageName() string
func (*Det44PluginEnableDisableReply) GetMessageType ¶
func (*Det44PluginEnableDisableReply) GetMessageType() api.MessageType
func (*Det44PluginEnableDisableReply) Marshal ¶
func (m *Det44PluginEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*Det44PluginEnableDisableReply) Reset ¶
func (m *Det44PluginEnableDisableReply) Reset()
func (*Det44PluginEnableDisableReply) Size ¶
func (m *Det44PluginEnableDisableReply) Size() (size int)
func (*Det44PluginEnableDisableReply) Unmarshal ¶
func (m *Det44PluginEnableDisableReply) Unmarshal(b []byte) error
type Det44Reverse ¶
type Det44Reverse struct { OutPort uint16 `binapi:"u16,name=out_port" json:"out_port,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` }
Get inside address from outside address and port
- out_port - outside port
- out_addr - outside IPv4 address
Det44Reverse defines message 'det44_reverse'.
func (*Det44Reverse) GetCrcString ¶
func (*Det44Reverse) GetCrcString() string
func (*Det44Reverse) GetMessageName ¶
func (*Det44Reverse) GetMessageName() string
func (*Det44Reverse) GetMessageType ¶
func (*Det44Reverse) GetMessageType() api.MessageType
func (*Det44Reverse) Reset ¶
func (m *Det44Reverse) Reset()
func (*Det44Reverse) Size ¶
func (m *Det44Reverse) Size() (size int)
func (*Det44Reverse) Unmarshal ¶
func (m *Det44Reverse) Unmarshal(b []byte) error
type Det44ReverseReply ¶
type Det44ReverseReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` }
Get inside address from outside address and port reply
- retval - return code
- in_addr - inside IP address
Det44ReverseReply defines message 'det44_reverse_reply'.
func (*Det44ReverseReply) GetCrcString ¶
func (*Det44ReverseReply) GetCrcString() string
func (*Det44ReverseReply) GetMessageName ¶
func (*Det44ReverseReply) GetMessageName() string
func (*Det44ReverseReply) GetMessageType ¶
func (*Det44ReverseReply) GetMessageType() api.MessageType
func (*Det44ReverseReply) Reset ¶
func (m *Det44ReverseReply) Reset()
func (*Det44ReverseReply) Size ¶
func (m *Det44ReverseReply) Size() (size int)
func (*Det44ReverseReply) Unmarshal ¶
func (m *Det44ReverseReply) Unmarshal(b []byte) error
type Det44SessionDetails ¶
type Det44SessionDetails struct { InPort uint16 `binapi:"u16,name=in_port" json:"in_port,omitempty"` ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"` ExtPort uint16 `binapi:"u16,name=ext_port" json:"ext_port,omitempty"` OutPort uint16 `binapi:"u16,name=out_port" json:"out_port,omitempty"` State uint8 `binapi:"u8,name=state" json:"state,omitempty"` Expire uint32 `binapi:"u32,name=expire" json:"expire,omitempty"` }
DET44 sessions reply
- in_port - inside port
- ext_addr - external host IPv4 address
- ext_port - external host port
- out_port - outside port
- state - session state
- expire - session expiration timestamp
Det44SessionDetails defines message 'det44_session_details'.
func (*Det44SessionDetails) GetCrcString ¶
func (*Det44SessionDetails) GetCrcString() string
func (*Det44SessionDetails) GetMessageName ¶
func (*Det44SessionDetails) GetMessageName() string
func (*Det44SessionDetails) GetMessageType ¶
func (*Det44SessionDetails) GetMessageType() api.MessageType
func (*Det44SessionDetails) Marshal ¶
func (m *Det44SessionDetails) Marshal(b []byte) ([]byte, error)
func (*Det44SessionDetails) Reset ¶
func (m *Det44SessionDetails) Reset()
func (*Det44SessionDetails) Size ¶
func (m *Det44SessionDetails) Size() (size int)
func (*Det44SessionDetails) Unmarshal ¶
func (m *Det44SessionDetails) Unmarshal(b []byte) error
type Det44SessionDump ¶
type Det44SessionDump struct {
UserAddr ip_types.IP4Address `binapi:"ip4_address,name=user_addr" json:"user_addr,omitempty"`
}
Dump DET44 sessions
- user_addr - address of an inside user whose sessions to dump
Det44SessionDump defines message 'det44_session_dump'.
func (*Det44SessionDump) GetCrcString ¶
func (*Det44SessionDump) GetCrcString() string
func (*Det44SessionDump) GetMessageName ¶
func (*Det44SessionDump) GetMessageName() string
func (*Det44SessionDump) GetMessageType ¶
func (*Det44SessionDump) GetMessageType() api.MessageType
func (*Det44SessionDump) Reset ¶
func (m *Det44SessionDump) Reset()
func (*Det44SessionDump) Size ¶
func (m *Det44SessionDump) Size() (size int)
func (*Det44SessionDump) Unmarshal ¶
func (m *Det44SessionDump) Unmarshal(b []byte) error
type Det44SetTimeouts ¶
type Det44SetTimeouts struct { UDP uint32 `binapi:"u32,name=udp" json:"udp,omitempty"` TCPEstablished uint32 `binapi:"u32,name=tcp_established" json:"tcp_established,omitempty"` TCPTransitory uint32 `binapi:"u32,name=tcp_transitory" json:"tcp_transitory,omitempty"` ICMP uint32 `binapi:"u32,name=icmp" json:"icmp,omitempty"` }
Set values of timeouts for DET44 sessions (seconds)
- udp - UDP timeout (default 300sec)
- tcp_established - TCP established timeout (default 7440sec)
- tcp_transitory - TCP transitory timeout (default 240sec)
- icmp - ICMP timeout (default 60sec)
Det44SetTimeouts defines message 'det44_set_timeouts'. InProgress: the message form may change in the future versions
func (*Det44SetTimeouts) GetCrcString ¶
func (*Det44SetTimeouts) GetCrcString() string
func (*Det44SetTimeouts) GetMessageName ¶
func (*Det44SetTimeouts) GetMessageName() string
func (*Det44SetTimeouts) GetMessageType ¶
func (*Det44SetTimeouts) GetMessageType() api.MessageType
func (*Det44SetTimeouts) Reset ¶
func (m *Det44SetTimeouts) Reset()
func (*Det44SetTimeouts) Size ¶
func (m *Det44SetTimeouts) Size() (size int)
func (*Det44SetTimeouts) Unmarshal ¶
func (m *Det44SetTimeouts) Unmarshal(b []byte) error
type Det44SetTimeoutsReply ¶
type Det44SetTimeoutsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
Det44SetTimeoutsReply defines message 'det44_set_timeouts_reply'. InProgress: the message form may change in the future versions
func (*Det44SetTimeoutsReply) GetCrcString ¶
func (*Det44SetTimeoutsReply) GetCrcString() string
func (*Det44SetTimeoutsReply) GetMessageName ¶
func (*Det44SetTimeoutsReply) GetMessageName() string
func (*Det44SetTimeoutsReply) GetMessageType ¶
func (*Det44SetTimeoutsReply) GetMessageType() api.MessageType
func (*Det44SetTimeoutsReply) Marshal ¶
func (m *Det44SetTimeoutsReply) Marshal(b []byte) ([]byte, error)
func (*Det44SetTimeoutsReply) Reset ¶
func (m *Det44SetTimeoutsReply) Reset()
func (*Det44SetTimeoutsReply) Size ¶
func (m *Det44SetTimeoutsReply) Size() (size int)
func (*Det44SetTimeoutsReply) Unmarshal ¶
func (m *Det44SetTimeoutsReply) Unmarshal(b []byte) error
type NatDetAddDelMap ¶
type NatDetAddDelMap struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` InPlen uint8 `binapi:"u8,name=in_plen" json:"in_plen,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` OutPlen uint8 `binapi:"u8,name=out_plen" json:"out_plen,omitempty"` }
Add/delete NAT deterministic mapping
- is_add - true if add, false if delete
- in_addr - inside IPv4 address
- in_plen - inside IPv4 address prefix length
- out_addr - outside IPv4 address
- out_plen - outside IPv4 address prefix length
NatDetAddDelMap defines message 'nat_det_add_del_map'. Deprecated: the message will be removed in the future versions
func (*NatDetAddDelMap) GetCrcString ¶
func (*NatDetAddDelMap) GetCrcString() string
func (*NatDetAddDelMap) GetMessageName ¶
func (*NatDetAddDelMap) GetMessageName() string
func (*NatDetAddDelMap) GetMessageType ¶
func (*NatDetAddDelMap) GetMessageType() api.MessageType
func (*NatDetAddDelMap) Reset ¶
func (m *NatDetAddDelMap) Reset()
func (*NatDetAddDelMap) Size ¶
func (m *NatDetAddDelMap) Size() (size int)
func (*NatDetAddDelMap) Unmarshal ¶
func (m *NatDetAddDelMap) Unmarshal(b []byte) error
type NatDetAddDelMapReply ¶
type NatDetAddDelMapReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
NatDetAddDelMapReply defines message 'nat_det_add_del_map_reply'. Deprecated: the message will be removed in the future versions
func (*NatDetAddDelMapReply) GetCrcString ¶
func (*NatDetAddDelMapReply) GetCrcString() string
func (*NatDetAddDelMapReply) GetMessageName ¶
func (*NatDetAddDelMapReply) GetMessageName() string
func (*NatDetAddDelMapReply) GetMessageType ¶
func (*NatDetAddDelMapReply) GetMessageType() api.MessageType
func (*NatDetAddDelMapReply) Marshal ¶
func (m *NatDetAddDelMapReply) Marshal(b []byte) ([]byte, error)
func (*NatDetAddDelMapReply) Reset ¶
func (m *NatDetAddDelMapReply) Reset()
func (*NatDetAddDelMapReply) Size ¶
func (m *NatDetAddDelMapReply) Size() (size int)
func (*NatDetAddDelMapReply) Unmarshal ¶
func (m *NatDetAddDelMapReply) Unmarshal(b []byte) error
type NatDetCloseSessionIn ¶
type NatDetCloseSessionIn struct { InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` InPort uint16 `binapi:"u16,name=in_port" json:"in_port,omitempty"` ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"` ExtPort uint16 `binapi:"u16,name=ext_port" json:"ext_port,omitempty"` }
Close deterministic NAT session by inside address and port
- in_addr - inside IP address
- in_port - inside port
- ext_addr - external host IP address
- ext_port - external host port
NatDetCloseSessionIn defines message 'nat_det_close_session_in'. Deprecated: the message will be removed in the future versions
func (*NatDetCloseSessionIn) GetCrcString ¶
func (*NatDetCloseSessionIn) GetCrcString() string
func (*NatDetCloseSessionIn) GetMessageName ¶
func (*NatDetCloseSessionIn) GetMessageName() string
func (*NatDetCloseSessionIn) GetMessageType ¶
func (*NatDetCloseSessionIn) GetMessageType() api.MessageType
func (*NatDetCloseSessionIn) Marshal ¶
func (m *NatDetCloseSessionIn) Marshal(b []byte) ([]byte, error)
func (*NatDetCloseSessionIn) Reset ¶
func (m *NatDetCloseSessionIn) Reset()
func (*NatDetCloseSessionIn) Size ¶
func (m *NatDetCloseSessionIn) Size() (size int)
func (*NatDetCloseSessionIn) Unmarshal ¶
func (m *NatDetCloseSessionIn) Unmarshal(b []byte) error
type NatDetCloseSessionInReply ¶
type NatDetCloseSessionInReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
NatDetCloseSessionInReply defines message 'nat_det_close_session_in_reply'. Deprecated: the message will be removed in the future versions
func (*NatDetCloseSessionInReply) GetCrcString ¶
func (*NatDetCloseSessionInReply) GetCrcString() string
func (*NatDetCloseSessionInReply) GetMessageName ¶
func (*NatDetCloseSessionInReply) GetMessageName() string
func (*NatDetCloseSessionInReply) GetMessageType ¶
func (*NatDetCloseSessionInReply) GetMessageType() api.MessageType
func (*NatDetCloseSessionInReply) Marshal ¶
func (m *NatDetCloseSessionInReply) Marshal(b []byte) ([]byte, error)
func (*NatDetCloseSessionInReply) Reset ¶
func (m *NatDetCloseSessionInReply) Reset()
func (*NatDetCloseSessionInReply) Size ¶
func (m *NatDetCloseSessionInReply) Size() (size int)
func (*NatDetCloseSessionInReply) Unmarshal ¶
func (m *NatDetCloseSessionInReply) Unmarshal(b []byte) error
type NatDetCloseSessionOut ¶
type NatDetCloseSessionOut struct { OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` OutPort uint16 `binapi:"u16,name=out_port" json:"out_port,omitempty"` ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"` ExtPort uint16 `binapi:"u16,name=ext_port" json:"ext_port,omitempty"` }
Close deterministic NAT session by outside address and port
- out_addr - outside IPv4 address
- out_port - outside port
- ext_addr - external host IPv4 address
- ext_port - external host port
NatDetCloseSessionOut defines message 'nat_det_close_session_out'. Deprecated: the message will be removed in the future versions
func (*NatDetCloseSessionOut) GetCrcString ¶
func (*NatDetCloseSessionOut) GetCrcString() string
func (*NatDetCloseSessionOut) GetMessageName ¶
func (*NatDetCloseSessionOut) GetMessageName() string
func (*NatDetCloseSessionOut) GetMessageType ¶
func (*NatDetCloseSessionOut) GetMessageType() api.MessageType
func (*NatDetCloseSessionOut) Marshal ¶
func (m *NatDetCloseSessionOut) Marshal(b []byte) ([]byte, error)
func (*NatDetCloseSessionOut) Reset ¶
func (m *NatDetCloseSessionOut) Reset()
func (*NatDetCloseSessionOut) Size ¶
func (m *NatDetCloseSessionOut) Size() (size int)
func (*NatDetCloseSessionOut) Unmarshal ¶
func (m *NatDetCloseSessionOut) Unmarshal(b []byte) error
type NatDetCloseSessionOutReply ¶
type NatDetCloseSessionOutReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
NatDetCloseSessionOutReply defines message 'nat_det_close_session_out_reply'. Deprecated: the message will be removed in the future versions
func (*NatDetCloseSessionOutReply) GetCrcString ¶
func (*NatDetCloseSessionOutReply) GetCrcString() string
func (*NatDetCloseSessionOutReply) GetMessageName ¶
func (*NatDetCloseSessionOutReply) GetMessageName() string
func (*NatDetCloseSessionOutReply) GetMessageType ¶
func (*NatDetCloseSessionOutReply) GetMessageType() api.MessageType
func (*NatDetCloseSessionOutReply) Marshal ¶
func (m *NatDetCloseSessionOutReply) Marshal(b []byte) ([]byte, error)
func (*NatDetCloseSessionOutReply) Reset ¶
func (m *NatDetCloseSessionOutReply) Reset()
func (*NatDetCloseSessionOutReply) Size ¶
func (m *NatDetCloseSessionOutReply) Size() (size int)
func (*NatDetCloseSessionOutReply) Unmarshal ¶
func (m *NatDetCloseSessionOutReply) Unmarshal(b []byte) error
type NatDetForward ¶
type NatDetForward struct {
InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
}
Get outside address and port range from inside address
- in_addr - inside IP address
NatDetForward defines message 'nat_det_forward'. Deprecated: the message will be removed in the future versions
func (*NatDetForward) GetCrcString ¶
func (*NatDetForward) GetCrcString() string
func (*NatDetForward) GetMessageName ¶
func (*NatDetForward) GetMessageName() string
func (*NatDetForward) GetMessageType ¶
func (*NatDetForward) GetMessageType() api.MessageType
func (*NatDetForward) Reset ¶
func (m *NatDetForward) Reset()
func (*NatDetForward) Size ¶
func (m *NatDetForward) Size() (size int)
func (*NatDetForward) Unmarshal ¶
func (m *NatDetForward) Unmarshal(b []byte) error
type NatDetForwardReply ¶
type NatDetForwardReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` OutPortLo uint16 `binapi:"u16,name=out_port_lo" json:"out_port_lo,omitempty"` OutPortHi uint16 `binapi:"u16,name=out_port_hi" json:"out_port_hi,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` }
Get outside address and port range from inside address
- retval - return code
- out_port_lo - outside port range start
- out_port_hi - outside port range end
- out_addr - outside IPv4 address
NatDetForwardReply defines message 'nat_det_forward_reply'. Deprecated: the message will be removed in the future versions
func (*NatDetForwardReply) GetCrcString ¶
func (*NatDetForwardReply) GetCrcString() string
func (*NatDetForwardReply) GetMessageName ¶
func (*NatDetForwardReply) GetMessageName() string
func (*NatDetForwardReply) GetMessageType ¶
func (*NatDetForwardReply) GetMessageType() api.MessageType
func (*NatDetForwardReply) Reset ¶
func (m *NatDetForwardReply) Reset()
func (*NatDetForwardReply) Size ¶
func (m *NatDetForwardReply) Size() (size int)
func (*NatDetForwardReply) Unmarshal ¶
func (m *NatDetForwardReply) Unmarshal(b []byte) error
type NatDetMapDetails ¶
type NatDetMapDetails struct { InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` InPlen uint8 `binapi:"u8,name=in_plen" json:"in_plen,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` OutPlen uint8 `binapi:"u8,name=out_plen" json:"out_plen,omitempty"` SharingRatio uint32 `binapi:"u32,name=sharing_ratio" json:"sharing_ratio,omitempty"` PortsPerHost uint16 `binapi:"u16,name=ports_per_host" json:"ports_per_host,omitempty"` SesNum uint32 `binapi:"u32,name=ses_num" json:"ses_num,omitempty"` }
NAT users response
- in_addr - inside IPv4 address
- in_plen - inside IPv4 address prefix length
- out_addr - outside IPv4 address
- out_plen - outside IPv4 address prefix length
- sharing_ratio - outside to inside address sharing ratio
- ports_per_host - number of ports available to a host
- ses_num - number of sessions belonging to this mapping
NatDetMapDetails defines message 'nat_det_map_details'. Deprecated: the message will be removed in the future versions
func (*NatDetMapDetails) GetCrcString ¶
func (*NatDetMapDetails) GetCrcString() string
func (*NatDetMapDetails) GetMessageName ¶
func (*NatDetMapDetails) GetMessageName() string
func (*NatDetMapDetails) GetMessageType ¶
func (*NatDetMapDetails) GetMessageType() api.MessageType
func (*NatDetMapDetails) Reset ¶
func (m *NatDetMapDetails) Reset()
func (*NatDetMapDetails) Size ¶
func (m *NatDetMapDetails) Size() (size int)
func (*NatDetMapDetails) Unmarshal ¶
func (m *NatDetMapDetails) Unmarshal(b []byte) error
type NatDetMapDump ¶
type NatDetMapDump struct{}
Dump NAT deterministic mappings NatDetMapDump defines message 'nat_det_map_dump'. Deprecated: the message will be removed in the future versions
func (*NatDetMapDump) GetCrcString ¶
func (*NatDetMapDump) GetCrcString() string
func (*NatDetMapDump) GetMessageName ¶
func (*NatDetMapDump) GetMessageName() string
func (*NatDetMapDump) GetMessageType ¶
func (*NatDetMapDump) GetMessageType() api.MessageType
func (*NatDetMapDump) Reset ¶
func (m *NatDetMapDump) Reset()
func (*NatDetMapDump) Size ¶
func (m *NatDetMapDump) Size() (size int)
func (*NatDetMapDump) Unmarshal ¶
func (m *NatDetMapDump) Unmarshal(b []byte) error
type NatDetReverse ¶
type NatDetReverse struct { OutPort uint16 `binapi:"u16,name=out_port" json:"out_port,omitempty"` OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"` }
Get inside address from outside address and port
- out_port - outside port
- out_addr - outside IPv4 address
NatDetReverse defines message 'nat_det_reverse'. Deprecated: the message will be removed in the future versions
func (*NatDetReverse) GetCrcString ¶
func (*NatDetReverse) GetCrcString() string
func (*NatDetReverse) GetMessageName ¶
func (*NatDetReverse) GetMessageName() string
func (*NatDetReverse) GetMessageType ¶
func (*NatDetReverse) GetMessageType() api.MessageType
func (*NatDetReverse) Reset ¶
func (m *NatDetReverse) Reset()
func (*NatDetReverse) Size ¶
func (m *NatDetReverse) Size() (size int)
func (*NatDetReverse) Unmarshal ¶
func (m *NatDetReverse) Unmarshal(b []byte) error
type NatDetReverseReply ¶
type NatDetReverseReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"` }
Get inside address from outside address and port reply
- retval - return code
- in_addr - inside IP address
NatDetReverseReply defines message 'nat_det_reverse_reply'. Deprecated: the message will be removed in the future versions
func (*NatDetReverseReply) GetCrcString ¶
func (*NatDetReverseReply) GetCrcString() string
func (*NatDetReverseReply) GetMessageName ¶
func (*NatDetReverseReply) GetMessageName() string
func (*NatDetReverseReply) GetMessageType ¶
func (*NatDetReverseReply) GetMessageType() api.MessageType
func (*NatDetReverseReply) Reset ¶
func (m *NatDetReverseReply) Reset()
func (*NatDetReverseReply) Size ¶
func (m *NatDetReverseReply) Size() (size int)
func (*NatDetReverseReply) Unmarshal ¶
func (m *NatDetReverseReply) Unmarshal(b []byte) error
type NatDetSessionDetails ¶
type NatDetSessionDetails struct { InPort uint16 `binapi:"u16,name=in_port" json:"in_port,omitempty"` ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"` ExtPort uint16 `binapi:"u16,name=ext_port" json:"ext_port,omitempty"` OutPort uint16 `binapi:"u16,name=out_port" json:"out_port,omitempty"` State uint8 `binapi:"u8,name=state" json:"state,omitempty"` Expire uint32 `binapi:"u32,name=expire" json:"expire,omitempty"` }
Deterministic NAT sessions reply
- in_port - inside port
- ext_addr - external host IPv4 address
- ext_port - external host port
- out_port - outside NAT port
- state - session state
- expire - session expiration timestamp
NatDetSessionDetails defines message 'nat_det_session_details'. Deprecated: the message will be removed in the future versions
func (*NatDetSessionDetails) GetCrcString ¶
func (*NatDetSessionDetails) GetCrcString() string
func (*NatDetSessionDetails) GetMessageName ¶
func (*NatDetSessionDetails) GetMessageName() string
func (*NatDetSessionDetails) GetMessageType ¶
func (*NatDetSessionDetails) GetMessageType() api.MessageType
func (*NatDetSessionDetails) Marshal ¶
func (m *NatDetSessionDetails) Marshal(b []byte) ([]byte, error)
func (*NatDetSessionDetails) Reset ¶
func (m *NatDetSessionDetails) Reset()
func (*NatDetSessionDetails) Size ¶
func (m *NatDetSessionDetails) Size() (size int)
func (*NatDetSessionDetails) Unmarshal ¶
func (m *NatDetSessionDetails) Unmarshal(b []byte) error
type NatDetSessionDump ¶
type NatDetSessionDump struct {
UserAddr ip_types.IP4Address `binapi:"ip4_address,name=user_addr" json:"user_addr,omitempty"`
}
Dump determinstic NAT sessions
- user_addr - address of an inside user whose sessions to dump
NatDetSessionDump defines message 'nat_det_session_dump'. Deprecated: the message will be removed in the future versions
func (*NatDetSessionDump) GetCrcString ¶
func (*NatDetSessionDump) GetCrcString() string
func (*NatDetSessionDump) GetMessageName ¶
func (*NatDetSessionDump) GetMessageName() string
func (*NatDetSessionDump) GetMessageType ¶
func (*NatDetSessionDump) GetMessageType() api.MessageType
func (*NatDetSessionDump) Reset ¶
func (m *NatDetSessionDump) Reset()
func (*NatDetSessionDump) Size ¶
func (m *NatDetSessionDump) Size() (size int)
func (*NatDetSessionDump) Unmarshal ¶
func (m *NatDetSessionDump) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { Det44AddDelMap(ctx context.Context, in *Det44AddDelMap) (*Det44AddDelMapReply, error) Det44CloseSessionIn(ctx context.Context, in *Det44CloseSessionIn) (*Det44CloseSessionInReply, error) Det44CloseSessionOut(ctx context.Context, in *Det44CloseSessionOut) (*Det44CloseSessionOutReply, error) Det44Forward(ctx context.Context, in *Det44Forward) (*Det44ForwardReply, error) Det44GetTimeouts(ctx context.Context, in *Det44GetTimeouts) (*Det44GetTimeoutsReply, error) Det44InterfaceAddDelFeature(ctx context.Context, in *Det44InterfaceAddDelFeature) (*Det44InterfaceAddDelFeatureReply, error) Det44InterfaceDump(ctx context.Context, in *Det44InterfaceDump) (RPCService_Det44InterfaceDumpClient, error) Det44MapDump(ctx context.Context, in *Det44MapDump) (RPCService_Det44MapDumpClient, error) Det44PluginEnableDisable(ctx context.Context, in *Det44PluginEnableDisable) (*Det44PluginEnableDisableReply, error) Det44Reverse(ctx context.Context, in *Det44Reverse) (*Det44ReverseReply, error) Det44SessionDump(ctx context.Context, in *Det44SessionDump) (RPCService_Det44SessionDumpClient, error) Det44SetTimeouts(ctx context.Context, in *Det44SetTimeouts) (*Det44SetTimeoutsReply, error) NatDetAddDelMap(ctx context.Context, in *NatDetAddDelMap) (*NatDetAddDelMapReply, error) NatDetCloseSessionIn(ctx context.Context, in *NatDetCloseSessionIn) (*NatDetCloseSessionInReply, error) NatDetCloseSessionOut(ctx context.Context, in *NatDetCloseSessionOut) (*NatDetCloseSessionOutReply, error) NatDetForward(ctx context.Context, in *NatDetForward) (*NatDetForwardReply, error) NatDetMapDump(ctx context.Context, in *NatDetMapDump) (RPCService_NatDetMapDumpClient, error) NatDetReverse(ctx context.Context, in *NatDetReverse) (*NatDetReverseReply, error) NatDetSessionDump(ctx context.Context, in *NatDetSessionDump) (RPCService_NatDetSessionDumpClient, error) }
RPCService defines RPC service det44.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_Det44InterfaceDumpClient ¶
type RPCService_Det44InterfaceDumpClient interface { Recv() (*Det44InterfaceDetails, error) api.Stream }
type RPCService_Det44MapDumpClient ¶
type RPCService_Det44MapDumpClient interface { Recv() (*Det44MapDetails, error) api.Stream }
type RPCService_Det44SessionDumpClient ¶
type RPCService_Det44SessionDumpClient interface { Recv() (*Det44SessionDetails, error) api.Stream }
type RPCService_NatDetMapDumpClient ¶
type RPCService_NatDetMapDumpClient interface { Recv() (*NatDetMapDetails, error) api.Stream }
type RPCService_NatDetSessionDumpClient ¶
type RPCService_NatDetSessionDumpClient interface { Recv() (*NatDetSessionDetails, error) api.Stream }