ipsec

package
v2.5.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

View Source
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

View Source
var AddressFamily_name = map[uint32]string{
	0: "ADDRESS_IP4",
	1: "ADDRESS_IP6",
}
View Source
var AddressFamily_value = map[string]uint32{
	"ADDRESS_IP4": 0,
	"ADDRESS_IP6": 1,
}
View Source
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",
}
View Source
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,
}
View Source
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",
}
View Source
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,
}
View Source
var IpsecProto_name = map[uint32]string{
	1: "IPSEC_API_PROTO_ESP",
	2: "IPSEC_API_PROTO_AH",
}
View Source
var IpsecProto_value = map[string]uint32{
	"IPSEC_API_PROTO_ESP": 1,
	"IPSEC_API_PROTO_AH":  2,
}
View Source
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",
}
View Source
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,
}
View Source
var IpsecSpdAction_name = map[uint32]string{
	0: "IPSEC_API_SPD_ACTION_BYPASS",
	1: "IPSEC_API_SPD_ACTION_DISCARD",
	2: "IPSEC_API_SPD_ACTION_RESOLVE",
	3: "IPSEC_API_SPD_ACTION_PROTECT",
}
View Source
var IpsecSpdAction_value = map[string]uint32{
	"IPSEC_API_SPD_ACTION_BYPASS":  0,
	"IPSEC_API_SPD_ACTION_DISCARD": 1,
	"IPSEC_API_SPD_ACTION_RESOLVE": 2,
	"IPSEC_API_SPD_ACTION_PROTECT": 3,
}

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address struct {
	Af AddressFamily
	Un AddressUnion
}

Address represents VPP binary API type 'address'.

func (*Address) GetCrcString

func (*Address) GetCrcString() string

func (*Address) GetTypeName

func (*Address) GetTypeName() string

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'.

func (*IP4Prefix) GetCrcString

func (*IP4Prefix) GetCrcString() string

func (*IP4Prefix) GetTypeName

func (*IP4Prefix) GetTypeName() string

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'.

func (*IP6Prefix) GetCrcString

func (*IP6Prefix) GetCrcString() string

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

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

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

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

type IpsecInterfaceAddDelSpd struct {
	IsAdd     uint8
	SwIfIndex uint32
	SpdID     uint32
}

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

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

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

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

type IpsecSaSetKey

type IpsecSaSetKey struct {
	SaID         uint32
	CryptoKey    Key
	IntegrityKey Key
}

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

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

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

type IpsecSadEntryAddDelReply

type IpsecSadEntryAddDelReply struct {
	Retval    int32
	StatIndex uint32
}

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

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

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

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

type IpsecSpdAddDel struct {
	IsAdd uint8
	SpdID uint32
}

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

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

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

type IpsecSpdDump

type IpsecSpdDump struct {
	SpdID uint32
	SaID  uint32
}

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

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

type IpsecSpdEntryAddDelReply

type IpsecSpdEntryAddDelReply struct {
	Retval    int32
	StatIndex uint32
}

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

type IpsecSpdInterfaceDetails

type IpsecSpdInterfaceDetails struct {
	SpdIndex  uint32
	SwIfIndex uint32
}

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

type IpsecSpdInterfaceDump

type IpsecSpdInterfaceDump struct {
	SpdIndex      uint32
	SpdIndexValid uint8
}

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

type IpsecSpdsDetails

type IpsecSpdsDetails struct {
	SpdID     uint32
	Npolicies uint32
}

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

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

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

type IpsecTunnelIfAddDelReply

type IpsecTunnelIfAddDelReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

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

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

type IpsecTunnelIfSetSa

type IpsecTunnelIfSetSa struct {
	SwIfIndex  uint32
	SaID       uint32
	IsOutbound uint8
}

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

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

type Key

type Key struct {
	Length uint8
	Data   []byte `struc:"[128]byte"`
}

Key represents VPP binary API type 'key'.

func (*Key) GetCrcString

func (*Key) GetCrcString() string

func (*Key) GetTypeName

func (*Key) GetTypeName() string

type Mprefix

type Mprefix struct {
	Af               AddressFamily
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix'.

func (*Mprefix) GetCrcString

func (*Mprefix) GetCrcString() string

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type Prefix

type Prefix struct {
	Address       Address
	AddressLength uint8
}

Prefix represents VPP binary API type 'prefix'.

func (*Prefix) GetCrcString

func (*Prefix) GetCrcString() string

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type RPCService

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL