Documentation ¶
Overview ¶
Package ipsec is a generated VPP binary API for 'ipsec' module.
It consists of:
6 enums 2 aliases 8 types 1 union 28 messages 14 services
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type IP4Address
- type IP4Prefix
- type IP6Address
- type IP6Prefix
- type IpsecBackendDetails
- type IpsecBackendDump
- type IpsecCryptoAlg
- type IpsecIntegAlg
- type IpsecInterfaceAddDelSpd
- type IpsecInterfaceAddDelSpdReply
- type IpsecProto
- type IpsecSaDetails
- type IpsecSaDump
- type IpsecSaSetKey
- type IpsecSaSetKeyReply
- 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 IpsecTunnelIfSetKey
- type IpsecTunnelIfSetKeyReply
- type IpsecTunnelIfSetSa
- type IpsecTunnelIfSetSaReply
- type Key
- type Mprefix
- type Prefix
- type RPCService
- type RPCService_DumpIpsecBackendClient
- type RPCService_DumpIpsecSaClient
- type RPCService_DumpIpsecSpdClient
- type RPCService_DumpIpsecSpdInterfaceClient
- type RPCService_DumpIpsecSpdsClient
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "ipsec" // APIVersion is the API version of this module. APIVersion = "3.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xdd4e73c8 )
Variables ¶
var IpsecCryptoAlg_name = map[uint32]string{
0: "IPSEC_API_CRYPTO_ALG_NONE",
1: "IPSEC_API_CRYPTO_ALG_AES_CBC_128",
2: "IPSEC_API_CRYPTO_ALG_AES_CBC_192",
3: "IPSEC_API_CRYPTO_ALG_AES_CBC_256",
4: "IPSEC_API_CRYPTO_ALG_AES_CTR_128",
5: "IPSEC_API_CRYPTO_ALG_AES_CTR_192",
6: "IPSEC_API_CRYPTO_ALG_AES_CTR_256",
7: "IPSEC_API_CRYPTO_ALG_AES_GCM_128",
8: "IPSEC_API_CRYPTO_ALG_AES_GCM_192",
9: "IPSEC_API_CRYPTO_ALG_AES_GCM_256",
10: "IPSEC_API_CRYPTO_ALG_DES_CBC",
11: "IPSEC_API_CRYPTO_ALG_3DES_CBC",
}
var IpsecCryptoAlg_value = map[string]uint32{
"IPSEC_API_CRYPTO_ALG_NONE": 0,
"IPSEC_API_CRYPTO_ALG_AES_CBC_128": 1,
"IPSEC_API_CRYPTO_ALG_AES_CBC_192": 2,
"IPSEC_API_CRYPTO_ALG_AES_CBC_256": 3,
"IPSEC_API_CRYPTO_ALG_AES_CTR_128": 4,
"IPSEC_API_CRYPTO_ALG_AES_CTR_192": 5,
"IPSEC_API_CRYPTO_ALG_AES_CTR_256": 6,
"IPSEC_API_CRYPTO_ALG_AES_GCM_128": 7,
"IPSEC_API_CRYPTO_ALG_AES_GCM_192": 8,
"IPSEC_API_CRYPTO_ALG_AES_GCM_256": 9,
"IPSEC_API_CRYPTO_ALG_DES_CBC": 10,
"IPSEC_API_CRYPTO_ALG_3DES_CBC": 11,
}
var IpsecIntegAlg_name = map[uint32]string{
0: "IPSEC_API_INTEG_ALG_NONE",
1: "IPSEC_API_INTEG_ALG_MD5_96",
2: "IPSEC_API_INTEG_ALG_SHA1_96",
3: "IPSEC_API_INTEG_ALG_SHA_256_96",
4: "IPSEC_API_INTEG_ALG_SHA_256_128",
5: "IPSEC_API_INTEG_ALG_SHA_384_192",
6: "IPSEC_API_INTEG_ALG_SHA_512_256",
}
var IpsecIntegAlg_value = map[string]uint32{
"IPSEC_API_INTEG_ALG_NONE": 0,
"IPSEC_API_INTEG_ALG_MD5_96": 1,
"IPSEC_API_INTEG_ALG_SHA1_96": 2,
"IPSEC_API_INTEG_ALG_SHA_256_96": 3,
"IPSEC_API_INTEG_ALG_SHA_256_128": 4,
"IPSEC_API_INTEG_ALG_SHA_384_192": 5,
"IPSEC_API_INTEG_ALG_SHA_512_256": 6,
}
var IpsecProto_name = map[uint32]string{
1: "IPSEC_API_PROTO_ESP",
2: "IPSEC_API_PROTO_AH",
}
var IpsecProto_value = map[string]uint32{
"IPSEC_API_PROTO_ESP": 1,
"IPSEC_API_PROTO_AH": 2,
}
var IpsecSadFlags_name = map[uint32]string{
0: "IPSEC_API_SAD_FLAG_NONE",
1: "IPSEC_API_SAD_FLAG_USE_ESN",
2: "IPSEC_API_SAD_FLAG_USE_ANTI_REPLAY",
4: "IPSEC_API_SAD_FLAG_IS_TUNNEL",
8: "IPSEC_API_SAD_FLAG_IS_TUNNEL_V6",
16: "IPSEC_API_SAD_FLAG_UDP_ENCAP",
}
var IpsecSadFlags_value = map[string]uint32{
"IPSEC_API_SAD_FLAG_NONE": 0,
"IPSEC_API_SAD_FLAG_USE_ESN": 1,
"IPSEC_API_SAD_FLAG_USE_ANTI_REPLAY": 2,
"IPSEC_API_SAD_FLAG_IS_TUNNEL": 4,
"IPSEC_API_SAD_FLAG_IS_TUNNEL_V6": 8,
"IPSEC_API_SAD_FLAG_UDP_ENCAP": 16,
}
Functions ¶
Types ¶
type Address ¶
type Address struct { Af AddressFamily Un AddressUnion }
Address represents VPP binary API type 'address'.
type AddressFamily ¶
type AddressFamily uint32
AddressFamily represents VPP binary API enum 'address_family'.
const ( ADDRESS_IP4 AddressFamily = 0 ADDRESS_IP6 AddressFamily = 1 )
func (AddressFamily) String ¶
func (x AddressFamily) String() string
type AddressUnion ¶
type AddressUnion struct {
XXX_UnionData [16]byte
}
AddressUnion represents VPP binary API union 'address_union'.
func AddressUnionIP4 ¶
func AddressUnionIP4(a IP4Address) (u AddressUnion)
func AddressUnionIP6 ¶
func AddressUnionIP6(a IP6Address) (u AddressUnion)
func (*AddressUnion) GetCrcString ¶
func (*AddressUnion) GetCrcString() string
func (*AddressUnion) GetIP4 ¶
func (u *AddressUnion) GetIP4() (a IP4Address)
func (*AddressUnion) GetIP6 ¶
func (u *AddressUnion) GetIP6() (a IP6Address)
func (*AddressUnion) GetTypeName ¶
func (*AddressUnion) GetTypeName() string
func (*AddressUnion) SetIP4 ¶
func (u *AddressUnion) SetIP4(a IP4Address)
func (*AddressUnion) SetIP6 ¶
func (u *AddressUnion) SetIP6(a IP6Address)
type IP4Address ¶
type IP4Address [4]uint8
IP4Address represents VPP binary API alias 'ip4_address'.
type IP4Prefix ¶
type IP4Prefix struct { Prefix IP4Address Len uint8 }
IP4Prefix represents VPP binary API type 'ip4_prefix'.
type IP6Address ¶
type IP6Address [16]uint8
IP6Address represents VPP binary API alias 'ip6_address'.
type IP6Prefix ¶
type IP6Prefix struct { Prefix IP6Address Len uint8 }
IP6Prefix represents VPP binary API type 'ip6_prefix'.
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 uint32
IpsecCryptoAlg represents VPP binary API enum 'ipsec_crypto_alg'.
const ( IPSEC_API_CRYPTO_ALG_NONE IpsecCryptoAlg = 0 IPSEC_API_CRYPTO_ALG_AES_CBC_128 IpsecCryptoAlg = 1 IPSEC_API_CRYPTO_ALG_AES_CBC_192 IpsecCryptoAlg = 2 IPSEC_API_CRYPTO_ALG_AES_CBC_256 IpsecCryptoAlg = 3 IPSEC_API_CRYPTO_ALG_AES_CTR_128 IpsecCryptoAlg = 4 IPSEC_API_CRYPTO_ALG_AES_CTR_192 IpsecCryptoAlg = 5 IPSEC_API_CRYPTO_ALG_AES_CTR_256 IpsecCryptoAlg = 6 IPSEC_API_CRYPTO_ALG_AES_GCM_128 IpsecCryptoAlg = 7 IPSEC_API_CRYPTO_ALG_AES_GCM_192 IpsecCryptoAlg = 8 IPSEC_API_CRYPTO_ALG_AES_GCM_256 IpsecCryptoAlg = 9 IPSEC_API_CRYPTO_ALG_DES_CBC IpsecCryptoAlg = 10 IPSEC_API_CRYPTO_ALG_3DES_CBC IpsecCryptoAlg = 11 )
func (IpsecCryptoAlg) String ¶
func (x IpsecCryptoAlg) String() string
type IpsecIntegAlg ¶
type IpsecIntegAlg uint32
IpsecIntegAlg represents VPP binary API enum 'ipsec_integ_alg'.
const ( IPSEC_API_INTEG_ALG_NONE IpsecIntegAlg = 0 IPSEC_API_INTEG_ALG_MD5_96 IpsecIntegAlg = 1 IPSEC_API_INTEG_ALG_SHA1_96 IpsecIntegAlg = 2 IPSEC_API_INTEG_ALG_SHA_256_96 IpsecIntegAlg = 3 IPSEC_API_INTEG_ALG_SHA_256_128 IpsecIntegAlg = 4 IPSEC_API_INTEG_ALG_SHA_384_192 IpsecIntegAlg = 5 IPSEC_API_INTEG_ALG_SHA_512_256 IpsecIntegAlg = 6 )
func (IpsecIntegAlg) String ¶
func (x IpsecIntegAlg) String() string
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 uint32
IpsecProto represents VPP binary API enum 'ipsec_proto'.
const ( IPSEC_API_PROTO_ESP IpsecProto = 1 IPSEC_API_PROTO_AH IpsecProto = 2 )
func (IpsecProto) String ¶
func (x IpsecProto) String() string
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 IpsecSaSetKey ¶
IpsecSaSetKey represents VPP binary API message 'ipsec_sa_set_key'.
func (*IpsecSaSetKey) GetCrcString ¶
func (*IpsecSaSetKey) GetCrcString() string
func (*IpsecSaSetKey) GetMessageName ¶
func (*IpsecSaSetKey) GetMessageName() string
func (*IpsecSaSetKey) GetMessageType ¶
func (*IpsecSaSetKey) GetMessageType() api.MessageType
func (*IpsecSaSetKey) Reset ¶
func (m *IpsecSaSetKey) Reset()
type IpsecSaSetKeyReply ¶
type IpsecSaSetKeyReply struct {
Retval int32
}
IpsecSaSetKeyReply represents VPP binary API message 'ipsec_sa_set_key_reply'.
func (*IpsecSaSetKeyReply) GetCrcString ¶
func (*IpsecSaSetKeyReply) GetCrcString() string
func (*IpsecSaSetKeyReply) GetMessageName ¶
func (*IpsecSaSetKeyReply) GetMessageName() string
func (*IpsecSaSetKeyReply) GetMessageType ¶
func (*IpsecSaSetKeyReply) GetMessageType() api.MessageType
func (*IpsecSaSetKeyReply) Reset ¶
func (m *IpsecSaSetKeyReply) Reset()
type IpsecSadEntry ¶
type IpsecSadEntry struct { SadID uint32 Spi uint32 Protocol IpsecProto CryptoAlgorithm IpsecCryptoAlg CryptoKey Key IntegrityAlgorithm IpsecIntegAlg IntegrityKey Key Flags IpsecSadFlags TunnelSrc Address TunnelDst Address TxTableID uint32 }
IpsecSadEntry represents VPP binary API type 'ipsec_sad_entry'.
func (*IpsecSadEntry) GetCrcString ¶
func (*IpsecSadEntry) GetCrcString() string
func (*IpsecSadEntry) GetTypeName ¶
func (*IpsecSadEntry) GetTypeName() string
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 uint32
IpsecSadFlags represents VPP binary API enum 'ipsec_sad_flags'.
const ( IPSEC_API_SAD_FLAG_NONE IpsecSadFlags = 0 IPSEC_API_SAD_FLAG_USE_ESN IpsecSadFlags = 1 IPSEC_API_SAD_FLAG_USE_ANTI_REPLAY IpsecSadFlags = 2 IPSEC_API_SAD_FLAG_IS_TUNNEL IpsecSadFlags = 4 IPSEC_API_SAD_FLAG_IS_TUNNEL_V6 IpsecSadFlags = 8 IPSEC_API_SAD_FLAG_UDP_ENCAP IpsecSadFlags = 16 )
func (IpsecSadFlags) String ¶
func (x IpsecSadFlags) String() string
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) GetCrcString ¶
func (*IpsecSpdEntry) GetCrcString() string
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 }
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 IpsecTunnelIfSetKey ¶
type IpsecTunnelIfSetKey struct { SwIfIndex uint32 KeyType uint8 Alg uint8 KeyLen uint8 Key []byte `struc:"[128]byte"` }
IpsecTunnelIfSetKey represents VPP binary API message 'ipsec_tunnel_if_set_key'.
func (*IpsecTunnelIfSetKey) GetCrcString ¶
func (*IpsecTunnelIfSetKey) GetCrcString() string
func (*IpsecTunnelIfSetKey) GetMessageName ¶
func (*IpsecTunnelIfSetKey) GetMessageName() string
func (*IpsecTunnelIfSetKey) GetMessageType ¶
func (*IpsecTunnelIfSetKey) GetMessageType() api.MessageType
func (*IpsecTunnelIfSetKey) Reset ¶
func (m *IpsecTunnelIfSetKey) Reset()
type IpsecTunnelIfSetKeyReply ¶
type IpsecTunnelIfSetKeyReply struct {
Retval int32
}
IpsecTunnelIfSetKeyReply represents VPP binary API message 'ipsec_tunnel_if_set_key_reply'.
func (*IpsecTunnelIfSetKeyReply) GetCrcString ¶
func (*IpsecTunnelIfSetKeyReply) GetCrcString() string
func (*IpsecTunnelIfSetKeyReply) GetMessageName ¶
func (*IpsecTunnelIfSetKeyReply) GetMessageName() string
func (*IpsecTunnelIfSetKeyReply) GetMessageType ¶
func (*IpsecTunnelIfSetKeyReply) GetMessageType() api.MessageType
func (*IpsecTunnelIfSetKeyReply) Reset ¶
func (m *IpsecTunnelIfSetKeyReply) 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 Key ¶
Key represents VPP binary API type 'key'.
type Mprefix ¶
type Mprefix struct { Af AddressFamily GrpAddressLength uint16 GrpAddress AddressUnion SrcAddress AddressUnion }
Mprefix represents VPP binary API type 'mprefix'.
type Prefix ¶
Prefix represents VPP binary API type 'prefix'.
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) IpsecInterfaceAddDelSpd(ctx context.Context, in *IpsecInterfaceAddDelSpd) (*IpsecInterfaceAddDelSpdReply, error) IpsecSaSetKey(ctx context.Context, in *IpsecSaSetKey) (*IpsecSaSetKeyReply, 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) IpsecTunnelIfSetKey(ctx context.Context, in *IpsecTunnelIfSetKey) (*IpsecTunnelIfSetKeyReply, error) IpsecTunnelIfSetSa(ctx context.Context, in *IpsecTunnelIfSetSa) (*IpsecTunnelIfSetSaReply, 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)
}