ipsec

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package ipsec is a generated from VPP binary API module 'ipsec'.

 It contains following objects:
	 27 services
	 54 messages

Index

Constants

This section is empty.

Variables

View Source
var Messages = []api.Message{
	(*Ikev2InitiateDelChildSa)(nil),
	(*Ikev2InitiateDelChildSaReply)(nil),
	(*Ikev2InitiateDelIkeSa)(nil),
	(*Ikev2InitiateDelIkeSaReply)(nil),
	(*Ikev2InitiateRekeyChildSa)(nil),
	(*Ikev2InitiateRekeyChildSaReply)(nil),
	(*Ikev2InitiateSaInit)(nil),
	(*Ikev2InitiateSaInitReply)(nil),
	(*Ikev2ProfileAddDel)(nil),
	(*Ikev2ProfileAddDelReply)(nil),
	(*Ikev2ProfileSetAuth)(nil),
	(*Ikev2ProfileSetAuthReply)(nil),
	(*Ikev2ProfileSetID)(nil),
	(*Ikev2ProfileSetIDReply)(nil),
	(*Ikev2ProfileSetTs)(nil),
	(*Ikev2ProfileSetTsReply)(nil),
	(*Ikev2SetEspTransforms)(nil),
	(*Ikev2SetEspTransformsReply)(nil),
	(*Ikev2SetIkeTransforms)(nil),
	(*Ikev2SetIkeTransformsReply)(nil),
	(*Ikev2SetLocalKey)(nil),
	(*Ikev2SetLocalKeyReply)(nil),
	(*Ikev2SetResponder)(nil),
	(*Ikev2SetResponderReply)(nil),
	(*Ikev2SetSaLifetime)(nil),
	(*Ikev2SetSaLifetimeReply)(nil),
	(*IpsecBackendDetails)(nil),
	(*IpsecBackendDump)(nil),
	(*IpsecInterfaceAddDelSpd)(nil),
	(*IpsecInterfaceAddDelSpdReply)(nil),
	(*IpsecSaDetails)(nil),
	(*IpsecSaDump)(nil),
	(*IpsecSaSetKey)(nil),
	(*IpsecSaSetKeyReply)(nil),
	(*IpsecSadAddDelEntry)(nil),
	(*IpsecSadAddDelEntryReply)(nil),
	(*IpsecSelectBackend)(nil),
	(*IpsecSelectBackendReply)(nil),
	(*IpsecSpdAddDel)(nil),
	(*IpsecSpdAddDelEntry)(nil),
	(*IpsecSpdAddDelEntryReply)(nil),
	(*IpsecSpdAddDelReply)(nil),
	(*IpsecSpdDetails)(nil),
	(*IpsecSpdDump)(nil),
	(*IpsecSpdInterfaceDetails)(nil),
	(*IpsecSpdInterfaceDump)(nil),
	(*IpsecSpdsDetails)(nil),
	(*IpsecSpdsDump)(nil),
	(*IpsecTunnelIfAddDel)(nil),
	(*IpsecTunnelIfAddDelReply)(nil),
	(*IpsecTunnelIfSetKey)(nil),
	(*IpsecTunnelIfSetKeyReply)(nil),
	(*IpsecTunnelIfSetSa)(nil),
	(*IpsecTunnelIfSetSaReply)(nil),
}

Functions

This section is empty.

Types

type Ikev2InitiateDelChildSa

type Ikev2InitiateDelChildSa struct {
	Ispi uint32
}

Ikev2InitiateDelChildSa represents VPP binary API message 'ikev2_initiate_del_child_sa':

func (*Ikev2InitiateDelChildSa) GetCrcString

func (*Ikev2InitiateDelChildSa) GetCrcString() string

func (*Ikev2InitiateDelChildSa) GetMessageName

func (*Ikev2InitiateDelChildSa) GetMessageName() string

func (*Ikev2InitiateDelChildSa) GetMessageType

func (*Ikev2InitiateDelChildSa) GetMessageType() api.MessageType

type Ikev2InitiateDelChildSaReply

type Ikev2InitiateDelChildSaReply struct {
	Retval int32
}

Ikev2InitiateDelChildSaReply represents VPP binary API message 'ikev2_initiate_del_child_sa_reply':

func (*Ikev2InitiateDelChildSaReply) GetCrcString

func (*Ikev2InitiateDelChildSaReply) GetCrcString() string

func (*Ikev2InitiateDelChildSaReply) GetMessageName

func (*Ikev2InitiateDelChildSaReply) GetMessageName() string

func (*Ikev2InitiateDelChildSaReply) GetMessageType

func (*Ikev2InitiateDelChildSaReply) GetMessageType() api.MessageType

type Ikev2InitiateDelIkeSa

type Ikev2InitiateDelIkeSa struct {
	Ispi uint64
}

Ikev2InitiateDelIkeSa represents VPP binary API message 'ikev2_initiate_del_ike_sa':

func (*Ikev2InitiateDelIkeSa) GetCrcString

func (*Ikev2InitiateDelIkeSa) GetCrcString() string

func (*Ikev2InitiateDelIkeSa) GetMessageName

func (*Ikev2InitiateDelIkeSa) GetMessageName() string

func (*Ikev2InitiateDelIkeSa) GetMessageType

func (*Ikev2InitiateDelIkeSa) GetMessageType() api.MessageType

type Ikev2InitiateDelIkeSaReply

type Ikev2InitiateDelIkeSaReply struct {
	Retval int32
}

Ikev2InitiateDelIkeSaReply represents VPP binary API message 'ikev2_initiate_del_ike_sa_reply':

func (*Ikev2InitiateDelIkeSaReply) GetCrcString

func (*Ikev2InitiateDelIkeSaReply) GetCrcString() string

func (*Ikev2InitiateDelIkeSaReply) GetMessageName

func (*Ikev2InitiateDelIkeSaReply) GetMessageName() string

func (*Ikev2InitiateDelIkeSaReply) GetMessageType

func (*Ikev2InitiateDelIkeSaReply) GetMessageType() api.MessageType

type Ikev2InitiateRekeyChildSa

type Ikev2InitiateRekeyChildSa struct {
	Ispi uint32
}

Ikev2InitiateRekeyChildSa represents VPP binary API message 'ikev2_initiate_rekey_child_sa':

func (*Ikev2InitiateRekeyChildSa) GetCrcString

func (*Ikev2InitiateRekeyChildSa) GetCrcString() string

func (*Ikev2InitiateRekeyChildSa) GetMessageName

func (*Ikev2InitiateRekeyChildSa) GetMessageName() string

func (*Ikev2InitiateRekeyChildSa) GetMessageType

func (*Ikev2InitiateRekeyChildSa) GetMessageType() api.MessageType

type Ikev2InitiateRekeyChildSaReply

type Ikev2InitiateRekeyChildSaReply struct {
	Retval int32
}

Ikev2InitiateRekeyChildSaReply represents VPP binary API message 'ikev2_initiate_rekey_child_sa_reply':

func (*Ikev2InitiateRekeyChildSaReply) GetCrcString

func (*Ikev2InitiateRekeyChildSaReply) GetCrcString() string

func (*Ikev2InitiateRekeyChildSaReply) GetMessageName

func (*Ikev2InitiateRekeyChildSaReply) GetMessageName() string

func (*Ikev2InitiateRekeyChildSaReply) GetMessageType

type Ikev2InitiateSaInit

type Ikev2InitiateSaInit struct {
	Name []byte `struc:"[64]byte"`
}

Ikev2InitiateSaInit represents VPP binary API message 'ikev2_initiate_sa_init':

func (*Ikev2InitiateSaInit) GetCrcString

func (*Ikev2InitiateSaInit) GetCrcString() string

func (*Ikev2InitiateSaInit) GetMessageName

func (*Ikev2InitiateSaInit) GetMessageName() string

func (*Ikev2InitiateSaInit) GetMessageType

func (*Ikev2InitiateSaInit) GetMessageType() api.MessageType

type Ikev2InitiateSaInitReply

type Ikev2InitiateSaInitReply struct {
	Retval int32
}

Ikev2InitiateSaInitReply represents VPP binary API message 'ikev2_initiate_sa_init_reply':

func (*Ikev2InitiateSaInitReply) GetCrcString

func (*Ikev2InitiateSaInitReply) GetCrcString() string

func (*Ikev2InitiateSaInitReply) GetMessageName

func (*Ikev2InitiateSaInitReply) GetMessageName() string

func (*Ikev2InitiateSaInitReply) GetMessageType

func (*Ikev2InitiateSaInitReply) GetMessageType() api.MessageType

type Ikev2ProfileAddDel

type Ikev2ProfileAddDel struct {
	Name  []byte `struc:"[64]byte"`
	IsAdd uint8
}

Ikev2ProfileAddDel represents VPP binary API message 'ikev2_profile_add_del':

func (*Ikev2ProfileAddDel) GetCrcString

func (*Ikev2ProfileAddDel) GetCrcString() string

func (*Ikev2ProfileAddDel) GetMessageName

func (*Ikev2ProfileAddDel) GetMessageName() string

func (*Ikev2ProfileAddDel) GetMessageType

func (*Ikev2ProfileAddDel) GetMessageType() api.MessageType

type Ikev2ProfileAddDelReply

type Ikev2ProfileAddDelReply struct {
	Retval int32
}

Ikev2ProfileAddDelReply represents VPP binary API message 'ikev2_profile_add_del_reply':

func (*Ikev2ProfileAddDelReply) GetCrcString

func (*Ikev2ProfileAddDelReply) GetCrcString() string

func (*Ikev2ProfileAddDelReply) GetMessageName

func (*Ikev2ProfileAddDelReply) GetMessageName() string

func (*Ikev2ProfileAddDelReply) GetMessageType

func (*Ikev2ProfileAddDelReply) GetMessageType() api.MessageType

type Ikev2ProfileSetAuth

type Ikev2ProfileSetAuth struct {
	Name       []byte `struc:"[64]byte"`
	AuthMethod uint8
	IsHex      uint8
	DataLen    uint32 `struc:"sizeof=Data"`
	Data       []byte
}

Ikev2ProfileSetAuth represents VPP binary API message 'ikev2_profile_set_auth':

func (*Ikev2ProfileSetAuth) GetCrcString

func (*Ikev2ProfileSetAuth) GetCrcString() string

func (*Ikev2ProfileSetAuth) GetMessageName

func (*Ikev2ProfileSetAuth) GetMessageName() string

func (*Ikev2ProfileSetAuth) GetMessageType

func (*Ikev2ProfileSetAuth) GetMessageType() api.MessageType

type Ikev2ProfileSetAuthReply

type Ikev2ProfileSetAuthReply struct {
	Retval int32
}

Ikev2ProfileSetAuthReply represents VPP binary API message 'ikev2_profile_set_auth_reply':

func (*Ikev2ProfileSetAuthReply) GetCrcString

func (*Ikev2ProfileSetAuthReply) GetCrcString() string

func (*Ikev2ProfileSetAuthReply) GetMessageName

func (*Ikev2ProfileSetAuthReply) GetMessageName() string

func (*Ikev2ProfileSetAuthReply) GetMessageType

func (*Ikev2ProfileSetAuthReply) GetMessageType() api.MessageType

type Ikev2ProfileSetID

type Ikev2ProfileSetID struct {
	Name    []byte `struc:"[64]byte"`
	IsLocal uint8
	IDType  uint8
	DataLen uint32 `struc:"sizeof=Data"`
	Data    []byte
}

Ikev2ProfileSetID represents VPP binary API message 'ikev2_profile_set_id':

func (*Ikev2ProfileSetID) GetCrcString

func (*Ikev2ProfileSetID) GetCrcString() string

func (*Ikev2ProfileSetID) GetMessageName

func (*Ikev2ProfileSetID) GetMessageName() string

func (*Ikev2ProfileSetID) GetMessageType

func (*Ikev2ProfileSetID) GetMessageType() api.MessageType

type Ikev2ProfileSetIDReply

type Ikev2ProfileSetIDReply struct {
	Retval int32
}

Ikev2ProfileSetIDReply represents VPP binary API message 'ikev2_profile_set_id_reply':

func (*Ikev2ProfileSetIDReply) GetCrcString

func (*Ikev2ProfileSetIDReply) GetCrcString() string

func (*Ikev2ProfileSetIDReply) GetMessageName

func (*Ikev2ProfileSetIDReply) GetMessageName() string

func (*Ikev2ProfileSetIDReply) GetMessageType

func (*Ikev2ProfileSetIDReply) GetMessageType() api.MessageType

type Ikev2ProfileSetTs

type Ikev2ProfileSetTs struct {
	Name      []byte `struc:"[64]byte"`
	IsLocal   uint8
	Proto     uint8
	StartPort uint16
	EndPort   uint16
	StartAddr uint32
	EndAddr   uint32
}

Ikev2ProfileSetTs represents VPP binary API message 'ikev2_profile_set_ts':

func (*Ikev2ProfileSetTs) GetCrcString

func (*Ikev2ProfileSetTs) GetCrcString() string

func (*Ikev2ProfileSetTs) GetMessageName

func (*Ikev2ProfileSetTs) GetMessageName() string

func (*Ikev2ProfileSetTs) GetMessageType

func (*Ikev2ProfileSetTs) GetMessageType() api.MessageType

type Ikev2ProfileSetTsReply

type Ikev2ProfileSetTsReply struct {
	Retval int32
}

Ikev2ProfileSetTsReply represents VPP binary API message 'ikev2_profile_set_ts_reply':

func (*Ikev2ProfileSetTsReply) GetCrcString

func (*Ikev2ProfileSetTsReply) GetCrcString() string

func (*Ikev2ProfileSetTsReply) GetMessageName

func (*Ikev2ProfileSetTsReply) GetMessageName() string

func (*Ikev2ProfileSetTsReply) GetMessageType

func (*Ikev2ProfileSetTsReply) GetMessageType() api.MessageType

type Ikev2SetEspTransforms

type Ikev2SetEspTransforms struct {
	Name          []byte `struc:"[64]byte"`
	CryptoAlg     uint32
	CryptoKeySize uint32
	IntegAlg      uint32
	DhGroup       uint32
}

Ikev2SetEspTransforms represents VPP binary API message 'ikev2_set_esp_transforms':

func (*Ikev2SetEspTransforms) GetCrcString

func (*Ikev2SetEspTransforms) GetCrcString() string

func (*Ikev2SetEspTransforms) GetMessageName

func (*Ikev2SetEspTransforms) GetMessageName() string

func (*Ikev2SetEspTransforms) GetMessageType

func (*Ikev2SetEspTransforms) GetMessageType() api.MessageType

type Ikev2SetEspTransformsReply

type Ikev2SetEspTransformsReply struct {
	Retval int32
}

Ikev2SetEspTransformsReply represents VPP binary API message 'ikev2_set_esp_transforms_reply':

func (*Ikev2SetEspTransformsReply) GetCrcString

func (*Ikev2SetEspTransformsReply) GetCrcString() string

func (*Ikev2SetEspTransformsReply) GetMessageName

func (*Ikev2SetEspTransformsReply) GetMessageName() string

func (*Ikev2SetEspTransformsReply) GetMessageType

func (*Ikev2SetEspTransformsReply) GetMessageType() api.MessageType

type Ikev2SetIkeTransforms

type Ikev2SetIkeTransforms struct {
	Name          []byte `struc:"[64]byte"`
	CryptoAlg     uint32
	CryptoKeySize uint32
	IntegAlg      uint32
	DhGroup       uint32
}

Ikev2SetIkeTransforms represents VPP binary API message 'ikev2_set_ike_transforms':

func (*Ikev2SetIkeTransforms) GetCrcString

func (*Ikev2SetIkeTransforms) GetCrcString() string

func (*Ikev2SetIkeTransforms) GetMessageName

func (*Ikev2SetIkeTransforms) GetMessageName() string

func (*Ikev2SetIkeTransforms) GetMessageType

func (*Ikev2SetIkeTransforms) GetMessageType() api.MessageType

type Ikev2SetIkeTransformsReply

type Ikev2SetIkeTransformsReply struct {
	Retval int32
}

Ikev2SetIkeTransformsReply represents VPP binary API message 'ikev2_set_ike_transforms_reply':

func (*Ikev2SetIkeTransformsReply) GetCrcString

func (*Ikev2SetIkeTransformsReply) GetCrcString() string

func (*Ikev2SetIkeTransformsReply) GetMessageName

func (*Ikev2SetIkeTransformsReply) GetMessageName() string

func (*Ikev2SetIkeTransformsReply) GetMessageType

func (*Ikev2SetIkeTransformsReply) GetMessageType() api.MessageType

type Ikev2SetLocalKey

type Ikev2SetLocalKey struct {
	KeyFile []byte `struc:"[256]byte"`
}

Ikev2SetLocalKey represents VPP binary API message 'ikev2_set_local_key':

func (*Ikev2SetLocalKey) GetCrcString

func (*Ikev2SetLocalKey) GetCrcString() string

func (*Ikev2SetLocalKey) GetMessageName

func (*Ikev2SetLocalKey) GetMessageName() string

func (*Ikev2SetLocalKey) GetMessageType

func (*Ikev2SetLocalKey) GetMessageType() api.MessageType

type Ikev2SetLocalKeyReply

type Ikev2SetLocalKeyReply struct {
	Retval int32
}

Ikev2SetLocalKeyReply represents VPP binary API message 'ikev2_set_local_key_reply':

func (*Ikev2SetLocalKeyReply) GetCrcString

func (*Ikev2SetLocalKeyReply) GetCrcString() string

func (*Ikev2SetLocalKeyReply) GetMessageName

func (*Ikev2SetLocalKeyReply) GetMessageName() string

func (*Ikev2SetLocalKeyReply) GetMessageType

func (*Ikev2SetLocalKeyReply) GetMessageType() api.MessageType

type Ikev2SetResponder

type Ikev2SetResponder struct {
	Name      []byte `struc:"[64]byte"`
	SwIfIndex uint32
	Address   []byte `struc:"[4]byte"`
}

Ikev2SetResponder represents VPP binary API message 'ikev2_set_responder':

func (*Ikev2SetResponder) GetCrcString

func (*Ikev2SetResponder) GetCrcString() string

func (*Ikev2SetResponder) GetMessageName

func (*Ikev2SetResponder) GetMessageName() string

func (*Ikev2SetResponder) GetMessageType

func (*Ikev2SetResponder) GetMessageType() api.MessageType

type Ikev2SetResponderReply

type Ikev2SetResponderReply struct {
	Retval int32
}

Ikev2SetResponderReply represents VPP binary API message 'ikev2_set_responder_reply':

func (*Ikev2SetResponderReply) GetCrcString

func (*Ikev2SetResponderReply) GetCrcString() string

func (*Ikev2SetResponderReply) GetMessageName

func (*Ikev2SetResponderReply) GetMessageName() string

func (*Ikev2SetResponderReply) GetMessageType

func (*Ikev2SetResponderReply) GetMessageType() api.MessageType

type Ikev2SetSaLifetime

type Ikev2SetSaLifetime struct {
	Name            []byte `struc:"[64]byte"`
	Lifetime        uint64
	LifetimeJitter  uint32
	Handover        uint32
	LifetimeMaxdata uint64
}

Ikev2SetSaLifetime represents VPP binary API message 'ikev2_set_sa_lifetime':

func (*Ikev2SetSaLifetime) GetCrcString

func (*Ikev2SetSaLifetime) GetCrcString() string

func (*Ikev2SetSaLifetime) GetMessageName

func (*Ikev2SetSaLifetime) GetMessageName() string

func (*Ikev2SetSaLifetime) GetMessageType

func (*Ikev2SetSaLifetime) GetMessageType() api.MessageType

type Ikev2SetSaLifetimeReply

type Ikev2SetSaLifetimeReply struct {
	Retval int32
}

Ikev2SetSaLifetimeReply represents VPP binary API message 'ikev2_set_sa_lifetime_reply':

func (*Ikev2SetSaLifetimeReply) GetCrcString

func (*Ikev2SetSaLifetimeReply) GetCrcString() string

func (*Ikev2SetSaLifetimeReply) GetMessageName

func (*Ikev2SetSaLifetimeReply) GetMessageName() string

func (*Ikev2SetSaLifetimeReply) GetMessageType

func (*Ikev2SetSaLifetimeReply) GetMessageType() api.MessageType

type IpsecBackendDetails

type IpsecBackendDetails struct {
	Name     []byte `struc:"[128]byte"`
	Protocol uint8
	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 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 IpsecSaDetails

type IpsecSaDetails struct {
	SaID           uint32
	SwIfIndex      uint32
	Spi            uint32
	Protocol       uint8
	CryptoAlg      uint8
	CryptoKeyLen   uint8
	CryptoKey      []byte `struc:"[128]byte"`
	IntegAlg       uint8
	IntegKeyLen    uint8
	IntegKey       []byte `struc:"[128]byte"`
	UseEsn         uint8
	UseAntiReplay  uint8
	IsTunnel       uint8
	IsTunnelIP6    uint8
	TunnelSrcAddr  []byte `struc:"[16]byte"`
	TunnelDstAddr  []byte `struc:"[16]byte"`
	Salt           uint32
	SeqOutbound    uint64
	LastSeqInbound uint64
	ReplayWindow   uint64
	TotalDataSize  uint64
	UDPEncap       uint8
	TxTableID      uint32
}

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
	CryptoKeyLength    uint8
	CryptoKey          []byte `struc:"[128]byte"`
	IntegrityKeyLength uint8
	IntegrityKey       []byte `struc:"[128]byte"`
}

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 IpsecSadAddDelEntry

type IpsecSadAddDelEntry struct {
	IsAdd                     uint8
	SadID                     uint32
	Spi                       uint32
	Protocol                  uint8
	CryptoAlgorithm           uint8
	CryptoKeyLength           uint8
	CryptoKey                 []byte `struc:"[128]byte"`
	IntegrityAlgorithm        uint8
	IntegrityKeyLength        uint8
	IntegrityKey              []byte `struc:"[128]byte"`
	UseExtendedSequenceNumber uint8
	UseAntiReplay             uint8
	IsTunnel                  uint8
	IsTunnelIPv6              uint8
	TunnelSrcAddress          []byte `struc:"[16]byte"`
	TunnelDstAddress          []byte `struc:"[16]byte"`
	UDPEncap                  uint8
}

IpsecSadAddDelEntry represents VPP binary API message 'ipsec_sad_add_del_entry':

func (*IpsecSadAddDelEntry) GetCrcString

func (*IpsecSadAddDelEntry) GetCrcString() string

func (*IpsecSadAddDelEntry) GetMessageName

func (*IpsecSadAddDelEntry) GetMessageName() string

func (*IpsecSadAddDelEntry) GetMessageType

func (*IpsecSadAddDelEntry) GetMessageType() api.MessageType

type IpsecSadAddDelEntryReply

type IpsecSadAddDelEntryReply struct {
	Retval int32
}

IpsecSadAddDelEntryReply represents VPP binary API message 'ipsec_sad_add_del_entry_reply':

func (*IpsecSadAddDelEntryReply) GetCrcString

func (*IpsecSadAddDelEntryReply) GetCrcString() string

func (*IpsecSadAddDelEntryReply) GetMessageName

func (*IpsecSadAddDelEntryReply) GetMessageName() string

func (*IpsecSadAddDelEntryReply) GetMessageType

func (*IpsecSadAddDelEntryReply) GetMessageType() api.MessageType

type IpsecSelectBackend

type IpsecSelectBackend struct {
	Protocol uint8
	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 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 IpsecSpdAddDelEntry

type IpsecSpdAddDelEntry struct {
	IsAdd              uint8
	SpdID              uint32
	Priority           int32
	IsOutbound         uint8
	IsIPv6             uint8
	IsIPAny            uint8
	RemoteAddressStart []byte `struc:"[16]byte"`
	RemoteAddressStop  []byte `struc:"[16]byte"`
	LocalAddressStart  []byte `struc:"[16]byte"`
	LocalAddressStop   []byte `struc:"[16]byte"`
	Protocol           uint8
	RemotePortStart    uint16
	RemotePortStop     uint16
	LocalPortStart     uint16
	LocalPortStop      uint16
	Policy             uint8
	SaID               uint32
}

IpsecSpdAddDelEntry represents VPP binary API message 'ipsec_spd_add_del_entry':

func (*IpsecSpdAddDelEntry) GetCrcString

func (*IpsecSpdAddDelEntry) GetCrcString() string

func (*IpsecSpdAddDelEntry) GetMessageName

func (*IpsecSpdAddDelEntry) GetMessageName() string

func (*IpsecSpdAddDelEntry) GetMessageType

func (*IpsecSpdAddDelEntry) GetMessageType() api.MessageType

type IpsecSpdAddDelEntryReply

type IpsecSpdAddDelEntryReply struct {
	Retval int32
}

IpsecSpdAddDelEntryReply represents VPP binary API message 'ipsec_spd_add_del_entry_reply':

func (*IpsecSpdAddDelEntryReply) GetCrcString

func (*IpsecSpdAddDelEntryReply) GetCrcString() string

func (*IpsecSpdAddDelEntryReply) GetMessageName

func (*IpsecSpdAddDelEntryReply) GetMessageName() string

func (*IpsecSpdAddDelEntryReply) GetMessageType

func (*IpsecSpdAddDelEntryReply) 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 {
	SpdID           uint32
	Priority        int32
	IsOutbound      uint8
	IsIPv6          uint8
	LocalStartAddr  []byte `struc:"[16]byte"`
	LocalStopAddr   []byte `struc:"[16]byte"`
	LocalStartPort  uint16
	LocalStopPort   uint16
	RemoteStartAddr []byte `struc:"[16]byte"`
	RemoteStopAddr  []byte `struc:"[16]byte"`
	RemoteStartPort uint16
	RemoteStopPort  uint16
	Protocol        uint8
	Policy          uint8
	SaID            uint32
	Bytes           uint64
	Packets         uint64
}

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 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            []byte `struc:"[4]byte"`
	RemoteIP           []byte `struc:"[4]byte"`
	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 Services

type Services interface {
	DumpIpsecBackend(*IpsecBackendDump) ([]*IpsecBackendDetails, error)
	DumpIpsecSa(*IpsecSaDump) ([]*IpsecSaDetails, error)
	DumpIpsecSpd(*IpsecSpdDump) ([]*IpsecSpdDetails, error)
	DumpIpsecSpdInterface(*IpsecSpdInterfaceDump) ([]*IpsecSpdInterfaceDetails, error)
	DumpIpsecSpds(*IpsecSpdsDump) ([]*IpsecSpdsDetails, error)
	Ikev2InitiateDelChildSa(*Ikev2InitiateDelChildSa) (*Ikev2InitiateDelChildSaReply, error)
	Ikev2InitiateDelIkeSa(*Ikev2InitiateDelIkeSa) (*Ikev2InitiateDelIkeSaReply, error)
	Ikev2InitiateRekeyChildSa(*Ikev2InitiateRekeyChildSa) (*Ikev2InitiateRekeyChildSaReply, error)
	Ikev2InitiateSaInit(*Ikev2InitiateSaInit) (*Ikev2InitiateSaInitReply, error)
	Ikev2ProfileAddDel(*Ikev2ProfileAddDel) (*Ikev2ProfileAddDelReply, error)
	Ikev2ProfileSetAuth(*Ikev2ProfileSetAuth) (*Ikev2ProfileSetAuthReply, error)
	Ikev2ProfileSetID(*Ikev2ProfileSetID) (*Ikev2ProfileSetIDReply, error)
	Ikev2ProfileSetTs(*Ikev2ProfileSetTs) (*Ikev2ProfileSetTsReply, error)
	Ikev2SetEspTransforms(*Ikev2SetEspTransforms) (*Ikev2SetEspTransformsReply, error)
	Ikev2SetIkeTransforms(*Ikev2SetIkeTransforms) (*Ikev2SetIkeTransformsReply, error)
	Ikev2SetLocalKey(*Ikev2SetLocalKey) (*Ikev2SetLocalKeyReply, error)
	Ikev2SetResponder(*Ikev2SetResponder) (*Ikev2SetResponderReply, error)
	Ikev2SetSaLifetime(*Ikev2SetSaLifetime) (*Ikev2SetSaLifetimeReply, error)
	IpsecInterfaceAddDelSpd(*IpsecInterfaceAddDelSpd) (*IpsecInterfaceAddDelSpdReply, error)
	IpsecSaSetKey(*IpsecSaSetKey) (*IpsecSaSetKeyReply, error)
	IpsecSadAddDelEntry(*IpsecSadAddDelEntry) (*IpsecSadAddDelEntryReply, error)
	IpsecSelectBackend(*IpsecSelectBackend) (*IpsecSelectBackendReply, error)
	IpsecSpdAddDel(*IpsecSpdAddDel) (*IpsecSpdAddDelReply, error)
	IpsecSpdAddDelEntry(*IpsecSpdAddDelEntry) (*IpsecSpdAddDelEntryReply, error)
	IpsecTunnelIfAddDel(*IpsecTunnelIfAddDel) (*IpsecTunnelIfAddDelReply, error)
	IpsecTunnelIfSetKey(*IpsecTunnelIfSetKey) (*IpsecTunnelIfSetKeyReply, error)
	IpsecTunnelIfSetSa(*IpsecTunnelIfSetSa) (*IpsecTunnelIfSetSaReply, error)
}

Services represents VPP binary API services:

Jump to

Keyboard shortcuts

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