ikev2

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Contents:

 6 aliases
10 enums
 6 structs
 1 union
28 messages

Index

Constants

View Source
const (
	APIFile    = "ikev2"
	APIVersion = "1.0.1"
	VersionCrc = 0x4eab5d22
)

Variables

View Source
var (
	AddressFamily_name = map[uint32]string{
		0: "ADDRESS_IP4",
		1: "ADDRESS_IP6",
	}
	AddressFamily_value = map[string]uint32{
		"ADDRESS_IP4": 0,
		"ADDRESS_IP6": 1,
	}
)
View Source
var (
	IfStatusFlags_name = map[uint32]string{
		1: "IF_STATUS_API_FLAG_ADMIN_UP",
		2: "IF_STATUS_API_FLAG_LINK_UP",
	}
	IfStatusFlags_value = map[string]uint32{
		"IF_STATUS_API_FLAG_ADMIN_UP": 1,
		"IF_STATUS_API_FLAG_LINK_UP":  2,
	}
)
View Source
var (
	IfType_name = map[uint32]string{
		1: "IF_API_TYPE_HARDWARE",
		2: "IF_API_TYPE_SUB",
		3: "IF_API_TYPE_P2P",
		4: "IF_API_TYPE_PIPE",
	}
	IfType_value = map[string]uint32{
		"IF_API_TYPE_HARDWARE": 1,
		"IF_API_TYPE_SUB":      2,
		"IF_API_TYPE_P2P":      3,
		"IF_API_TYPE_PIPE":     4,
	}
)
View Source
var (
	IPDscp_name = map[uint8]string{
		0:  "IP_API_DSCP_CS0",
		8:  "IP_API_DSCP_CS1",
		10: "IP_API_DSCP_AF11",
		12: "IP_API_DSCP_AF12",
		14: "IP_API_DSCP_AF13",
		16: "IP_API_DSCP_CS2",
		18: "IP_API_DSCP_AF21",
		20: "IP_API_DSCP_AF22",
		22: "IP_API_DSCP_AF23",
		24: "IP_API_DSCP_CS3",
		26: "IP_API_DSCP_AF31",
		28: "IP_API_DSCP_AF32",
		30: "IP_API_DSCP_AF33",
		32: "IP_API_DSCP_CS4",
		34: "IP_API_DSCP_AF41",
		36: "IP_API_DSCP_AF42",
		38: "IP_API_DSCP_AF43",
		40: "IP_API_DSCP_CS5",
		46: "IP_API_DSCP_EF",
		48: "IP_API_DSCP_CS6",
		50: "IP_API_DSCP_CS7",
	}
	IPDscp_value = map[string]uint8{
		"IP_API_DSCP_CS0":  0,
		"IP_API_DSCP_CS1":  8,
		"IP_API_DSCP_AF11": 10,
		"IP_API_DSCP_AF12": 12,
		"IP_API_DSCP_AF13": 14,
		"IP_API_DSCP_CS2":  16,
		"IP_API_DSCP_AF21": 18,
		"IP_API_DSCP_AF22": 20,
		"IP_API_DSCP_AF23": 22,
		"IP_API_DSCP_CS3":  24,
		"IP_API_DSCP_AF31": 26,
		"IP_API_DSCP_AF32": 28,
		"IP_API_DSCP_AF33": 30,
		"IP_API_DSCP_CS4":  32,
		"IP_API_DSCP_AF41": 34,
		"IP_API_DSCP_AF42": 36,
		"IP_API_DSCP_AF43": 38,
		"IP_API_DSCP_CS5":  40,
		"IP_API_DSCP_EF":   46,
		"IP_API_DSCP_CS6":  48,
		"IP_API_DSCP_CS7":  50,
	}
)
View Source
var (
	IPEcn_name = map[uint8]string{
		0: "IP_API_ECN_NONE",
		1: "IP_API_ECN_ECT0",
		2: "IP_API_ECN_ECT1",
		3: "IP_API_ECN_CE",
	}
	IPEcn_value = map[string]uint8{
		"IP_API_ECN_NONE": 0,
		"IP_API_ECN_ECT0": 1,
		"IP_API_ECN_ECT1": 2,
		"IP_API_ECN_CE":   3,
	}
)
View Source
var (
	IPProto_name = map[uint32]string{
		0:   "IP_API_PROTO_HOPOPT",
		1:   "IP_API_PROTO_ICMP",
		2:   "IP_API_PROTO_IGMP",
		6:   "IP_API_PROTO_TCP",
		17:  "IP_API_PROTO_UDP",
		47:  "IP_API_PROTO_GRE",
		50:  "IP_API_PROTO_AH",
		51:  "IP_API_PROTO_ESP",
		88:  "IP_API_PROTO_EIGRP",
		89:  "IP_API_PROTO_OSPF",
		132: "IP_API_PROTO_SCTP",
		255: "IP_API_PROTO_RESERVED",
	}
	IPProto_value = map[string]uint32{
		"IP_API_PROTO_HOPOPT":   0,
		"IP_API_PROTO_ICMP":     1,
		"IP_API_PROTO_IGMP":     2,
		"IP_API_PROTO_TCP":      6,
		"IP_API_PROTO_UDP":      17,
		"IP_API_PROTO_GRE":      47,
		"IP_API_PROTO_AH":       50,
		"IP_API_PROTO_ESP":      51,
		"IP_API_PROTO_EIGRP":    88,
		"IP_API_PROTO_OSPF":     89,
		"IP_API_PROTO_SCTP":     132,
		"IP_API_PROTO_RESERVED": 255,
	}
)
View Source
var (
	LinkDuplex_name = map[uint32]string{
		0: "LINK_DUPLEX_API_UNKNOWN",
		1: "LINK_DUPLEX_API_HALF",
		2: "LINK_DUPLEX_API_FULL",
	}
	LinkDuplex_value = map[string]uint32{
		"LINK_DUPLEX_API_UNKNOWN": 0,
		"LINK_DUPLEX_API_HALF":    1,
		"LINK_DUPLEX_API_FULL":    2,
	}
)
View Source
var (
	MtuProto_name = map[uint32]string{
		1: "MTU_PROTO_API_L3",
		2: "MTU_PROTO_API_IP4",
		3: "MTU_PROTO_API_IP6",
		4: "MTU_PROTO_API_MPLS",
		5: "MTU_PROTO_API_N",
	}
	MtuProto_value = map[string]uint32{
		"MTU_PROTO_API_L3":   1,
		"MTU_PROTO_API_IP4":  2,
		"MTU_PROTO_API_IP6":  3,
		"MTU_PROTO_API_MPLS": 4,
		"MTU_PROTO_API_N":    5,
	}
)
View Source
var (
	RxMode_name = map[uint32]string{
		0: "RX_MODE_API_UNKNOWN",
		1: "RX_MODE_API_POLLING",
		2: "RX_MODE_API_INTERRUPT",
		3: "RX_MODE_API_ADAPTIVE",
		4: "RX_MODE_API_DEFAULT",
	}
	RxMode_value = map[string]uint32{
		"RX_MODE_API_UNKNOWN":   0,
		"RX_MODE_API_POLLING":   1,
		"RX_MODE_API_INTERRUPT": 2,
		"RX_MODE_API_ADAPTIVE":  3,
		"RX_MODE_API_DEFAULT":   4,
	}
)
View Source
var (
	SubIfFlags_name = map[uint32]string{
		1:   "SUB_IF_API_FLAG_NO_TAGS",
		2:   "SUB_IF_API_FLAG_ONE_TAG",
		4:   "SUB_IF_API_FLAG_TWO_TAGS",
		8:   "SUB_IF_API_FLAG_DOT1AD",
		16:  "SUB_IF_API_FLAG_EXACT_MATCH",
		32:  "SUB_IF_API_FLAG_DEFAULT",
		64:  "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
		128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
		254: "SUB_IF_API_FLAG_MASK_VNET",
		256: "SUB_IF_API_FLAG_DOT1AH",
	}
	SubIfFlags_value = map[string]uint32{
		"SUB_IF_API_FLAG_NO_TAGS":           1,
		"SUB_IF_API_FLAG_ONE_TAG":           2,
		"SUB_IF_API_FLAG_TWO_TAGS":          4,
		"SUB_IF_API_FLAG_DOT1AD":            8,
		"SUB_IF_API_FLAG_EXACT_MATCH":       16,
		"SUB_IF_API_FLAG_DEFAULT":           32,
		"SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64,
		"SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128,
		"SUB_IF_API_FLAG_MASK_VNET":         254,
		"SUB_IF_API_FLAG_DOT1AH":            256,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address struct {
	Af AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
	Un AddressUnion  `binapi:"address_union,name=un" json:"un,omitempty"`
}

Address defines type 'address'.

func ParseAddress

func ParseAddress(s string) (Address, error)

func (*Address) MarshalText

func (x *Address) MarshalText() ([]byte, error)

func (Address) String

func (x Address) String() string

func (Address) ToIP

func (x Address) ToIP() net.IP

func (*Address) UnmarshalText

func (x *Address) UnmarshalText(text []byte) error

type AddressFamily

type AddressFamily uint32

AddressFamily defines enum 'address_family'.

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

func (AddressFamily) String

func (x AddressFamily) String() string

type AddressUnion

type AddressUnion struct {
	// IP4 *IP4Address
	// IP6 *IP6Address
	XXX_UnionData [16]byte
}

AddressUnion defines union 'address_union'.

func AddressUnionIP4

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetIP4

func (u *AddressUnion) GetIP4() (a IP4Address)

func (*AddressUnion) GetIP6

func (u *AddressUnion) GetIP6() (a IP6Address)

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type AddressWithPrefix

type AddressWithPrefix Prefix

AddressWithPrefix defines alias 'address_with_prefix'.

func ParseAddressWithPrefix

func ParseAddressWithPrefix(s string) (AddressWithPrefix, error)

func (*AddressWithPrefix) MarshalText

func (x *AddressWithPrefix) MarshalText() ([]byte, error)

func (AddressWithPrefix) String

func (x AddressWithPrefix) String() string

func (*AddressWithPrefix) UnmarshalText

func (x *AddressWithPrefix) UnmarshalText(text []byte) error

type IP4Address

type IP4Address [4]uint8

IP4Address defines alias 'ip4_address'.

func ParseIP4Address

func ParseIP4Address(s string) (IP4Address, error)

func (*IP4Address) MarshalText

func (x *IP4Address) MarshalText() ([]byte, error)

func (IP4Address) String

func (x IP4Address) String() string

func (IP4Address) ToIP

func (x IP4Address) ToIP() net.IP

func (*IP4Address) UnmarshalText

func (x *IP4Address) UnmarshalText(text []byte) error

type IP4AddressWithPrefix

type IP4AddressWithPrefix IP4Prefix

IP4AddressWithPrefix defines alias 'ip4_address_with_prefix'.

type IP4Prefix

type IP4Prefix struct {
	Address IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"`
	Len     uint8      `binapi:"u8,name=len" json:"len,omitempty"`
}

IP4Prefix defines type 'ip4_prefix'.

func ParseIP4Prefix

func ParseIP4Prefix(s string) (prefix IP4Prefix, err error)

func (*IP4Prefix) MarshalText

func (x *IP4Prefix) MarshalText() ([]byte, error)

func (IP4Prefix) String

func (x IP4Prefix) String() string

func (IP4Prefix) ToIPNet

func (x IP4Prefix) ToIPNet() *net.IPNet

func (*IP4Prefix) UnmarshalText

func (x *IP4Prefix) UnmarshalText(text []byte) error

type IP6Address

type IP6Address [16]uint8

IP6Address defines alias 'ip6_address'.

func ParseIP6Address

func ParseIP6Address(s string) (IP6Address, error)

func (*IP6Address) MarshalText

func (x *IP6Address) MarshalText() ([]byte, error)

func (IP6Address) String

func (x IP6Address) String() string

func (IP6Address) ToIP

func (x IP6Address) ToIP() net.IP

func (*IP6Address) UnmarshalText

func (x *IP6Address) UnmarshalText(text []byte) error

type IP6AddressWithPrefix

type IP6AddressWithPrefix IP6Prefix

IP6AddressWithPrefix defines alias 'ip6_address_with_prefix'.

type IP6Prefix

type IP6Prefix struct {
	Address IP6Address `binapi:"ip6_address,name=address" json:"address,omitempty"`
	Len     uint8      `binapi:"u8,name=len" json:"len,omitempty"`
}

IP6Prefix defines type 'ip6_prefix'.

func ParseIP6Prefix

func ParseIP6Prefix(s string) (prefix IP6Prefix, err error)

func (*IP6Prefix) MarshalText

func (x *IP6Prefix) MarshalText() ([]byte, error)

func (IP6Prefix) String

func (x IP6Prefix) String() string

func (IP6Prefix) ToIPNet

func (x IP6Prefix) ToIPNet() *net.IPNet

func (*IP6Prefix) UnmarshalText

func (x *IP6Prefix) UnmarshalText(text []byte) error

type IPDscp

type IPDscp uint8

IPDscp defines enum 'ip_dscp'.

const (
	IP_API_DSCP_CS0  IPDscp = 0
	IP_API_DSCP_CS1  IPDscp = 8
	IP_API_DSCP_AF11 IPDscp = 10
	IP_API_DSCP_AF12 IPDscp = 12
	IP_API_DSCP_AF13 IPDscp = 14
	IP_API_DSCP_CS2  IPDscp = 16
	IP_API_DSCP_AF21 IPDscp = 18
	IP_API_DSCP_AF22 IPDscp = 20
	IP_API_DSCP_AF23 IPDscp = 22
	IP_API_DSCP_CS3  IPDscp = 24
	IP_API_DSCP_AF31 IPDscp = 26
	IP_API_DSCP_AF32 IPDscp = 28
	IP_API_DSCP_AF33 IPDscp = 30
	IP_API_DSCP_CS4  IPDscp = 32
	IP_API_DSCP_AF41 IPDscp = 34
	IP_API_DSCP_AF42 IPDscp = 36
	IP_API_DSCP_AF43 IPDscp = 38
	IP_API_DSCP_CS5  IPDscp = 40
	IP_API_DSCP_EF   IPDscp = 46
	IP_API_DSCP_CS6  IPDscp = 48
	IP_API_DSCP_CS7  IPDscp = 50
)

func (IPDscp) String

func (x IPDscp) String() string

type IPEcn

type IPEcn uint8

IPEcn defines enum 'ip_ecn'.

const (
	IP_API_ECN_NONE IPEcn = 0
	IP_API_ECN_ECT0 IPEcn = 1
	IP_API_ECN_ECT1 IPEcn = 2
	IP_API_ECN_CE   IPEcn = 3
)

func (IPEcn) String

func (x IPEcn) String() string

type IPProto

type IPProto uint32

IPProto defines enum 'ip_proto'.

const (
	IP_API_PROTO_HOPOPT   IPProto = 0
	IP_API_PROTO_ICMP     IPProto = 1
	IP_API_PROTO_IGMP     IPProto = 2
	IP_API_PROTO_TCP      IPProto = 6
	IP_API_PROTO_UDP      IPProto = 17
	IP_API_PROTO_GRE      IPProto = 47
	IP_API_PROTO_AH       IPProto = 50
	IP_API_PROTO_ESP      IPProto = 51
	IP_API_PROTO_EIGRP    IPProto = 88
	IP_API_PROTO_OSPF     IPProto = 89
	IP_API_PROTO_SCTP     IPProto = 132
	IP_API_PROTO_RESERVED IPProto = 255
)

func (IPProto) String

func (x IPProto) String() string

type IfStatusFlags

type IfStatusFlags uint32

IfStatusFlags defines enum 'if_status_flags'.

const (
	IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1
	IF_STATUS_API_FLAG_LINK_UP  IfStatusFlags = 2
)

func (IfStatusFlags) String

func (x IfStatusFlags) String() string

type IfType

type IfType uint32

IfType defines enum 'if_type'.

const (
	IF_API_TYPE_HARDWARE IfType = 1
	IF_API_TYPE_SUB      IfType = 2
	IF_API_TYPE_P2P      IfType = 3
	IF_API_TYPE_PIPE     IfType = 4
)

func (IfType) String

func (x IfType) String() string

type Ikev2InitiateDelChildSa

type Ikev2InitiateDelChildSa struct {
	Ispi uint32 `binapi:"u32,name=ispi" json:"ispi,omitempty"`
}

Ikev2InitiateDelChildSa defines message 'ikev2_initiate_del_child_sa'.

func (*Ikev2InitiateDelChildSa) GetCrcString

func (*Ikev2InitiateDelChildSa) GetCrcString() string

func (*Ikev2InitiateDelChildSa) GetMessageName

func (*Ikev2InitiateDelChildSa) GetMessageName() string

func (*Ikev2InitiateDelChildSa) GetMessageType

func (*Ikev2InitiateDelChildSa) GetMessageType() api.MessageType

func (*Ikev2InitiateDelChildSa) Marshal

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

func (*Ikev2InitiateDelChildSa) Reset

func (m *Ikev2InitiateDelChildSa) Reset()

func (*Ikev2InitiateDelChildSa) Size

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

func (*Ikev2InitiateDelChildSa) Unmarshal

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

type Ikev2InitiateDelChildSaReply

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

Ikev2InitiateDelChildSaReply defines message 'ikev2_initiate_del_child_sa_reply'.

func (*Ikev2InitiateDelChildSaReply) GetCrcString

func (*Ikev2InitiateDelChildSaReply) GetCrcString() string

func (*Ikev2InitiateDelChildSaReply) GetMessageName

func (*Ikev2InitiateDelChildSaReply) GetMessageName() string

func (*Ikev2InitiateDelChildSaReply) GetMessageType

func (*Ikev2InitiateDelChildSaReply) GetMessageType() api.MessageType

func (*Ikev2InitiateDelChildSaReply) Marshal

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

func (*Ikev2InitiateDelChildSaReply) Reset

func (m *Ikev2InitiateDelChildSaReply) Reset()

func (*Ikev2InitiateDelChildSaReply) Size

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

func (*Ikev2InitiateDelChildSaReply) Unmarshal

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

type Ikev2InitiateDelIkeSa

type Ikev2InitiateDelIkeSa struct {
	Ispi uint64 `binapi:"u64,name=ispi" json:"ispi,omitempty"`
}

Ikev2InitiateDelIkeSa defines message 'ikev2_initiate_del_ike_sa'.

func (*Ikev2InitiateDelIkeSa) GetCrcString

func (*Ikev2InitiateDelIkeSa) GetCrcString() string

func (*Ikev2InitiateDelIkeSa) GetMessageName

func (*Ikev2InitiateDelIkeSa) GetMessageName() string

func (*Ikev2InitiateDelIkeSa) GetMessageType

func (*Ikev2InitiateDelIkeSa) GetMessageType() api.MessageType

func (*Ikev2InitiateDelIkeSa) Marshal

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

func (*Ikev2InitiateDelIkeSa) Reset

func (m *Ikev2InitiateDelIkeSa) Reset()

func (*Ikev2InitiateDelIkeSa) Size

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

func (*Ikev2InitiateDelIkeSa) Unmarshal

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

type Ikev2InitiateDelIkeSaReply

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

Ikev2InitiateDelIkeSaReply defines message 'ikev2_initiate_del_ike_sa_reply'.

func (*Ikev2InitiateDelIkeSaReply) GetCrcString

func (*Ikev2InitiateDelIkeSaReply) GetCrcString() string

func (*Ikev2InitiateDelIkeSaReply) GetMessageName

func (*Ikev2InitiateDelIkeSaReply) GetMessageName() string

func (*Ikev2InitiateDelIkeSaReply) GetMessageType

func (*Ikev2InitiateDelIkeSaReply) GetMessageType() api.MessageType

func (*Ikev2InitiateDelIkeSaReply) Marshal

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

func (*Ikev2InitiateDelIkeSaReply) Reset

func (m *Ikev2InitiateDelIkeSaReply) Reset()

func (*Ikev2InitiateDelIkeSaReply) Size

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

func (*Ikev2InitiateDelIkeSaReply) Unmarshal

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

type Ikev2InitiateRekeyChildSa

type Ikev2InitiateRekeyChildSa struct {
	Ispi uint32 `binapi:"u32,name=ispi" json:"ispi,omitempty"`
}

Ikev2InitiateRekeyChildSa defines message 'ikev2_initiate_rekey_child_sa'.

func (*Ikev2InitiateRekeyChildSa) GetCrcString

func (*Ikev2InitiateRekeyChildSa) GetCrcString() string

func (*Ikev2InitiateRekeyChildSa) GetMessageName

func (*Ikev2InitiateRekeyChildSa) GetMessageName() string

func (*Ikev2InitiateRekeyChildSa) GetMessageType

func (*Ikev2InitiateRekeyChildSa) GetMessageType() api.MessageType

func (*Ikev2InitiateRekeyChildSa) Marshal

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

func (*Ikev2InitiateRekeyChildSa) Reset

func (m *Ikev2InitiateRekeyChildSa) Reset()

func (*Ikev2InitiateRekeyChildSa) Size

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

func (*Ikev2InitiateRekeyChildSa) Unmarshal

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

type Ikev2InitiateRekeyChildSaReply

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

Ikev2InitiateRekeyChildSaReply defines message 'ikev2_initiate_rekey_child_sa_reply'.

func (*Ikev2InitiateRekeyChildSaReply) GetCrcString

func (*Ikev2InitiateRekeyChildSaReply) GetCrcString() string

func (*Ikev2InitiateRekeyChildSaReply) GetMessageName

func (*Ikev2InitiateRekeyChildSaReply) GetMessageName() string

func (*Ikev2InitiateRekeyChildSaReply) GetMessageType

func (*Ikev2InitiateRekeyChildSaReply) Marshal

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

func (*Ikev2InitiateRekeyChildSaReply) Reset

func (m *Ikev2InitiateRekeyChildSaReply) Reset()

func (*Ikev2InitiateRekeyChildSaReply) Size

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

func (*Ikev2InitiateRekeyChildSaReply) Unmarshal

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

type Ikev2InitiateSaInit

type Ikev2InitiateSaInit struct {
	Name string `binapi:"string[64],name=name" json:"name,omitempty"`
}

Ikev2InitiateSaInit defines message 'ikev2_initiate_sa_init'.

func (*Ikev2InitiateSaInit) GetCrcString

func (*Ikev2InitiateSaInit) GetCrcString() string

func (*Ikev2InitiateSaInit) GetMessageName

func (*Ikev2InitiateSaInit) GetMessageName() string

func (*Ikev2InitiateSaInit) GetMessageType

func (*Ikev2InitiateSaInit) GetMessageType() api.MessageType

func (*Ikev2InitiateSaInit) Marshal

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

func (*Ikev2InitiateSaInit) Reset

func (m *Ikev2InitiateSaInit) Reset()

func (*Ikev2InitiateSaInit) Size

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

func (*Ikev2InitiateSaInit) Unmarshal

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

type Ikev2InitiateSaInitReply

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

Ikev2InitiateSaInitReply defines message 'ikev2_initiate_sa_init_reply'.

func (*Ikev2InitiateSaInitReply) GetCrcString

func (*Ikev2InitiateSaInitReply) GetCrcString() string

func (*Ikev2InitiateSaInitReply) GetMessageName

func (*Ikev2InitiateSaInitReply) GetMessageName() string

func (*Ikev2InitiateSaInitReply) GetMessageType

func (*Ikev2InitiateSaInitReply) GetMessageType() api.MessageType

func (*Ikev2InitiateSaInitReply) Marshal

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

func (*Ikev2InitiateSaInitReply) Reset

func (m *Ikev2InitiateSaInitReply) Reset()

func (*Ikev2InitiateSaInitReply) Size

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

func (*Ikev2InitiateSaInitReply) Unmarshal

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

type Ikev2PluginGetVersion

type Ikev2PluginGetVersion struct{}

Ikev2PluginGetVersion defines message 'ikev2_plugin_get_version'.

func (*Ikev2PluginGetVersion) GetCrcString

func (*Ikev2PluginGetVersion) GetCrcString() string

func (*Ikev2PluginGetVersion) GetMessageName

func (*Ikev2PluginGetVersion) GetMessageName() string

func (*Ikev2PluginGetVersion) GetMessageType

func (*Ikev2PluginGetVersion) GetMessageType() api.MessageType

func (*Ikev2PluginGetVersion) Marshal

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

func (*Ikev2PluginGetVersion) Reset

func (m *Ikev2PluginGetVersion) Reset()

func (*Ikev2PluginGetVersion) Size

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

func (*Ikev2PluginGetVersion) Unmarshal

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

type Ikev2PluginGetVersionReply

type Ikev2PluginGetVersionReply struct {
	Major uint32 `binapi:"u32,name=major" json:"major,omitempty"`
	Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"`
}

Ikev2PluginGetVersionReply defines message 'ikev2_plugin_get_version_reply'.

func (*Ikev2PluginGetVersionReply) GetCrcString

func (*Ikev2PluginGetVersionReply) GetCrcString() string

func (*Ikev2PluginGetVersionReply) GetMessageName

func (*Ikev2PluginGetVersionReply) GetMessageName() string

func (*Ikev2PluginGetVersionReply) GetMessageType

func (*Ikev2PluginGetVersionReply) GetMessageType() api.MessageType

func (*Ikev2PluginGetVersionReply) Marshal

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

func (*Ikev2PluginGetVersionReply) Reset

func (m *Ikev2PluginGetVersionReply) Reset()

func (*Ikev2PluginGetVersionReply) Size

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

func (*Ikev2PluginGetVersionReply) Unmarshal

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

type Ikev2ProfileAddDel

type Ikev2ProfileAddDel struct {
	Name  string `binapi:"string[64],name=name" json:"name,omitempty"`
	IsAdd bool   `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

Ikev2ProfileAddDel defines message 'ikev2_profile_add_del'.

func (*Ikev2ProfileAddDel) GetCrcString

func (*Ikev2ProfileAddDel) GetCrcString() string

func (*Ikev2ProfileAddDel) GetMessageName

func (*Ikev2ProfileAddDel) GetMessageName() string

func (*Ikev2ProfileAddDel) GetMessageType

func (*Ikev2ProfileAddDel) GetMessageType() api.MessageType

func (*Ikev2ProfileAddDel) Marshal

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

func (*Ikev2ProfileAddDel) Reset

func (m *Ikev2ProfileAddDel) Reset()

func (*Ikev2ProfileAddDel) Size

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

func (*Ikev2ProfileAddDel) Unmarshal

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

type Ikev2ProfileAddDelReply

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

Ikev2ProfileAddDelReply defines message 'ikev2_profile_add_del_reply'.

func (*Ikev2ProfileAddDelReply) GetCrcString

func (*Ikev2ProfileAddDelReply) GetCrcString() string

func (*Ikev2ProfileAddDelReply) GetMessageName

func (*Ikev2ProfileAddDelReply) GetMessageName() string

func (*Ikev2ProfileAddDelReply) GetMessageType

func (*Ikev2ProfileAddDelReply) GetMessageType() api.MessageType

func (*Ikev2ProfileAddDelReply) Marshal

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

func (*Ikev2ProfileAddDelReply) Reset

func (m *Ikev2ProfileAddDelReply) Reset()

func (*Ikev2ProfileAddDelReply) Size

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

func (*Ikev2ProfileAddDelReply) Unmarshal

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

type Ikev2ProfileSetAuth

type Ikev2ProfileSetAuth struct {
	Name       string `binapi:"string[64],name=name" json:"name,omitempty"`
	AuthMethod uint8  `binapi:"u8,name=auth_method" json:"auth_method,omitempty"`
	IsHex      bool   `binapi:"bool,name=is_hex" json:"is_hex,omitempty"`
	DataLen    uint32 `binapi:"u32,name=data_len" json:"-"`
	Data       []byte `binapi:"u8[data_len],name=data" json:"data,omitempty"`
}

Ikev2ProfileSetAuth defines message 'ikev2_profile_set_auth'.

func (*Ikev2ProfileSetAuth) GetCrcString

func (*Ikev2ProfileSetAuth) GetCrcString() string

func (*Ikev2ProfileSetAuth) GetMessageName

func (*Ikev2ProfileSetAuth) GetMessageName() string

func (*Ikev2ProfileSetAuth) GetMessageType

func (*Ikev2ProfileSetAuth) GetMessageType() api.MessageType

func (*Ikev2ProfileSetAuth) Marshal

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

func (*Ikev2ProfileSetAuth) Reset

func (m *Ikev2ProfileSetAuth) Reset()

func (*Ikev2ProfileSetAuth) Size

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

func (*Ikev2ProfileSetAuth) Unmarshal

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

type Ikev2ProfileSetAuthReply

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

Ikev2ProfileSetAuthReply defines message 'ikev2_profile_set_auth_reply'.

func (*Ikev2ProfileSetAuthReply) GetCrcString

func (*Ikev2ProfileSetAuthReply) GetCrcString() string

func (*Ikev2ProfileSetAuthReply) GetMessageName

func (*Ikev2ProfileSetAuthReply) GetMessageName() string

func (*Ikev2ProfileSetAuthReply) GetMessageType

func (*Ikev2ProfileSetAuthReply) GetMessageType() api.MessageType

func (*Ikev2ProfileSetAuthReply) Marshal

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

func (*Ikev2ProfileSetAuthReply) Reset

func (m *Ikev2ProfileSetAuthReply) Reset()

func (*Ikev2ProfileSetAuthReply) Size

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

func (*Ikev2ProfileSetAuthReply) Unmarshal

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

type Ikev2ProfileSetID

type Ikev2ProfileSetID struct {
	Name    string `binapi:"string[64],name=name" json:"name,omitempty"`
	IsLocal bool   `binapi:"bool,name=is_local" json:"is_local,omitempty"`
	IDType  uint8  `binapi:"u8,name=id_type" json:"id_type,omitempty"`
	DataLen uint32 `binapi:"u32,name=data_len" json:"-"`
	Data    []byte `binapi:"u8[data_len],name=data" json:"data,omitempty"`
}

Ikev2ProfileSetID defines message 'ikev2_profile_set_id'.

func (*Ikev2ProfileSetID) GetCrcString

func (*Ikev2ProfileSetID) GetCrcString() string

func (*Ikev2ProfileSetID) GetMessageName

func (*Ikev2ProfileSetID) GetMessageName() string

func (*Ikev2ProfileSetID) GetMessageType

func (*Ikev2ProfileSetID) GetMessageType() api.MessageType

func (*Ikev2ProfileSetID) Marshal

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

func (*Ikev2ProfileSetID) Reset

func (m *Ikev2ProfileSetID) Reset()

func (*Ikev2ProfileSetID) Size

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

func (*Ikev2ProfileSetID) Unmarshal

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

type Ikev2ProfileSetIDReply

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

Ikev2ProfileSetIDReply defines message 'ikev2_profile_set_id_reply'.

func (*Ikev2ProfileSetIDReply) GetCrcString

func (*Ikev2ProfileSetIDReply) GetCrcString() string

func (*Ikev2ProfileSetIDReply) GetMessageName

func (*Ikev2ProfileSetIDReply) GetMessageName() string

func (*Ikev2ProfileSetIDReply) GetMessageType

func (*Ikev2ProfileSetIDReply) GetMessageType() api.MessageType

func (*Ikev2ProfileSetIDReply) Marshal

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

func (*Ikev2ProfileSetIDReply) Reset

func (m *Ikev2ProfileSetIDReply) Reset()

func (*Ikev2ProfileSetIDReply) Size

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

func (*Ikev2ProfileSetIDReply) Unmarshal

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

type Ikev2ProfileSetTs

type Ikev2ProfileSetTs struct {
	Name      string `binapi:"string[64],name=name" json:"name,omitempty"`
	IsLocal   bool   `binapi:"bool,name=is_local" json:"is_local,omitempty"`
	Proto     uint8  `binapi:"u8,name=proto" json:"proto,omitempty"`
	StartPort uint16 `binapi:"u16,name=start_port" json:"start_port,omitempty"`
	EndPort   uint16 `binapi:"u16,name=end_port" json:"end_port,omitempty"`
	StartAddr uint32 `binapi:"u32,name=start_addr" json:"start_addr,omitempty"`
	EndAddr   uint32 `binapi:"u32,name=end_addr" json:"end_addr,omitempty"`
}

Ikev2ProfileSetTs defines message 'ikev2_profile_set_ts'.

func (*Ikev2ProfileSetTs) GetCrcString

func (*Ikev2ProfileSetTs) GetCrcString() string

func (*Ikev2ProfileSetTs) GetMessageName

func (*Ikev2ProfileSetTs) GetMessageName() string

func (*Ikev2ProfileSetTs) GetMessageType

func (*Ikev2ProfileSetTs) GetMessageType() api.MessageType

func (*Ikev2ProfileSetTs) Marshal

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

func (*Ikev2ProfileSetTs) Reset

func (m *Ikev2ProfileSetTs) Reset()

func (*Ikev2ProfileSetTs) Size

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

func (*Ikev2ProfileSetTs) Unmarshal

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

type Ikev2ProfileSetTsReply

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

Ikev2ProfileSetTsReply defines message 'ikev2_profile_set_ts_reply'.

func (*Ikev2ProfileSetTsReply) GetCrcString

func (*Ikev2ProfileSetTsReply) GetCrcString() string

func (*Ikev2ProfileSetTsReply) GetMessageName

func (*Ikev2ProfileSetTsReply) GetMessageName() string

func (*Ikev2ProfileSetTsReply) GetMessageType

func (*Ikev2ProfileSetTsReply) GetMessageType() api.MessageType

func (*Ikev2ProfileSetTsReply) Marshal

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

func (*Ikev2ProfileSetTsReply) Reset

func (m *Ikev2ProfileSetTsReply) Reset()

func (*Ikev2ProfileSetTsReply) Size

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

func (*Ikev2ProfileSetTsReply) Unmarshal

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

type Ikev2SetEspTransforms

type Ikev2SetEspTransforms struct {
	Name          string `binapi:"string[64],name=name" json:"name,omitempty"`
	CryptoAlg     uint32 `binapi:"u32,name=crypto_alg" json:"crypto_alg,omitempty"`
	CryptoKeySize uint32 `binapi:"u32,name=crypto_key_size" json:"crypto_key_size,omitempty"`
	IntegAlg      uint32 `binapi:"u32,name=integ_alg" json:"integ_alg,omitempty"`
	DhGroup       uint32 `binapi:"u32,name=dh_group" json:"dh_group,omitempty"`
}

Ikev2SetEspTransforms defines message 'ikev2_set_esp_transforms'.

func (*Ikev2SetEspTransforms) GetCrcString

func (*Ikev2SetEspTransforms) GetCrcString() string

func (*Ikev2SetEspTransforms) GetMessageName

func (*Ikev2SetEspTransforms) GetMessageName() string

func (*Ikev2SetEspTransforms) GetMessageType

func (*Ikev2SetEspTransforms) GetMessageType() api.MessageType

func (*Ikev2SetEspTransforms) Marshal

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

func (*Ikev2SetEspTransforms) Reset

func (m *Ikev2SetEspTransforms) Reset()

func (*Ikev2SetEspTransforms) Size

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

func (*Ikev2SetEspTransforms) Unmarshal

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

type Ikev2SetEspTransformsReply

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

Ikev2SetEspTransformsReply defines message 'ikev2_set_esp_transforms_reply'.

func (*Ikev2SetEspTransformsReply) GetCrcString

func (*Ikev2SetEspTransformsReply) GetCrcString() string

func (*Ikev2SetEspTransformsReply) GetMessageName

func (*Ikev2SetEspTransformsReply) GetMessageName() string

func (*Ikev2SetEspTransformsReply) GetMessageType

func (*Ikev2SetEspTransformsReply) GetMessageType() api.MessageType

func (*Ikev2SetEspTransformsReply) Marshal

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

func (*Ikev2SetEspTransformsReply) Reset

func (m *Ikev2SetEspTransformsReply) Reset()

func (*Ikev2SetEspTransformsReply) Size

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

func (*Ikev2SetEspTransformsReply) Unmarshal

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

type Ikev2SetIkeTransforms

type Ikev2SetIkeTransforms struct {
	Name          string `binapi:"string[64],name=name" json:"name,omitempty"`
	CryptoAlg     uint32 `binapi:"u32,name=crypto_alg" json:"crypto_alg,omitempty"`
	CryptoKeySize uint32 `binapi:"u32,name=crypto_key_size" json:"crypto_key_size,omitempty"`
	IntegAlg      uint32 `binapi:"u32,name=integ_alg" json:"integ_alg,omitempty"`
	DhGroup       uint32 `binapi:"u32,name=dh_group" json:"dh_group,omitempty"`
}

Ikev2SetIkeTransforms defines message 'ikev2_set_ike_transforms'.

func (*Ikev2SetIkeTransforms) GetCrcString

func (*Ikev2SetIkeTransforms) GetCrcString() string

func (*Ikev2SetIkeTransforms) GetMessageName

func (*Ikev2SetIkeTransforms) GetMessageName() string

func (*Ikev2SetIkeTransforms) GetMessageType

func (*Ikev2SetIkeTransforms) GetMessageType() api.MessageType

func (*Ikev2SetIkeTransforms) Marshal

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

func (*Ikev2SetIkeTransforms) Reset

func (m *Ikev2SetIkeTransforms) Reset()

func (*Ikev2SetIkeTransforms) Size

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

func (*Ikev2SetIkeTransforms) Unmarshal

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

type Ikev2SetIkeTransformsReply

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

Ikev2SetIkeTransformsReply defines message 'ikev2_set_ike_transforms_reply'.

func (*Ikev2SetIkeTransformsReply) GetCrcString

func (*Ikev2SetIkeTransformsReply) GetCrcString() string

func (*Ikev2SetIkeTransformsReply) GetMessageName

func (*Ikev2SetIkeTransformsReply) GetMessageName() string

func (*Ikev2SetIkeTransformsReply) GetMessageType

func (*Ikev2SetIkeTransformsReply) GetMessageType() api.MessageType

func (*Ikev2SetIkeTransformsReply) Marshal

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

func (*Ikev2SetIkeTransformsReply) Reset

func (m *Ikev2SetIkeTransformsReply) Reset()

func (*Ikev2SetIkeTransformsReply) Size

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

func (*Ikev2SetIkeTransformsReply) Unmarshal

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

type Ikev2SetLocalKey

type Ikev2SetLocalKey struct {
	KeyFile []byte `binapi:"u8[256],name=key_file" json:"key_file,omitempty"`
}

Ikev2SetLocalKey defines message 'ikev2_set_local_key'.

func (*Ikev2SetLocalKey) GetCrcString

func (*Ikev2SetLocalKey) GetCrcString() string

func (*Ikev2SetLocalKey) GetMessageName

func (*Ikev2SetLocalKey) GetMessageName() string

func (*Ikev2SetLocalKey) GetMessageType

func (*Ikev2SetLocalKey) GetMessageType() api.MessageType

func (*Ikev2SetLocalKey) Marshal

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

func (*Ikev2SetLocalKey) Reset

func (m *Ikev2SetLocalKey) Reset()

func (*Ikev2SetLocalKey) Size

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

func (*Ikev2SetLocalKey) Unmarshal

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

type Ikev2SetLocalKeyReply

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

Ikev2SetLocalKeyReply defines message 'ikev2_set_local_key_reply'.

func (*Ikev2SetLocalKeyReply) GetCrcString

func (*Ikev2SetLocalKeyReply) GetCrcString() string

func (*Ikev2SetLocalKeyReply) GetMessageName

func (*Ikev2SetLocalKeyReply) GetMessageName() string

func (*Ikev2SetLocalKeyReply) GetMessageType

func (*Ikev2SetLocalKeyReply) GetMessageType() api.MessageType

func (*Ikev2SetLocalKeyReply) Marshal

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

func (*Ikev2SetLocalKeyReply) Reset

func (m *Ikev2SetLocalKeyReply) Reset()

func (*Ikev2SetLocalKeyReply) Size

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

func (*Ikev2SetLocalKeyReply) Unmarshal

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

type Ikev2SetResponder

type Ikev2SetResponder struct {
	Name      string         `binapi:"string[64],name=name" json:"name,omitempty"`
	SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Address   IP4Address     `binapi:"ip4_address,name=address" json:"address,omitempty"`
}

Ikev2SetResponder defines message 'ikev2_set_responder'.

func (*Ikev2SetResponder) GetCrcString

func (*Ikev2SetResponder) GetCrcString() string

func (*Ikev2SetResponder) GetMessageName

func (*Ikev2SetResponder) GetMessageName() string

func (*Ikev2SetResponder) GetMessageType

func (*Ikev2SetResponder) GetMessageType() api.MessageType

func (*Ikev2SetResponder) Marshal

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

func (*Ikev2SetResponder) Reset

func (m *Ikev2SetResponder) Reset()

func (*Ikev2SetResponder) Size

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

func (*Ikev2SetResponder) Unmarshal

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

type Ikev2SetResponderReply

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

Ikev2SetResponderReply defines message 'ikev2_set_responder_reply'.

func (*Ikev2SetResponderReply) GetCrcString

func (*Ikev2SetResponderReply) GetCrcString() string

func (*Ikev2SetResponderReply) GetMessageName

func (*Ikev2SetResponderReply) GetMessageName() string

func (*Ikev2SetResponderReply) GetMessageType

func (*Ikev2SetResponderReply) GetMessageType() api.MessageType

func (*Ikev2SetResponderReply) Marshal

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

func (*Ikev2SetResponderReply) Reset

func (m *Ikev2SetResponderReply) Reset()

func (*Ikev2SetResponderReply) Size

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

func (*Ikev2SetResponderReply) Unmarshal

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

type Ikev2SetSaLifetime

type Ikev2SetSaLifetime struct {
	Name            string `binapi:"string[64],name=name" json:"name,omitempty"`
	Lifetime        uint64 `binapi:"u64,name=lifetime" json:"lifetime,omitempty"`
	LifetimeJitter  uint32 `binapi:"u32,name=lifetime_jitter" json:"lifetime_jitter,omitempty"`
	Handover        uint32 `binapi:"u32,name=handover" json:"handover,omitempty"`
	LifetimeMaxdata uint64 `binapi:"u64,name=lifetime_maxdata" json:"lifetime_maxdata,omitempty"`
}

Ikev2SetSaLifetime defines message 'ikev2_set_sa_lifetime'.

func (*Ikev2SetSaLifetime) GetCrcString

func (*Ikev2SetSaLifetime) GetCrcString() string

func (*Ikev2SetSaLifetime) GetMessageName

func (*Ikev2SetSaLifetime) GetMessageName() string

func (*Ikev2SetSaLifetime) GetMessageType

func (*Ikev2SetSaLifetime) GetMessageType() api.MessageType

func (*Ikev2SetSaLifetime) Marshal

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

func (*Ikev2SetSaLifetime) Reset

func (m *Ikev2SetSaLifetime) Reset()

func (*Ikev2SetSaLifetime) Size

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

func (*Ikev2SetSaLifetime) Unmarshal

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

type Ikev2SetSaLifetimeReply

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

Ikev2SetSaLifetimeReply defines message 'ikev2_set_sa_lifetime_reply'.

func (*Ikev2SetSaLifetimeReply) GetCrcString

func (*Ikev2SetSaLifetimeReply) GetCrcString() string

func (*Ikev2SetSaLifetimeReply) GetMessageName

func (*Ikev2SetSaLifetimeReply) GetMessageName() string

func (*Ikev2SetSaLifetimeReply) GetMessageType

func (*Ikev2SetSaLifetimeReply) GetMessageType() api.MessageType

func (*Ikev2SetSaLifetimeReply) Marshal

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

func (*Ikev2SetSaLifetimeReply) Reset

func (m *Ikev2SetSaLifetimeReply) Reset()

func (*Ikev2SetSaLifetimeReply) Size

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

func (*Ikev2SetSaLifetimeReply) Unmarshal

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

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex defines alias 'interface_index'.

type LinkDuplex

type LinkDuplex uint32

LinkDuplex defines enum 'link_duplex'.

const (
	LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0
	LINK_DUPLEX_API_HALF    LinkDuplex = 1
	LINK_DUPLEX_API_FULL    LinkDuplex = 2
)

func (LinkDuplex) String

func (x LinkDuplex) String() string

type Mprefix

type Mprefix struct {
	Af               AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
	GrpAddressLength uint16        `binapi:"u16,name=grp_address_length" json:"grp_address_length,omitempty"`
	GrpAddress       AddressUnion  `binapi:"address_union,name=grp_address" json:"grp_address,omitempty"`
	SrcAddress       AddressUnion  `binapi:"address_union,name=src_address" json:"src_address,omitempty"`
}

Mprefix defines type 'mprefix'.

type MtuProto

type MtuProto uint32

MtuProto defines enum 'mtu_proto'.

const (
	MTU_PROTO_API_L3   MtuProto = 1
	MTU_PROTO_API_IP4  MtuProto = 2
	MTU_PROTO_API_IP6  MtuProto = 3
	MTU_PROTO_API_MPLS MtuProto = 4
	MTU_PROTO_API_N    MtuProto = 5
)

func (MtuProto) String

func (x MtuProto) String() string

type Prefix

type Prefix struct {
	Address Address `binapi:"address,name=address" json:"address,omitempty"`
	Len     uint8   `binapi:"u8,name=len" json:"len,omitempty"`
}

Prefix defines type 'prefix'.

func ParsePrefix

func ParsePrefix(ip string) (prefix Prefix, err error)

func (*Prefix) MarshalText

func (x *Prefix) MarshalText() ([]byte, error)

func (Prefix) String

func (x Prefix) String() string

func (Prefix) ToIPNet

func (x Prefix) ToIPNet() *net.IPNet

func (*Prefix) UnmarshalText

func (x *Prefix) UnmarshalText(text []byte) error

type PrefixMatcher

type PrefixMatcher struct {
	Le uint8 `binapi:"u8,name=le" json:"le,omitempty"`
	Ge uint8 `binapi:"u8,name=ge" json:"ge,omitempty"`
}

PrefixMatcher defines type 'prefix_matcher'.

type RPCService

RPCService defines RPC service ikev2.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RxMode

type RxMode uint32

RxMode defines enum 'rx_mode'.

const (
	RX_MODE_API_UNKNOWN   RxMode = 0
	RX_MODE_API_POLLING   RxMode = 1
	RX_MODE_API_INTERRUPT RxMode = 2
	RX_MODE_API_ADAPTIVE  RxMode = 3
	RX_MODE_API_DEFAULT   RxMode = 4
)

func (RxMode) String

func (x RxMode) String() string

type SubIfFlags

type SubIfFlags uint32

SubIfFlags defines enum 'sub_if_flags'.

const (
	SUB_IF_API_FLAG_NO_TAGS           SubIfFlags = 1
	SUB_IF_API_FLAG_ONE_TAG           SubIfFlags = 2
	SUB_IF_API_FLAG_TWO_TAGS          SubIfFlags = 4
	SUB_IF_API_FLAG_DOT1AD            SubIfFlags = 8
	SUB_IF_API_FLAG_EXACT_MATCH       SubIfFlags = 16
	SUB_IF_API_FLAG_DEFAULT           SubIfFlags = 32
	SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64
	SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128
	SUB_IF_API_FLAG_MASK_VNET         SubIfFlags = 254
	SUB_IF_API_FLAG_DOT1AH            SubIfFlags = 256
)

func (SubIfFlags) String

func (x SubIfFlags) String() string

Jump to

Keyboard shortcuts

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