ipsec

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package ipsec contains generated bindings for API file ipsec.api.

Contents:

 1 enum
 3 structs
46 messages

Index

Constants

View Source
const (
	APIFile    = "ipsec"
	APIVersion = "5.0.2"
	VersionCrc = 0x6b08e91e
)

Variables

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",
	}
	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 IpsecBackendDetails

type IpsecBackendDetails struct {
	Name     string                 `binapi:"string[128],name=name" json:"name,omitempty"`
	Protocol ipsec_types.IpsecProto `binapi:"ipsec_proto,name=protocol" json:"protocol,omitempty"`
	Index    uint8                  `binapi:"u8,name=index" json:"index,omitempty"`
	Active   bool                   `binapi:"bool,name=active" json:"active,omitempty"`
}

IpsecBackendDetails defines message 'ipsec_backend_details'.

func (*IpsecBackendDetails) GetCrcString

func (*IpsecBackendDetails) GetCrcString() string

func (*IpsecBackendDetails) GetMessageName

func (*IpsecBackendDetails) GetMessageName() string

func (*IpsecBackendDetails) GetMessageType

func (*IpsecBackendDetails) GetMessageType() api.MessageType

func (*IpsecBackendDetails) Marshal

func (m *IpsecBackendDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecBackendDetails) Reset

func (m *IpsecBackendDetails) Reset()

func (*IpsecBackendDetails) Size

func (m *IpsecBackendDetails) Size() (size int)

func (*IpsecBackendDetails) Unmarshal

func (m *IpsecBackendDetails) Unmarshal(b []byte) error

type IpsecBackendDump

type IpsecBackendDump struct{}

IpsecBackendDump defines message 'ipsec_backend_dump'.

func (*IpsecBackendDump) GetCrcString

func (*IpsecBackendDump) GetCrcString() string

func (*IpsecBackendDump) GetMessageName

func (*IpsecBackendDump) GetMessageName() string

func (*IpsecBackendDump) GetMessageType

func (*IpsecBackendDump) GetMessageType() api.MessageType

func (*IpsecBackendDump) Marshal

func (m *IpsecBackendDump) Marshal(b []byte) ([]byte, error)

func (*IpsecBackendDump) Reset

func (m *IpsecBackendDump) Reset()

func (*IpsecBackendDump) Size

func (m *IpsecBackendDump) Size() (size int)

func (*IpsecBackendDump) Unmarshal

func (m *IpsecBackendDump) Unmarshal(b []byte) error

type IpsecInterfaceAddDelSpd

type IpsecInterfaceAddDelSpd struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	SpdID     uint32                         `binapi:"u32,name=spd_id" json:"spd_id,omitempty"`
}

IpsecInterfaceAddDelSpd defines message 'ipsec_interface_add_del_spd'.

func (*IpsecInterfaceAddDelSpd) GetCrcString

func (*IpsecInterfaceAddDelSpd) GetCrcString() string

func (*IpsecInterfaceAddDelSpd) GetMessageName

func (*IpsecInterfaceAddDelSpd) GetMessageName() string

func (*IpsecInterfaceAddDelSpd) GetMessageType

func (*IpsecInterfaceAddDelSpd) GetMessageType() api.MessageType

func (*IpsecInterfaceAddDelSpd) Marshal

func (m *IpsecInterfaceAddDelSpd) Marshal(b []byte) ([]byte, error)

func (*IpsecInterfaceAddDelSpd) Reset

func (m *IpsecInterfaceAddDelSpd) Reset()

func (*IpsecInterfaceAddDelSpd) Size

func (m *IpsecInterfaceAddDelSpd) Size() (size int)

func (*IpsecInterfaceAddDelSpd) Unmarshal

func (m *IpsecInterfaceAddDelSpd) Unmarshal(b []byte) error

type IpsecInterfaceAddDelSpdReply

type IpsecInterfaceAddDelSpdReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecInterfaceAddDelSpdReply defines message 'ipsec_interface_add_del_spd_reply'.

func (*IpsecInterfaceAddDelSpdReply) GetCrcString

func (*IpsecInterfaceAddDelSpdReply) GetCrcString() string

func (*IpsecInterfaceAddDelSpdReply) GetMessageName

func (*IpsecInterfaceAddDelSpdReply) GetMessageName() string

func (*IpsecInterfaceAddDelSpdReply) GetMessageType

func (*IpsecInterfaceAddDelSpdReply) GetMessageType() api.MessageType

func (*IpsecInterfaceAddDelSpdReply) Marshal

func (m *IpsecInterfaceAddDelSpdReply) Marshal(b []byte) ([]byte, error)

func (*IpsecInterfaceAddDelSpdReply) Reset

func (m *IpsecInterfaceAddDelSpdReply) Reset()

func (*IpsecInterfaceAddDelSpdReply) Size

func (m *IpsecInterfaceAddDelSpdReply) Size() (size int)

func (*IpsecInterfaceAddDelSpdReply) Unmarshal

func (m *IpsecInterfaceAddDelSpdReply) Unmarshal(b []byte) error

type IpsecItf

type IpsecItf struct {
	UserInstance uint32                         `binapi:"u32,name=user_instance,default=4294967295" json:"user_instance,omitempty"`
	Mode         tunnel_types.TunnelMode        `binapi:"tunnel_mode,name=mode" json:"mode,omitempty"`
	SwIfIndex    interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpsecItf defines type 'ipsec_itf'.

type IpsecItfCreate

type IpsecItfCreate struct {
	Itf IpsecItf `binapi:"ipsec_itf,name=itf" json:"itf,omitempty"`
}

IpsecItfCreate defines message 'ipsec_itf_create'.

func (*IpsecItfCreate) GetCrcString

func (*IpsecItfCreate) GetCrcString() string

func (*IpsecItfCreate) GetMessageName

func (*IpsecItfCreate) GetMessageName() string

func (*IpsecItfCreate) GetMessageType

func (*IpsecItfCreate) GetMessageType() api.MessageType

func (*IpsecItfCreate) Marshal

func (m *IpsecItfCreate) Marshal(b []byte) ([]byte, error)

func (*IpsecItfCreate) Reset

func (m *IpsecItfCreate) Reset()

func (*IpsecItfCreate) Size

func (m *IpsecItfCreate) Size() (size int)

func (*IpsecItfCreate) Unmarshal

func (m *IpsecItfCreate) Unmarshal(b []byte) error

type IpsecItfCreateReply

type IpsecItfCreateReply struct {
	Retval    int32                          `binapi:"i32,name=retval" json:"retval,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpsecItfCreateReply defines message 'ipsec_itf_create_reply'.

func (*IpsecItfCreateReply) GetCrcString

func (*IpsecItfCreateReply) GetCrcString() string

func (*IpsecItfCreateReply) GetMessageName

func (*IpsecItfCreateReply) GetMessageName() string

func (*IpsecItfCreateReply) GetMessageType

func (*IpsecItfCreateReply) GetMessageType() api.MessageType

func (*IpsecItfCreateReply) Marshal

func (m *IpsecItfCreateReply) Marshal(b []byte) ([]byte, error)

func (*IpsecItfCreateReply) Reset

func (m *IpsecItfCreateReply) Reset()

func (*IpsecItfCreateReply) Size

func (m *IpsecItfCreateReply) Size() (size int)

func (*IpsecItfCreateReply) Unmarshal

func (m *IpsecItfCreateReply) Unmarshal(b []byte) error

type IpsecItfDelete

type IpsecItfDelete struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpsecItfDelete defines message 'ipsec_itf_delete'.

func (*IpsecItfDelete) GetCrcString

func (*IpsecItfDelete) GetCrcString() string

func (*IpsecItfDelete) GetMessageName

func (*IpsecItfDelete) GetMessageName() string

func (*IpsecItfDelete) GetMessageType

func (*IpsecItfDelete) GetMessageType() api.MessageType

func (*IpsecItfDelete) Marshal

func (m *IpsecItfDelete) Marshal(b []byte) ([]byte, error)

func (*IpsecItfDelete) Reset

func (m *IpsecItfDelete) Reset()

func (*IpsecItfDelete) Size

func (m *IpsecItfDelete) Size() (size int)

func (*IpsecItfDelete) Unmarshal

func (m *IpsecItfDelete) Unmarshal(b []byte) error

type IpsecItfDeleteReply

type IpsecItfDeleteReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecItfDeleteReply defines message 'ipsec_itf_delete_reply'.

func (*IpsecItfDeleteReply) GetCrcString

func (*IpsecItfDeleteReply) GetCrcString() string

func (*IpsecItfDeleteReply) GetMessageName

func (*IpsecItfDeleteReply) GetMessageName() string

func (*IpsecItfDeleteReply) GetMessageType

func (*IpsecItfDeleteReply) GetMessageType() api.MessageType

func (*IpsecItfDeleteReply) Marshal

func (m *IpsecItfDeleteReply) Marshal(b []byte) ([]byte, error)

func (*IpsecItfDeleteReply) Reset

func (m *IpsecItfDeleteReply) Reset()

func (*IpsecItfDeleteReply) Size

func (m *IpsecItfDeleteReply) Size() (size int)

func (*IpsecItfDeleteReply) Unmarshal

func (m *IpsecItfDeleteReply) Unmarshal(b []byte) error

type IpsecItfDetails

type IpsecItfDetails struct {
	Itf IpsecItf `binapi:"ipsec_itf,name=itf" json:"itf,omitempty"`
}

IpsecItfDetails defines message 'ipsec_itf_details'.

func (*IpsecItfDetails) GetCrcString

func (*IpsecItfDetails) GetCrcString() string

func (*IpsecItfDetails) GetMessageName

func (*IpsecItfDetails) GetMessageName() string

func (*IpsecItfDetails) GetMessageType

func (*IpsecItfDetails) GetMessageType() api.MessageType

func (*IpsecItfDetails) Marshal

func (m *IpsecItfDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecItfDetails) Reset

func (m *IpsecItfDetails) Reset()

func (*IpsecItfDetails) Size

func (m *IpsecItfDetails) Size() (size int)

func (*IpsecItfDetails) Unmarshal

func (m *IpsecItfDetails) Unmarshal(b []byte) error

type IpsecItfDump

type IpsecItfDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpsecItfDump defines message 'ipsec_itf_dump'.

func (*IpsecItfDump) GetCrcString

func (*IpsecItfDump) GetCrcString() string

func (*IpsecItfDump) GetMessageName

func (*IpsecItfDump) GetMessageName() string

func (*IpsecItfDump) GetMessageType

func (*IpsecItfDump) GetMessageType() api.MessageType

func (*IpsecItfDump) Marshal

func (m *IpsecItfDump) Marshal(b []byte) ([]byte, error)

func (*IpsecItfDump) Reset

func (m *IpsecItfDump) Reset()

func (*IpsecItfDump) Size

func (m *IpsecItfDump) Size() (size int)

func (*IpsecItfDump) Unmarshal

func (m *IpsecItfDump) Unmarshal(b []byte) error

type IpsecSaDetails

type IpsecSaDetails struct {
	Entry          ipsec_types.IpsecSadEntry      `binapi:"ipsec_sad_entry,name=entry" json:"entry,omitempty"`
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Salt           uint32                         `binapi:"u32,name=salt" json:"salt,omitempty"`
	SeqOutbound    uint64                         `binapi:"u64,name=seq_outbound" json:"seq_outbound,omitempty"`
	LastSeqInbound uint64                         `binapi:"u64,name=last_seq_inbound" json:"last_seq_inbound,omitempty"`
	ReplayWindow   uint64                         `binapi:"u64,name=replay_window" json:"replay_window,omitempty"`
	StatIndex      uint32                         `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSaDetails defines message 'ipsec_sa_details'. Deprecated: the message will be removed in the future versions

func (*IpsecSaDetails) GetCrcString

func (*IpsecSaDetails) GetCrcString() string

func (*IpsecSaDetails) GetMessageName

func (*IpsecSaDetails) GetMessageName() string

func (*IpsecSaDetails) GetMessageType

func (*IpsecSaDetails) GetMessageType() api.MessageType

func (*IpsecSaDetails) Marshal

func (m *IpsecSaDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecSaDetails) Reset

func (m *IpsecSaDetails) Reset()

func (*IpsecSaDetails) Size

func (m *IpsecSaDetails) Size() (size int)

func (*IpsecSaDetails) Unmarshal

func (m *IpsecSaDetails) Unmarshal(b []byte) error

type IpsecSaDump

type IpsecSaDump struct {
	SaID uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"`
}

IpsecSaDump defines message 'ipsec_sa_dump'. Deprecated: the message will be removed in the future versions

func (*IpsecSaDump) GetCrcString

func (*IpsecSaDump) GetCrcString() string

func (*IpsecSaDump) GetMessageName

func (*IpsecSaDump) GetMessageName() string

func (*IpsecSaDump) GetMessageType

func (*IpsecSaDump) GetMessageType() api.MessageType

func (*IpsecSaDump) Marshal

func (m *IpsecSaDump) Marshal(b []byte) ([]byte, error)

func (*IpsecSaDump) Reset

func (m *IpsecSaDump) Reset()

func (*IpsecSaDump) Size

func (m *IpsecSaDump) Size() (size int)

func (*IpsecSaDump) Unmarshal

func (m *IpsecSaDump) Unmarshal(b []byte) error

type IpsecSaV2Details

type IpsecSaV2Details struct {
	Entry          ipsec_types.IpsecSadEntryV2    `binapi:"ipsec_sad_entry_v2,name=entry" json:"entry,omitempty"`
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Salt           uint32                         `binapi:"u32,name=salt" json:"salt,omitempty"`
	SeqOutbound    uint64                         `binapi:"u64,name=seq_outbound" json:"seq_outbound,omitempty"`
	LastSeqInbound uint64                         `binapi:"u64,name=last_seq_inbound" json:"last_seq_inbound,omitempty"`
	ReplayWindow   uint64                         `binapi:"u64,name=replay_window" json:"replay_window,omitempty"`
	StatIndex      uint32                         `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSaV2Details defines message 'ipsec_sa_v2_details'.

func (*IpsecSaV2Details) GetCrcString

func (*IpsecSaV2Details) GetCrcString() string

func (*IpsecSaV2Details) GetMessageName

func (*IpsecSaV2Details) GetMessageName() string

func (*IpsecSaV2Details) GetMessageType

func (*IpsecSaV2Details) GetMessageType() api.MessageType

func (*IpsecSaV2Details) Marshal

func (m *IpsecSaV2Details) Marshal(b []byte) ([]byte, error)

func (*IpsecSaV2Details) Reset

func (m *IpsecSaV2Details) Reset()

func (*IpsecSaV2Details) Size

func (m *IpsecSaV2Details) Size() (size int)

func (*IpsecSaV2Details) Unmarshal

func (m *IpsecSaV2Details) Unmarshal(b []byte) error

type IpsecSaV2Dump

type IpsecSaV2Dump struct {
	SaID uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"`
}

IpsecSaV2Dump defines message 'ipsec_sa_v2_dump'.

func (*IpsecSaV2Dump) GetCrcString

func (*IpsecSaV2Dump) GetCrcString() string

func (*IpsecSaV2Dump) GetMessageName

func (*IpsecSaV2Dump) GetMessageName() string

func (*IpsecSaV2Dump) GetMessageType

func (*IpsecSaV2Dump) GetMessageType() api.MessageType

func (*IpsecSaV2Dump) Marshal

func (m *IpsecSaV2Dump) Marshal(b []byte) ([]byte, error)

func (*IpsecSaV2Dump) Reset

func (m *IpsecSaV2Dump) Reset()

func (*IpsecSaV2Dump) Size

func (m *IpsecSaV2Dump) Size() (size int)

func (*IpsecSaV2Dump) Unmarshal

func (m *IpsecSaV2Dump) Unmarshal(b []byte) error

type IpsecSaV3Details

type IpsecSaV3Details struct {
	Entry          ipsec_types.IpsecSadEntryV3    `binapi:"ipsec_sad_entry_v3,name=entry" json:"entry,omitempty"`
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	SeqOutbound    uint64                         `binapi:"u64,name=seq_outbound" json:"seq_outbound,omitempty"`
	LastSeqInbound uint64                         `binapi:"u64,name=last_seq_inbound" json:"last_seq_inbound,omitempty"`
	ReplayWindow   uint64                         `binapi:"u64,name=replay_window" json:"replay_window,omitempty"`
	StatIndex      uint32                         `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSaV3Details defines message 'ipsec_sa_v3_details'.

func (*IpsecSaV3Details) GetCrcString

func (*IpsecSaV3Details) GetCrcString() string

func (*IpsecSaV3Details) GetMessageName

func (*IpsecSaV3Details) GetMessageName() string

func (*IpsecSaV3Details) GetMessageType

func (*IpsecSaV3Details) GetMessageType() api.MessageType

func (*IpsecSaV3Details) Marshal

func (m *IpsecSaV3Details) Marshal(b []byte) ([]byte, error)

func (*IpsecSaV3Details) Reset

func (m *IpsecSaV3Details) Reset()

func (*IpsecSaV3Details) Size

func (m *IpsecSaV3Details) Size() (size int)

func (*IpsecSaV3Details) Unmarshal

func (m *IpsecSaV3Details) Unmarshal(b []byte) error

type IpsecSaV3Dump

type IpsecSaV3Dump struct {
	SaID uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"`
}

IpsecSaV3Dump defines message 'ipsec_sa_v3_dump'.

func (*IpsecSaV3Dump) GetCrcString

func (*IpsecSaV3Dump) GetCrcString() string

func (*IpsecSaV3Dump) GetMessageName

func (*IpsecSaV3Dump) GetMessageName() string

func (*IpsecSaV3Dump) GetMessageType

func (*IpsecSaV3Dump) GetMessageType() api.MessageType

func (*IpsecSaV3Dump) Marshal

func (m *IpsecSaV3Dump) Marshal(b []byte) ([]byte, error)

func (*IpsecSaV3Dump) Reset

func (m *IpsecSaV3Dump) Reset()

func (*IpsecSaV3Dump) Size

func (m *IpsecSaV3Dump) Size() (size int)

func (*IpsecSaV3Dump) Unmarshal

func (m *IpsecSaV3Dump) Unmarshal(b []byte) error

type IpsecSadEntryAdd added in v0.5.0

type IpsecSadEntryAdd struct {
	Entry ipsec_types.IpsecSadEntryV3 `binapi:"ipsec_sad_entry_v3,name=entry" json:"entry,omitempty"`
}

IpsecSadEntryAdd defines message 'ipsec_sad_entry_add'.

func (*IpsecSadEntryAdd) GetCrcString added in v0.5.0

func (*IpsecSadEntryAdd) GetCrcString() string

func (*IpsecSadEntryAdd) GetMessageName added in v0.5.0

func (*IpsecSadEntryAdd) GetMessageName() string

func (*IpsecSadEntryAdd) GetMessageType added in v0.5.0

func (*IpsecSadEntryAdd) GetMessageType() api.MessageType

func (*IpsecSadEntryAdd) Marshal added in v0.5.0

func (m *IpsecSadEntryAdd) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAdd) Reset added in v0.5.0

func (m *IpsecSadEntryAdd) Reset()

func (*IpsecSadEntryAdd) Size added in v0.5.0

func (m *IpsecSadEntryAdd) Size() (size int)

func (*IpsecSadEntryAdd) Unmarshal added in v0.5.0

func (m *IpsecSadEntryAdd) Unmarshal(b []byte) error

type IpsecSadEntryAddDel

type IpsecSadEntryAddDel struct {
	IsAdd bool                      `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Entry ipsec_types.IpsecSadEntry `binapi:"ipsec_sad_entry,name=entry" json:"entry,omitempty"`
}

IpsecSadEntryAddDel defines message 'ipsec_sad_entry_add_del'. Deprecated: the message will be removed in the future versions

func (*IpsecSadEntryAddDel) GetCrcString

func (*IpsecSadEntryAddDel) GetCrcString() string

func (*IpsecSadEntryAddDel) GetMessageName

func (*IpsecSadEntryAddDel) GetMessageName() string

func (*IpsecSadEntryAddDel) GetMessageType

func (*IpsecSadEntryAddDel) GetMessageType() api.MessageType

func (*IpsecSadEntryAddDel) Marshal

func (m *IpsecSadEntryAddDel) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddDel) Reset

func (m *IpsecSadEntryAddDel) Reset()

func (*IpsecSadEntryAddDel) Size

func (m *IpsecSadEntryAddDel) Size() (size int)

func (*IpsecSadEntryAddDel) Unmarshal

func (m *IpsecSadEntryAddDel) Unmarshal(b []byte) error

type IpsecSadEntryAddDelReply

type IpsecSadEntryAddDelReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatIndex uint32 `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSadEntryAddDelReply defines message 'ipsec_sad_entry_add_del_reply'. Deprecated: the message will be removed in the future versions

func (*IpsecSadEntryAddDelReply) GetCrcString

func (*IpsecSadEntryAddDelReply) GetCrcString() string

func (*IpsecSadEntryAddDelReply) GetMessageName

func (*IpsecSadEntryAddDelReply) GetMessageName() string

func (*IpsecSadEntryAddDelReply) GetMessageType

func (*IpsecSadEntryAddDelReply) GetMessageType() api.MessageType

func (*IpsecSadEntryAddDelReply) Marshal

func (m *IpsecSadEntryAddDelReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddDelReply) Reset

func (m *IpsecSadEntryAddDelReply) Reset()

func (*IpsecSadEntryAddDelReply) Size

func (m *IpsecSadEntryAddDelReply) Size() (size int)

func (*IpsecSadEntryAddDelReply) Unmarshal

func (m *IpsecSadEntryAddDelReply) Unmarshal(b []byte) error

type IpsecSadEntryAddDelV2

type IpsecSadEntryAddDelV2 struct {
	IsAdd bool                        `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Entry ipsec_types.IpsecSadEntryV2 `binapi:"ipsec_sad_entry_v2,name=entry" json:"entry,omitempty"`
}

IpsecSadEntryAddDelV2 defines message 'ipsec_sad_entry_add_del_v2'.

func (*IpsecSadEntryAddDelV2) GetCrcString

func (*IpsecSadEntryAddDelV2) GetCrcString() string

func (*IpsecSadEntryAddDelV2) GetMessageName

func (*IpsecSadEntryAddDelV2) GetMessageName() string

func (*IpsecSadEntryAddDelV2) GetMessageType

func (*IpsecSadEntryAddDelV2) GetMessageType() api.MessageType

func (*IpsecSadEntryAddDelV2) Marshal

func (m *IpsecSadEntryAddDelV2) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddDelV2) Reset

func (m *IpsecSadEntryAddDelV2) Reset()

func (*IpsecSadEntryAddDelV2) Size

func (m *IpsecSadEntryAddDelV2) Size() (size int)

func (*IpsecSadEntryAddDelV2) Unmarshal

func (m *IpsecSadEntryAddDelV2) Unmarshal(b []byte) error

type IpsecSadEntryAddDelV2Reply

type IpsecSadEntryAddDelV2Reply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatIndex uint32 `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSadEntryAddDelV2Reply defines message 'ipsec_sad_entry_add_del_v2_reply'.

func (*IpsecSadEntryAddDelV2Reply) GetCrcString

func (*IpsecSadEntryAddDelV2Reply) GetCrcString() string

func (*IpsecSadEntryAddDelV2Reply) GetMessageName

func (*IpsecSadEntryAddDelV2Reply) GetMessageName() string

func (*IpsecSadEntryAddDelV2Reply) GetMessageType

func (*IpsecSadEntryAddDelV2Reply) GetMessageType() api.MessageType

func (*IpsecSadEntryAddDelV2Reply) Marshal

func (m *IpsecSadEntryAddDelV2Reply) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddDelV2Reply) Reset

func (m *IpsecSadEntryAddDelV2Reply) Reset()

func (*IpsecSadEntryAddDelV2Reply) Size

func (m *IpsecSadEntryAddDelV2Reply) Size() (size int)

func (*IpsecSadEntryAddDelV2Reply) Unmarshal

func (m *IpsecSadEntryAddDelV2Reply) Unmarshal(b []byte) error

type IpsecSadEntryAddDelV3

type IpsecSadEntryAddDelV3 struct {
	IsAdd bool                        `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Entry ipsec_types.IpsecSadEntryV3 `binapi:"ipsec_sad_entry_v3,name=entry" json:"entry,omitempty"`
}

IpsecSadEntryAddDelV3 defines message 'ipsec_sad_entry_add_del_v3'.

func (*IpsecSadEntryAddDelV3) GetCrcString

func (*IpsecSadEntryAddDelV3) GetCrcString() string

func (*IpsecSadEntryAddDelV3) GetMessageName

func (*IpsecSadEntryAddDelV3) GetMessageName() string

func (*IpsecSadEntryAddDelV3) GetMessageType

func (*IpsecSadEntryAddDelV3) GetMessageType() api.MessageType

func (*IpsecSadEntryAddDelV3) Marshal

func (m *IpsecSadEntryAddDelV3) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddDelV3) Reset

func (m *IpsecSadEntryAddDelV3) Reset()

func (*IpsecSadEntryAddDelV3) Size

func (m *IpsecSadEntryAddDelV3) Size() (size int)

func (*IpsecSadEntryAddDelV3) Unmarshal

func (m *IpsecSadEntryAddDelV3) Unmarshal(b []byte) error

type IpsecSadEntryAddDelV3Reply

type IpsecSadEntryAddDelV3Reply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatIndex uint32 `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSadEntryAddDelV3Reply defines message 'ipsec_sad_entry_add_del_v3_reply'.

func (*IpsecSadEntryAddDelV3Reply) GetCrcString

func (*IpsecSadEntryAddDelV3Reply) GetCrcString() string

func (*IpsecSadEntryAddDelV3Reply) GetMessageName

func (*IpsecSadEntryAddDelV3Reply) GetMessageName() string

func (*IpsecSadEntryAddDelV3Reply) GetMessageType

func (*IpsecSadEntryAddDelV3Reply) GetMessageType() api.MessageType

func (*IpsecSadEntryAddDelV3Reply) Marshal

func (m *IpsecSadEntryAddDelV3Reply) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddDelV3Reply) Reset

func (m *IpsecSadEntryAddDelV3Reply) Reset()

func (*IpsecSadEntryAddDelV3Reply) Size

func (m *IpsecSadEntryAddDelV3Reply) Size() (size int)

func (*IpsecSadEntryAddDelV3Reply) Unmarshal

func (m *IpsecSadEntryAddDelV3Reply) Unmarshal(b []byte) error

type IpsecSadEntryAddReply added in v0.5.0

type IpsecSadEntryAddReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatIndex uint32 `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSadEntryAddReply defines message 'ipsec_sad_entry_add_reply'.

func (*IpsecSadEntryAddReply) GetCrcString added in v0.5.0

func (*IpsecSadEntryAddReply) GetCrcString() string

func (*IpsecSadEntryAddReply) GetMessageName added in v0.5.0

func (*IpsecSadEntryAddReply) GetMessageName() string

func (*IpsecSadEntryAddReply) GetMessageType added in v0.5.0

func (*IpsecSadEntryAddReply) GetMessageType() api.MessageType

func (*IpsecSadEntryAddReply) Marshal added in v0.5.0

func (m *IpsecSadEntryAddReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryAddReply) Reset added in v0.5.0

func (m *IpsecSadEntryAddReply) Reset()

func (*IpsecSadEntryAddReply) Size added in v0.5.0

func (m *IpsecSadEntryAddReply) Size() (size int)

func (*IpsecSadEntryAddReply) Unmarshal added in v0.5.0

func (m *IpsecSadEntryAddReply) Unmarshal(b []byte) error

type IpsecSadEntryDel added in v0.5.0

type IpsecSadEntryDel struct {
	ID uint32 `binapi:"u32,name=id" json:"id,omitempty"`
}

IpsecSadEntryDel defines message 'ipsec_sad_entry_del'.

func (*IpsecSadEntryDel) GetCrcString added in v0.5.0

func (*IpsecSadEntryDel) GetCrcString() string

func (*IpsecSadEntryDel) GetMessageName added in v0.5.0

func (*IpsecSadEntryDel) GetMessageName() string

func (*IpsecSadEntryDel) GetMessageType added in v0.5.0

func (*IpsecSadEntryDel) GetMessageType() api.MessageType

func (*IpsecSadEntryDel) Marshal added in v0.5.0

func (m *IpsecSadEntryDel) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryDel) Reset added in v0.5.0

func (m *IpsecSadEntryDel) Reset()

func (*IpsecSadEntryDel) Size added in v0.5.0

func (m *IpsecSadEntryDel) Size() (size int)

func (*IpsecSadEntryDel) Unmarshal added in v0.5.0

func (m *IpsecSadEntryDel) Unmarshal(b []byte) error

type IpsecSadEntryDelReply added in v0.5.0

type IpsecSadEntryDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecSadEntryDelReply defines message 'ipsec_sad_entry_del_reply'.

func (*IpsecSadEntryDelReply) GetCrcString added in v0.5.0

func (*IpsecSadEntryDelReply) GetCrcString() string

func (*IpsecSadEntryDelReply) GetMessageName added in v0.5.0

func (*IpsecSadEntryDelReply) GetMessageName() string

func (*IpsecSadEntryDelReply) GetMessageType added in v0.5.0

func (*IpsecSadEntryDelReply) GetMessageType() api.MessageType

func (*IpsecSadEntryDelReply) Marshal added in v0.5.0

func (m *IpsecSadEntryDelReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSadEntryDelReply) Reset added in v0.5.0

func (m *IpsecSadEntryDelReply) Reset()

func (*IpsecSadEntryDelReply) Size added in v0.5.0

func (m *IpsecSadEntryDelReply) Size() (size int)

func (*IpsecSadEntryDelReply) Unmarshal added in v0.5.0

func (m *IpsecSadEntryDelReply) Unmarshal(b []byte) error

type IpsecSelectBackend

type IpsecSelectBackend struct {
	Protocol ipsec_types.IpsecProto `binapi:"ipsec_proto,name=protocol" json:"protocol,omitempty"`
	Index    uint8                  `binapi:"u8,name=index" json:"index,omitempty"`
}

IpsecSelectBackend defines message 'ipsec_select_backend'.

func (*IpsecSelectBackend) GetCrcString

func (*IpsecSelectBackend) GetCrcString() string

func (*IpsecSelectBackend) GetMessageName

func (*IpsecSelectBackend) GetMessageName() string

func (*IpsecSelectBackend) GetMessageType

func (*IpsecSelectBackend) GetMessageType() api.MessageType

func (*IpsecSelectBackend) Marshal

func (m *IpsecSelectBackend) Marshal(b []byte) ([]byte, error)

func (*IpsecSelectBackend) Reset

func (m *IpsecSelectBackend) Reset()

func (*IpsecSelectBackend) Size

func (m *IpsecSelectBackend) Size() (size int)

func (*IpsecSelectBackend) Unmarshal

func (m *IpsecSelectBackend) Unmarshal(b []byte) error

type IpsecSelectBackendReply

type IpsecSelectBackendReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecSelectBackendReply defines message 'ipsec_select_backend_reply'.

func (*IpsecSelectBackendReply) GetCrcString

func (*IpsecSelectBackendReply) GetCrcString() string

func (*IpsecSelectBackendReply) GetMessageName

func (*IpsecSelectBackendReply) GetMessageName() string

func (*IpsecSelectBackendReply) GetMessageType

func (*IpsecSelectBackendReply) GetMessageType() api.MessageType

func (*IpsecSelectBackendReply) Marshal

func (m *IpsecSelectBackendReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSelectBackendReply) Reset

func (m *IpsecSelectBackendReply) Reset()

func (*IpsecSelectBackendReply) Size

func (m *IpsecSelectBackendReply) Size() (size int)

func (*IpsecSelectBackendReply) Unmarshal

func (m *IpsecSelectBackendReply) Unmarshal(b []byte) error

type IpsecSetAsyncMode

type IpsecSetAsyncMode struct {
	AsyncEnable bool `binapi:"bool,name=async_enable" json:"async_enable,omitempty"`
}

IpsecSetAsyncMode defines message 'ipsec_set_async_mode'.

func (*IpsecSetAsyncMode) GetCrcString

func (*IpsecSetAsyncMode) GetCrcString() string

func (*IpsecSetAsyncMode) GetMessageName

func (*IpsecSetAsyncMode) GetMessageName() string

func (*IpsecSetAsyncMode) GetMessageType

func (*IpsecSetAsyncMode) GetMessageType() api.MessageType

func (*IpsecSetAsyncMode) Marshal

func (m *IpsecSetAsyncMode) Marshal(b []byte) ([]byte, error)

func (*IpsecSetAsyncMode) Reset

func (m *IpsecSetAsyncMode) Reset()

func (*IpsecSetAsyncMode) Size

func (m *IpsecSetAsyncMode) Size() (size int)

func (*IpsecSetAsyncMode) Unmarshal

func (m *IpsecSetAsyncMode) Unmarshal(b []byte) error

type IpsecSetAsyncModeReply

type IpsecSetAsyncModeReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecSetAsyncModeReply defines message 'ipsec_set_async_mode_reply'.

func (*IpsecSetAsyncModeReply) GetCrcString

func (*IpsecSetAsyncModeReply) GetCrcString() string

func (*IpsecSetAsyncModeReply) GetMessageName

func (*IpsecSetAsyncModeReply) GetMessageName() string

func (*IpsecSetAsyncModeReply) GetMessageType

func (*IpsecSetAsyncModeReply) GetMessageType() api.MessageType

func (*IpsecSetAsyncModeReply) Marshal

func (m *IpsecSetAsyncModeReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSetAsyncModeReply) Reset

func (m *IpsecSetAsyncModeReply) Reset()

func (*IpsecSetAsyncModeReply) Size

func (m *IpsecSetAsyncModeReply) Size() (size int)

func (*IpsecSetAsyncModeReply) Unmarshal

func (m *IpsecSetAsyncModeReply) Unmarshal(b []byte) error

type IpsecSpdAction

type IpsecSpdAction uint32

IpsecSpdAction defines 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 bool   `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	SpdID uint32 `binapi:"u32,name=spd_id" json:"spd_id,omitempty"`
}

IpsecSpdAddDel defines message 'ipsec_spd_add_del'.

func (*IpsecSpdAddDel) GetCrcString

func (*IpsecSpdAddDel) GetCrcString() string

func (*IpsecSpdAddDel) GetMessageName

func (*IpsecSpdAddDel) GetMessageName() string

func (*IpsecSpdAddDel) GetMessageType

func (*IpsecSpdAddDel) GetMessageType() api.MessageType

func (*IpsecSpdAddDel) Marshal

func (m *IpsecSpdAddDel) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdAddDel) Reset

func (m *IpsecSpdAddDel) Reset()

func (*IpsecSpdAddDel) Size

func (m *IpsecSpdAddDel) Size() (size int)

func (*IpsecSpdAddDel) Unmarshal

func (m *IpsecSpdAddDel) Unmarshal(b []byte) error

type IpsecSpdAddDelReply

type IpsecSpdAddDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecSpdAddDelReply defines message 'ipsec_spd_add_del_reply'.

func (*IpsecSpdAddDelReply) GetCrcString

func (*IpsecSpdAddDelReply) GetCrcString() string

func (*IpsecSpdAddDelReply) GetMessageName

func (*IpsecSpdAddDelReply) GetMessageName() string

func (*IpsecSpdAddDelReply) GetMessageType

func (*IpsecSpdAddDelReply) GetMessageType() api.MessageType

func (*IpsecSpdAddDelReply) Marshal

func (m *IpsecSpdAddDelReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdAddDelReply) Reset

func (m *IpsecSpdAddDelReply) Reset()

func (*IpsecSpdAddDelReply) Size

func (m *IpsecSpdAddDelReply) Size() (size int)

func (*IpsecSpdAddDelReply) Unmarshal

func (m *IpsecSpdAddDelReply) Unmarshal(b []byte) error

type IpsecSpdDetails

type IpsecSpdDetails struct {
	Entry IpsecSpdEntry `binapi:"ipsec_spd_entry,name=entry" json:"entry,omitempty"`
}

IpsecSpdDetails defines message 'ipsec_spd_details'.

func (*IpsecSpdDetails) GetCrcString

func (*IpsecSpdDetails) GetCrcString() string

func (*IpsecSpdDetails) GetMessageName

func (*IpsecSpdDetails) GetMessageName() string

func (*IpsecSpdDetails) GetMessageType

func (*IpsecSpdDetails) GetMessageType() api.MessageType

func (*IpsecSpdDetails) Marshal

func (m *IpsecSpdDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdDetails) Reset

func (m *IpsecSpdDetails) Reset()

func (*IpsecSpdDetails) Size

func (m *IpsecSpdDetails) Size() (size int)

func (*IpsecSpdDetails) Unmarshal

func (m *IpsecSpdDetails) Unmarshal(b []byte) error

type IpsecSpdDump

type IpsecSpdDump struct {
	SpdID uint32 `binapi:"u32,name=spd_id" json:"spd_id,omitempty"`
	SaID  uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"`
}

IpsecSpdDump defines message 'ipsec_spd_dump'.

func (*IpsecSpdDump) GetCrcString

func (*IpsecSpdDump) GetCrcString() string

func (*IpsecSpdDump) GetMessageName

func (*IpsecSpdDump) GetMessageName() string

func (*IpsecSpdDump) GetMessageType

func (*IpsecSpdDump) GetMessageType() api.MessageType

func (*IpsecSpdDump) Marshal

func (m *IpsecSpdDump) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdDump) Reset

func (m *IpsecSpdDump) Reset()

func (*IpsecSpdDump) Size

func (m *IpsecSpdDump) Size() (size int)

func (*IpsecSpdDump) Unmarshal

func (m *IpsecSpdDump) Unmarshal(b []byte) error

type IpsecSpdEntry

type IpsecSpdEntry struct {
	SpdID              uint32           `binapi:"u32,name=spd_id" json:"spd_id,omitempty"`
	Priority           int32            `binapi:"i32,name=priority" json:"priority,omitempty"`
	IsOutbound         bool             `binapi:"bool,name=is_outbound" json:"is_outbound,omitempty"`
	SaID               uint32           `binapi:"u32,name=sa_id" json:"sa_id,omitempty"`
	Policy             IpsecSpdAction   `binapi:"ipsec_spd_action,name=policy" json:"policy,omitempty"`
	Protocol           uint8            `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	RemoteAddressStart ip_types.Address `binapi:"address,name=remote_address_start" json:"remote_address_start,omitempty"`
	RemoteAddressStop  ip_types.Address `binapi:"address,name=remote_address_stop" json:"remote_address_stop,omitempty"`
	LocalAddressStart  ip_types.Address `binapi:"address,name=local_address_start" json:"local_address_start,omitempty"`
	LocalAddressStop   ip_types.Address `binapi:"address,name=local_address_stop" json:"local_address_stop,omitempty"`
	RemotePortStart    uint16           `binapi:"u16,name=remote_port_start" json:"remote_port_start,omitempty"`
	RemotePortStop     uint16           `binapi:"u16,name=remote_port_stop" json:"remote_port_stop,omitempty"`
	LocalPortStart     uint16           `binapi:"u16,name=local_port_start" json:"local_port_start,omitempty"`
	LocalPortStop      uint16           `binapi:"u16,name=local_port_stop" json:"local_port_stop,omitempty"`
}

IpsecSpdEntry defines type 'ipsec_spd_entry'.

type IpsecSpdEntryAddDel

type IpsecSpdEntryAddDel struct {
	IsAdd bool          `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Entry IpsecSpdEntry `binapi:"ipsec_spd_entry,name=entry" json:"entry,omitempty"`
}

IpsecSpdEntryAddDel defines message 'ipsec_spd_entry_add_del'.

func (*IpsecSpdEntryAddDel) GetCrcString

func (*IpsecSpdEntryAddDel) GetCrcString() string

func (*IpsecSpdEntryAddDel) GetMessageName

func (*IpsecSpdEntryAddDel) GetMessageName() string

func (*IpsecSpdEntryAddDel) GetMessageType

func (*IpsecSpdEntryAddDel) GetMessageType() api.MessageType

func (*IpsecSpdEntryAddDel) Marshal

func (m *IpsecSpdEntryAddDel) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdEntryAddDel) Reset

func (m *IpsecSpdEntryAddDel) Reset()

func (*IpsecSpdEntryAddDel) Size

func (m *IpsecSpdEntryAddDel) Size() (size int)

func (*IpsecSpdEntryAddDel) Unmarshal

func (m *IpsecSpdEntryAddDel) Unmarshal(b []byte) error

type IpsecSpdEntryAddDelReply

type IpsecSpdEntryAddDelReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatIndex uint32 `binapi:"u32,name=stat_index" json:"stat_index,omitempty"`
}

IpsecSpdEntryAddDelReply defines message 'ipsec_spd_entry_add_del_reply'.

func (*IpsecSpdEntryAddDelReply) GetCrcString

func (*IpsecSpdEntryAddDelReply) GetCrcString() string

func (*IpsecSpdEntryAddDelReply) GetMessageName

func (*IpsecSpdEntryAddDelReply) GetMessageName() string

func (*IpsecSpdEntryAddDelReply) GetMessageType

func (*IpsecSpdEntryAddDelReply) GetMessageType() api.MessageType

func (*IpsecSpdEntryAddDelReply) Marshal

func (m *IpsecSpdEntryAddDelReply) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdEntryAddDelReply) Reset

func (m *IpsecSpdEntryAddDelReply) Reset()

func (*IpsecSpdEntryAddDelReply) Size

func (m *IpsecSpdEntryAddDelReply) Size() (size int)

func (*IpsecSpdEntryAddDelReply) Unmarshal

func (m *IpsecSpdEntryAddDelReply) Unmarshal(b []byte) error

type IpsecSpdInterfaceDetails

type IpsecSpdInterfaceDetails struct {
	SpdIndex  uint32                         `binapi:"u32,name=spd_index" json:"spd_index,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpsecSpdInterfaceDetails defines message 'ipsec_spd_interface_details'.

func (*IpsecSpdInterfaceDetails) GetCrcString

func (*IpsecSpdInterfaceDetails) GetCrcString() string

func (*IpsecSpdInterfaceDetails) GetMessageName

func (*IpsecSpdInterfaceDetails) GetMessageName() string

func (*IpsecSpdInterfaceDetails) GetMessageType

func (*IpsecSpdInterfaceDetails) GetMessageType() api.MessageType

func (*IpsecSpdInterfaceDetails) Marshal

func (m *IpsecSpdInterfaceDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdInterfaceDetails) Reset

func (m *IpsecSpdInterfaceDetails) Reset()

func (*IpsecSpdInterfaceDetails) Size

func (m *IpsecSpdInterfaceDetails) Size() (size int)

func (*IpsecSpdInterfaceDetails) Unmarshal

func (m *IpsecSpdInterfaceDetails) Unmarshal(b []byte) error

type IpsecSpdInterfaceDump

type IpsecSpdInterfaceDump struct {
	SpdIndex      uint32 `binapi:"u32,name=spd_index" json:"spd_index,omitempty"`
	SpdIndexValid uint8  `binapi:"u8,name=spd_index_valid" json:"spd_index_valid,omitempty"`
}

IpsecSpdInterfaceDump defines message 'ipsec_spd_interface_dump'.

func (*IpsecSpdInterfaceDump) GetCrcString

func (*IpsecSpdInterfaceDump) GetCrcString() string

func (*IpsecSpdInterfaceDump) GetMessageName

func (*IpsecSpdInterfaceDump) GetMessageName() string

func (*IpsecSpdInterfaceDump) GetMessageType

func (*IpsecSpdInterfaceDump) GetMessageType() api.MessageType

func (*IpsecSpdInterfaceDump) Marshal

func (m *IpsecSpdInterfaceDump) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdInterfaceDump) Reset

func (m *IpsecSpdInterfaceDump) Reset()

func (*IpsecSpdInterfaceDump) Size

func (m *IpsecSpdInterfaceDump) Size() (size int)

func (*IpsecSpdInterfaceDump) Unmarshal

func (m *IpsecSpdInterfaceDump) Unmarshal(b []byte) error

type IpsecSpdsDetails

type IpsecSpdsDetails struct {
	SpdID     uint32 `binapi:"u32,name=spd_id" json:"spd_id,omitempty"`
	Npolicies uint32 `binapi:"u32,name=npolicies" json:"npolicies,omitempty"`
}

IpsecSpdsDetails defines message 'ipsec_spds_details'.

func (*IpsecSpdsDetails) GetCrcString

func (*IpsecSpdsDetails) GetCrcString() string

func (*IpsecSpdsDetails) GetMessageName

func (*IpsecSpdsDetails) GetMessageName() string

func (*IpsecSpdsDetails) GetMessageType

func (*IpsecSpdsDetails) GetMessageType() api.MessageType

func (*IpsecSpdsDetails) Marshal

func (m *IpsecSpdsDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdsDetails) Reset

func (m *IpsecSpdsDetails) Reset()

func (*IpsecSpdsDetails) Size

func (m *IpsecSpdsDetails) Size() (size int)

func (*IpsecSpdsDetails) Unmarshal

func (m *IpsecSpdsDetails) Unmarshal(b []byte) error

type IpsecSpdsDump

type IpsecSpdsDump struct{}

IpsecSpdsDump defines message 'ipsec_spds_dump'.

func (*IpsecSpdsDump) GetCrcString

func (*IpsecSpdsDump) GetCrcString() string

func (*IpsecSpdsDump) GetMessageName

func (*IpsecSpdsDump) GetMessageName() string

func (*IpsecSpdsDump) GetMessageType

func (*IpsecSpdsDump) GetMessageType() api.MessageType

func (*IpsecSpdsDump) Marshal

func (m *IpsecSpdsDump) Marshal(b []byte) ([]byte, error)

func (*IpsecSpdsDump) Reset

func (m *IpsecSpdsDump) Reset()

func (*IpsecSpdsDump) Size

func (m *IpsecSpdsDump) Size() (size int)

func (*IpsecSpdsDump) Unmarshal

func (m *IpsecSpdsDump) Unmarshal(b []byte) error

type IpsecTunnelProtect

type IpsecTunnelProtect struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Nh        ip_types.Address               `binapi:"address,name=nh" json:"nh,omitempty"`
	SaOut     uint32                         `binapi:"u32,name=sa_out" json:"sa_out,omitempty"`
	NSaIn     uint8                          `binapi:"u8,name=n_sa_in" json:"-"`
	SaIn      []uint32                       `binapi:"u32[n_sa_in],name=sa_in" json:"sa_in,omitempty"`
}

IpsecTunnelProtect defines type 'ipsec_tunnel_protect'.

type IpsecTunnelProtectDel

type IpsecTunnelProtectDel struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Nh        ip_types.Address               `binapi:"address,name=nh" json:"nh,omitempty"`
}

IpsecTunnelProtectDel defines message 'ipsec_tunnel_protect_del'.

func (*IpsecTunnelProtectDel) GetCrcString

func (*IpsecTunnelProtectDel) GetCrcString() string

func (*IpsecTunnelProtectDel) GetMessageName

func (*IpsecTunnelProtectDel) GetMessageName() string

func (*IpsecTunnelProtectDel) GetMessageType

func (*IpsecTunnelProtectDel) GetMessageType() api.MessageType

func (*IpsecTunnelProtectDel) Marshal

func (m *IpsecTunnelProtectDel) Marshal(b []byte) ([]byte, error)

func (*IpsecTunnelProtectDel) Reset

func (m *IpsecTunnelProtectDel) Reset()

func (*IpsecTunnelProtectDel) Size

func (m *IpsecTunnelProtectDel) Size() (size int)

func (*IpsecTunnelProtectDel) Unmarshal

func (m *IpsecTunnelProtectDel) Unmarshal(b []byte) error

type IpsecTunnelProtectDelReply

type IpsecTunnelProtectDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecTunnelProtectDelReply defines message 'ipsec_tunnel_protect_del_reply'.

func (*IpsecTunnelProtectDelReply) GetCrcString

func (*IpsecTunnelProtectDelReply) GetCrcString() string

func (*IpsecTunnelProtectDelReply) GetMessageName

func (*IpsecTunnelProtectDelReply) GetMessageName() string

func (*IpsecTunnelProtectDelReply) GetMessageType

func (*IpsecTunnelProtectDelReply) GetMessageType() api.MessageType

func (*IpsecTunnelProtectDelReply) Marshal

func (m *IpsecTunnelProtectDelReply) Marshal(b []byte) ([]byte, error)

func (*IpsecTunnelProtectDelReply) Reset

func (m *IpsecTunnelProtectDelReply) Reset()

func (*IpsecTunnelProtectDelReply) Size

func (m *IpsecTunnelProtectDelReply) Size() (size int)

func (*IpsecTunnelProtectDelReply) Unmarshal

func (m *IpsecTunnelProtectDelReply) Unmarshal(b []byte) error

type IpsecTunnelProtectDetails

type IpsecTunnelProtectDetails struct {
	Tun IpsecTunnelProtect `binapi:"ipsec_tunnel_protect,name=tun" json:"tun,omitempty"`
}

IpsecTunnelProtectDetails defines message 'ipsec_tunnel_protect_details'.

func (*IpsecTunnelProtectDetails) GetCrcString

func (*IpsecTunnelProtectDetails) GetCrcString() string

func (*IpsecTunnelProtectDetails) GetMessageName

func (*IpsecTunnelProtectDetails) GetMessageName() string

func (*IpsecTunnelProtectDetails) GetMessageType

func (*IpsecTunnelProtectDetails) GetMessageType() api.MessageType

func (*IpsecTunnelProtectDetails) Marshal

func (m *IpsecTunnelProtectDetails) Marshal(b []byte) ([]byte, error)

func (*IpsecTunnelProtectDetails) Reset

func (m *IpsecTunnelProtectDetails) Reset()

func (*IpsecTunnelProtectDetails) Size

func (m *IpsecTunnelProtectDetails) Size() (size int)

func (*IpsecTunnelProtectDetails) Unmarshal

func (m *IpsecTunnelProtectDetails) Unmarshal(b []byte) error

type IpsecTunnelProtectDump

type IpsecTunnelProtectDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpsecTunnelProtectDump defines message 'ipsec_tunnel_protect_dump'.

func (*IpsecTunnelProtectDump) GetCrcString

func (*IpsecTunnelProtectDump) GetCrcString() string

func (*IpsecTunnelProtectDump) GetMessageName

func (*IpsecTunnelProtectDump) GetMessageName() string

func (*IpsecTunnelProtectDump) GetMessageType

func (*IpsecTunnelProtectDump) GetMessageType() api.MessageType

func (*IpsecTunnelProtectDump) Marshal

func (m *IpsecTunnelProtectDump) Marshal(b []byte) ([]byte, error)

func (*IpsecTunnelProtectDump) Reset

func (m *IpsecTunnelProtectDump) Reset()

func (*IpsecTunnelProtectDump) Size

func (m *IpsecTunnelProtectDump) Size() (size int)

func (*IpsecTunnelProtectDump) Unmarshal

func (m *IpsecTunnelProtectDump) Unmarshal(b []byte) error

type IpsecTunnelProtectUpdate

type IpsecTunnelProtectUpdate struct {
	Tunnel IpsecTunnelProtect `binapi:"ipsec_tunnel_protect,name=tunnel" json:"tunnel,omitempty"`
}

IpsecTunnelProtectUpdate defines message 'ipsec_tunnel_protect_update'.

func (*IpsecTunnelProtectUpdate) GetCrcString

func (*IpsecTunnelProtectUpdate) GetCrcString() string

func (*IpsecTunnelProtectUpdate) GetMessageName

func (*IpsecTunnelProtectUpdate) GetMessageName() string

func (*IpsecTunnelProtectUpdate) GetMessageType

func (*IpsecTunnelProtectUpdate) GetMessageType() api.MessageType

func (*IpsecTunnelProtectUpdate) Marshal

func (m *IpsecTunnelProtectUpdate) Marshal(b []byte) ([]byte, error)

func (*IpsecTunnelProtectUpdate) Reset

func (m *IpsecTunnelProtectUpdate) Reset()

func (*IpsecTunnelProtectUpdate) Size

func (m *IpsecTunnelProtectUpdate) Size() (size int)

func (*IpsecTunnelProtectUpdate) Unmarshal

func (m *IpsecTunnelProtectUpdate) Unmarshal(b []byte) error

type IpsecTunnelProtectUpdateReply

type IpsecTunnelProtectUpdateReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpsecTunnelProtectUpdateReply defines message 'ipsec_tunnel_protect_update_reply'.

func (*IpsecTunnelProtectUpdateReply) GetCrcString

func (*IpsecTunnelProtectUpdateReply) GetCrcString() string

func (*IpsecTunnelProtectUpdateReply) GetMessageName

func (*IpsecTunnelProtectUpdateReply) GetMessageName() string

func (*IpsecTunnelProtectUpdateReply) GetMessageType

func (*IpsecTunnelProtectUpdateReply) GetMessageType() api.MessageType

func (*IpsecTunnelProtectUpdateReply) Marshal

func (m *IpsecTunnelProtectUpdateReply) Marshal(b []byte) ([]byte, error)

func (*IpsecTunnelProtectUpdateReply) Reset

func (m *IpsecTunnelProtectUpdateReply) Reset()

func (*IpsecTunnelProtectUpdateReply) Size

func (m *IpsecTunnelProtectUpdateReply) Size() (size int)

func (*IpsecTunnelProtectUpdateReply) Unmarshal

func (m *IpsecTunnelProtectUpdateReply) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	IpsecBackendDump(ctx context.Context, in *IpsecBackendDump) (RPCService_IpsecBackendDumpClient, error)
	IpsecInterfaceAddDelSpd(ctx context.Context, in *IpsecInterfaceAddDelSpd) (*IpsecInterfaceAddDelSpdReply, error)
	IpsecItfCreate(ctx context.Context, in *IpsecItfCreate) (*IpsecItfCreateReply, error)
	IpsecItfDelete(ctx context.Context, in *IpsecItfDelete) (*IpsecItfDeleteReply, error)
	IpsecItfDump(ctx context.Context, in *IpsecItfDump) (RPCService_IpsecItfDumpClient, error)
	IpsecSaDump(ctx context.Context, in *IpsecSaDump) (RPCService_IpsecSaDumpClient, error)
	IpsecSaV2Dump(ctx context.Context, in *IpsecSaV2Dump) (RPCService_IpsecSaV2DumpClient, error)
	IpsecSaV3Dump(ctx context.Context, in *IpsecSaV3Dump) (RPCService_IpsecSaV3DumpClient, error)
	IpsecSadEntryAdd(ctx context.Context, in *IpsecSadEntryAdd) (*IpsecSadEntryAddReply, error)
	IpsecSadEntryAddDel(ctx context.Context, in *IpsecSadEntryAddDel) (*IpsecSadEntryAddDelReply, error)
	IpsecSadEntryAddDelV2(ctx context.Context, in *IpsecSadEntryAddDelV2) (*IpsecSadEntryAddDelV2Reply, error)
	IpsecSadEntryAddDelV3(ctx context.Context, in *IpsecSadEntryAddDelV3) (*IpsecSadEntryAddDelV3Reply, error)
	IpsecSadEntryDel(ctx context.Context, in *IpsecSadEntryDel) (*IpsecSadEntryDelReply, error)
	IpsecSelectBackend(ctx context.Context, in *IpsecSelectBackend) (*IpsecSelectBackendReply, error)
	IpsecSetAsyncMode(ctx context.Context, in *IpsecSetAsyncMode) (*IpsecSetAsyncModeReply, error)
	IpsecSpdAddDel(ctx context.Context, in *IpsecSpdAddDel) (*IpsecSpdAddDelReply, error)
	IpsecSpdDump(ctx context.Context, in *IpsecSpdDump) (RPCService_IpsecSpdDumpClient, error)
	IpsecSpdEntryAddDel(ctx context.Context, in *IpsecSpdEntryAddDel) (*IpsecSpdEntryAddDelReply, error)
	IpsecSpdInterfaceDump(ctx context.Context, in *IpsecSpdInterfaceDump) (RPCService_IpsecSpdInterfaceDumpClient, error)
	IpsecSpdsDump(ctx context.Context, in *IpsecSpdsDump) (RPCService_IpsecSpdsDumpClient, error)
	IpsecTunnelProtectDel(ctx context.Context, in *IpsecTunnelProtectDel) (*IpsecTunnelProtectDelReply, error)
	IpsecTunnelProtectDump(ctx context.Context, in *IpsecTunnelProtectDump) (RPCService_IpsecTunnelProtectDumpClient, error)
	IpsecTunnelProtectUpdate(ctx context.Context, in *IpsecTunnelProtectUpdate) (*IpsecTunnelProtectUpdateReply, error)
}

RPCService defines RPC service ipsec.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_IpsecBackendDumpClient

type RPCService_IpsecBackendDumpClient interface {
	Recv() (*IpsecBackendDetails, error)
	api.Stream
}

type RPCService_IpsecItfDumpClient

type RPCService_IpsecItfDumpClient interface {
	Recv() (*IpsecItfDetails, error)
	api.Stream
}

type RPCService_IpsecSaDumpClient

type RPCService_IpsecSaDumpClient interface {
	Recv() (*IpsecSaDetails, error)
	api.Stream
}

type RPCService_IpsecSaV2DumpClient

type RPCService_IpsecSaV2DumpClient interface {
	Recv() (*IpsecSaV2Details, error)
	api.Stream
}

type RPCService_IpsecSaV3DumpClient

type RPCService_IpsecSaV3DumpClient interface {
	Recv() (*IpsecSaV3Details, error)
	api.Stream
}

type RPCService_IpsecSpdDumpClient

type RPCService_IpsecSpdDumpClient interface {
	Recv() (*IpsecSpdDetails, error)
	api.Stream
}

type RPCService_IpsecSpdInterfaceDumpClient

type RPCService_IpsecSpdInterfaceDumpClient interface {
	Recv() (*IpsecSpdInterfaceDetails, error)
	api.Stream
}

type RPCService_IpsecSpdsDumpClient

type RPCService_IpsecSpdsDumpClient interface {
	Recv() (*IpsecSpdsDetails, error)
	api.Stream
}

type RPCService_IpsecTunnelProtectDumpClient

type RPCService_IpsecTunnelProtectDumpClient interface {
	Recv() (*IpsecTunnelProtectDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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