nat

package
v2.3.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package nat is a generated VPP binary API for 'nat' module.

It consists of:

 12 enums
  3 aliases
  7 types
  1 union
137 messages
 68 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "nat"
	// APIVersion is the API version of this module.
	APIVersion = "5.2.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xdc89bb61
)

Variables

View Source
var AddressFamily_name = map[uint32]string{
	0: "ADDRESS_IP4",
	1: "ADDRESS_IP6",
}
View Source
var AddressFamily_value = map[string]uint32{
	"ADDRESS_IP4": 0,
	"ADDRESS_IP6": 1,
}
View Source
var 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",
}
View Source
var 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",
}
View Source
var 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",
}
View Source
var 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 IfStatusFlags_name = map[uint32]string{
	1: "IF_STATUS_API_FLAG_ADMIN_UP",
	2: "IF_STATUS_API_FLAG_LINK_UP",
}
View Source
var 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",
}
View Source
var 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 LinkDuplex_name = map[uint32]string{
	0: "LINK_DUPLEX_API_UNKNOWN",
	1: "LINK_DUPLEX_API_HALF",
	2: "LINK_DUPLEX_API_FULL",
}
View Source
var 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",
}
View Source
var 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 NatConfigFlags_name = map[uint8]string{
	0:   "NAT_IS_NONE",
	1:   "NAT_IS_TWICE_NAT",
	2:   "NAT_IS_SELF_TWICE_NAT",
	4:   "NAT_IS_OUT2IN_ONLY",
	8:   "NAT_IS_ADDR_ONLY",
	16:  "NAT_IS_OUTSIDE",
	32:  "NAT_IS_INSIDE",
	64:  "NAT_IS_STATIC",
	128: "NAT_IS_EXT_HOST_VALID",
}
View Source
var NatConfigFlags_value = map[string]uint8{
	"NAT_IS_NONE":           0,
	"NAT_IS_TWICE_NAT":      1,
	"NAT_IS_SELF_TWICE_NAT": 2,
	"NAT_IS_OUT2IN_ONLY":    4,
	"NAT_IS_ADDR_ONLY":      8,
	"NAT_IS_OUTSIDE":        16,
	"NAT_IS_INSIDE":         32,
	"NAT_IS_STATIC":         64,
	"NAT_IS_EXT_HOST_VALID": 128,
}
View Source
var NatLogLevel_name = map[uint8]string{
	0: "NAT_LOG_NONE",
	1: "NAT_LOG_ERROR",
	2: "NAT_LOG_WARNING",
	3: "NAT_LOG_NOTICE",
	4: "NAT_LOG_INFO",
	5: "NAT_LOG_DEBUG",
}
View Source
var NatLogLevel_value = map[string]uint8{
	"NAT_LOG_NONE":    0,
	"NAT_LOG_ERROR":   1,
	"NAT_LOG_WARNING": 2,
	"NAT_LOG_NOTICE":  3,
	"NAT_LOG_INFO":    4,
	"NAT_LOG_DEBUG":   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",
}
View Source
var 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",
}
View Source
var 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
	Un AddressUnion
}

Address represents VPP binary API type 'address'.

func (*Address) GetTypeName

func (*Address) GetTypeName() string

type AddressFamily

type AddressFamily uint32

AddressFamily represents VPP binary API enum 'address_family'.

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

func (AddressFamily) String

func (x AddressFamily) String() string

type AddressUnion

type AddressUnion struct {
	XXX_UnionData [16]byte
}

AddressUnion represents VPP binary API union 'address_union'.

func AddressUnionIP4

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetIP4

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

func (*AddressUnion) GetIP6

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

func (*AddressUnion) GetTypeName

func (*AddressUnion) GetTypeName() string

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type DsliteAddDelPoolAddrRange

type DsliteAddDelPoolAddrRange struct {
	StartAddr IP4Address
	EndAddr   IP4Address
	IsAdd     bool
}

DsliteAddDelPoolAddrRange represents VPP binary API message 'dslite_add_del_pool_addr_range'.

func (*DsliteAddDelPoolAddrRange) GetCrcString

func (*DsliteAddDelPoolAddrRange) GetCrcString() string

func (*DsliteAddDelPoolAddrRange) GetMessageName

func (*DsliteAddDelPoolAddrRange) GetMessageName() string

func (*DsliteAddDelPoolAddrRange) GetMessageType

func (*DsliteAddDelPoolAddrRange) GetMessageType() api.MessageType

type DsliteAddDelPoolAddrRangeReply

type DsliteAddDelPoolAddrRangeReply struct {
	Retval int32
}

DsliteAddDelPoolAddrRangeReply represents VPP binary API message 'dslite_add_del_pool_addr_range_reply'.

func (*DsliteAddDelPoolAddrRangeReply) GetCrcString

func (*DsliteAddDelPoolAddrRangeReply) GetCrcString() string

func (*DsliteAddDelPoolAddrRangeReply) GetMessageName

func (*DsliteAddDelPoolAddrRangeReply) GetMessageName() string

func (*DsliteAddDelPoolAddrRangeReply) GetMessageType

type DsliteAddressDetails

type DsliteAddressDetails struct {
	IPAddress IP4Address
}

DsliteAddressDetails represents VPP binary API message 'dslite_address_details'.

func (*DsliteAddressDetails) GetCrcString

func (*DsliteAddressDetails) GetCrcString() string

func (*DsliteAddressDetails) GetMessageName

func (*DsliteAddressDetails) GetMessageName() string

func (*DsliteAddressDetails) GetMessageType

func (*DsliteAddressDetails) GetMessageType() api.MessageType

type DsliteAddressDump

type DsliteAddressDump struct{}

DsliteAddressDump represents VPP binary API message 'dslite_address_dump'.

func (*DsliteAddressDump) GetCrcString

func (*DsliteAddressDump) GetCrcString() string

func (*DsliteAddressDump) GetMessageName

func (*DsliteAddressDump) GetMessageName() string

func (*DsliteAddressDump) GetMessageType

func (*DsliteAddressDump) GetMessageType() api.MessageType

type DsliteGetAftrAddr

type DsliteGetAftrAddr struct{}

DsliteGetAftrAddr represents VPP binary API message 'dslite_get_aftr_addr'.

func (*DsliteGetAftrAddr) GetCrcString

func (*DsliteGetAftrAddr) GetCrcString() string

func (*DsliteGetAftrAddr) GetMessageName

func (*DsliteGetAftrAddr) GetMessageName() string

func (*DsliteGetAftrAddr) GetMessageType

func (*DsliteGetAftrAddr) GetMessageType() api.MessageType

type DsliteGetAftrAddrReply

type DsliteGetAftrAddrReply struct {
	Retval  int32
	IP4Addr IP4Address
	IP6Addr IP6Address
}

DsliteGetAftrAddrReply represents VPP binary API message 'dslite_get_aftr_addr_reply'.

func (*DsliteGetAftrAddrReply) GetCrcString

func (*DsliteGetAftrAddrReply) GetCrcString() string

func (*DsliteGetAftrAddrReply) GetMessageName

func (*DsliteGetAftrAddrReply) GetMessageName() string

func (*DsliteGetAftrAddrReply) GetMessageType

func (*DsliteGetAftrAddrReply) GetMessageType() api.MessageType

type DsliteGetB4Addr

type DsliteGetB4Addr struct{}

DsliteGetB4Addr represents VPP binary API message 'dslite_get_b4_addr'.

func (*DsliteGetB4Addr) GetCrcString

func (*DsliteGetB4Addr) GetCrcString() string

func (*DsliteGetB4Addr) GetMessageName

func (*DsliteGetB4Addr) GetMessageName() string

func (*DsliteGetB4Addr) GetMessageType

func (*DsliteGetB4Addr) GetMessageType() api.MessageType

type DsliteGetB4AddrReply

type DsliteGetB4AddrReply struct {
	Retval  int32
	IP4Addr IP4Address
	IP6Addr IP6Address
}

DsliteGetB4AddrReply represents VPP binary API message 'dslite_get_b4_addr_reply'.

func (*DsliteGetB4AddrReply) GetCrcString

func (*DsliteGetB4AddrReply) GetCrcString() string

func (*DsliteGetB4AddrReply) GetMessageName

func (*DsliteGetB4AddrReply) GetMessageName() string

func (*DsliteGetB4AddrReply) GetMessageType

func (*DsliteGetB4AddrReply) GetMessageType() api.MessageType

type DsliteSetAftrAddr

type DsliteSetAftrAddr struct {
	IP4Addr IP4Address
	IP6Addr IP6Address
}

DsliteSetAftrAddr represents VPP binary API message 'dslite_set_aftr_addr'.

func (*DsliteSetAftrAddr) GetCrcString

func (*DsliteSetAftrAddr) GetCrcString() string

func (*DsliteSetAftrAddr) GetMessageName

func (*DsliteSetAftrAddr) GetMessageName() string

func (*DsliteSetAftrAddr) GetMessageType

func (*DsliteSetAftrAddr) GetMessageType() api.MessageType

type DsliteSetAftrAddrReply

type DsliteSetAftrAddrReply struct {
	Retval int32
}

DsliteSetAftrAddrReply represents VPP binary API message 'dslite_set_aftr_addr_reply'.

func (*DsliteSetAftrAddrReply) GetCrcString

func (*DsliteSetAftrAddrReply) GetCrcString() string

func (*DsliteSetAftrAddrReply) GetMessageName

func (*DsliteSetAftrAddrReply) GetMessageName() string

func (*DsliteSetAftrAddrReply) GetMessageType

func (*DsliteSetAftrAddrReply) GetMessageType() api.MessageType

type DsliteSetB4Addr

type DsliteSetB4Addr struct {
	IP4Addr IP4Address
	IP6Addr IP6Address
}

DsliteSetB4Addr represents VPP binary API message 'dslite_set_b4_addr'.

func (*DsliteSetB4Addr) GetCrcString

func (*DsliteSetB4Addr) GetCrcString() string

func (*DsliteSetB4Addr) GetMessageName

func (*DsliteSetB4Addr) GetMessageName() string

func (*DsliteSetB4Addr) GetMessageType

func (*DsliteSetB4Addr) GetMessageType() api.MessageType

type DsliteSetB4AddrReply

type DsliteSetB4AddrReply struct {
	Retval int32
}

DsliteSetB4AddrReply represents VPP binary API message 'dslite_set_b4_addr_reply'.

func (*DsliteSetB4AddrReply) GetCrcString

func (*DsliteSetB4AddrReply) GetCrcString() string

func (*DsliteSetB4AddrReply) GetMessageName

func (*DsliteSetB4AddrReply) GetMessageName() string

func (*DsliteSetB4AddrReply) GetMessageType

func (*DsliteSetB4AddrReply) GetMessageType() api.MessageType

type IP4Address

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address'.

type IP4Prefix

type IP4Prefix struct {
	Address IP4Address
	Len     uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix'.

func (*IP4Prefix) GetTypeName

func (*IP4Prefix) GetTypeName() string

type IP6Address

type IP6Address [16]uint8

IP6Address represents VPP binary API alias 'ip6_address'.

type IP6Prefix

type IP6Prefix struct {
	Address IP6Address
	Len     uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix'.

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

type IPDscp

type IPDscp uint8

IPDscp represents VPP binary API 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 represents VPP binary API 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 represents VPP binary API 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 represents VPP binary API 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 represents VPP binary API 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 InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

type LinkDuplex

type LinkDuplex uint32

LinkDuplex represents VPP binary API 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
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix'.

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type MtuProto

type MtuProto uint32

MtuProto represents VPP binary API 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 Nat44AddDelAddressRange

type Nat44AddDelAddressRange struct {
	FirstIPAddress IP4Address
	LastIPAddress  IP4Address
	VrfID          uint32
	IsAdd          bool
	Flags          NatConfigFlags
}

Nat44AddDelAddressRange represents VPP binary API message 'nat44_add_del_address_range'.

func (*Nat44AddDelAddressRange) GetCrcString

func (*Nat44AddDelAddressRange) GetCrcString() string

func (*Nat44AddDelAddressRange) GetMessageName

func (*Nat44AddDelAddressRange) GetMessageName() string

func (*Nat44AddDelAddressRange) GetMessageType

func (*Nat44AddDelAddressRange) GetMessageType() api.MessageType

type Nat44AddDelAddressRangeReply

type Nat44AddDelAddressRangeReply struct {
	Retval int32
}

Nat44AddDelAddressRangeReply represents VPP binary API message 'nat44_add_del_address_range_reply'.

func (*Nat44AddDelAddressRangeReply) GetCrcString

func (*Nat44AddDelAddressRangeReply) GetCrcString() string

func (*Nat44AddDelAddressRangeReply) GetMessageName

func (*Nat44AddDelAddressRangeReply) GetMessageName() string

func (*Nat44AddDelAddressRangeReply) GetMessageType

func (*Nat44AddDelAddressRangeReply) GetMessageType() api.MessageType

type Nat44AddDelIdentityMapping

type Nat44AddDelIdentityMapping struct {
	IsAdd     bool
	Flags     NatConfigFlags
	IPAddress IP4Address
	Protocol  uint8
	Port      uint16
	SwIfIndex InterfaceIndex
	VrfID     uint32
	Tag       string `struc:"[64]byte"`
}

Nat44AddDelIdentityMapping represents VPP binary API message 'nat44_add_del_identity_mapping'.

func (*Nat44AddDelIdentityMapping) GetCrcString

func (*Nat44AddDelIdentityMapping) GetCrcString() string

func (*Nat44AddDelIdentityMapping) GetMessageName

func (*Nat44AddDelIdentityMapping) GetMessageName() string

func (*Nat44AddDelIdentityMapping) GetMessageType

func (*Nat44AddDelIdentityMapping) GetMessageType() api.MessageType

type Nat44AddDelIdentityMappingReply

type Nat44AddDelIdentityMappingReply struct {
	Retval int32
}

Nat44AddDelIdentityMappingReply represents VPP binary API message 'nat44_add_del_identity_mapping_reply'.

func (*Nat44AddDelIdentityMappingReply) GetCrcString

func (*Nat44AddDelIdentityMappingReply) GetCrcString() string

func (*Nat44AddDelIdentityMappingReply) GetMessageName

func (*Nat44AddDelIdentityMappingReply) GetMessageName() string

func (*Nat44AddDelIdentityMappingReply) GetMessageType

type Nat44AddDelInterfaceAddr

type Nat44AddDelInterfaceAddr struct {
	IsAdd     bool
	SwIfIndex InterfaceIndex
	Flags     NatConfigFlags
}

Nat44AddDelInterfaceAddr represents VPP binary API message 'nat44_add_del_interface_addr'.

func (*Nat44AddDelInterfaceAddr) GetCrcString

func (*Nat44AddDelInterfaceAddr) GetCrcString() string

func (*Nat44AddDelInterfaceAddr) GetMessageName

func (*Nat44AddDelInterfaceAddr) GetMessageName() string

func (*Nat44AddDelInterfaceAddr) GetMessageType

func (*Nat44AddDelInterfaceAddr) GetMessageType() api.MessageType

type Nat44AddDelInterfaceAddrReply

type Nat44AddDelInterfaceAddrReply struct {
	Retval int32
}

Nat44AddDelInterfaceAddrReply represents VPP binary API message 'nat44_add_del_interface_addr_reply'.

func (*Nat44AddDelInterfaceAddrReply) GetCrcString

func (*Nat44AddDelInterfaceAddrReply) GetCrcString() string

func (*Nat44AddDelInterfaceAddrReply) GetMessageName

func (*Nat44AddDelInterfaceAddrReply) GetMessageName() string

func (*Nat44AddDelInterfaceAddrReply) GetMessageType

func (*Nat44AddDelInterfaceAddrReply) GetMessageType() api.MessageType

type Nat44AddDelLbStaticMapping

type Nat44AddDelLbStaticMapping struct {
	IsAdd        bool
	Flags        NatConfigFlags
	ExternalAddr IP4Address
	ExternalPort uint16
	Protocol     uint8
	Affinity     uint32
	Tag          string `struc:"[64]byte"`
	LocalNum     uint32 `struc:"sizeof=Locals"`
	Locals       []Nat44LbAddrPort
}

Nat44AddDelLbStaticMapping represents VPP binary API message 'nat44_add_del_lb_static_mapping'.

func (*Nat44AddDelLbStaticMapping) GetCrcString

func (*Nat44AddDelLbStaticMapping) GetCrcString() string

func (*Nat44AddDelLbStaticMapping) GetMessageName

func (*Nat44AddDelLbStaticMapping) GetMessageName() string

func (*Nat44AddDelLbStaticMapping) GetMessageType

func (*Nat44AddDelLbStaticMapping) GetMessageType() api.MessageType

type Nat44AddDelLbStaticMappingReply

type Nat44AddDelLbStaticMappingReply struct {
	Retval int32
}

Nat44AddDelLbStaticMappingReply represents VPP binary API message 'nat44_add_del_lb_static_mapping_reply'.

func (*Nat44AddDelLbStaticMappingReply) GetCrcString

func (*Nat44AddDelLbStaticMappingReply) GetCrcString() string

func (*Nat44AddDelLbStaticMappingReply) GetMessageName

func (*Nat44AddDelLbStaticMappingReply) GetMessageName() string

func (*Nat44AddDelLbStaticMappingReply) GetMessageType

type Nat44AddDelStaticMapping

type Nat44AddDelStaticMapping struct {
	IsAdd             bool
	Flags             NatConfigFlags
	LocalIPAddress    IP4Address
	ExternalIPAddress IP4Address
	Protocol          uint8
	LocalPort         uint16
	ExternalPort      uint16
	ExternalSwIfIndex InterfaceIndex
	VrfID             uint32
	Tag               string `struc:"[64]byte"`
}

Nat44AddDelStaticMapping represents VPP binary API message 'nat44_add_del_static_mapping'.

func (*Nat44AddDelStaticMapping) GetCrcString

func (*Nat44AddDelStaticMapping) GetCrcString() string

func (*Nat44AddDelStaticMapping) GetMessageName

func (*Nat44AddDelStaticMapping) GetMessageName() string

func (*Nat44AddDelStaticMapping) GetMessageType

func (*Nat44AddDelStaticMapping) GetMessageType() api.MessageType

type Nat44AddDelStaticMappingReply

type Nat44AddDelStaticMappingReply struct {
	Retval int32
}

Nat44AddDelStaticMappingReply represents VPP binary API message 'nat44_add_del_static_mapping_reply'.

func (*Nat44AddDelStaticMappingReply) GetCrcString

func (*Nat44AddDelStaticMappingReply) GetCrcString() string

func (*Nat44AddDelStaticMappingReply) GetMessageName

func (*Nat44AddDelStaticMappingReply) GetMessageName() string

func (*Nat44AddDelStaticMappingReply) GetMessageType

func (*Nat44AddDelStaticMappingReply) GetMessageType() api.MessageType

type Nat44AddressDetails

type Nat44AddressDetails struct {
	IPAddress IP4Address
	Flags     NatConfigFlags
	VrfID     uint32
}

Nat44AddressDetails represents VPP binary API message 'nat44_address_details'.

func (*Nat44AddressDetails) GetCrcString

func (*Nat44AddressDetails) GetCrcString() string

func (*Nat44AddressDetails) GetMessageName

func (*Nat44AddressDetails) GetMessageName() string

func (*Nat44AddressDetails) GetMessageType

func (*Nat44AddressDetails) GetMessageType() api.MessageType

type Nat44AddressDump

type Nat44AddressDump struct{}

Nat44AddressDump represents VPP binary API message 'nat44_address_dump'.

func (*Nat44AddressDump) GetCrcString

func (*Nat44AddressDump) GetCrcString() string

func (*Nat44AddressDump) GetMessageName

func (*Nat44AddressDump) GetMessageName() string

func (*Nat44AddressDump) GetMessageType

func (*Nat44AddressDump) GetMessageType() api.MessageType

type Nat44DelSession

type Nat44DelSession struct {
	Address        IP4Address
	Protocol       uint8
	Port           uint16
	VrfID          uint32
	Flags          NatConfigFlags
	ExtHostAddress IP4Address
	ExtHostPort    uint16
}

Nat44DelSession represents VPP binary API message 'nat44_del_session'.

func (*Nat44DelSession) GetCrcString

func (*Nat44DelSession) GetCrcString() string

func (*Nat44DelSession) GetMessageName

func (*Nat44DelSession) GetMessageName() string

func (*Nat44DelSession) GetMessageType

func (*Nat44DelSession) GetMessageType() api.MessageType

type Nat44DelSessionReply

type Nat44DelSessionReply struct {
	Retval int32
}

Nat44DelSessionReply represents VPP binary API message 'nat44_del_session_reply'.

func (*Nat44DelSessionReply) GetCrcString

func (*Nat44DelSessionReply) GetCrcString() string

func (*Nat44DelSessionReply) GetMessageName

func (*Nat44DelSessionReply) GetMessageName() string

func (*Nat44DelSessionReply) GetMessageType

func (*Nat44DelSessionReply) GetMessageType() api.MessageType

type Nat44ForwardingEnableDisable

type Nat44ForwardingEnableDisable struct {
	Enable bool
}

Nat44ForwardingEnableDisable represents VPP binary API message 'nat44_forwarding_enable_disable'.

func (*Nat44ForwardingEnableDisable) GetCrcString

func (*Nat44ForwardingEnableDisable) GetCrcString() string

func (*Nat44ForwardingEnableDisable) GetMessageName

func (*Nat44ForwardingEnableDisable) GetMessageName() string

func (*Nat44ForwardingEnableDisable) GetMessageType

func (*Nat44ForwardingEnableDisable) GetMessageType() api.MessageType

type Nat44ForwardingEnableDisableReply

type Nat44ForwardingEnableDisableReply struct {
	Retval int32
}

Nat44ForwardingEnableDisableReply represents VPP binary API message 'nat44_forwarding_enable_disable_reply'.

func (*Nat44ForwardingEnableDisableReply) GetCrcString

func (*Nat44ForwardingEnableDisableReply) GetCrcString() string

func (*Nat44ForwardingEnableDisableReply) GetMessageName

func (*Nat44ForwardingEnableDisableReply) GetMessageName() string

func (*Nat44ForwardingEnableDisableReply) GetMessageType

type Nat44ForwardingIsEnabled

type Nat44ForwardingIsEnabled struct{}

Nat44ForwardingIsEnabled represents VPP binary API message 'nat44_forwarding_is_enabled'.

func (*Nat44ForwardingIsEnabled) GetCrcString

func (*Nat44ForwardingIsEnabled) GetCrcString() string

func (*Nat44ForwardingIsEnabled) GetMessageName

func (*Nat44ForwardingIsEnabled) GetMessageName() string

func (*Nat44ForwardingIsEnabled) GetMessageType

func (*Nat44ForwardingIsEnabled) GetMessageType() api.MessageType

type Nat44ForwardingIsEnabledReply

type Nat44ForwardingIsEnabledReply struct {
	Enabled bool
}

Nat44ForwardingIsEnabledReply represents VPP binary API message 'nat44_forwarding_is_enabled_reply'.

func (*Nat44ForwardingIsEnabledReply) GetCrcString

func (*Nat44ForwardingIsEnabledReply) GetCrcString() string

func (*Nat44ForwardingIsEnabledReply) GetMessageName

func (*Nat44ForwardingIsEnabledReply) GetMessageName() string

func (*Nat44ForwardingIsEnabledReply) GetMessageType

func (*Nat44ForwardingIsEnabledReply) GetMessageType() api.MessageType

type Nat44IdentityMappingDetails

type Nat44IdentityMappingDetails struct {
	Flags     NatConfigFlags
	IPAddress IP4Address
	Protocol  uint8
	Port      uint16
	SwIfIndex InterfaceIndex
	VrfID     uint32
	Tag       string `struc:"[64]byte"`
}

Nat44IdentityMappingDetails represents VPP binary API message 'nat44_identity_mapping_details'.

func (*Nat44IdentityMappingDetails) GetCrcString

func (*Nat44IdentityMappingDetails) GetCrcString() string

func (*Nat44IdentityMappingDetails) GetMessageName

func (*Nat44IdentityMappingDetails) GetMessageName() string

func (*Nat44IdentityMappingDetails) GetMessageType

func (*Nat44IdentityMappingDetails) GetMessageType() api.MessageType

type Nat44IdentityMappingDump

type Nat44IdentityMappingDump struct{}

Nat44IdentityMappingDump represents VPP binary API message 'nat44_identity_mapping_dump'.

func (*Nat44IdentityMappingDump) GetCrcString

func (*Nat44IdentityMappingDump) GetCrcString() string

func (*Nat44IdentityMappingDump) GetMessageName

func (*Nat44IdentityMappingDump) GetMessageName() string

func (*Nat44IdentityMappingDump) GetMessageType

func (*Nat44IdentityMappingDump) GetMessageType() api.MessageType

type Nat44InterfaceAddDelFeature

type Nat44InterfaceAddDelFeature struct {
	IsAdd     bool
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat44InterfaceAddDelFeature represents VPP binary API message 'nat44_interface_add_del_feature'.

func (*Nat44InterfaceAddDelFeature) GetCrcString

func (*Nat44InterfaceAddDelFeature) GetCrcString() string

func (*Nat44InterfaceAddDelFeature) GetMessageName

func (*Nat44InterfaceAddDelFeature) GetMessageName() string

func (*Nat44InterfaceAddDelFeature) GetMessageType

func (*Nat44InterfaceAddDelFeature) GetMessageType() api.MessageType

type Nat44InterfaceAddDelFeatureReply

type Nat44InterfaceAddDelFeatureReply struct {
	Retval int32
}

Nat44InterfaceAddDelFeatureReply represents VPP binary API message 'nat44_interface_add_del_feature_reply'.

func (*Nat44InterfaceAddDelFeatureReply) GetCrcString

func (*Nat44InterfaceAddDelFeatureReply) GetCrcString() string

func (*Nat44InterfaceAddDelFeatureReply) GetMessageName

func (*Nat44InterfaceAddDelFeatureReply) GetMessageName() string

func (*Nat44InterfaceAddDelFeatureReply) GetMessageType

type Nat44InterfaceAddDelOutputFeature

type Nat44InterfaceAddDelOutputFeature struct {
	IsAdd     bool
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat44InterfaceAddDelOutputFeature represents VPP binary API message 'nat44_interface_add_del_output_feature'.

func (*Nat44InterfaceAddDelOutputFeature) GetCrcString

func (*Nat44InterfaceAddDelOutputFeature) GetCrcString() string

func (*Nat44InterfaceAddDelOutputFeature) GetMessageName

func (*Nat44InterfaceAddDelOutputFeature) GetMessageName() string

func (*Nat44InterfaceAddDelOutputFeature) GetMessageType

type Nat44InterfaceAddDelOutputFeatureReply

type Nat44InterfaceAddDelOutputFeatureReply struct {
	Retval int32
}

Nat44InterfaceAddDelOutputFeatureReply represents VPP binary API message 'nat44_interface_add_del_output_feature_reply'.

func (*Nat44InterfaceAddDelOutputFeatureReply) GetCrcString

func (*Nat44InterfaceAddDelOutputFeatureReply) GetMessageName

func (*Nat44InterfaceAddDelOutputFeatureReply) GetMessageType

type Nat44InterfaceAddrDetails

type Nat44InterfaceAddrDetails struct {
	SwIfIndex InterfaceIndex
	Flags     NatConfigFlags
}

Nat44InterfaceAddrDetails represents VPP binary API message 'nat44_interface_addr_details'.

func (*Nat44InterfaceAddrDetails) GetCrcString

func (*Nat44InterfaceAddrDetails) GetCrcString() string

func (*Nat44InterfaceAddrDetails) GetMessageName

func (*Nat44InterfaceAddrDetails) GetMessageName() string

func (*Nat44InterfaceAddrDetails) GetMessageType

func (*Nat44InterfaceAddrDetails) GetMessageType() api.MessageType

type Nat44InterfaceAddrDump

type Nat44InterfaceAddrDump struct{}

Nat44InterfaceAddrDump represents VPP binary API message 'nat44_interface_addr_dump'.

func (*Nat44InterfaceAddrDump) GetCrcString

func (*Nat44InterfaceAddrDump) GetCrcString() string

func (*Nat44InterfaceAddrDump) GetMessageName

func (*Nat44InterfaceAddrDump) GetMessageName() string

func (*Nat44InterfaceAddrDump) GetMessageType

func (*Nat44InterfaceAddrDump) GetMessageType() api.MessageType

type Nat44InterfaceDetails

type Nat44InterfaceDetails struct {
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat44InterfaceDetails represents VPP binary API message 'nat44_interface_details'.

func (*Nat44InterfaceDetails) GetCrcString

func (*Nat44InterfaceDetails) GetCrcString() string

func (*Nat44InterfaceDetails) GetMessageName

func (*Nat44InterfaceDetails) GetMessageName() string

func (*Nat44InterfaceDetails) GetMessageType

func (*Nat44InterfaceDetails) GetMessageType() api.MessageType

type Nat44InterfaceDump

type Nat44InterfaceDump struct{}

Nat44InterfaceDump represents VPP binary API message 'nat44_interface_dump'.

func (*Nat44InterfaceDump) GetCrcString

func (*Nat44InterfaceDump) GetCrcString() string

func (*Nat44InterfaceDump) GetMessageName

func (*Nat44InterfaceDump) GetMessageName() string

func (*Nat44InterfaceDump) GetMessageType

func (*Nat44InterfaceDump) GetMessageType() api.MessageType

type Nat44InterfaceOutputFeatureDetails

type Nat44InterfaceOutputFeatureDetails struct {
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat44InterfaceOutputFeatureDetails represents VPP binary API message 'nat44_interface_output_feature_details'.

func (*Nat44InterfaceOutputFeatureDetails) GetCrcString

func (*Nat44InterfaceOutputFeatureDetails) GetMessageName

func (*Nat44InterfaceOutputFeatureDetails) GetMessageName() string

func (*Nat44InterfaceOutputFeatureDetails) GetMessageType

type Nat44InterfaceOutputFeatureDump

type Nat44InterfaceOutputFeatureDump struct{}

Nat44InterfaceOutputFeatureDump represents VPP binary API message 'nat44_interface_output_feature_dump'.

func (*Nat44InterfaceOutputFeatureDump) GetCrcString

func (*Nat44InterfaceOutputFeatureDump) GetCrcString() string

func (*Nat44InterfaceOutputFeatureDump) GetMessageName

func (*Nat44InterfaceOutputFeatureDump) GetMessageName() string

func (*Nat44InterfaceOutputFeatureDump) GetMessageType

type Nat44LbAddrPort

type Nat44LbAddrPort struct {
	Addr        IP4Address
	Port        uint16
	Probability uint8
	VrfID       uint32
}

Nat44LbAddrPort represents VPP binary API type 'nat44_lb_addr_port'.

func (*Nat44LbAddrPort) GetTypeName

func (*Nat44LbAddrPort) GetTypeName() string

type Nat44LbStaticMappingAddDelLocal

type Nat44LbStaticMappingAddDelLocal struct {
	IsAdd        bool
	ExternalAddr IP4Address
	ExternalPort uint16
	Protocol     uint8
	Local        Nat44LbAddrPort
}

Nat44LbStaticMappingAddDelLocal represents VPP binary API message 'nat44_lb_static_mapping_add_del_local'.

func (*Nat44LbStaticMappingAddDelLocal) GetCrcString

func (*Nat44LbStaticMappingAddDelLocal) GetCrcString() string

func (*Nat44LbStaticMappingAddDelLocal) GetMessageName

func (*Nat44LbStaticMappingAddDelLocal) GetMessageName() string

func (*Nat44LbStaticMappingAddDelLocal) GetMessageType

type Nat44LbStaticMappingAddDelLocalReply

type Nat44LbStaticMappingAddDelLocalReply struct {
	Retval int32
}

Nat44LbStaticMappingAddDelLocalReply represents VPP binary API message 'nat44_lb_static_mapping_add_del_local_reply'.

func (*Nat44LbStaticMappingAddDelLocalReply) GetCrcString

func (*Nat44LbStaticMappingAddDelLocalReply) GetMessageName

func (*Nat44LbStaticMappingAddDelLocalReply) GetMessageName() string

func (*Nat44LbStaticMappingAddDelLocalReply) GetMessageType

type Nat44LbStaticMappingDetails

type Nat44LbStaticMappingDetails struct {
	ExternalAddr IP4Address
	ExternalPort uint16
	Protocol     uint8
	Flags        NatConfigFlags
	Affinity     uint32
	Tag          string `struc:"[64]byte"`
	LocalNum     uint32 `struc:"sizeof=Locals"`
	Locals       []Nat44LbAddrPort
}

Nat44LbStaticMappingDetails represents VPP binary API message 'nat44_lb_static_mapping_details'.

func (*Nat44LbStaticMappingDetails) GetCrcString

func (*Nat44LbStaticMappingDetails) GetCrcString() string

func (*Nat44LbStaticMappingDetails) GetMessageName

func (*Nat44LbStaticMappingDetails) GetMessageName() string

func (*Nat44LbStaticMappingDetails) GetMessageType

func (*Nat44LbStaticMappingDetails) GetMessageType() api.MessageType

type Nat44LbStaticMappingDump

type Nat44LbStaticMappingDump struct{}

Nat44LbStaticMappingDump represents VPP binary API message 'nat44_lb_static_mapping_dump'.

func (*Nat44LbStaticMappingDump) GetCrcString

func (*Nat44LbStaticMappingDump) GetCrcString() string

func (*Nat44LbStaticMappingDump) GetMessageName

func (*Nat44LbStaticMappingDump) GetMessageName() string

func (*Nat44LbStaticMappingDump) GetMessageType

func (*Nat44LbStaticMappingDump) GetMessageType() api.MessageType

type Nat44StaticMappingDetails

type Nat44StaticMappingDetails struct {
	Flags             NatConfigFlags
	LocalIPAddress    IP4Address
	ExternalIPAddress IP4Address
	Protocol          uint8
	LocalPort         uint16
	ExternalPort      uint16
	ExternalSwIfIndex InterfaceIndex
	VrfID             uint32
	Tag               string `struc:"[64]byte"`
}

Nat44StaticMappingDetails represents VPP binary API message 'nat44_static_mapping_details'.

func (*Nat44StaticMappingDetails) GetCrcString

func (*Nat44StaticMappingDetails) GetCrcString() string

func (*Nat44StaticMappingDetails) GetMessageName

func (*Nat44StaticMappingDetails) GetMessageName() string

func (*Nat44StaticMappingDetails) GetMessageType

func (*Nat44StaticMappingDetails) GetMessageType() api.MessageType

type Nat44StaticMappingDump

type Nat44StaticMappingDump struct{}

Nat44StaticMappingDump represents VPP binary API message 'nat44_static_mapping_dump'.

func (*Nat44StaticMappingDump) GetCrcString

func (*Nat44StaticMappingDump) GetCrcString() string

func (*Nat44StaticMappingDump) GetMessageName

func (*Nat44StaticMappingDump) GetMessageName() string

func (*Nat44StaticMappingDump) GetMessageType

func (*Nat44StaticMappingDump) GetMessageType() api.MessageType

type Nat44UserDetails

type Nat44UserDetails struct {
	VrfID           uint32
	IPAddress       IP4Address
	Nsessions       uint32
	Nstaticsessions uint32
}

Nat44UserDetails represents VPP binary API message 'nat44_user_details'.

func (*Nat44UserDetails) GetCrcString

func (*Nat44UserDetails) GetCrcString() string

func (*Nat44UserDetails) GetMessageName

func (*Nat44UserDetails) GetMessageName() string

func (*Nat44UserDetails) GetMessageType

func (*Nat44UserDetails) GetMessageType() api.MessageType

type Nat44UserDump

type Nat44UserDump struct{}

Nat44UserDump represents VPP binary API message 'nat44_user_dump'.

func (*Nat44UserDump) GetCrcString

func (*Nat44UserDump) GetCrcString() string

func (*Nat44UserDump) GetMessageName

func (*Nat44UserDump) GetMessageName() string

func (*Nat44UserDump) GetMessageType

func (*Nat44UserDump) GetMessageType() api.MessageType

type Nat44UserSessionDetails

type Nat44UserSessionDetails struct {
	OutsideIPAddress  IP4Address
	OutsidePort       uint16
	InsideIPAddress   IP4Address
	InsidePort        uint16
	Protocol          uint16
	Flags             NatConfigFlags
	LastHeard         uint64
	TotalBytes        uint64
	TotalPkts         uint32
	ExtHostAddress    IP4Address
	ExtHostPort       uint16
	ExtHostNatAddress IP4Address
	ExtHostNatPort    uint16
}

Nat44UserSessionDetails represents VPP binary API message 'nat44_user_session_details'.

func (*Nat44UserSessionDetails) GetCrcString

func (*Nat44UserSessionDetails) GetCrcString() string

func (*Nat44UserSessionDetails) GetMessageName

func (*Nat44UserSessionDetails) GetMessageName() string

func (*Nat44UserSessionDetails) GetMessageType

func (*Nat44UserSessionDetails) GetMessageType() api.MessageType

type Nat44UserSessionDump

type Nat44UserSessionDump struct {
	IPAddress IP4Address
	VrfID     uint32
}

Nat44UserSessionDump represents VPP binary API message 'nat44_user_session_dump'.

func (*Nat44UserSessionDump) GetCrcString

func (*Nat44UserSessionDump) GetCrcString() string

func (*Nat44UserSessionDump) GetMessageName

func (*Nat44UserSessionDump) GetMessageName() string

func (*Nat44UserSessionDump) GetMessageType

func (*Nat44UserSessionDump) GetMessageType() api.MessageType

type Nat64AddDelInterface

type Nat64AddDelInterface struct {
	IsAdd     bool
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat64AddDelInterface represents VPP binary API message 'nat64_add_del_interface'.

func (*Nat64AddDelInterface) GetCrcString

func (*Nat64AddDelInterface) GetCrcString() string

func (*Nat64AddDelInterface) GetMessageName

func (*Nat64AddDelInterface) GetMessageName() string

func (*Nat64AddDelInterface) GetMessageType

func (*Nat64AddDelInterface) GetMessageType() api.MessageType

type Nat64AddDelInterfaceAddr

type Nat64AddDelInterfaceAddr struct {
	IsAdd     bool
	SwIfIndex InterfaceIndex
}

Nat64AddDelInterfaceAddr represents VPP binary API message 'nat64_add_del_interface_addr'.

func (*Nat64AddDelInterfaceAddr) GetCrcString

func (*Nat64AddDelInterfaceAddr) GetCrcString() string

func (*Nat64AddDelInterfaceAddr) GetMessageName

func (*Nat64AddDelInterfaceAddr) GetMessageName() string

func (*Nat64AddDelInterfaceAddr) GetMessageType

func (*Nat64AddDelInterfaceAddr) GetMessageType() api.MessageType

type Nat64AddDelInterfaceAddrReply

type Nat64AddDelInterfaceAddrReply struct {
	Retval int32
}

Nat64AddDelInterfaceAddrReply represents VPP binary API message 'nat64_add_del_interface_addr_reply'.

func (*Nat64AddDelInterfaceAddrReply) GetCrcString

func (*Nat64AddDelInterfaceAddrReply) GetCrcString() string

func (*Nat64AddDelInterfaceAddrReply) GetMessageName

func (*Nat64AddDelInterfaceAddrReply) GetMessageName() string

func (*Nat64AddDelInterfaceAddrReply) GetMessageType

func (*Nat64AddDelInterfaceAddrReply) GetMessageType() api.MessageType

type Nat64AddDelInterfaceReply

type Nat64AddDelInterfaceReply struct {
	Retval int32
}

Nat64AddDelInterfaceReply represents VPP binary API message 'nat64_add_del_interface_reply'.

func (*Nat64AddDelInterfaceReply) GetCrcString

func (*Nat64AddDelInterfaceReply) GetCrcString() string

func (*Nat64AddDelInterfaceReply) GetMessageName

func (*Nat64AddDelInterfaceReply) GetMessageName() string

func (*Nat64AddDelInterfaceReply) GetMessageType

func (*Nat64AddDelInterfaceReply) GetMessageType() api.MessageType

type Nat64AddDelPoolAddrRange

type Nat64AddDelPoolAddrRange struct {
	StartAddr IP4Address
	EndAddr   IP4Address
	VrfID     uint32
	IsAdd     bool
}

Nat64AddDelPoolAddrRange represents VPP binary API message 'nat64_add_del_pool_addr_range'.

func (*Nat64AddDelPoolAddrRange) GetCrcString

func (*Nat64AddDelPoolAddrRange) GetCrcString() string

func (*Nat64AddDelPoolAddrRange) GetMessageName

func (*Nat64AddDelPoolAddrRange) GetMessageName() string

func (*Nat64AddDelPoolAddrRange) GetMessageType

func (*Nat64AddDelPoolAddrRange) GetMessageType() api.MessageType

type Nat64AddDelPoolAddrRangeReply

type Nat64AddDelPoolAddrRangeReply struct {
	Retval int32
}

Nat64AddDelPoolAddrRangeReply represents VPP binary API message 'nat64_add_del_pool_addr_range_reply'.

func (*Nat64AddDelPoolAddrRangeReply) GetCrcString

func (*Nat64AddDelPoolAddrRangeReply) GetCrcString() string

func (*Nat64AddDelPoolAddrRangeReply) GetMessageName

func (*Nat64AddDelPoolAddrRangeReply) GetMessageName() string

func (*Nat64AddDelPoolAddrRangeReply) GetMessageType

func (*Nat64AddDelPoolAddrRangeReply) GetMessageType() api.MessageType

type Nat64AddDelPrefix

type Nat64AddDelPrefix struct {
	Prefix IP6Prefix
	VrfID  uint32
	IsAdd  bool
}

Nat64AddDelPrefix represents VPP binary API message 'nat64_add_del_prefix'.

func (*Nat64AddDelPrefix) GetCrcString

func (*Nat64AddDelPrefix) GetCrcString() string

func (*Nat64AddDelPrefix) GetMessageName

func (*Nat64AddDelPrefix) GetMessageName() string

func (*Nat64AddDelPrefix) GetMessageType

func (*Nat64AddDelPrefix) GetMessageType() api.MessageType

type Nat64AddDelPrefixReply

type Nat64AddDelPrefixReply struct {
	Retval int32
}

Nat64AddDelPrefixReply represents VPP binary API message 'nat64_add_del_prefix_reply'.

func (*Nat64AddDelPrefixReply) GetCrcString

func (*Nat64AddDelPrefixReply) GetCrcString() string

func (*Nat64AddDelPrefixReply) GetMessageName

func (*Nat64AddDelPrefixReply) GetMessageName() string

func (*Nat64AddDelPrefixReply) GetMessageType

func (*Nat64AddDelPrefixReply) GetMessageType() api.MessageType

type Nat64AddDelStaticBib

type Nat64AddDelStaticBib struct {
	IAddr IP6Address
	OAddr IP4Address
	IPort uint16
	OPort uint16
	VrfID uint32
	Proto uint8
	IsAdd bool
}

Nat64AddDelStaticBib represents VPP binary API message 'nat64_add_del_static_bib'.

func (*Nat64AddDelStaticBib) GetCrcString

func (*Nat64AddDelStaticBib) GetCrcString() string

func (*Nat64AddDelStaticBib) GetMessageName

func (*Nat64AddDelStaticBib) GetMessageName() string

func (*Nat64AddDelStaticBib) GetMessageType

func (*Nat64AddDelStaticBib) GetMessageType() api.MessageType

type Nat64AddDelStaticBibReply

type Nat64AddDelStaticBibReply struct {
	Retval int32
}

Nat64AddDelStaticBibReply represents VPP binary API message 'nat64_add_del_static_bib_reply'.

func (*Nat64AddDelStaticBibReply) GetCrcString

func (*Nat64AddDelStaticBibReply) GetCrcString() string

func (*Nat64AddDelStaticBibReply) GetMessageName

func (*Nat64AddDelStaticBibReply) GetMessageName() string

func (*Nat64AddDelStaticBibReply) GetMessageType

func (*Nat64AddDelStaticBibReply) GetMessageType() api.MessageType

type Nat64BibDetails

type Nat64BibDetails struct {
	IAddr  IP6Address
	OAddr  IP4Address
	IPort  uint16
	OPort  uint16
	VrfID  uint32
	Proto  uint8
	Flags  NatConfigFlags
	SesNum uint32
}

Nat64BibDetails represents VPP binary API message 'nat64_bib_details'.

func (*Nat64BibDetails) GetCrcString

func (*Nat64BibDetails) GetCrcString() string

func (*Nat64BibDetails) GetMessageName

func (*Nat64BibDetails) GetMessageName() string

func (*Nat64BibDetails) GetMessageType

func (*Nat64BibDetails) GetMessageType() api.MessageType

type Nat64BibDump

type Nat64BibDump struct {
	Proto uint8
}

Nat64BibDump represents VPP binary API message 'nat64_bib_dump'.

func (*Nat64BibDump) GetCrcString

func (*Nat64BibDump) GetCrcString() string

func (*Nat64BibDump) GetMessageName

func (*Nat64BibDump) GetMessageName() string

func (*Nat64BibDump) GetMessageType

func (*Nat64BibDump) GetMessageType() api.MessageType

type Nat64InterfaceDetails

type Nat64InterfaceDetails struct {
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat64InterfaceDetails represents VPP binary API message 'nat64_interface_details'.

func (*Nat64InterfaceDetails) GetCrcString

func (*Nat64InterfaceDetails) GetCrcString() string

func (*Nat64InterfaceDetails) GetMessageName

func (*Nat64InterfaceDetails) GetMessageName() string

func (*Nat64InterfaceDetails) GetMessageType

func (*Nat64InterfaceDetails) GetMessageType() api.MessageType

type Nat64InterfaceDump

type Nat64InterfaceDump struct{}

Nat64InterfaceDump represents VPP binary API message 'nat64_interface_dump'.

func (*Nat64InterfaceDump) GetCrcString

func (*Nat64InterfaceDump) GetCrcString() string

func (*Nat64InterfaceDump) GetMessageName

func (*Nat64InterfaceDump) GetMessageName() string

func (*Nat64InterfaceDump) GetMessageType

func (*Nat64InterfaceDump) GetMessageType() api.MessageType

type Nat64PoolAddrDetails

type Nat64PoolAddrDetails struct {
	Address IP4Address
	VrfID   uint32
}

Nat64PoolAddrDetails represents VPP binary API message 'nat64_pool_addr_details'.

func (*Nat64PoolAddrDetails) GetCrcString

func (*Nat64PoolAddrDetails) GetCrcString() string

func (*Nat64PoolAddrDetails) GetMessageName

func (*Nat64PoolAddrDetails) GetMessageName() string

func (*Nat64PoolAddrDetails) GetMessageType

func (*Nat64PoolAddrDetails) GetMessageType() api.MessageType

type Nat64PoolAddrDump

type Nat64PoolAddrDump struct{}

Nat64PoolAddrDump represents VPP binary API message 'nat64_pool_addr_dump'.

func (*Nat64PoolAddrDump) GetCrcString

func (*Nat64PoolAddrDump) GetCrcString() string

func (*Nat64PoolAddrDump) GetMessageName

func (*Nat64PoolAddrDump) GetMessageName() string

func (*Nat64PoolAddrDump) GetMessageType

func (*Nat64PoolAddrDump) GetMessageType() api.MessageType

type Nat64PrefixDetails

type Nat64PrefixDetails struct {
	Prefix IP6Prefix
	VrfID  uint32
}

Nat64PrefixDetails represents VPP binary API message 'nat64_prefix_details'.

func (*Nat64PrefixDetails) GetCrcString

func (*Nat64PrefixDetails) GetCrcString() string

func (*Nat64PrefixDetails) GetMessageName

func (*Nat64PrefixDetails) GetMessageName() string

func (*Nat64PrefixDetails) GetMessageType

func (*Nat64PrefixDetails) GetMessageType() api.MessageType

type Nat64PrefixDump

type Nat64PrefixDump struct{}

Nat64PrefixDump represents VPP binary API message 'nat64_prefix_dump'.

func (*Nat64PrefixDump) GetCrcString

func (*Nat64PrefixDump) GetCrcString() string

func (*Nat64PrefixDump) GetMessageName

func (*Nat64PrefixDump) GetMessageName() string

func (*Nat64PrefixDump) GetMessageType

func (*Nat64PrefixDump) GetMessageType() api.MessageType

type Nat64StDetails

type Nat64StDetails struct {
	IlAddr IP6Address
	OlAddr IP4Address
	IlPort uint16
	OlPort uint16
	IrAddr IP6Address
	OrAddr IP4Address
	RPort  uint16
	VrfID  uint32
	Proto  uint8
}

Nat64StDetails represents VPP binary API message 'nat64_st_details'.

func (*Nat64StDetails) GetCrcString

func (*Nat64StDetails) GetCrcString() string

func (*Nat64StDetails) GetMessageName

func (*Nat64StDetails) GetMessageName() string

func (*Nat64StDetails) GetMessageType

func (*Nat64StDetails) GetMessageType() api.MessageType

type Nat64StDump

type Nat64StDump struct {
	Proto uint8
}

Nat64StDump represents VPP binary API message 'nat64_st_dump'.

func (*Nat64StDump) GetCrcString

func (*Nat64StDump) GetCrcString() string

func (*Nat64StDump) GetMessageName

func (*Nat64StDump) GetMessageName() string

func (*Nat64StDump) GetMessageType

func (*Nat64StDump) GetMessageType() api.MessageType

type Nat66AddDelInterface

type Nat66AddDelInterface struct {
	IsAdd     bool
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat66AddDelInterface represents VPP binary API message 'nat66_add_del_interface'.

func (*Nat66AddDelInterface) GetCrcString

func (*Nat66AddDelInterface) GetCrcString() string

func (*Nat66AddDelInterface) GetMessageName

func (*Nat66AddDelInterface) GetMessageName() string

func (*Nat66AddDelInterface) GetMessageType

func (*Nat66AddDelInterface) GetMessageType() api.MessageType

type Nat66AddDelInterfaceReply

type Nat66AddDelInterfaceReply struct {
	Retval int32
}

Nat66AddDelInterfaceReply represents VPP binary API message 'nat66_add_del_interface_reply'.

func (*Nat66AddDelInterfaceReply) GetCrcString

func (*Nat66AddDelInterfaceReply) GetCrcString() string

func (*Nat66AddDelInterfaceReply) GetMessageName

func (*Nat66AddDelInterfaceReply) GetMessageName() string

func (*Nat66AddDelInterfaceReply) GetMessageType

func (*Nat66AddDelInterfaceReply) GetMessageType() api.MessageType

type Nat66AddDelStaticMapping

type Nat66AddDelStaticMapping struct {
	IsAdd             bool
	LocalIPAddress    IP6Address
	ExternalIPAddress IP6Address
	VrfID             uint32
}

Nat66AddDelStaticMapping represents VPP binary API message 'nat66_add_del_static_mapping'.

func (*Nat66AddDelStaticMapping) GetCrcString

func (*Nat66AddDelStaticMapping) GetCrcString() string

func (*Nat66AddDelStaticMapping) GetMessageName

func (*Nat66AddDelStaticMapping) GetMessageName() string

func (*Nat66AddDelStaticMapping) GetMessageType

func (*Nat66AddDelStaticMapping) GetMessageType() api.MessageType

type Nat66AddDelStaticMappingReply

type Nat66AddDelStaticMappingReply struct {
	Retval int32
}

Nat66AddDelStaticMappingReply represents VPP binary API message 'nat66_add_del_static_mapping_reply'.

func (*Nat66AddDelStaticMappingReply) GetCrcString

func (*Nat66AddDelStaticMappingReply) GetCrcString() string

func (*Nat66AddDelStaticMappingReply) GetMessageName

func (*Nat66AddDelStaticMappingReply) GetMessageName() string

func (*Nat66AddDelStaticMappingReply) GetMessageType

func (*Nat66AddDelStaticMappingReply) GetMessageType() api.MessageType

type Nat66InterfaceDetails

type Nat66InterfaceDetails struct {
	Flags     NatConfigFlags
	SwIfIndex InterfaceIndex
}

Nat66InterfaceDetails represents VPP binary API message 'nat66_interface_details'.

func (*Nat66InterfaceDetails) GetCrcString

func (*Nat66InterfaceDetails) GetCrcString() string

func (*Nat66InterfaceDetails) GetMessageName

func (*Nat66InterfaceDetails) GetMessageName() string

func (*Nat66InterfaceDetails) GetMessageType

func (*Nat66InterfaceDetails) GetMessageType() api.MessageType

type Nat66InterfaceDump

type Nat66InterfaceDump struct{}

Nat66InterfaceDump represents VPP binary API message 'nat66_interface_dump'.

func (*Nat66InterfaceDump) GetCrcString

func (*Nat66InterfaceDump) GetCrcString() string

func (*Nat66InterfaceDump) GetMessageName

func (*Nat66InterfaceDump) GetMessageName() string

func (*Nat66InterfaceDump) GetMessageType

func (*Nat66InterfaceDump) GetMessageType() api.MessageType

type Nat66StaticMappingDetails

type Nat66StaticMappingDetails struct {
	LocalIPAddress    IP6Address
	ExternalIPAddress IP6Address
	VrfID             uint32
	TotalBytes        uint64
	TotalPkts         uint64
}

Nat66StaticMappingDetails represents VPP binary API message 'nat66_static_mapping_details'.

func (*Nat66StaticMappingDetails) GetCrcString

func (*Nat66StaticMappingDetails) GetCrcString() string

func (*Nat66StaticMappingDetails) GetMessageName

func (*Nat66StaticMappingDetails) GetMessageName() string

func (*Nat66StaticMappingDetails) GetMessageType

func (*Nat66StaticMappingDetails) GetMessageType() api.MessageType

type Nat66StaticMappingDump

type Nat66StaticMappingDump struct{}

Nat66StaticMappingDump represents VPP binary API message 'nat66_static_mapping_dump'.

func (*Nat66StaticMappingDump) GetCrcString

func (*Nat66StaticMappingDump) GetCrcString() string

func (*Nat66StaticMappingDump) GetMessageName

func (*Nat66StaticMappingDump) GetMessageName() string

func (*Nat66StaticMappingDump) GetMessageType

func (*Nat66StaticMappingDump) GetMessageType() api.MessageType

type NatConfigFlags

type NatConfigFlags uint8

NatConfigFlags represents VPP binary API enum 'nat_config_flags'.

const (
	NAT_IS_NONE           NatConfigFlags = 0
	NAT_IS_TWICE_NAT      NatConfigFlags = 1
	NAT_IS_SELF_TWICE_NAT NatConfigFlags = 2
	NAT_IS_OUT2IN_ONLY    NatConfigFlags = 4
	NAT_IS_ADDR_ONLY      NatConfigFlags = 8
	NAT_IS_OUTSIDE        NatConfigFlags = 16
	NAT_IS_INSIDE         NatConfigFlags = 32
	NAT_IS_STATIC         NatConfigFlags = 64
	NAT_IS_EXT_HOST_VALID NatConfigFlags = 128
)

func (NatConfigFlags) String

func (x NatConfigFlags) String() string

type NatControlPing

type NatControlPing struct{}

NatControlPing represents VPP binary API message 'nat_control_ping'.

func (*NatControlPing) GetCrcString

func (*NatControlPing) GetCrcString() string

func (*NatControlPing) GetMessageName

func (*NatControlPing) GetMessageName() string

func (*NatControlPing) GetMessageType

func (*NatControlPing) GetMessageType() api.MessageType

type NatControlPingReply

type NatControlPingReply struct {
	Retval      int32
	ClientIndex uint32
	VpePID      uint32
}

NatControlPingReply represents VPP binary API message 'nat_control_ping_reply'.

func (*NatControlPingReply) GetCrcString

func (*NatControlPingReply) GetCrcString() string

func (*NatControlPingReply) GetMessageName

func (*NatControlPingReply) GetMessageName() string

func (*NatControlPingReply) GetMessageType

func (*NatControlPingReply) GetMessageType() api.MessageType

type NatDetAddDelMap

type NatDetAddDelMap struct {
	IsAdd   bool
	InAddr  IP4Address
	InPlen  uint8
	OutAddr IP4Address
	OutPlen uint8
}

NatDetAddDelMap represents VPP binary API message 'nat_det_add_del_map'.

func (*NatDetAddDelMap) GetCrcString

func (*NatDetAddDelMap) GetCrcString() string

func (*NatDetAddDelMap) GetMessageName

func (*NatDetAddDelMap) GetMessageName() string

func (*NatDetAddDelMap) GetMessageType

func (*NatDetAddDelMap) GetMessageType() api.MessageType

type NatDetAddDelMapReply

type NatDetAddDelMapReply struct {
	Retval int32
}

NatDetAddDelMapReply represents VPP binary API message 'nat_det_add_del_map_reply'.

func (*NatDetAddDelMapReply) GetCrcString

func (*NatDetAddDelMapReply) GetCrcString() string

func (*NatDetAddDelMapReply) GetMessageName

func (*NatDetAddDelMapReply) GetMessageName() string

func (*NatDetAddDelMapReply) GetMessageType

func (*NatDetAddDelMapReply) GetMessageType() api.MessageType

type NatDetCloseSessionIn

type NatDetCloseSessionIn struct {
	InAddr  IP4Address
	InPort  uint16
	ExtAddr IP4Address
	ExtPort uint16
}

NatDetCloseSessionIn represents VPP binary API message 'nat_det_close_session_in'.

func (*NatDetCloseSessionIn) GetCrcString

func (*NatDetCloseSessionIn) GetCrcString() string

func (*NatDetCloseSessionIn) GetMessageName

func (*NatDetCloseSessionIn) GetMessageName() string

func (*NatDetCloseSessionIn) GetMessageType

func (*NatDetCloseSessionIn) GetMessageType() api.MessageType

type NatDetCloseSessionInReply

type NatDetCloseSessionInReply struct {
	Retval int32
}

NatDetCloseSessionInReply represents VPP binary API message 'nat_det_close_session_in_reply'.

func (*NatDetCloseSessionInReply) GetCrcString

func (*NatDetCloseSessionInReply) GetCrcString() string

func (*NatDetCloseSessionInReply) GetMessageName

func (*NatDetCloseSessionInReply) GetMessageName() string

func (*NatDetCloseSessionInReply) GetMessageType

func (*NatDetCloseSessionInReply) GetMessageType() api.MessageType

type NatDetCloseSessionOut

type NatDetCloseSessionOut struct {
	OutAddr IP4Address
	OutPort uint16
	ExtAddr IP4Address
	ExtPort uint16
}

NatDetCloseSessionOut represents VPP binary API message 'nat_det_close_session_out'.

func (*NatDetCloseSessionOut) GetCrcString

func (*NatDetCloseSessionOut) GetCrcString() string

func (*NatDetCloseSessionOut) GetMessageName

func (*NatDetCloseSessionOut) GetMessageName() string

func (*NatDetCloseSessionOut) GetMessageType

func (*NatDetCloseSessionOut) GetMessageType() api.MessageType

type NatDetCloseSessionOutReply

type NatDetCloseSessionOutReply struct {
	Retval int32
}

NatDetCloseSessionOutReply represents VPP binary API message 'nat_det_close_session_out_reply'.

func (*NatDetCloseSessionOutReply) GetCrcString

func (*NatDetCloseSessionOutReply) GetCrcString() string

func (*NatDetCloseSessionOutReply) GetMessageName

func (*NatDetCloseSessionOutReply) GetMessageName() string

func (*NatDetCloseSessionOutReply) GetMessageType

func (*NatDetCloseSessionOutReply) GetMessageType() api.MessageType

type NatDetForward

type NatDetForward struct {
	InAddr IP4Address
}

NatDetForward represents VPP binary API message 'nat_det_forward'.

func (*NatDetForward) GetCrcString

func (*NatDetForward) GetCrcString() string

func (*NatDetForward) GetMessageName

func (*NatDetForward) GetMessageName() string

func (*NatDetForward) GetMessageType

func (*NatDetForward) GetMessageType() api.MessageType

type NatDetForwardReply

type NatDetForwardReply struct {
	Retval    int32
	OutPortLo uint16
	OutPortHi uint16
	OutAddr   IP4Address
}

NatDetForwardReply represents VPP binary API message 'nat_det_forward_reply'.

func (*NatDetForwardReply) GetCrcString

func (*NatDetForwardReply) GetCrcString() string

func (*NatDetForwardReply) GetMessageName

func (*NatDetForwardReply) GetMessageName() string

func (*NatDetForwardReply) GetMessageType

func (*NatDetForwardReply) GetMessageType() api.MessageType

type NatDetMapDetails

type NatDetMapDetails struct {
	InAddr       IP4Address
	InPlen       uint8
	OutAddr      IP4Address
	OutPlen      uint8
	SharingRatio uint32
	PortsPerHost uint16
	SesNum       uint32
}

NatDetMapDetails represents VPP binary API message 'nat_det_map_details'.

func (*NatDetMapDetails) GetCrcString

func (*NatDetMapDetails) GetCrcString() string

func (*NatDetMapDetails) GetMessageName

func (*NatDetMapDetails) GetMessageName() string

func (*NatDetMapDetails) GetMessageType

func (*NatDetMapDetails) GetMessageType() api.MessageType

type NatDetMapDump

type NatDetMapDump struct{}

NatDetMapDump represents VPP binary API message 'nat_det_map_dump'.

func (*NatDetMapDump) GetCrcString

func (*NatDetMapDump) GetCrcString() string

func (*NatDetMapDump) GetMessageName

func (*NatDetMapDump) GetMessageName() string

func (*NatDetMapDump) GetMessageType

func (*NatDetMapDump) GetMessageType() api.MessageType

type NatDetReverse

type NatDetReverse struct {
	OutPort uint16
	OutAddr IP4Address
}

NatDetReverse represents VPP binary API message 'nat_det_reverse'.

func (*NatDetReverse) GetCrcString

func (*NatDetReverse) GetCrcString() string

func (*NatDetReverse) GetMessageName

func (*NatDetReverse) GetMessageName() string

func (*NatDetReverse) GetMessageType

func (*NatDetReverse) GetMessageType() api.MessageType

type NatDetReverseReply

type NatDetReverseReply struct {
	Retval int32
	InAddr IP4Address
}

NatDetReverseReply represents VPP binary API message 'nat_det_reverse_reply'.

func (*NatDetReverseReply) GetCrcString

func (*NatDetReverseReply) GetCrcString() string

func (*NatDetReverseReply) GetMessageName

func (*NatDetReverseReply) GetMessageName() string

func (*NatDetReverseReply) GetMessageType

func (*NatDetReverseReply) GetMessageType() api.MessageType

type NatDetSessionDetails

type NatDetSessionDetails struct {
	InPort  uint16
	ExtAddr IP4Address
	ExtPort uint16
	OutPort uint16
	State   uint8
	Expire  uint32
}

NatDetSessionDetails represents VPP binary API message 'nat_det_session_details'.

func (*NatDetSessionDetails) GetCrcString

func (*NatDetSessionDetails) GetCrcString() string

func (*NatDetSessionDetails) GetMessageName

func (*NatDetSessionDetails) GetMessageName() string

func (*NatDetSessionDetails) GetMessageType

func (*NatDetSessionDetails) GetMessageType() api.MessageType

type NatDetSessionDump

type NatDetSessionDump struct {
	UserAddr IP4Address
}

NatDetSessionDump represents VPP binary API message 'nat_det_session_dump'.

func (*NatDetSessionDump) GetCrcString

func (*NatDetSessionDump) GetCrcString() string

func (*NatDetSessionDump) GetMessageName

func (*NatDetSessionDump) GetMessageName() string

func (*NatDetSessionDump) GetMessageType

func (*NatDetSessionDump) GetMessageType() api.MessageType

type NatGetAddrAndPortAllocAlg

type NatGetAddrAndPortAllocAlg struct{}

NatGetAddrAndPortAllocAlg represents VPP binary API message 'nat_get_addr_and_port_alloc_alg'.

func (*NatGetAddrAndPortAllocAlg) GetCrcString

func (*NatGetAddrAndPortAllocAlg) GetCrcString() string

func (*NatGetAddrAndPortAllocAlg) GetMessageName

func (*NatGetAddrAndPortAllocAlg) GetMessageName() string

func (*NatGetAddrAndPortAllocAlg) GetMessageType

func (*NatGetAddrAndPortAllocAlg) GetMessageType() api.MessageType

type NatGetAddrAndPortAllocAlgReply

type NatGetAddrAndPortAllocAlgReply struct {
	Retval     int32
	Alg        uint8
	PsidOffset uint8
	PsidLength uint8
	Psid       uint16
	StartPort  uint16
	EndPort    uint16
}

NatGetAddrAndPortAllocAlgReply represents VPP binary API message 'nat_get_addr_and_port_alloc_alg_reply'.

func (*NatGetAddrAndPortAllocAlgReply) GetCrcString

func (*NatGetAddrAndPortAllocAlgReply) GetCrcString() string

func (*NatGetAddrAndPortAllocAlgReply) GetMessageName

func (*NatGetAddrAndPortAllocAlgReply) GetMessageName() string

func (*NatGetAddrAndPortAllocAlgReply) GetMessageType

type NatGetMssClamping

type NatGetMssClamping struct{}

NatGetMssClamping represents VPP binary API message 'nat_get_mss_clamping'.

func (*NatGetMssClamping) GetCrcString

func (*NatGetMssClamping) GetCrcString() string

func (*NatGetMssClamping) GetMessageName

func (*NatGetMssClamping) GetMessageName() string

func (*NatGetMssClamping) GetMessageType

func (*NatGetMssClamping) GetMessageType() api.MessageType

type NatGetMssClampingReply

type NatGetMssClampingReply struct {
	Retval   int32
	MssValue uint16
	Enable   bool
}

NatGetMssClampingReply represents VPP binary API message 'nat_get_mss_clamping_reply'.

func (*NatGetMssClampingReply) GetCrcString

func (*NatGetMssClampingReply) GetCrcString() string

func (*NatGetMssClampingReply) GetMessageName

func (*NatGetMssClampingReply) GetMessageName() string

func (*NatGetMssClampingReply) GetMessageType

func (*NatGetMssClampingReply) GetMessageType() api.MessageType

type NatGetReass

type NatGetReass struct{}

NatGetReass represents VPP binary API message 'nat_get_reass'.

func (*NatGetReass) GetCrcString

func (*NatGetReass) GetCrcString() string

func (*NatGetReass) GetMessageName

func (*NatGetReass) GetMessageName() string

func (*NatGetReass) GetMessageType

func (*NatGetReass) GetMessageType() api.MessageType

type NatGetReassReply

type NatGetReassReply struct {
	Retval      int32
	IP4Timeout  uint32
	IP4MaxReass uint16
	IP4MaxFrag  uint8
	IP4DropFrag uint8
	IP6Timeout  uint32
	IP6MaxReass uint16
	IP6MaxFrag  uint8
	IP6DropFrag uint8
}

NatGetReassReply represents VPP binary API message 'nat_get_reass_reply'.

func (*NatGetReassReply) GetCrcString

func (*NatGetReassReply) GetCrcString() string

func (*NatGetReassReply) GetMessageName

func (*NatGetReassReply) GetMessageName() string

func (*NatGetReassReply) GetMessageType

func (*NatGetReassReply) GetMessageType() api.MessageType

type NatGetTimeouts

type NatGetTimeouts struct{}

NatGetTimeouts represents VPP binary API message 'nat_get_timeouts'.

func (*NatGetTimeouts) GetCrcString

func (*NatGetTimeouts) GetCrcString() string

func (*NatGetTimeouts) GetMessageName

func (*NatGetTimeouts) GetMessageName() string

func (*NatGetTimeouts) GetMessageType

func (*NatGetTimeouts) GetMessageType() api.MessageType

type NatGetTimeoutsReply

type NatGetTimeoutsReply struct {
	Retval         int32
	UDP            uint32
	TCPEstablished uint32
	TCPTransitory  uint32
	ICMP           uint32
}

NatGetTimeoutsReply represents VPP binary API message 'nat_get_timeouts_reply'.

func (*NatGetTimeoutsReply) GetCrcString

func (*NatGetTimeoutsReply) GetCrcString() string

func (*NatGetTimeoutsReply) GetMessageName

func (*NatGetTimeoutsReply) GetMessageName() string

func (*NatGetTimeoutsReply) GetMessageType

func (*NatGetTimeoutsReply) GetMessageType() api.MessageType

type NatHaFlush

type NatHaFlush struct{}

NatHaFlush represents VPP binary API message 'nat_ha_flush'.

func (*NatHaFlush) GetCrcString

func (*NatHaFlush) GetCrcString() string

func (*NatHaFlush) GetMessageName

func (*NatHaFlush) GetMessageName() string

func (*NatHaFlush) GetMessageType

func (*NatHaFlush) GetMessageType() api.MessageType

type NatHaFlushReply

type NatHaFlushReply struct {
	Retval int32
}

NatHaFlushReply represents VPP binary API message 'nat_ha_flush_reply'.

func (*NatHaFlushReply) GetCrcString

func (*NatHaFlushReply) GetCrcString() string

func (*NatHaFlushReply) GetMessageName

func (*NatHaFlushReply) GetMessageName() string

func (*NatHaFlushReply) GetMessageType

func (*NatHaFlushReply) GetMessageType() api.MessageType

type NatHaGetFailover

type NatHaGetFailover struct{}

NatHaGetFailover represents VPP binary API message 'nat_ha_get_failover'.

func (*NatHaGetFailover) GetCrcString

func (*NatHaGetFailover) GetCrcString() string

func (*NatHaGetFailover) GetMessageName

func (*NatHaGetFailover) GetMessageName() string

func (*NatHaGetFailover) GetMessageType

func (*NatHaGetFailover) GetMessageType() api.MessageType

type NatHaGetFailoverReply

type NatHaGetFailoverReply struct {
	Retval                 int32
	IPAddress              IP4Address
	Port                   uint16
	SessionRefreshInterval uint32
}

NatHaGetFailoverReply represents VPP binary API message 'nat_ha_get_failover_reply'.

func (*NatHaGetFailoverReply) GetCrcString

func (*NatHaGetFailoverReply) GetCrcString() string

func (*NatHaGetFailoverReply) GetMessageName

func (*NatHaGetFailoverReply) GetMessageName() string

func (*NatHaGetFailoverReply) GetMessageType

func (*NatHaGetFailoverReply) GetMessageType() api.MessageType

type NatHaGetListener

type NatHaGetListener struct{}

NatHaGetListener represents VPP binary API message 'nat_ha_get_listener'.

func (*NatHaGetListener) GetCrcString

func (*NatHaGetListener) GetCrcString() string

func (*NatHaGetListener) GetMessageName

func (*NatHaGetListener) GetMessageName() string

func (*NatHaGetListener) GetMessageType

func (*NatHaGetListener) GetMessageType() api.MessageType

type NatHaGetListenerReply

type NatHaGetListenerReply struct {
	Retval    int32
	IPAddress IP4Address
	Port      uint16
	PathMtu   uint32
}

NatHaGetListenerReply represents VPP binary API message 'nat_ha_get_listener_reply'.

func (*NatHaGetListenerReply) GetCrcString

func (*NatHaGetListenerReply) GetCrcString() string

func (*NatHaGetListenerReply) GetMessageName

func (*NatHaGetListenerReply) GetMessageName() string

func (*NatHaGetListenerReply) GetMessageType

func (*NatHaGetListenerReply) GetMessageType() api.MessageType

type NatHaResync

type NatHaResync struct {
	WantResyncEvent uint8
	PID             uint32
}

NatHaResync represents VPP binary API message 'nat_ha_resync'.

func (*NatHaResync) GetCrcString

func (*NatHaResync) GetCrcString() string

func (*NatHaResync) GetMessageName

func (*NatHaResync) GetMessageName() string

func (*NatHaResync) GetMessageType

func (*NatHaResync) GetMessageType() api.MessageType

type NatHaResyncCompletedEvent

type NatHaResyncCompletedEvent struct {
	PID         uint32
	MissedCount uint32
}

NatHaResyncCompletedEvent represents VPP binary API message 'nat_ha_resync_completed_event'.

func (*NatHaResyncCompletedEvent) GetCrcString

func (*NatHaResyncCompletedEvent) GetCrcString() string

func (*NatHaResyncCompletedEvent) GetMessageName

func (*NatHaResyncCompletedEvent) GetMessageName() string

func (*NatHaResyncCompletedEvent) GetMessageType

func (*NatHaResyncCompletedEvent) GetMessageType() api.MessageType

type NatHaResyncReply

type NatHaResyncReply struct {
	Retval int32
}

NatHaResyncReply represents VPP binary API message 'nat_ha_resync_reply'.

func (*NatHaResyncReply) GetCrcString

func (*NatHaResyncReply) GetCrcString() string

func (*NatHaResyncReply) GetMessageName

func (*NatHaResyncReply) GetMessageName() string

func (*NatHaResyncReply) GetMessageType

func (*NatHaResyncReply) GetMessageType() api.MessageType

type NatHaSetFailover

type NatHaSetFailover struct {
	IPAddress              IP4Address
	Port                   uint16
	SessionRefreshInterval uint32
}

NatHaSetFailover represents VPP binary API message 'nat_ha_set_failover'.

func (*NatHaSetFailover) GetCrcString

func (*NatHaSetFailover) GetCrcString() string

func (*NatHaSetFailover) GetMessageName

func (*NatHaSetFailover) GetMessageName() string

func (*NatHaSetFailover) GetMessageType

func (*NatHaSetFailover) GetMessageType() api.MessageType

type NatHaSetFailoverReply

type NatHaSetFailoverReply struct {
	Retval int32
}

NatHaSetFailoverReply represents VPP binary API message 'nat_ha_set_failover_reply'.

func (*NatHaSetFailoverReply) GetCrcString

func (*NatHaSetFailoverReply) GetCrcString() string

func (*NatHaSetFailoverReply) GetMessageName

func (*NatHaSetFailoverReply) GetMessageName() string

func (*NatHaSetFailoverReply) GetMessageType

func (*NatHaSetFailoverReply) GetMessageType() api.MessageType

type NatHaSetListener

type NatHaSetListener struct {
	IPAddress IP4Address
	Port      uint16
	PathMtu   uint32
}

NatHaSetListener represents VPP binary API message 'nat_ha_set_listener'.

func (*NatHaSetListener) GetCrcString

func (*NatHaSetListener) GetCrcString() string

func (*NatHaSetListener) GetMessageName

func (*NatHaSetListener) GetMessageName() string

func (*NatHaSetListener) GetMessageType

func (*NatHaSetListener) GetMessageType() api.MessageType

type NatHaSetListenerReply

type NatHaSetListenerReply struct {
	Retval int32
}

NatHaSetListenerReply represents VPP binary API message 'nat_ha_set_listener_reply'.

func (*NatHaSetListenerReply) GetCrcString

func (*NatHaSetListenerReply) GetCrcString() string

func (*NatHaSetListenerReply) GetMessageName

func (*NatHaSetListenerReply) GetMessageName() string

func (*NatHaSetListenerReply) GetMessageType

func (*NatHaSetListenerReply) GetMessageType() api.MessageType

type NatIpfixEnableDisable

type NatIpfixEnableDisable struct {
	DomainID uint32
	SrcPort  uint16
	Enable   bool
}

NatIpfixEnableDisable represents VPP binary API message 'nat_ipfix_enable_disable'.

func (*NatIpfixEnableDisable) GetCrcString

func (*NatIpfixEnableDisable) GetCrcString() string

func (*NatIpfixEnableDisable) GetMessageName

func (*NatIpfixEnableDisable) GetMessageName() string

func (*NatIpfixEnableDisable) GetMessageType

func (*NatIpfixEnableDisable) GetMessageType() api.MessageType

type NatIpfixEnableDisableReply

type NatIpfixEnableDisableReply struct {
	Retval int32
}

NatIpfixEnableDisableReply represents VPP binary API message 'nat_ipfix_enable_disable_reply'.

func (*NatIpfixEnableDisableReply) GetCrcString

func (*NatIpfixEnableDisableReply) GetCrcString() string

func (*NatIpfixEnableDisableReply) GetMessageName

func (*NatIpfixEnableDisableReply) GetMessageName() string

func (*NatIpfixEnableDisableReply) GetMessageType

func (*NatIpfixEnableDisableReply) GetMessageType() api.MessageType

type NatLogLevel

type NatLogLevel uint8

NatLogLevel represents VPP binary API enum 'nat_log_level'.

const (
	NAT_LOG_NONE    NatLogLevel = 0
	NAT_LOG_ERROR   NatLogLevel = 1
	NAT_LOG_WARNING NatLogLevel = 2
	NAT_LOG_NOTICE  NatLogLevel = 3
	NAT_LOG_INFO    NatLogLevel = 4
	NAT_LOG_DEBUG   NatLogLevel = 5
)

func (NatLogLevel) String

func (x NatLogLevel) String() string

type NatReassDetails

type NatReassDetails struct {
	SrcAddr Address
	DstAddr Address
	FragID  uint32
	Proto   uint8
	FragN   uint8
}

NatReassDetails represents VPP binary API message 'nat_reass_details'.

func (*NatReassDetails) GetCrcString

func (*NatReassDetails) GetCrcString() string

func (*NatReassDetails) GetMessageName

func (*NatReassDetails) GetMessageName() string

func (*NatReassDetails) GetMessageType

func (*NatReassDetails) GetMessageType() api.MessageType

type NatReassDump

type NatReassDump struct{}

NatReassDump represents VPP binary API message 'nat_reass_dump'.

func (*NatReassDump) GetCrcString

func (*NatReassDump) GetCrcString() string

func (*NatReassDump) GetMessageName

func (*NatReassDump) GetMessageName() string

func (*NatReassDump) GetMessageType

func (*NatReassDump) GetMessageType() api.MessageType

type NatSetAddrAndPortAllocAlg

type NatSetAddrAndPortAllocAlg struct {
	Alg        uint8
	PsidOffset uint8
	PsidLength uint8
	Psid       uint16
	StartPort  uint16
	EndPort    uint16
}

NatSetAddrAndPortAllocAlg represents VPP binary API message 'nat_set_addr_and_port_alloc_alg'.

func (*NatSetAddrAndPortAllocAlg) GetCrcString

func (*NatSetAddrAndPortAllocAlg) GetCrcString() string

func (*NatSetAddrAndPortAllocAlg) GetMessageName

func (*NatSetAddrAndPortAllocAlg) GetMessageName() string

func (*NatSetAddrAndPortAllocAlg) GetMessageType

func (*NatSetAddrAndPortAllocAlg) GetMessageType() api.MessageType

type NatSetAddrAndPortAllocAlgReply

type NatSetAddrAndPortAllocAlgReply struct {
	Retval int32
}

NatSetAddrAndPortAllocAlgReply represents VPP binary API message 'nat_set_addr_and_port_alloc_alg_reply'.

func (*NatSetAddrAndPortAllocAlgReply) GetCrcString

func (*NatSetAddrAndPortAllocAlgReply) GetCrcString() string

func (*NatSetAddrAndPortAllocAlgReply) GetMessageName

func (*NatSetAddrAndPortAllocAlgReply) GetMessageName() string

func (*NatSetAddrAndPortAllocAlgReply) GetMessageType

type NatSetLogLevel

type NatSetLogLevel struct {
	LogLevel NatLogLevel
}

NatSetLogLevel represents VPP binary API message 'nat_set_log_level'.

func (*NatSetLogLevel) GetCrcString

func (*NatSetLogLevel) GetCrcString() string

func (*NatSetLogLevel) GetMessageName

func (*NatSetLogLevel) GetMessageName() string

func (*NatSetLogLevel) GetMessageType

func (*NatSetLogLevel) GetMessageType() api.MessageType

type NatSetLogLevelReply

type NatSetLogLevelReply struct {
	Retval int32
}

NatSetLogLevelReply represents VPP binary API message 'nat_set_log_level_reply'.

func (*NatSetLogLevelReply) GetCrcString

func (*NatSetLogLevelReply) GetCrcString() string

func (*NatSetLogLevelReply) GetMessageName

func (*NatSetLogLevelReply) GetMessageName() string

func (*NatSetLogLevelReply) GetMessageType

func (*NatSetLogLevelReply) GetMessageType() api.MessageType

type NatSetMssClamping

type NatSetMssClamping struct {
	MssValue uint16
	Enable   bool
}

NatSetMssClamping represents VPP binary API message 'nat_set_mss_clamping'.

func (*NatSetMssClamping) GetCrcString

func (*NatSetMssClamping) GetCrcString() string

func (*NatSetMssClamping) GetMessageName

func (*NatSetMssClamping) GetMessageName() string

func (*NatSetMssClamping) GetMessageType

func (*NatSetMssClamping) GetMessageType() api.MessageType

type NatSetMssClampingReply

type NatSetMssClampingReply struct {
	Retval int32
}

NatSetMssClampingReply represents VPP binary API message 'nat_set_mss_clamping_reply'.

func (*NatSetMssClampingReply) GetCrcString

func (*NatSetMssClampingReply) GetCrcString() string

func (*NatSetMssClampingReply) GetMessageName

func (*NatSetMssClampingReply) GetMessageName() string

func (*NatSetMssClampingReply) GetMessageType

func (*NatSetMssClampingReply) GetMessageType() api.MessageType

type NatSetReass

type NatSetReass struct {
	Timeout  uint32
	MaxReass uint16
	MaxFrag  uint8
	DropFrag uint8
	IsIP6    bool
}

NatSetReass represents VPP binary API message 'nat_set_reass'.

func (*NatSetReass) GetCrcString

func (*NatSetReass) GetCrcString() string

func (*NatSetReass) GetMessageName

func (*NatSetReass) GetMessageName() string

func (*NatSetReass) GetMessageType

func (*NatSetReass) GetMessageType() api.MessageType

type NatSetReassReply

type NatSetReassReply struct {
	Retval int32
}

NatSetReassReply represents VPP binary API message 'nat_set_reass_reply'.

func (*NatSetReassReply) GetCrcString

func (*NatSetReassReply) GetCrcString() string

func (*NatSetReassReply) GetMessageName

func (*NatSetReassReply) GetMessageName() string

func (*NatSetReassReply) GetMessageType

func (*NatSetReassReply) GetMessageType() api.MessageType

type NatSetTimeouts

type NatSetTimeouts struct {
	UDP            uint32
	TCPEstablished uint32
	TCPTransitory  uint32
	ICMP           uint32
}

NatSetTimeouts represents VPP binary API message 'nat_set_timeouts'.

func (*NatSetTimeouts) GetCrcString

func (*NatSetTimeouts) GetCrcString() string

func (*NatSetTimeouts) GetMessageName

func (*NatSetTimeouts) GetMessageName() string

func (*NatSetTimeouts) GetMessageType

func (*NatSetTimeouts) GetMessageType() api.MessageType

type NatSetTimeoutsReply

type NatSetTimeoutsReply struct {
	Retval int32
}

NatSetTimeoutsReply represents VPP binary API message 'nat_set_timeouts_reply'.

func (*NatSetTimeoutsReply) GetCrcString

func (*NatSetTimeoutsReply) GetCrcString() string

func (*NatSetTimeoutsReply) GetMessageName

func (*NatSetTimeoutsReply) GetMessageName() string

func (*NatSetTimeoutsReply) GetMessageType

func (*NatSetTimeoutsReply) GetMessageType() api.MessageType

type NatSetWorkers

type NatSetWorkers struct {
	WorkerMask uint64
}

NatSetWorkers represents VPP binary API message 'nat_set_workers'.

func (*NatSetWorkers) GetCrcString

func (*NatSetWorkers) GetCrcString() string

func (*NatSetWorkers) GetMessageName

func (*NatSetWorkers) GetMessageName() string

func (*NatSetWorkers) GetMessageType

func (*NatSetWorkers) GetMessageType() api.MessageType

type NatSetWorkersReply

type NatSetWorkersReply struct {
	Retval int32
}

NatSetWorkersReply represents VPP binary API message 'nat_set_workers_reply'.

func (*NatSetWorkersReply) GetCrcString

func (*NatSetWorkersReply) GetCrcString() string

func (*NatSetWorkersReply) GetMessageName

func (*NatSetWorkersReply) GetMessageName() string

func (*NatSetWorkersReply) GetMessageType

func (*NatSetWorkersReply) GetMessageType() api.MessageType

type NatShowConfig

type NatShowConfig struct{}

NatShowConfig represents VPP binary API message 'nat_show_config'.

func (*NatShowConfig) GetCrcString

func (*NatShowConfig) GetCrcString() string

func (*NatShowConfig) GetMessageName

func (*NatShowConfig) GetMessageName() string

func (*NatShowConfig) GetMessageType

func (*NatShowConfig) GetMessageType() api.MessageType

type NatShowConfigReply

type NatShowConfigReply struct {
	Retval                          int32
	StaticMappingOnly               bool
	StaticMappingConnectionTracking bool
	Deterministic                   bool
	EndpointDependent               bool
	Out2inDpo                       bool
	DsliteCe                        bool
	TranslationBuckets              uint32
	TranslationMemorySize           uint32
	UserBuckets                     uint32
	UserMemorySize                  uint32
	MaxTranslationsPerUser          uint32
	OutsideVrfID                    uint32
	InsideVrfID                     uint32
	Nat64BibBuckets                 uint32
	Nat64BibMemorySize              uint32
	Nat64StBuckets                  uint32
	Nat64StMemorySize               uint32
}

NatShowConfigReply represents VPP binary API message 'nat_show_config_reply'.

func (*NatShowConfigReply) GetCrcString

func (*NatShowConfigReply) GetCrcString() string

func (*NatShowConfigReply) GetMessageName

func (*NatShowConfigReply) GetMessageName() string

func (*NatShowConfigReply) GetMessageType

func (*NatShowConfigReply) GetMessageType() api.MessageType

type NatWorkerDetails

type NatWorkerDetails struct {
	WorkerIndex uint32
	LcoreID     uint32
	Name        string `struc:"[64]byte"`
}

NatWorkerDetails represents VPP binary API message 'nat_worker_details'.

func (*NatWorkerDetails) GetCrcString

func (*NatWorkerDetails) GetCrcString() string

func (*NatWorkerDetails) GetMessageName

func (*NatWorkerDetails) GetMessageName() string

func (*NatWorkerDetails) GetMessageType

func (*NatWorkerDetails) GetMessageType() api.MessageType

type NatWorkerDump

type NatWorkerDump struct{}

NatWorkerDump represents VPP binary API message 'nat_worker_dump'.

func (*NatWorkerDump) GetCrcString

func (*NatWorkerDump) GetCrcString() string

func (*NatWorkerDump) GetMessageName

func (*NatWorkerDump) GetMessageName() string

func (*NatWorkerDump) GetMessageType

func (*NatWorkerDump) GetMessageType() api.MessageType

type Prefix

type Prefix struct {
	Address Address
	Len     uint8
}

Prefix represents VPP binary API type 'prefix'.

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type PrefixMatcher

type PrefixMatcher struct {
	Le uint8
	Ge uint8
}

PrefixMatcher represents VPP binary API type 'prefix_matcher'.

func (*PrefixMatcher) GetTypeName

func (*PrefixMatcher) GetTypeName() string

type RPCService

type RPCService interface {
	DumpDsliteAddress(ctx context.Context, in *DsliteAddressDump) (RPCService_DumpDsliteAddressClient, error)
	DumpNat44Address(ctx context.Context, in *Nat44AddressDump) (RPCService_DumpNat44AddressClient, error)
	DumpNat44IdentityMapping(ctx context.Context, in *Nat44IdentityMappingDump) (RPCService_DumpNat44IdentityMappingClient, error)
	DumpNat44InterfaceAddr(ctx context.Context, in *Nat44InterfaceAddrDump) (RPCService_DumpNat44InterfaceAddrClient, error)
	DumpNat44Interface(ctx context.Context, in *Nat44InterfaceDump) (RPCService_DumpNat44InterfaceClient, error)
	DumpNat44InterfaceOutputFeature(ctx context.Context, in *Nat44InterfaceOutputFeatureDump) (RPCService_DumpNat44InterfaceOutputFeatureClient, error)
	DumpNat44LbStaticMapping(ctx context.Context, in *Nat44LbStaticMappingDump) (RPCService_DumpNat44LbStaticMappingClient, error)
	DumpNat44StaticMapping(ctx context.Context, in *Nat44StaticMappingDump) (RPCService_DumpNat44StaticMappingClient, error)
	DumpNat44User(ctx context.Context, in *Nat44UserDump) (RPCService_DumpNat44UserClient, error)
	DumpNat44UserSession(ctx context.Context, in *Nat44UserSessionDump) (RPCService_DumpNat44UserSessionClient, error)
	DumpNat64Bib(ctx context.Context, in *Nat64BibDump) (RPCService_DumpNat64BibClient, error)
	DumpNat64Interface(ctx context.Context, in *Nat64InterfaceDump) (RPCService_DumpNat64InterfaceClient, error)
	DumpNat64PoolAddr(ctx context.Context, in *Nat64PoolAddrDump) (RPCService_DumpNat64PoolAddrClient, error)
	DumpNat64Prefix(ctx context.Context, in *Nat64PrefixDump) (RPCService_DumpNat64PrefixClient, error)
	DumpNat64St(ctx context.Context, in *Nat64StDump) (RPCService_DumpNat64StClient, error)
	DumpNat66Interface(ctx context.Context, in *Nat66InterfaceDump) (RPCService_DumpNat66InterfaceClient, error)
	DumpNat66StaticMapping(ctx context.Context, in *Nat66StaticMappingDump) (RPCService_DumpNat66StaticMappingClient, error)
	DumpNatDetMap(ctx context.Context, in *NatDetMapDump) (RPCService_DumpNatDetMapClient, error)
	DumpNatDetSession(ctx context.Context, in *NatDetSessionDump) (RPCService_DumpNatDetSessionClient, error)
	DumpNatReass(ctx context.Context, in *NatReassDump) (RPCService_DumpNatReassClient, error)
	DumpNatWorker(ctx context.Context, in *NatWorkerDump) (RPCService_DumpNatWorkerClient, error)
	DsliteAddDelPoolAddrRange(ctx context.Context, in *DsliteAddDelPoolAddrRange) (*DsliteAddDelPoolAddrRangeReply, error)
	DsliteGetAftrAddr(ctx context.Context, in *DsliteGetAftrAddr) (*DsliteGetAftrAddrReply, error)
	DsliteGetB4Addr(ctx context.Context, in *DsliteGetB4Addr) (*DsliteGetB4AddrReply, error)
	DsliteSetAftrAddr(ctx context.Context, in *DsliteSetAftrAddr) (*DsliteSetAftrAddrReply, error)
	DsliteSetB4Addr(ctx context.Context, in *DsliteSetB4Addr) (*DsliteSetB4AddrReply, error)
	Nat44AddDelAddressRange(ctx context.Context, in *Nat44AddDelAddressRange) (*Nat44AddDelAddressRangeReply, error)
	Nat44AddDelIdentityMapping(ctx context.Context, in *Nat44AddDelIdentityMapping) (*Nat44AddDelIdentityMappingReply, error)
	Nat44AddDelInterfaceAddr(ctx context.Context, in *Nat44AddDelInterfaceAddr) (*Nat44AddDelInterfaceAddrReply, error)
	Nat44AddDelLbStaticMapping(ctx context.Context, in *Nat44AddDelLbStaticMapping) (*Nat44AddDelLbStaticMappingReply, error)
	Nat44AddDelStaticMapping(ctx context.Context, in *Nat44AddDelStaticMapping) (*Nat44AddDelStaticMappingReply, error)
	Nat44DelSession(ctx context.Context, in *Nat44DelSession) (*Nat44DelSessionReply, error)
	Nat44ForwardingEnableDisable(ctx context.Context, in *Nat44ForwardingEnableDisable) (*Nat44ForwardingEnableDisableReply, error)
	Nat44ForwardingIsEnabled(ctx context.Context, in *Nat44ForwardingIsEnabled) (*Nat44ForwardingIsEnabledReply, error)
	Nat44InterfaceAddDelFeature(ctx context.Context, in *Nat44InterfaceAddDelFeature) (*Nat44InterfaceAddDelFeatureReply, error)
	Nat44InterfaceAddDelOutputFeature(ctx context.Context, in *Nat44InterfaceAddDelOutputFeature) (*Nat44InterfaceAddDelOutputFeatureReply, error)
	Nat44LbStaticMappingAddDelLocal(ctx context.Context, in *Nat44LbStaticMappingAddDelLocal) (*Nat44LbStaticMappingAddDelLocalReply, error)
	Nat64AddDelInterface(ctx context.Context, in *Nat64AddDelInterface) (*Nat64AddDelInterfaceReply, error)
	Nat64AddDelInterfaceAddr(ctx context.Context, in *Nat64AddDelInterfaceAddr) (*Nat64AddDelInterfaceAddrReply, error)
	Nat64AddDelPoolAddrRange(ctx context.Context, in *Nat64AddDelPoolAddrRange) (*Nat64AddDelPoolAddrRangeReply, error)
	Nat64AddDelPrefix(ctx context.Context, in *Nat64AddDelPrefix) (*Nat64AddDelPrefixReply, error)
	Nat64AddDelStaticBib(ctx context.Context, in *Nat64AddDelStaticBib) (*Nat64AddDelStaticBibReply, error)
	Nat66AddDelInterface(ctx context.Context, in *Nat66AddDelInterface) (*Nat66AddDelInterfaceReply, error)
	Nat66AddDelStaticMapping(ctx context.Context, in *Nat66AddDelStaticMapping) (*Nat66AddDelStaticMappingReply, error)
	NatControlPing(ctx context.Context, in *NatControlPing) (*NatControlPingReply, error)
	NatDetAddDelMap(ctx context.Context, in *NatDetAddDelMap) (*NatDetAddDelMapReply, error)
	NatDetCloseSessionIn(ctx context.Context, in *NatDetCloseSessionIn) (*NatDetCloseSessionInReply, error)
	NatDetCloseSessionOut(ctx context.Context, in *NatDetCloseSessionOut) (*NatDetCloseSessionOutReply, error)
	NatDetForward(ctx context.Context, in *NatDetForward) (*NatDetForwardReply, error)
	NatDetReverse(ctx context.Context, in *NatDetReverse) (*NatDetReverseReply, error)
	NatGetAddrAndPortAllocAlg(ctx context.Context, in *NatGetAddrAndPortAllocAlg) (*NatGetAddrAndPortAllocAlgReply, error)
	NatGetMssClamping(ctx context.Context, in *NatGetMssClamping) (*NatGetMssClampingReply, error)
	NatGetReass(ctx context.Context, in *NatGetReass) (*NatGetReassReply, error)
	NatGetTimeouts(ctx context.Context, in *NatGetTimeouts) (*NatGetTimeoutsReply, error)
	NatHaFlush(ctx context.Context, in *NatHaFlush) (*NatHaFlushReply, error)
	NatHaGetFailover(ctx context.Context, in *NatHaGetFailover) (*NatHaGetFailoverReply, error)
	NatHaGetListener(ctx context.Context, in *NatHaGetListener) (*NatHaGetListenerReply, error)
	NatHaResync(ctx context.Context, in *NatHaResync) (*NatHaResyncReply, error)
	NatHaSetFailover(ctx context.Context, in *NatHaSetFailover) (*NatHaSetFailoverReply, error)
	NatHaSetListener(ctx context.Context, in *NatHaSetListener) (*NatHaSetListenerReply, error)
	NatIpfixEnableDisable(ctx context.Context, in *NatIpfixEnableDisable) (*NatIpfixEnableDisableReply, error)
	NatSetAddrAndPortAllocAlg(ctx context.Context, in *NatSetAddrAndPortAllocAlg) (*NatSetAddrAndPortAllocAlgReply, error)
	NatSetLogLevel(ctx context.Context, in *NatSetLogLevel) (*NatSetLogLevelReply, error)
	NatSetMssClamping(ctx context.Context, in *NatSetMssClamping) (*NatSetMssClampingReply, error)
	NatSetReass(ctx context.Context, in *NatSetReass) (*NatSetReassReply, error)
	NatSetTimeouts(ctx context.Context, in *NatSetTimeouts) (*NatSetTimeoutsReply, error)
	NatSetWorkers(ctx context.Context, in *NatSetWorkers) (*NatSetWorkersReply, error)
	NatShowConfig(ctx context.Context, in *NatShowConfig) (*NatShowConfigReply, error)
}

RPCService represents RPC service API for nat module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpDsliteAddressClient

type RPCService_DumpDsliteAddressClient interface {
	Recv() (*DsliteAddressDetails, error)
}

type RPCService_DumpNat44AddressClient

type RPCService_DumpNat44AddressClient interface {
	Recv() (*Nat44AddressDetails, error)
}

type RPCService_DumpNat44IdentityMappingClient

type RPCService_DumpNat44IdentityMappingClient interface {
	Recv() (*Nat44IdentityMappingDetails, error)
}

type RPCService_DumpNat44InterfaceAddrClient

type RPCService_DumpNat44InterfaceAddrClient interface {
	Recv() (*Nat44InterfaceAddrDetails, error)
}

type RPCService_DumpNat44InterfaceClient

type RPCService_DumpNat44InterfaceClient interface {
	Recv() (*Nat44InterfaceDetails, error)
}

type RPCService_DumpNat44InterfaceOutputFeatureClient

type RPCService_DumpNat44InterfaceOutputFeatureClient interface {
	Recv() (*Nat44InterfaceOutputFeatureDetails, error)
}

type RPCService_DumpNat44LbStaticMappingClient

type RPCService_DumpNat44LbStaticMappingClient interface {
	Recv() (*Nat44LbStaticMappingDetails, error)
}

type RPCService_DumpNat44StaticMappingClient

type RPCService_DumpNat44StaticMappingClient interface {
	Recv() (*Nat44StaticMappingDetails, error)
}

type RPCService_DumpNat44UserClient

type RPCService_DumpNat44UserClient interface {
	Recv() (*Nat44UserDetails, error)
}

type RPCService_DumpNat44UserSessionClient

type RPCService_DumpNat44UserSessionClient interface {
	Recv() (*Nat44UserSessionDetails, error)
}

type RPCService_DumpNat64BibClient

type RPCService_DumpNat64BibClient interface {
	Recv() (*Nat64BibDetails, error)
}

type RPCService_DumpNat64InterfaceClient

type RPCService_DumpNat64InterfaceClient interface {
	Recv() (*Nat64InterfaceDetails, error)
}

type RPCService_DumpNat64PoolAddrClient

type RPCService_DumpNat64PoolAddrClient interface {
	Recv() (*Nat64PoolAddrDetails, error)
}

type RPCService_DumpNat64PrefixClient

type RPCService_DumpNat64PrefixClient interface {
	Recv() (*Nat64PrefixDetails, error)
}

type RPCService_DumpNat64StClient

type RPCService_DumpNat64StClient interface {
	Recv() (*Nat64StDetails, error)
}

type RPCService_DumpNat66InterfaceClient

type RPCService_DumpNat66InterfaceClient interface {
	Recv() (*Nat66InterfaceDetails, error)
}

type RPCService_DumpNat66StaticMappingClient

type RPCService_DumpNat66StaticMappingClient interface {
	Recv() (*Nat66StaticMappingDetails, error)
}

type RPCService_DumpNatDetMapClient

type RPCService_DumpNatDetMapClient interface {
	Recv() (*NatDetMapDetails, error)
}

type RPCService_DumpNatDetSessionClient

type RPCService_DumpNatDetSessionClient interface {
	Recv() (*NatDetSessionDetails, error)
}

type RPCService_DumpNatReassClient

type RPCService_DumpNatReassClient interface {
	Recv() (*NatReassDetails, error)
}

type RPCService_DumpNatWorkerClient

type RPCService_DumpNatWorkerClient interface {
	Recv() (*NatWorkerDetails, error)
}

type RxMode

type RxMode uint32

RxMode represents VPP binary API 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 represents VPP binary API 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