nat

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 9

Documentation

Overview

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

 It contains following objects:
	 67 services
	  1 enum
	  2 aliases
	  6 types
	  1 union
	135 messages

Index

Constants

This section is empty.

Variables

View Source
var Messages = []api.Message{}/* 135 elements not displayed */

Functions

This section is empty.

Types

type Address

type Address struct {
	Af AddressFamily
	Un AddressUnion
}

Address represents VPP binary API type 'address':

func (*Address) GetCrcString

func (*Address) GetCrcString() string

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
)

type AddressUnion

type AddressUnion struct {
	Union_data [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) GetCrcString

func (*AddressUnion) GetCrcString() string

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 []byte `struc:"[4]byte"`
	EndAddr   []byte `struc:"[4]byte"`
	IsAdd     uint8
}

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

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 []byte `struc:"[4]byte"`
	IP6Addr []byte `struc:"[16]byte"`
}

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 []byte `struc:"[4]byte"`
	IP6Addr []byte `struc:"[16]byte"`
}

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 []byte `struc:"[4]byte"`
	IP6Addr []byte `struc:"[16]byte"`
}

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 []byte `struc:"[4]byte"`
	IP6Addr []byte `struc:"[16]byte"`
}

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 {
	Prefix IP4Address
	Len    uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix':

func (*IP4Prefix) GetCrcString

func (*IP4Prefix) GetCrcString() string

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 {
	Prefix IP6Address
	Len    uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix':

func (*IP6Prefix) GetCrcString

func (*IP6Prefix) GetCrcString() string

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

type Mprefix

type Mprefix struct {
	Af               AddressFamily
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix':

func (*Mprefix) GetCrcString

func (*Mprefix) GetCrcString() string

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type Nat44AddDelAddressRange

type Nat44AddDelAddressRange struct {
	FirstIPAddress []byte `struc:"[4]byte"`
	LastIPAddress  []byte `struc:"[4]byte"`
	VrfID          uint32
	TwiceNat       uint8
	IsAdd          uint8
}

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     uint8
	AddrOnly  uint8
	IPAddress []byte `struc:"[4]byte"`
	Protocol  uint8
	Port      uint16
	SwIfIndex uint32
	VrfID     uint32
	Tag       []byte `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     uint8
	TwiceNat  uint8
	SwIfIndex uint32
}

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        uint8
	ExternalAddr []byte `struc:"[4]byte"`
	ExternalPort uint16
	Protocol     uint8
	TwiceNat     uint8
	SelfTwiceNat uint8
	Out2inOnly   uint8
	Tag          []byte `struc:"[64]byte"`
	Affinity     uint32
	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             uint8
	AddrOnly          uint8
	LocalIPAddress    []byte `struc:"[4]byte"`
	ExternalIPAddress []byte `struc:"[4]byte"`
	Protocol          uint8
	LocalPort         uint16
	ExternalPort      uint16
	ExternalSwIfIndex uint32
	VrfID             uint32
	TwiceNat          uint8
	SelfTwiceNat      uint8
	Out2inOnly        uint8
	Tag               []byte `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 []byte `struc:"[4]byte"`
	TwiceNat  uint8
	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 {
	IsIn           uint8
	Address        []byte `struc:"[4]byte"`
	Protocol       uint8
	Port           uint16
	VrfID          uint32
	ExtHostValid   uint8
	ExtHostAddress []byte `struc:"[4]byte"`
	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 uint8
}

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 uint8
}

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 {
	AddrOnly  uint8
	IPAddress []byte `struc:"[4]byte"`
	Protocol  uint8
	Port      uint16
	SwIfIndex uint32
	VrfID     uint32
	Tag       []byte `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     uint8
	IsInside  uint8
	SwIfIndex uint32
}

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     uint8
	IsInside  uint8
	SwIfIndex uint32
}

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 uint32
	TwiceNat  uint8
}

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 {
	IsInside  uint8
	SwIfIndex uint32
}

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 {
	IsInside  uint8
	SwIfIndex uint32
}

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        []byte `struc:"[4]byte"`
	Port        uint16
	Probability uint8
	VrfID       uint32
}

Nat44LbAddrPort represents VPP binary API type 'nat44_lb_addr_port':

func (*Nat44LbAddrPort) GetCrcString

func (*Nat44LbAddrPort) GetCrcString() string

func (*Nat44LbAddrPort) GetTypeName

func (*Nat44LbAddrPort) GetTypeName() string

type Nat44LbStaticMappingAddDelLocal

type Nat44LbStaticMappingAddDelLocal struct {
	IsAdd        uint8
	ExternalAddr []byte `struc:"[4]byte"`
	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 []byte `struc:"[4]byte"`
	ExternalPort uint16
	Protocol     uint8
	TwiceNat     uint8
	SelfTwiceNat uint8
	Out2inOnly   uint8
	Tag          []byte `struc:"[64]byte"`
	Affinity     uint32
	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 {
	AddrOnly          uint8
	LocalIPAddress    []byte `struc:"[4]byte"`
	ExternalIPAddress []byte `struc:"[4]byte"`
	Protocol          uint8
	LocalPort         uint16
	ExternalPort      uint16
	ExternalSwIfIndex uint32
	VrfID             uint32
	TwiceNat          uint8
	SelfTwiceNat      uint8
	Out2inOnly        uint8
	Tag               []byte `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       []byte `struc:"[4]byte"`
	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  []byte `struc:"[4]byte"`
	OutsidePort       uint16
	InsideIPAddress   []byte `struc:"[4]byte"`
	InsidePort        uint16
	Protocol          uint16
	IsStatic          uint8
	LastHeard         uint64
	TotalBytes        uint64
	TotalPkts         uint32
	IsTwicenat        uint8
	ExtHostValid      uint8
	ExtHostAddress    []byte `struc:"[4]byte"`
	ExtHostPort       uint16
	ExtHostNatAddress []byte `struc:"[4]byte"`
	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 []byte `struc:"[4]byte"`
	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 {
	SwIfIndex uint32
	IsInside  uint8
	IsAdd     uint8
}

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     uint8
	IsInside  uint8
	SwIfIndex uint32
}

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 []byte `struc:"[4]byte"`
	EndAddr   []byte `struc:"[4]byte"`
	VrfID     uint32
	IsAdd     uint8
}

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    []byte `struc:"[16]byte"`
	PrefixLen uint8
	VrfID     uint32
	IsAdd     uint8
}

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 []byte `struc:"[16]byte"`
	OAddr []byte `struc:"[4]byte"`
	IPort uint16
	OPort uint16
	VrfID uint32
	Proto uint8
	IsAdd uint8
}

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    []byte `struc:"[16]byte"`
	OAddr    []byte `struc:"[4]byte"`
	IPort    uint16
	OPort    uint16
	VrfID    uint32
	Proto    uint8
	IsStatic uint8
	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 {
	IsInside  uint8
	SwIfIndex uint32
}

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 []byte `struc:"[4]byte"`
	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    []byte `struc:"[16]byte"`
	PrefixLen uint8
	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 []byte `struc:"[16]byte"`
	OlAddr []byte `struc:"[4]byte"`
	IlPort uint16
	OlPort uint16
	IrAddr []byte `struc:"[16]byte"`
	OrAddr []byte `struc:"[4]byte"`
	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     uint8
	IsInside  uint8
	SwIfIndex uint32
}

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             uint8
	LocalIPAddress    []byte `struc:"[16]byte"`
	ExternalIPAddress []byte `struc:"[16]byte"`
	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 {
	IsInside  uint8
	SwIfIndex uint32
}

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    []byte `struc:"[16]byte"`
	ExternalIPAddress []byte `struc:"[16]byte"`
	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 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    uint8
	IsNat44  uint8
	AddrOnly uint8
	InAddr   []byte `struc:"[16]byte"`
	InPlen   uint8
	OutAddr  []byte `struc:"[4]byte"`
	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 {
	IsNat44 uint8
	InAddr  []byte `struc:"[16]byte"`
	InPort  uint16
	ExtAddr []byte `struc:"[16]byte"`
	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 []byte `struc:"[4]byte"`
	OutPort uint16
	ExtAddr []byte `struc:"[4]byte"`
	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 {
	IsNat44 uint8
	InAddr  []byte `struc:"[16]byte"`
}

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

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 {
	IsNat44      uint8
	InAddr       []byte `struc:"[16]byte"`
	InPlen       uint8
	OutAddr      []byte `struc:"[4]byte"`
	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 []byte `struc:"[4]byte"`
}

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
	IsNat44 uint8
	InAddr  []byte `struc:"[16]byte"`
}

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 []byte `struc:"[4]byte"`
	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 {
	IsNat44  uint8
	UserAddr []byte `struc:"[16]byte"`
}

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   uint8
}

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   uint8
}

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 NatReassDetails

type NatReassDetails struct {
	IsIP4   uint8
	SrcAddr []byte `struc:"[16]byte"`
	DstAddr []byte `struc:"[16]byte"`
	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 NatSetMssClamping

type NatSetMssClamping struct {
	MssValue uint16
	Enable   uint8
}

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    uint8
}

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               uint8
	StaticMappingConnectionTracking uint8
	Deterministic                   uint8
	EndpointDependent               uint8
	Out2inDpo                       uint8
	TranslationBuckets              uint32
	TranslationMemorySize           uint32
	UserBuckets                     uint32
	UserMemorySize                  uint32
	MaxTranslationsPerUser          uint32
	OutsideVrfID                    uint32
	InsideVrfID                     uint32
	DsliteCe                        uint8
	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        []byte `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
	AddressLength uint8
}

Prefix represents VPP binary API type 'prefix':

func (*Prefix) GetCrcString

func (*Prefix) GetCrcString() string

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type Services

type Services interface {
	DumpDsliteAddress(*DsliteAddressDump) ([]*DsliteAddressDetails, error)
	DumpNat44Address(*Nat44AddressDump) ([]*Nat44AddressDetails, error)
	DumpNat44IdentityMapping(*Nat44IdentityMappingDump) ([]*Nat44IdentityMappingDetails, error)
	DumpNat44InterfaceAddr(*Nat44InterfaceAddrDump) ([]*Nat44InterfaceAddrDetails, error)
	DumpNat44Interface(*Nat44InterfaceDump) ([]*Nat44InterfaceDetails, error)
	DumpNat44InterfaceOutputFeature(*Nat44InterfaceOutputFeatureDump) ([]*Nat44InterfaceOutputFeatureDetails, error)
	DumpNat44LbStaticMapping(*Nat44LbStaticMappingDump) ([]*Nat44LbStaticMappingDetails, error)
	DumpNat44StaticMapping(*Nat44StaticMappingDump) ([]*Nat44StaticMappingDetails, error)
	DumpNat44User(*Nat44UserDump) ([]*Nat44UserDetails, error)
	DumpNat44UserSession(*Nat44UserSessionDump) ([]*Nat44UserSessionDetails, error)
	DumpNat64Bib(*Nat64BibDump) ([]*Nat64BibDetails, error)
	DumpNat64Interface(*Nat64InterfaceDump) ([]*Nat64InterfaceDetails, error)
	DumpNat64PoolAddr(*Nat64PoolAddrDump) ([]*Nat64PoolAddrDetails, error)
	DumpNat64Prefix(*Nat64PrefixDump) ([]*Nat64PrefixDetails, error)
	DumpNat64St(*Nat64StDump) ([]*Nat64StDetails, error)
	DumpNat66Interface(*Nat66InterfaceDump) ([]*Nat66InterfaceDetails, error)
	DumpNat66StaticMapping(*Nat66StaticMappingDump) ([]*Nat66StaticMappingDetails, error)
	DumpNatDetMap(*NatDetMapDump) ([]*NatDetMapDetails, error)
	DumpNatDetSession(*NatDetSessionDump) ([]*NatDetSessionDetails, error)
	DumpNatReass(*NatReassDump) ([]*NatReassDetails, error)
	DumpNatWorker(*NatWorkerDump) ([]*NatWorkerDetails, error)
	DsliteAddDelPoolAddrRange(*DsliteAddDelPoolAddrRange) (*DsliteAddDelPoolAddrRangeReply, error)
	DsliteGetAftrAddr(*DsliteGetAftrAddr) (*DsliteGetAftrAddrReply, error)
	DsliteGetB4Addr(*DsliteGetB4Addr) (*DsliteGetB4AddrReply, error)
	DsliteSetAftrAddr(*DsliteSetAftrAddr) (*DsliteSetAftrAddrReply, error)
	DsliteSetB4Addr(*DsliteSetB4Addr) (*DsliteSetB4AddrReply, error)
	Nat44AddDelAddressRange(*Nat44AddDelAddressRange) (*Nat44AddDelAddressRangeReply, error)
	Nat44AddDelIdentityMapping(*Nat44AddDelIdentityMapping) (*Nat44AddDelIdentityMappingReply, error)
	Nat44AddDelInterfaceAddr(*Nat44AddDelInterfaceAddr) (*Nat44AddDelInterfaceAddrReply, error)
	Nat44AddDelLbStaticMapping(*Nat44AddDelLbStaticMapping) (*Nat44AddDelLbStaticMappingReply, error)
	Nat44AddDelStaticMapping(*Nat44AddDelStaticMapping) (*Nat44AddDelStaticMappingReply, error)
	Nat44DelSession(*Nat44DelSession) (*Nat44DelSessionReply, error)
	Nat44ForwardingEnableDisable(*Nat44ForwardingEnableDisable) (*Nat44ForwardingEnableDisableReply, error)
	Nat44ForwardingIsEnabled(*Nat44ForwardingIsEnabled) (*Nat44ForwardingIsEnabledReply, error)
	Nat44InterfaceAddDelFeature(*Nat44InterfaceAddDelFeature) (*Nat44InterfaceAddDelFeatureReply, error)
	Nat44InterfaceAddDelOutputFeature(*Nat44InterfaceAddDelOutputFeature) (*Nat44InterfaceAddDelOutputFeatureReply, error)
	Nat44LbStaticMappingAddDelLocal(*Nat44LbStaticMappingAddDelLocal) (*Nat44LbStaticMappingAddDelLocalReply, error)
	Nat64AddDelInterface(*Nat64AddDelInterface) (*Nat64AddDelInterfaceReply, error)
	Nat64AddDelInterfaceAddr(*Nat64AddDelInterfaceAddr) (*Nat64AddDelInterfaceAddrReply, error)
	Nat64AddDelPoolAddrRange(*Nat64AddDelPoolAddrRange) (*Nat64AddDelPoolAddrRangeReply, error)
	Nat64AddDelPrefix(*Nat64AddDelPrefix) (*Nat64AddDelPrefixReply, error)
	Nat64AddDelStaticBib(*Nat64AddDelStaticBib) (*Nat64AddDelStaticBibReply, error)
	Nat66AddDelInterface(*Nat66AddDelInterface) (*Nat66AddDelInterfaceReply, error)
	Nat66AddDelStaticMapping(*Nat66AddDelStaticMapping) (*Nat66AddDelStaticMappingReply, error)
	NatControlPing(*NatControlPing) (*NatControlPingReply, error)
	NatDetAddDelMap(*NatDetAddDelMap) (*NatDetAddDelMapReply, error)
	NatDetCloseSessionIn(*NatDetCloseSessionIn) (*NatDetCloseSessionInReply, error)
	NatDetCloseSessionOut(*NatDetCloseSessionOut) (*NatDetCloseSessionOutReply, error)
	NatDetForward(*NatDetForward) (*NatDetForwardReply, error)
	NatDetReverse(*NatDetReverse) (*NatDetReverseReply, error)
	NatGetAddrAndPortAllocAlg(*NatGetAddrAndPortAllocAlg) (*NatGetAddrAndPortAllocAlgReply, error)
	NatGetMssClamping(*NatGetMssClamping) (*NatGetMssClampingReply, error)
	NatGetReass(*NatGetReass) (*NatGetReassReply, error)
	NatGetTimeouts(*NatGetTimeouts) (*NatGetTimeoutsReply, error)
	NatHaFlush(*NatHaFlush) (*NatHaFlushReply, error)
	NatHaGetFailover(*NatHaGetFailover) (*NatHaGetFailoverReply, error)
	NatHaGetListener(*NatHaGetListener) (*NatHaGetListenerReply, error)
	NatHaResync(*NatHaResync) (*NatHaResyncReply, error)
	NatHaSetFailover(*NatHaSetFailover) (*NatHaSetFailoverReply, error)
	NatHaSetListener(*NatHaSetListener) (*NatHaSetListenerReply, error)
	NatIpfixEnableDisable(*NatIpfixEnableDisable) (*NatIpfixEnableDisableReply, error)
	NatSetAddrAndPortAllocAlg(*NatSetAddrAndPortAllocAlg) (*NatSetAddrAndPortAllocAlgReply, error)
	NatSetMssClamping(*NatSetMssClamping) (*NatSetMssClampingReply, error)
	NatSetReass(*NatSetReass) (*NatSetReassReply, error)
	NatSetTimeouts(*NatSetTimeouts) (*NatSetTimeoutsReply, error)
	NatSetWorkers(*NatSetWorkers) (*NatSetWorkersReply, error)
	NatShowConfig(*NatShowConfig) (*NatShowConfigReply, error)
}

Services represents VPP binary API services:

Jump to

Keyboard shortcuts

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