nat

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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:

  1 type
122 messages
 61 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "nat"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x6e4a2494
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

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 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 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 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)
	NatIpfixEnableDisable(ctx context.Context, in *NatIpfixEnableDisable) (*NatIpfixEnableDisableReply, error)
	NatSetAddrAndPortAllocAlg(ctx context.Context, in *NatSetAddrAndPortAllocAlg) (*NatSetAddrAndPortAllocAlgReply, 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)
}

Jump to

Keyboard shortcuts

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