Documentation
¶
Overview ¶
Package ipsec is a generated from VPP binary API module 'ipsec'. It contains following objects: 54 messages 27 services
Index ¶
- type Ikev2InitiateDelChildSa
- type Ikev2InitiateDelChildSaReply
- type Ikev2InitiateDelIkeSa
- type Ikev2InitiateDelIkeSaReply
- type Ikev2InitiateRekeyChildSa
- type Ikev2InitiateRekeyChildSaReply
- type Ikev2InitiateSaInit
- type Ikev2InitiateSaInitReply
- type Ikev2ProfileAddDel
- type Ikev2ProfileAddDelReply
- type Ikev2ProfileSetAuth
- type Ikev2ProfileSetAuthReply
- type Ikev2ProfileSetID
- type Ikev2ProfileSetIDReply
- type Ikev2ProfileSetTs
- type Ikev2ProfileSetTsReply
- type Ikev2SetEspTransforms
- type Ikev2SetEspTransformsReply
- type Ikev2SetIkeTransforms
- type Ikev2SetIkeTransformsReply
- type Ikev2SetLocalKey
- type Ikev2SetLocalKeyReply
- type Ikev2SetResponder
- type Ikev2SetResponderReply
- type Ikev2SetSaLifetime
- type Ikev2SetSaLifetimeReply
- type IpsecBackendDetails
- type IpsecBackendDump
- type IpsecInterfaceAddDelSpd
- type IpsecInterfaceAddDelSpdReply
- type IpsecSaDetails
- type IpsecSaDump
- type IpsecSaSetKey
- type IpsecSaSetKeyReply
- type IpsecSadAddDelEntry
- type IpsecSadAddDelEntryReply
- type IpsecSelectBackend
- type IpsecSelectBackendReply
- type IpsecSpdAddDel
- type IpsecSpdAddDelEntry
- type IpsecSpdAddDelEntryReply
- type IpsecSpdAddDelReply
- type IpsecSpdDetails
- type IpsecSpdDump
- type IpsecSpdInterfaceDetails
- type IpsecSpdInterfaceDump
- type IpsecSpdsDetails
- type IpsecSpdsDump
- type IpsecTunnelIfAddDel
- type IpsecTunnelIfAddDelReply
- type IpsecTunnelIfSetKey
- type IpsecTunnelIfSetKeyReply
- type IpsecTunnelIfSetSa
- type IpsecTunnelIfSetSaReply
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ikev2InitiateDelChildSa ¶
type Ikev2InitiateDelChildSa struct {
Ispi uint32
}
Ikev2InitiateDelChildSa represents the VPP binary API message 'ikev2_initiate_del_child_sa'.
"ikev2_initiate_del_child_sa",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"ispi"
],
{
"crc": "0x7f004d2e"
}
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 the VPP binary API message 'ikev2_initiate_del_child_sa_reply'.
"ikev2_initiate_del_child_sa_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_initiate_del_ike_sa'.
"ikev2_initiate_del_ike_sa",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u64",
"ispi"
],
{
"crc": "0x8d125bdd"
}
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 the VPP binary API message 'ikev2_initiate_del_ike_sa_reply'.
"ikev2_initiate_del_ike_sa_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_initiate_rekey_child_sa'.
"ikev2_initiate_rekey_child_sa",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"ispi"
],
{
"crc": "0x7f004d2e"
}
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 the VPP binary API message 'ikev2_initiate_rekey_child_sa_reply'.
"ikev2_initiate_rekey_child_sa_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*Ikev2InitiateRekeyChildSaReply) GetCrcString ¶
func (*Ikev2InitiateRekeyChildSaReply) GetCrcString() string
func (*Ikev2InitiateRekeyChildSaReply) GetMessageName ¶
func (*Ikev2InitiateRekeyChildSaReply) GetMessageName() string
func (*Ikev2InitiateRekeyChildSaReply) GetMessageType ¶
func (*Ikev2InitiateRekeyChildSaReply) GetMessageType() api.MessageType
type Ikev2InitiateSaInit ¶
type Ikev2InitiateSaInit struct {
Name []byte `struc:"[64]byte"`
}
Ikev2InitiateSaInit represents the VPP binary API message 'ikev2_initiate_sa_init'.
"ikev2_initiate_sa_init",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
{
"crc": "0x0cb71b0e"
}
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 the VPP binary API message 'ikev2_initiate_sa_init_reply'.
"ikev2_initiate_sa_init_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*Ikev2InitiateSaInitReply) GetCrcString ¶
func (*Ikev2InitiateSaInitReply) GetCrcString() string
func (*Ikev2InitiateSaInitReply) GetMessageName ¶
func (*Ikev2InitiateSaInitReply) GetMessageName() string
func (*Ikev2InitiateSaInitReply) GetMessageType ¶
func (*Ikev2InitiateSaInitReply) GetMessageType() api.MessageType
type Ikev2ProfileAddDel ¶
Ikev2ProfileAddDel represents the VPP binary API message 'ikev2_profile_add_del'.
"ikev2_profile_add_del",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u8",
"is_add"
],
{
"crc": "0x405b222e"
}
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 the VPP binary API message 'ikev2_profile_add_del_reply'.
"ikev2_profile_add_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_profile_set_auth'.
"ikev2_profile_set_auth",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u8",
"auth_method"
],
[
"u8",
"is_hex"
],
[
"u32",
"data_len"
],
[
"u8",
"data",
0,
"data_len"
],
{
"crc": "0xbd76f369"
}
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 the VPP binary API message 'ikev2_profile_set_auth_reply'.
"ikev2_profile_set_auth_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_profile_set_id'.
"ikev2_profile_set_id",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u8",
"is_local"
],
[
"u8",
"id_type"
],
[
"u32",
"data_len"
],
[
"u8",
"data",
0,
"data_len"
],
{
"crc": "0xca88c0ef"
}
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 the VPP binary API message 'ikev2_profile_set_id_reply'.
"ikev2_profile_set_id_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_profile_set_ts'.
"ikev2_profile_set_ts",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u8",
"is_local"
],
[
"u8",
"proto"
],
[
"u16",
"start_port"
],
[
"u16",
"end_port"
],
[
"u32",
"start_addr"
],
[
"u32",
"end_addr"
],
{
"crc": "0x481aad89"
}
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 the VPP binary API message 'ikev2_profile_set_ts_reply'.
"ikev2_profile_set_ts_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_set_esp_transforms'.
"ikev2_set_esp_transforms",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u32",
"crypto_alg"
],
[
"u32",
"crypto_key_size"
],
[
"u32",
"integ_alg"
],
[
"u32",
"dh_group"
],
{
"crc": "0x919f5efd"
}
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 the VPP binary API message 'ikev2_set_esp_transforms_reply'.
"ikev2_set_esp_transforms_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_set_ike_transforms'.
"ikev2_set_ike_transforms",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u32",
"crypto_alg"
],
[
"u32",
"crypto_key_size"
],
[
"u32",
"integ_alg"
],
[
"u32",
"dh_group"
],
{
"crc": "0x919f5efd"
}
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 the VPP binary API message 'ikev2_set_ike_transforms_reply'.
"ikev2_set_ike_transforms_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_set_local_key'.
"ikev2_set_local_key",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"key_file",
256
],
{
"crc": "0xe4996cd5"
}
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 the VPP binary API message 'ikev2_set_local_key_reply'.
"ikev2_set_local_key_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_set_responder'.
"ikev2_set_responder",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u32",
"sw_if_index"
],
[
"u8",
"address",
4
],
{
"crc": "0xa99996f3"
}
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 the VPP binary API message 'ikev2_set_responder_reply'.
"ikev2_set_responder_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ikev2_set_sa_lifetime'.
"ikev2_set_sa_lifetime",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name",
64
],
[
"u64",
"lifetime"
],
[
"u32",
"lifetime_jitter"
],
[
"u32",
"handover"
],
[
"u64",
"lifetime_maxdata"
],
{
"crc": "0x46d31203"
}
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 the VPP binary API message 'ikev2_set_sa_lifetime_reply'.
"ikev2_set_sa_lifetime_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ipsec_backend_details'.
"ipsec_backend_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"u8",
"name",
128
],
[
"u8",
"protocol"
],
[
"u8",
"index"
],
[
"u8",
"active"
],
{
"crc": "0x3ba4d642"
}
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 the VPP binary API message 'ipsec_backend_dump'.
"ipsec_backend_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
{
"crc": "0x51077d14"
}
func (*IpsecBackendDump) GetCrcString ¶
func (*IpsecBackendDump) GetCrcString() string
func (*IpsecBackendDump) GetMessageName ¶
func (*IpsecBackendDump) GetMessageName() string
func (*IpsecBackendDump) GetMessageType ¶
func (*IpsecBackendDump) GetMessageType() api.MessageType
type IpsecInterfaceAddDelSpd ¶
IpsecInterfaceAddDelSpd represents the VPP binary API message 'ipsec_interface_add_del_spd'.
"ipsec_interface_add_del_spd",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_add"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"spd_id"
],
{
"crc": "0x1e3b8286"
}
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 the VPP binary API message 'ipsec_interface_add_del_spd_reply'.
"ipsec_interface_add_del_spd_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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
}
IpsecSaDetails represents the VPP binary API message 'ipsec_sa_details'.
"ipsec_sa_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"u32",
"sa_id"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"spi"
],
[
"u8",
"protocol"
],
[
"u8",
"crypto_alg"
],
[
"u8",
"crypto_key_len"
],
[
"u8",
"crypto_key",
128
],
[
"u8",
"integ_alg"
],
[
"u8",
"integ_key_len"
],
[
"u8",
"integ_key",
128
],
[
"u8",
"use_esn"
],
[
"u8",
"use_anti_replay"
],
[
"u8",
"is_tunnel"
],
[
"u8",
"is_tunnel_ip6"
],
[
"u8",
"tunnel_src_addr",
16
],
[
"u8",
"tunnel_dst_addr",
16
],
[
"u32",
"salt"
],
[
"u64",
"seq_outbound"
],
[
"u64",
"last_seq_inbound"
],
[
"u64",
"replay_window"
],
[
"u64",
"total_data_size"
],
[
"u8",
"udp_encap"
],
{
"crc": "0xdc927a3b"
}
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 the VPP binary API message 'ipsec_sa_dump'.
"ipsec_sa_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sa_id"
],
{
"crc": "0x2076c2f4"
}
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 the VPP binary API message 'ipsec_sa_set_key'.
"ipsec_sa_set_key",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sa_id"
],
[
"u8",
"crypto_key_length"
],
[
"u8",
"crypto_key",
128
],
[
"u8",
"integrity_key_length"
],
[
"u8",
"integrity_key",
128
],
{
"crc": "0x93b4f08a"
}
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 the VPP binary API message 'ipsec_sa_set_key_reply'.
"ipsec_sa_set_key_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ipsec_sad_add_del_entry'.
"ipsec_sad_add_del_entry",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_add"
],
[
"u32",
"sad_id"
],
[
"u32",
"spi"
],
[
"u8",
"protocol"
],
[
"u8",
"crypto_algorithm"
],
[
"u8",
"crypto_key_length"
],
[
"u8",
"crypto_key",
128
],
[
"u8",
"integrity_algorithm"
],
[
"u8",
"integrity_key_length"
],
[
"u8",
"integrity_key",
128
],
[
"u8",
"use_extended_sequence_number"
],
[
"u8",
"use_anti_replay"
],
[
"u8",
"is_tunnel"
],
[
"u8",
"is_tunnel_ipv6"
],
[
"u8",
"tunnel_src_address",
16
],
[
"u8",
"tunnel_dst_address",
16
],
[
"u8",
"udp_encap"
],
{
"crc": "0x306782b4"
}
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 the VPP binary API message 'ipsec_sad_add_del_entry_reply'.
"ipsec_sad_add_del_entry_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*IpsecSadAddDelEntryReply) GetCrcString ¶
func (*IpsecSadAddDelEntryReply) GetCrcString() string
func (*IpsecSadAddDelEntryReply) GetMessageName ¶
func (*IpsecSadAddDelEntryReply) GetMessageName() string
func (*IpsecSadAddDelEntryReply) GetMessageType ¶
func (*IpsecSadAddDelEntryReply) GetMessageType() api.MessageType
type IpsecSelectBackend ¶
IpsecSelectBackend represents the VPP binary API message 'ipsec_select_backend'.
"ipsec_select_backend",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"protocol"
],
[
"u8",
"index"
],
{
"crc": "0xf2cc2b47"
}
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 the VPP binary API message 'ipsec_select_backend_reply'.
"ipsec_select_backend_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*IpsecSelectBackendReply) GetCrcString ¶
func (*IpsecSelectBackendReply) GetCrcString() string
func (*IpsecSelectBackendReply) GetMessageName ¶
func (*IpsecSelectBackendReply) GetMessageName() string
func (*IpsecSelectBackendReply) GetMessageType ¶
func (*IpsecSelectBackendReply) GetMessageType() api.MessageType
type IpsecSpdAddDel ¶
IpsecSpdAddDel represents the VPP binary API message 'ipsec_spd_add_del'.
"ipsec_spd_add_del",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_add"
],
[
"u32",
"spd_id"
],
{
"crc": "0x9ffdf5da"
}
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 the VPP binary API message 'ipsec_spd_add_del_entry'.
"ipsec_spd_add_del_entry",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_add"
],
[
"u32",
"spd_id"
],
[
"i32",
"priority"
],
[
"u8",
"is_outbound"
],
[
"u8",
"is_ipv6"
],
[
"u8",
"is_ip_any"
],
[
"u8",
"remote_address_start",
16
],
[
"u8",
"remote_address_stop",
16
],
[
"u8",
"local_address_start",
16
],
[
"u8",
"local_address_stop",
16
],
[
"u8",
"protocol"
],
[
"u16",
"remote_port_start"
],
[
"u16",
"remote_port_stop"
],
[
"u16",
"local_port_start"
],
[
"u16",
"local_port_stop"
],
[
"u8",
"policy"
],
[
"u32",
"sa_id"
],
{
"crc": "0x7687a364"
}
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 the VPP binary API message 'ipsec_spd_add_del_entry_reply'.
"ipsec_spd_add_del_entry_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ipsec_spd_add_del_reply'.
"ipsec_spd_add_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 the VPP binary API message 'ipsec_spd_details'.
"ipsec_spd_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"u32",
"spd_id"
],
[
"i32",
"priority"
],
[
"u8",
"is_outbound"
],
[
"u8",
"is_ipv6"
],
[
"u8",
"local_start_addr",
16
],
[
"u8",
"local_stop_addr",
16
],
[
"u16",
"local_start_port"
],
[
"u16",
"local_stop_port"
],
[
"u8",
"remote_start_addr",
16
],
[
"u8",
"remote_stop_addr",
16
],
[
"u16",
"remote_start_port"
],
[
"u16",
"remote_stop_port"
],
[
"u8",
"protocol"
],
[
"u8",
"policy"
],
[
"u32",
"sa_id"
],
[
"u64",
"bytes"
],
[
"u64",
"packets"
],
{
"crc": "0x1560895d"
}
func (*IpsecSpdDetails) GetCrcString ¶
func (*IpsecSpdDetails) GetCrcString() string
func (*IpsecSpdDetails) GetMessageName ¶
func (*IpsecSpdDetails) GetMessageName() string
func (*IpsecSpdDetails) GetMessageType ¶
func (*IpsecSpdDetails) GetMessageType() api.MessageType
type IpsecSpdDump ¶
IpsecSpdDump represents the VPP binary API message 'ipsec_spd_dump'.
"ipsec_spd_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"spd_id"
],
[
"u32",
"sa_id"
],
{
"crc": "0xafefbf7d"
}
func (*IpsecSpdDump) GetCrcString ¶
func (*IpsecSpdDump) GetCrcString() string
func (*IpsecSpdDump) GetMessageName ¶
func (*IpsecSpdDump) GetMessageName() string
func (*IpsecSpdDump) GetMessageType ¶
func (*IpsecSpdDump) GetMessageType() api.MessageType
type IpsecSpdInterfaceDetails ¶
IpsecSpdInterfaceDetails represents the VPP binary API message 'ipsec_spd_interface_details'.
"ipsec_spd_interface_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"u32",
"spd_index"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0x2c54296d"
}
func (*IpsecSpdInterfaceDetails) GetCrcString ¶
func (*IpsecSpdInterfaceDetails) GetCrcString() string
func (*IpsecSpdInterfaceDetails) GetMessageName ¶
func (*IpsecSpdInterfaceDetails) GetMessageName() string
func (*IpsecSpdInterfaceDetails) GetMessageType ¶
func (*IpsecSpdInterfaceDetails) GetMessageType() api.MessageType
type IpsecSpdInterfaceDump ¶
IpsecSpdInterfaceDump represents the VPP binary API message 'ipsec_spd_interface_dump'.
"ipsec_spd_interface_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"spd_index"
],
[
"u8",
"spd_index_valid"
],
{
"crc": "0x8971de19"
}
func (*IpsecSpdInterfaceDump) GetCrcString ¶
func (*IpsecSpdInterfaceDump) GetCrcString() string
func (*IpsecSpdInterfaceDump) GetMessageName ¶
func (*IpsecSpdInterfaceDump) GetMessageName() string
func (*IpsecSpdInterfaceDump) GetMessageType ¶
func (*IpsecSpdInterfaceDump) GetMessageType() api.MessageType
type IpsecSpdsDetails ¶
IpsecSpdsDetails represents the VPP binary API message 'ipsec_spds_details'.
"ipsec_spds_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"u32",
"spd_id"
],
[
"u32",
"npolicies"
],
{
"crc": "0xa04bb254"
}
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 the VPP binary API message 'ipsec_spds_dump'.
"ipsec_spds_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
{
"crc": "0x51077d14"
}
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
}
IpsecTunnelIfAddDel represents the VPP binary API message 'ipsec_tunnel_if_add_del'.
"ipsec_tunnel_if_add_del",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_add"
],
[
"u8",
"esn"
],
[
"u8",
"anti_replay"
],
[
"u8",
"local_ip",
4
],
[
"u8",
"remote_ip",
4
],
[
"u32",
"local_spi"
],
[
"u32",
"remote_spi"
],
[
"u8",
"crypto_alg"
],
[
"u8",
"local_crypto_key_len"
],
[
"u8",
"local_crypto_key",
128
],
[
"u8",
"remote_crypto_key_len"
],
[
"u8",
"remote_crypto_key",
128
],
[
"u8",
"integ_alg"
],
[
"u8",
"local_integ_key_len"
],
[
"u8",
"local_integ_key",
128
],
[
"u8",
"remote_integ_key_len"
],
[
"u8",
"remote_integ_key",
128
],
[
"u8",
"renumber"
],
[
"u32",
"show_instance"
],
{
"crc": "0x56b8943b"
}
func (*IpsecTunnelIfAddDel) GetCrcString ¶
func (*IpsecTunnelIfAddDel) GetCrcString() string
func (*IpsecTunnelIfAddDel) GetMessageName ¶
func (*IpsecTunnelIfAddDel) GetMessageName() string
func (*IpsecTunnelIfAddDel) GetMessageType ¶
func (*IpsecTunnelIfAddDel) GetMessageType() api.MessageType
type IpsecTunnelIfAddDelReply ¶
IpsecTunnelIfAddDelReply represents the VPP binary API message 'ipsec_tunnel_if_add_del_reply'.
"ipsec_tunnel_if_add_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0xfda5941f"
}
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 the VPP binary API message 'ipsec_tunnel_if_set_key'.
"ipsec_tunnel_if_set_key",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"key_type"
],
[
"u8",
"alg"
],
[
"u8",
"key_len"
],
[
"u8",
"key",
128
],
{
"crc": "0x326169a8"
}
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 the VPP binary API message 'ipsec_tunnel_if_set_key_reply'.
"ipsec_tunnel_if_set_key_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*IpsecTunnelIfSetKeyReply) GetCrcString ¶
func (*IpsecTunnelIfSetKeyReply) GetCrcString() string
func (*IpsecTunnelIfSetKeyReply) GetMessageName ¶
func (*IpsecTunnelIfSetKeyReply) GetMessageName() string
func (*IpsecTunnelIfSetKeyReply) GetMessageType ¶
func (*IpsecTunnelIfSetKeyReply) GetMessageType() api.MessageType
type IpsecTunnelIfSetSa ¶
IpsecTunnelIfSetSa represents the VPP binary API message 'ipsec_tunnel_if_set_sa'.
"ipsec_tunnel_if_set_sa",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"sa_id"
],
[
"u8",
"is_outbound"
],
{
"crc": "0x6ab567f2"
}
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 the VPP binary API message 'ipsec_tunnel_if_set_sa_reply'.
"ipsec_tunnel_if_set_sa_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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)
}
Source Files
¶
- ipsec.ba.go