Documentation ¶
Overview ¶
Package ipsec is a generated VPP binary API for 'ipsec' module.
It consists of:
15 enums 6 aliases 10 types 1 union 30 messages 15 services
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- type IPDscp
- type IPEcn
- type IPProto
- type IfStatusFlags
- type IfType
- type InterfaceIndex
- type IpsecBackendDetails
- type IpsecBackendDump
- type IpsecCryptoAlg
- type IpsecIntegAlg
- type IpsecInterfaceAddDelSpd
- type IpsecInterfaceAddDelSpdReply
- type IpsecProto
- type IpsecSaDetails
- type IpsecSaDump
- type IpsecSadEntry
- type IpsecSadEntryAddDel
- type IpsecSadEntryAddDelReply
- type IpsecSadFlags
- type IpsecSelectBackend
- type IpsecSelectBackendReply
- type IpsecSpdAction
- type IpsecSpdAddDel
- type IpsecSpdAddDelReply
- type IpsecSpdDetails
- type IpsecSpdDump
- type IpsecSpdEntry
- type IpsecSpdEntryAddDel
- type IpsecSpdEntryAddDelReply
- type IpsecSpdInterfaceDetails
- type IpsecSpdInterfaceDump
- type IpsecSpdsDetails
- type IpsecSpdsDump
- type IpsecTunnelIfAddDel
- type IpsecTunnelIfAddDelReply
- type IpsecTunnelIfSetSa
- type IpsecTunnelIfSetSaReply
- type IpsecTunnelProtect
- type IpsecTunnelProtectDel
- type IpsecTunnelProtectDelReply
- type IpsecTunnelProtectDetails
- type IpsecTunnelProtectDump
- type IpsecTunnelProtectUpdate
- type IpsecTunnelProtectUpdateReply
- type Key
- type LinkDuplex
- type Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type RPCService
- type RPCService_DumpIpsecBackendClient
- type RPCService_DumpIpsecSaClient
- type RPCService_DumpIpsecSpdClient
- type RPCService_DumpIpsecSpdInterfaceClient
- type RPCService_DumpIpsecSpdsClient
- type RPCService_DumpIpsecTunnelProtectClient
- type RxMode
- type SubIfFlags
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "ipsec" // VersionCrc is the CRC of this module. VersionCrc = 0x5a59fef9 )
Variables ¶
Functions ¶
Types ¶
type AddressFamily ¶
type AddressFamily = ip_types.AddressFamily
type AddressUnion ¶
type AddressUnion = ip_types.AddressUnion
type AddressWithPrefix ¶
type AddressWithPrefix = ip_types.AddressWithPrefix
type IP4Address ¶
type IP4Address = ip_types.IP4Address
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix
type IP6Address ¶
type IP6Address = ip_types.IP6Address
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix
type IfStatusFlags ¶
type IfStatusFlags = interface_types.IfStatusFlags
type IfType ¶
type IfType = interface_types.IfType
type InterfaceIndex ¶
type InterfaceIndex = interface_types.InterfaceIndex
type IpsecBackendDetails ¶
type IpsecBackendDetails struct { Name []byte `struc:"[128]byte"` Protocol IpsecProto Index uint8 Active uint8 }
IpsecBackendDetails represents VPP binary API message 'ipsec_backend_details'.
func (*IpsecBackendDetails) GetCrcString ¶
func (*IpsecBackendDetails) GetCrcString() string
func (*IpsecBackendDetails) GetMessageName ¶
func (*IpsecBackendDetails) GetMessageName() string
func (*IpsecBackendDetails) GetMessageType ¶
func (*IpsecBackendDetails) GetMessageType() api.MessageType
func (*IpsecBackendDetails) Reset ¶
func (m *IpsecBackendDetails) Reset()
type IpsecBackendDump ¶
type IpsecBackendDump struct{}
IpsecBackendDump represents VPP binary API message 'ipsec_backend_dump'.
func (*IpsecBackendDump) GetCrcString ¶
func (*IpsecBackendDump) GetCrcString() string
func (*IpsecBackendDump) GetMessageName ¶
func (*IpsecBackendDump) GetMessageName() string
func (*IpsecBackendDump) GetMessageType ¶
func (*IpsecBackendDump) GetMessageType() api.MessageType
func (*IpsecBackendDump) Reset ¶
func (m *IpsecBackendDump) Reset()
type IpsecCryptoAlg ¶
type IpsecCryptoAlg = ipsec_types.IpsecCryptoAlg
type IpsecIntegAlg ¶
type IpsecIntegAlg = ipsec_types.IpsecIntegAlg
type IpsecInterfaceAddDelSpd ¶
IpsecInterfaceAddDelSpd represents VPP binary API message 'ipsec_interface_add_del_spd'.
func (*IpsecInterfaceAddDelSpd) GetCrcString ¶
func (*IpsecInterfaceAddDelSpd) GetCrcString() string
func (*IpsecInterfaceAddDelSpd) GetMessageName ¶
func (*IpsecInterfaceAddDelSpd) GetMessageName() string
func (*IpsecInterfaceAddDelSpd) GetMessageType ¶
func (*IpsecInterfaceAddDelSpd) GetMessageType() api.MessageType
func (*IpsecInterfaceAddDelSpd) Reset ¶
func (m *IpsecInterfaceAddDelSpd) Reset()
type IpsecInterfaceAddDelSpdReply ¶
type IpsecInterfaceAddDelSpdReply struct {
Retval int32
}
IpsecInterfaceAddDelSpdReply represents VPP binary API message 'ipsec_interface_add_del_spd_reply'.
func (*IpsecInterfaceAddDelSpdReply) GetCrcString ¶
func (*IpsecInterfaceAddDelSpdReply) GetCrcString() string
func (*IpsecInterfaceAddDelSpdReply) GetMessageName ¶
func (*IpsecInterfaceAddDelSpdReply) GetMessageName() string
func (*IpsecInterfaceAddDelSpdReply) GetMessageType ¶
func (*IpsecInterfaceAddDelSpdReply) GetMessageType() api.MessageType
func (*IpsecInterfaceAddDelSpdReply) Reset ¶
func (m *IpsecInterfaceAddDelSpdReply) Reset()
type IpsecProto ¶
type IpsecProto = ipsec_types.IpsecProto
type IpsecSaDetails ¶
type IpsecSaDetails struct { Entry IpsecSadEntry SwIfIndex uint32 Salt uint32 SeqOutbound uint64 LastSeqInbound uint64 ReplayWindow uint64 TotalDataSize uint64 }
IpsecSaDetails represents VPP binary API message 'ipsec_sa_details'.
func (*IpsecSaDetails) GetCrcString ¶
func (*IpsecSaDetails) GetCrcString() string
func (*IpsecSaDetails) GetMessageName ¶
func (*IpsecSaDetails) GetMessageName() string
func (*IpsecSaDetails) GetMessageType ¶
func (*IpsecSaDetails) GetMessageType() api.MessageType
func (*IpsecSaDetails) Reset ¶
func (m *IpsecSaDetails) Reset()
type IpsecSaDump ¶
type IpsecSaDump struct {
SaID uint32
}
IpsecSaDump represents VPP binary API message 'ipsec_sa_dump'.
func (*IpsecSaDump) GetCrcString ¶
func (*IpsecSaDump) GetCrcString() string
func (*IpsecSaDump) GetMessageName ¶
func (*IpsecSaDump) GetMessageName() string
func (*IpsecSaDump) GetMessageType ¶
func (*IpsecSaDump) GetMessageType() api.MessageType
func (*IpsecSaDump) Reset ¶
func (m *IpsecSaDump) Reset()
type IpsecSadEntry ¶
type IpsecSadEntry = ipsec_types.IpsecSadEntry
type IpsecSadEntryAddDel ¶
type IpsecSadEntryAddDel struct { IsAdd uint8 Entry IpsecSadEntry }
IpsecSadEntryAddDel represents VPP binary API message 'ipsec_sad_entry_add_del'.
func (*IpsecSadEntryAddDel) GetCrcString ¶
func (*IpsecSadEntryAddDel) GetCrcString() string
func (*IpsecSadEntryAddDel) GetMessageName ¶
func (*IpsecSadEntryAddDel) GetMessageName() string
func (*IpsecSadEntryAddDel) GetMessageType ¶
func (*IpsecSadEntryAddDel) GetMessageType() api.MessageType
func (*IpsecSadEntryAddDel) Reset ¶
func (m *IpsecSadEntryAddDel) Reset()
type IpsecSadEntryAddDelReply ¶
IpsecSadEntryAddDelReply represents VPP binary API message 'ipsec_sad_entry_add_del_reply'.
func (*IpsecSadEntryAddDelReply) GetCrcString ¶
func (*IpsecSadEntryAddDelReply) GetCrcString() string
func (*IpsecSadEntryAddDelReply) GetMessageName ¶
func (*IpsecSadEntryAddDelReply) GetMessageName() string
func (*IpsecSadEntryAddDelReply) GetMessageType ¶
func (*IpsecSadEntryAddDelReply) GetMessageType() api.MessageType
func (*IpsecSadEntryAddDelReply) Reset ¶
func (m *IpsecSadEntryAddDelReply) Reset()
type IpsecSadFlags ¶
type IpsecSadFlags = ipsec_types.IpsecSadFlags
type IpsecSelectBackend ¶
type IpsecSelectBackend struct { Protocol IpsecProto Index uint8 }
IpsecSelectBackend represents VPP binary API message 'ipsec_select_backend'.
func (*IpsecSelectBackend) GetCrcString ¶
func (*IpsecSelectBackend) GetCrcString() string
func (*IpsecSelectBackend) GetMessageName ¶
func (*IpsecSelectBackend) GetMessageName() string
func (*IpsecSelectBackend) GetMessageType ¶
func (*IpsecSelectBackend) GetMessageType() api.MessageType
func (*IpsecSelectBackend) Reset ¶
func (m *IpsecSelectBackend) Reset()
type IpsecSelectBackendReply ¶
type IpsecSelectBackendReply struct {
Retval int32
}
IpsecSelectBackendReply represents VPP binary API message 'ipsec_select_backend_reply'.
func (*IpsecSelectBackendReply) GetCrcString ¶
func (*IpsecSelectBackendReply) GetCrcString() string
func (*IpsecSelectBackendReply) GetMessageName ¶
func (*IpsecSelectBackendReply) GetMessageName() string
func (*IpsecSelectBackendReply) GetMessageType ¶
func (*IpsecSelectBackendReply) GetMessageType() api.MessageType
func (*IpsecSelectBackendReply) Reset ¶
func (m *IpsecSelectBackendReply) Reset()
type IpsecSpdAction ¶
type IpsecSpdAction uint32
IpsecSpdAction represents VPP binary API enum 'ipsec_spd_action'.
const ( IPSEC_API_SPD_ACTION_BYPASS IpsecSpdAction = 0 IPSEC_API_SPD_ACTION_DISCARD IpsecSpdAction = 1 IPSEC_API_SPD_ACTION_RESOLVE IpsecSpdAction = 2 IPSEC_API_SPD_ACTION_PROTECT IpsecSpdAction = 3 )
func (IpsecSpdAction) String ¶
func (x IpsecSpdAction) String() string
type IpsecSpdAddDel ¶
IpsecSpdAddDel represents VPP binary API message 'ipsec_spd_add_del'.
func (*IpsecSpdAddDel) GetCrcString ¶
func (*IpsecSpdAddDel) GetCrcString() string
func (*IpsecSpdAddDel) GetMessageName ¶
func (*IpsecSpdAddDel) GetMessageName() string
func (*IpsecSpdAddDel) GetMessageType ¶
func (*IpsecSpdAddDel) GetMessageType() api.MessageType
func (*IpsecSpdAddDel) Reset ¶
func (m *IpsecSpdAddDel) Reset()
type IpsecSpdAddDelReply ¶
type IpsecSpdAddDelReply struct {
Retval int32
}
IpsecSpdAddDelReply represents VPP binary API message 'ipsec_spd_add_del_reply'.
func (*IpsecSpdAddDelReply) GetCrcString ¶
func (*IpsecSpdAddDelReply) GetCrcString() string
func (*IpsecSpdAddDelReply) GetMessageName ¶
func (*IpsecSpdAddDelReply) GetMessageName() string
func (*IpsecSpdAddDelReply) GetMessageType ¶
func (*IpsecSpdAddDelReply) GetMessageType() api.MessageType
func (*IpsecSpdAddDelReply) Reset ¶
func (m *IpsecSpdAddDelReply) Reset()
type IpsecSpdDetails ¶
type IpsecSpdDetails struct {
Entry IpsecSpdEntry
}
IpsecSpdDetails represents VPP binary API message 'ipsec_spd_details'.
func (*IpsecSpdDetails) GetCrcString ¶
func (*IpsecSpdDetails) GetCrcString() string
func (*IpsecSpdDetails) GetMessageName ¶
func (*IpsecSpdDetails) GetMessageName() string
func (*IpsecSpdDetails) GetMessageType ¶
func (*IpsecSpdDetails) GetMessageType() api.MessageType
func (*IpsecSpdDetails) Reset ¶
func (m *IpsecSpdDetails) Reset()
type IpsecSpdDump ¶
IpsecSpdDump represents VPP binary API message 'ipsec_spd_dump'.
func (*IpsecSpdDump) GetCrcString ¶
func (*IpsecSpdDump) GetCrcString() string
func (*IpsecSpdDump) GetMessageName ¶
func (*IpsecSpdDump) GetMessageName() string
func (*IpsecSpdDump) GetMessageType ¶
func (*IpsecSpdDump) GetMessageType() api.MessageType
func (*IpsecSpdDump) Reset ¶
func (m *IpsecSpdDump) Reset()
type IpsecSpdEntry ¶
type IpsecSpdEntry struct { SpdID uint32 Priority int32 IsOutbound uint8 SaID uint32 Policy IpsecSpdAction Protocol uint8 RemoteAddressStart Address RemoteAddressStop Address LocalAddressStart Address LocalAddressStop Address RemotePortStart uint16 RemotePortStop uint16 LocalPortStart uint16 LocalPortStop uint16 }
IpsecSpdEntry represents VPP binary API type 'ipsec_spd_entry'.
func (*IpsecSpdEntry) GetTypeName ¶
func (*IpsecSpdEntry) GetTypeName() string
type IpsecSpdEntryAddDel ¶
type IpsecSpdEntryAddDel struct { IsAdd uint8 Entry IpsecSpdEntry }
IpsecSpdEntryAddDel represents VPP binary API message 'ipsec_spd_entry_add_del'.
func (*IpsecSpdEntryAddDel) GetCrcString ¶
func (*IpsecSpdEntryAddDel) GetCrcString() string
func (*IpsecSpdEntryAddDel) GetMessageName ¶
func (*IpsecSpdEntryAddDel) GetMessageName() string
func (*IpsecSpdEntryAddDel) GetMessageType ¶
func (*IpsecSpdEntryAddDel) GetMessageType() api.MessageType
func (*IpsecSpdEntryAddDel) Reset ¶
func (m *IpsecSpdEntryAddDel) Reset()
type IpsecSpdEntryAddDelReply ¶
IpsecSpdEntryAddDelReply represents VPP binary API message 'ipsec_spd_entry_add_del_reply'.
func (*IpsecSpdEntryAddDelReply) GetCrcString ¶
func (*IpsecSpdEntryAddDelReply) GetCrcString() string
func (*IpsecSpdEntryAddDelReply) GetMessageName ¶
func (*IpsecSpdEntryAddDelReply) GetMessageName() string
func (*IpsecSpdEntryAddDelReply) GetMessageType ¶
func (*IpsecSpdEntryAddDelReply) GetMessageType() api.MessageType
func (*IpsecSpdEntryAddDelReply) Reset ¶
func (m *IpsecSpdEntryAddDelReply) Reset()
type IpsecSpdInterfaceDetails ¶
IpsecSpdInterfaceDetails represents VPP binary API message 'ipsec_spd_interface_details'.
func (*IpsecSpdInterfaceDetails) GetCrcString ¶
func (*IpsecSpdInterfaceDetails) GetCrcString() string
func (*IpsecSpdInterfaceDetails) GetMessageName ¶
func (*IpsecSpdInterfaceDetails) GetMessageName() string
func (*IpsecSpdInterfaceDetails) GetMessageType ¶
func (*IpsecSpdInterfaceDetails) GetMessageType() api.MessageType
func (*IpsecSpdInterfaceDetails) Reset ¶
func (m *IpsecSpdInterfaceDetails) Reset()
type IpsecSpdInterfaceDump ¶
IpsecSpdInterfaceDump represents VPP binary API message 'ipsec_spd_interface_dump'.
func (*IpsecSpdInterfaceDump) GetCrcString ¶
func (*IpsecSpdInterfaceDump) GetCrcString() string
func (*IpsecSpdInterfaceDump) GetMessageName ¶
func (*IpsecSpdInterfaceDump) GetMessageName() string
func (*IpsecSpdInterfaceDump) GetMessageType ¶
func (*IpsecSpdInterfaceDump) GetMessageType() api.MessageType
func (*IpsecSpdInterfaceDump) Reset ¶
func (m *IpsecSpdInterfaceDump) Reset()
type IpsecSpdsDetails ¶
IpsecSpdsDetails represents VPP binary API message 'ipsec_spds_details'.
func (*IpsecSpdsDetails) GetCrcString ¶
func (*IpsecSpdsDetails) GetCrcString() string
func (*IpsecSpdsDetails) GetMessageName ¶
func (*IpsecSpdsDetails) GetMessageName() string
func (*IpsecSpdsDetails) GetMessageType ¶
func (*IpsecSpdsDetails) GetMessageType() api.MessageType
func (*IpsecSpdsDetails) Reset ¶
func (m *IpsecSpdsDetails) Reset()
type IpsecSpdsDump ¶
type IpsecSpdsDump struct{}
IpsecSpdsDump represents VPP binary API message 'ipsec_spds_dump'.
func (*IpsecSpdsDump) GetCrcString ¶
func (*IpsecSpdsDump) GetCrcString() string
func (*IpsecSpdsDump) GetMessageName ¶
func (*IpsecSpdsDump) GetMessageName() string
func (*IpsecSpdsDump) GetMessageType ¶
func (*IpsecSpdsDump) GetMessageType() api.MessageType
func (*IpsecSpdsDump) Reset ¶
func (m *IpsecSpdsDump) Reset()
type IpsecTunnelIfAddDel ¶
type IpsecTunnelIfAddDel struct { IsAdd uint8 Esn uint8 AntiReplay uint8 LocalIP Address RemoteIP Address LocalSpi uint32 RemoteSpi uint32 CryptoAlg uint8 LocalCryptoKeyLen uint8 LocalCryptoKey []byte `struc:"[128]byte"` RemoteCryptoKeyLen uint8 RemoteCryptoKey []byte `struc:"[128]byte"` IntegAlg uint8 LocalIntegKeyLen uint8 LocalIntegKey []byte `struc:"[128]byte"` RemoteIntegKeyLen uint8 RemoteIntegKey []byte `struc:"[128]byte"` Renumber uint8 ShowInstance uint32 UDPEncap uint8 TxTableID uint32 Salt uint32 }
IpsecTunnelIfAddDel represents VPP binary API message 'ipsec_tunnel_if_add_del'.
func (*IpsecTunnelIfAddDel) GetCrcString ¶
func (*IpsecTunnelIfAddDel) GetCrcString() string
func (*IpsecTunnelIfAddDel) GetMessageName ¶
func (*IpsecTunnelIfAddDel) GetMessageName() string
func (*IpsecTunnelIfAddDel) GetMessageType ¶
func (*IpsecTunnelIfAddDel) GetMessageType() api.MessageType
func (*IpsecTunnelIfAddDel) Reset ¶
func (m *IpsecTunnelIfAddDel) Reset()
type IpsecTunnelIfAddDelReply ¶
IpsecTunnelIfAddDelReply represents VPP binary API message 'ipsec_tunnel_if_add_del_reply'.
func (*IpsecTunnelIfAddDelReply) GetCrcString ¶
func (*IpsecTunnelIfAddDelReply) GetCrcString() string
func (*IpsecTunnelIfAddDelReply) GetMessageName ¶
func (*IpsecTunnelIfAddDelReply) GetMessageName() string
func (*IpsecTunnelIfAddDelReply) GetMessageType ¶
func (*IpsecTunnelIfAddDelReply) GetMessageType() api.MessageType
func (*IpsecTunnelIfAddDelReply) Reset ¶
func (m *IpsecTunnelIfAddDelReply) Reset()
type IpsecTunnelIfSetSa ¶
IpsecTunnelIfSetSa represents VPP binary API message 'ipsec_tunnel_if_set_sa'.
func (*IpsecTunnelIfSetSa) GetCrcString ¶
func (*IpsecTunnelIfSetSa) GetCrcString() string
func (*IpsecTunnelIfSetSa) GetMessageName ¶
func (*IpsecTunnelIfSetSa) GetMessageName() string
func (*IpsecTunnelIfSetSa) GetMessageType ¶
func (*IpsecTunnelIfSetSa) GetMessageType() api.MessageType
func (*IpsecTunnelIfSetSa) Reset ¶
func (m *IpsecTunnelIfSetSa) Reset()
type IpsecTunnelIfSetSaReply ¶
type IpsecTunnelIfSetSaReply struct {
Retval int32
}
IpsecTunnelIfSetSaReply represents VPP binary API message 'ipsec_tunnel_if_set_sa_reply'.
func (*IpsecTunnelIfSetSaReply) GetCrcString ¶
func (*IpsecTunnelIfSetSaReply) GetCrcString() string
func (*IpsecTunnelIfSetSaReply) GetMessageName ¶
func (*IpsecTunnelIfSetSaReply) GetMessageName() string
func (*IpsecTunnelIfSetSaReply) GetMessageType ¶
func (*IpsecTunnelIfSetSaReply) GetMessageType() api.MessageType
func (*IpsecTunnelIfSetSaReply) Reset ¶
func (m *IpsecTunnelIfSetSaReply) Reset()
type IpsecTunnelProtect ¶
type IpsecTunnelProtect struct { SwIfIndex InterfaceIndex SaOut uint32 NSaIn uint8 `struc:"sizeof=SaIn"` SaIn []uint32 }
IpsecTunnelProtect represents VPP binary API type 'ipsec_tunnel_protect'.
func (*IpsecTunnelProtect) GetTypeName ¶
func (*IpsecTunnelProtect) GetTypeName() string
type IpsecTunnelProtectDel ¶
type IpsecTunnelProtectDel struct {
SwIfIndex InterfaceIndex
}
IpsecTunnelProtectDel represents VPP binary API message 'ipsec_tunnel_protect_del'.
func (*IpsecTunnelProtectDel) GetCrcString ¶
func (*IpsecTunnelProtectDel) GetCrcString() string
func (*IpsecTunnelProtectDel) GetMessageName ¶
func (*IpsecTunnelProtectDel) GetMessageName() string
func (*IpsecTunnelProtectDel) GetMessageType ¶
func (*IpsecTunnelProtectDel) GetMessageType() api.MessageType
func (*IpsecTunnelProtectDel) Reset ¶
func (m *IpsecTunnelProtectDel) Reset()
type IpsecTunnelProtectDelReply ¶
type IpsecTunnelProtectDelReply struct {
Retval int32
}
IpsecTunnelProtectDelReply represents VPP binary API message 'ipsec_tunnel_protect_del_reply'.
func (*IpsecTunnelProtectDelReply) GetCrcString ¶
func (*IpsecTunnelProtectDelReply) GetCrcString() string
func (*IpsecTunnelProtectDelReply) GetMessageName ¶
func (*IpsecTunnelProtectDelReply) GetMessageName() string
func (*IpsecTunnelProtectDelReply) GetMessageType ¶
func (*IpsecTunnelProtectDelReply) GetMessageType() api.MessageType
func (*IpsecTunnelProtectDelReply) Reset ¶
func (m *IpsecTunnelProtectDelReply) Reset()
type IpsecTunnelProtectDetails ¶
type IpsecTunnelProtectDetails struct {
Tun IpsecTunnelProtect
}
IpsecTunnelProtectDetails represents VPP binary API message 'ipsec_tunnel_protect_details'.
func (*IpsecTunnelProtectDetails) GetCrcString ¶
func (*IpsecTunnelProtectDetails) GetCrcString() string
func (*IpsecTunnelProtectDetails) GetMessageName ¶
func (*IpsecTunnelProtectDetails) GetMessageName() string
func (*IpsecTunnelProtectDetails) GetMessageType ¶
func (*IpsecTunnelProtectDetails) GetMessageType() api.MessageType
func (*IpsecTunnelProtectDetails) Reset ¶
func (m *IpsecTunnelProtectDetails) Reset()
type IpsecTunnelProtectDump ¶
type IpsecTunnelProtectDump struct {
SwIfIndex InterfaceIndex
}
IpsecTunnelProtectDump represents VPP binary API message 'ipsec_tunnel_protect_dump'.
func (*IpsecTunnelProtectDump) GetCrcString ¶
func (*IpsecTunnelProtectDump) GetCrcString() string
func (*IpsecTunnelProtectDump) GetMessageName ¶
func (*IpsecTunnelProtectDump) GetMessageName() string
func (*IpsecTunnelProtectDump) GetMessageType ¶
func (*IpsecTunnelProtectDump) GetMessageType() api.MessageType
func (*IpsecTunnelProtectDump) Reset ¶
func (m *IpsecTunnelProtectDump) Reset()
type IpsecTunnelProtectUpdate ¶
type IpsecTunnelProtectUpdate struct {
Tunnel IpsecTunnelProtect
}
IpsecTunnelProtectUpdate represents VPP binary API message 'ipsec_tunnel_protect_update'.
func (*IpsecTunnelProtectUpdate) GetCrcString ¶
func (*IpsecTunnelProtectUpdate) GetCrcString() string
func (*IpsecTunnelProtectUpdate) GetMessageName ¶
func (*IpsecTunnelProtectUpdate) GetMessageName() string
func (*IpsecTunnelProtectUpdate) GetMessageType ¶
func (*IpsecTunnelProtectUpdate) GetMessageType() api.MessageType
func (*IpsecTunnelProtectUpdate) Reset ¶
func (m *IpsecTunnelProtectUpdate) Reset()
type IpsecTunnelProtectUpdateReply ¶
type IpsecTunnelProtectUpdateReply struct {
Retval int32
}
IpsecTunnelProtectUpdateReply represents VPP binary API message 'ipsec_tunnel_protect_update_reply'.
func (*IpsecTunnelProtectUpdateReply) GetCrcString ¶
func (*IpsecTunnelProtectUpdateReply) GetCrcString() string
func (*IpsecTunnelProtectUpdateReply) GetMessageName ¶
func (*IpsecTunnelProtectUpdateReply) GetMessageName() string
func (*IpsecTunnelProtectUpdateReply) GetMessageType ¶
func (*IpsecTunnelProtectUpdateReply) GetMessageType() api.MessageType
func (*IpsecTunnelProtectUpdateReply) Reset ¶
func (m *IpsecTunnelProtectUpdateReply) Reset()
type Key ¶
type Key = ipsec_types.Key
type LinkDuplex ¶
type LinkDuplex = interface_types.LinkDuplex
type MtuProto ¶
type MtuProto = interface_types.MtuProto
type PrefixMatcher ¶
type PrefixMatcher = ip_types.PrefixMatcher
type RPCService ¶
type RPCService interface { DumpIpsecBackend(ctx context.Context, in *IpsecBackendDump) (RPCService_DumpIpsecBackendClient, error) DumpIpsecSa(ctx context.Context, in *IpsecSaDump) (RPCService_DumpIpsecSaClient, error) DumpIpsecSpd(ctx context.Context, in *IpsecSpdDump) (RPCService_DumpIpsecSpdClient, error) DumpIpsecSpdInterface(ctx context.Context, in *IpsecSpdInterfaceDump) (RPCService_DumpIpsecSpdInterfaceClient, error) DumpIpsecSpds(ctx context.Context, in *IpsecSpdsDump) (RPCService_DumpIpsecSpdsClient, error) DumpIpsecTunnelProtect(ctx context.Context, in *IpsecTunnelProtectDump) (RPCService_DumpIpsecTunnelProtectClient, error) IpsecInterfaceAddDelSpd(ctx context.Context, in *IpsecInterfaceAddDelSpd) (*IpsecInterfaceAddDelSpdReply, error) IpsecSadEntryAddDel(ctx context.Context, in *IpsecSadEntryAddDel) (*IpsecSadEntryAddDelReply, error) IpsecSelectBackend(ctx context.Context, in *IpsecSelectBackend) (*IpsecSelectBackendReply, error) IpsecSpdAddDel(ctx context.Context, in *IpsecSpdAddDel) (*IpsecSpdAddDelReply, error) IpsecSpdEntryAddDel(ctx context.Context, in *IpsecSpdEntryAddDel) (*IpsecSpdEntryAddDelReply, error) IpsecTunnelIfAddDel(ctx context.Context, in *IpsecTunnelIfAddDel) (*IpsecTunnelIfAddDelReply, error) IpsecTunnelIfSetSa(ctx context.Context, in *IpsecTunnelIfSetSa) (*IpsecTunnelIfSetSaReply, error) IpsecTunnelProtectDel(ctx context.Context, in *IpsecTunnelProtectDel) (*IpsecTunnelProtectDelReply, error) IpsecTunnelProtectUpdate(ctx context.Context, in *IpsecTunnelProtectUpdate) (*IpsecTunnelProtectUpdateReply, error) }
RPCService represents RPC service API for ipsec module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpIpsecBackendClient ¶
type RPCService_DumpIpsecBackendClient interface {
Recv() (*IpsecBackendDetails, error)
}
type RPCService_DumpIpsecSaClient ¶
type RPCService_DumpIpsecSaClient interface {
Recv() (*IpsecSaDetails, error)
}
type RPCService_DumpIpsecSpdClient ¶
type RPCService_DumpIpsecSpdClient interface {
Recv() (*IpsecSpdDetails, error)
}
type RPCService_DumpIpsecSpdInterfaceClient ¶
type RPCService_DumpIpsecSpdInterfaceClient interface {
Recv() (*IpsecSpdInterfaceDetails, error)
}
type RPCService_DumpIpsecSpdsClient ¶
type RPCService_DumpIpsecSpdsClient interface {
Recv() (*IpsecSpdsDetails, error)
}
type RPCService_DumpIpsecTunnelProtectClient ¶
type RPCService_DumpIpsecTunnelProtectClient interface {
Recv() (*IpsecTunnelProtectDetails, error)
}
type RxMode ¶
type RxMode = interface_types.RxMode
type SubIfFlags ¶
type SubIfFlags = interface_types.SubIfFlags