nat44_ed

package
v3.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Contents:

 1 enum
 1 struct
73 messages

Index

Constants

View Source
const (
	APIFile    = "nat44_ed"
	APIVersion = "5.5.0"
	VersionCrc = 0x354f61c0
)

Variables

View Source
var (
	Nat44ConfigFlags_name = map[uint8]string{
		0: "NAT44_IS_ENDPOINT_INDEPENDENT",
		1: "NAT44_IS_ENDPOINT_DEPENDENT",
		2: "NAT44_IS_STATIC_MAPPING_ONLY",
		4: "NAT44_IS_CONNECTION_TRACKING",
		8: "NAT44_IS_OUT2IN_DPO",
	}
	Nat44ConfigFlags_value = map[string]uint8{
		"NAT44_IS_ENDPOINT_INDEPENDENT": 0,
		"NAT44_IS_ENDPOINT_DEPENDENT":   1,
		"NAT44_IS_STATIC_MAPPING_ONLY":  2,
		"NAT44_IS_CONNECTION_TRACKING":  4,
		"NAT44_IS_OUT2IN_DPO":           8,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Nat44AddDelAddressRange

type Nat44AddDelAddressRange struct {
	FirstIPAddress ip_types.IP4Address      `binapi:"ip4_address,name=first_ip_address" json:"first_ip_address,omitempty"`
	LastIPAddress  ip_types.IP4Address      `binapi:"ip4_address,name=last_ip_address" json:"last_ip_address,omitempty"`
	VrfID          uint32                   `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	IsAdd          bool                     `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags          nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
}

Nat44AddDelAddressRange defines 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

func (*Nat44AddDelAddressRange) Marshal

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

func (*Nat44AddDelAddressRange) Reset

func (m *Nat44AddDelAddressRange) Reset()

func (*Nat44AddDelAddressRange) Size

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

func (*Nat44AddDelAddressRange) Unmarshal

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

type Nat44AddDelAddressRangeReply

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

Nat44AddDelAddressRangeReply defines 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

func (*Nat44AddDelAddressRangeReply) Marshal

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

func (*Nat44AddDelAddressRangeReply) Reset

func (m *Nat44AddDelAddressRangeReply) Reset()

func (*Nat44AddDelAddressRangeReply) Size

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

func (*Nat44AddDelAddressRangeReply) Unmarshal

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

type Nat44AddDelIdentityMapping

type Nat44AddDelIdentityMapping struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags     nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	IPAddress ip_types.IP4Address            `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Protocol  uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	Port      uint16                         `binapi:"u16,name=port" json:"port,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrfID     uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Tag       string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
}

Nat44AddDelIdentityMapping defines 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

func (*Nat44AddDelIdentityMapping) Marshal

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

func (*Nat44AddDelIdentityMapping) Reset

func (m *Nat44AddDelIdentityMapping) Reset()

func (*Nat44AddDelIdentityMapping) Size

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

func (*Nat44AddDelIdentityMapping) Unmarshal

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

type Nat44AddDelIdentityMappingReply

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

Nat44AddDelIdentityMappingReply defines message 'nat44_add_del_identity_mapping_reply'.

func (*Nat44AddDelIdentityMappingReply) GetCrcString

func (*Nat44AddDelIdentityMappingReply) GetCrcString() string

func (*Nat44AddDelIdentityMappingReply) GetMessageName

func (*Nat44AddDelIdentityMappingReply) GetMessageName() string

func (*Nat44AddDelIdentityMappingReply) GetMessageType

func (*Nat44AddDelIdentityMappingReply) Marshal

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

func (*Nat44AddDelIdentityMappingReply) Reset

func (*Nat44AddDelIdentityMappingReply) Size

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

func (*Nat44AddDelIdentityMappingReply) Unmarshal

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

type Nat44AddDelInterfaceAddr

type Nat44AddDelInterfaceAddr struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Flags     nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
}

Nat44AddDelInterfaceAddr defines 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

func (*Nat44AddDelInterfaceAddr) Marshal

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

func (*Nat44AddDelInterfaceAddr) Reset

func (m *Nat44AddDelInterfaceAddr) Reset()

func (*Nat44AddDelInterfaceAddr) Size

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

func (*Nat44AddDelInterfaceAddr) Unmarshal

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

type Nat44AddDelInterfaceAddrReply

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

Nat44AddDelInterfaceAddrReply defines 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

func (*Nat44AddDelInterfaceAddrReply) Marshal

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

func (*Nat44AddDelInterfaceAddrReply) Reset

func (m *Nat44AddDelInterfaceAddrReply) Reset()

func (*Nat44AddDelInterfaceAddrReply) Size

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

func (*Nat44AddDelInterfaceAddrReply) Unmarshal

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

type Nat44AddDelLbStaticMapping

type Nat44AddDelLbStaticMapping struct {
	IsAdd        bool                     `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags        nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	ExternalAddr ip_types.IP4Address      `binapi:"ip4_address,name=external_addr" json:"external_addr,omitempty"`
	ExternalPort uint16                   `binapi:"u16,name=external_port" json:"external_port,omitempty"`
	Protocol     uint8                    `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	Affinity     uint32                   `binapi:"u32,name=affinity" json:"affinity,omitempty"`
	Tag          string                   `binapi:"string[64],name=tag" json:"tag,omitempty"`
	LocalNum     uint32                   `binapi:"u32,name=local_num" json:"-"`
	Locals       []Nat44LbAddrPort        `binapi:"nat44_lb_addr_port[local_num],name=locals" json:"locals,omitempty"`
}

Nat44AddDelLbStaticMapping defines 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

func (*Nat44AddDelLbStaticMapping) Marshal

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

func (*Nat44AddDelLbStaticMapping) Reset

func (m *Nat44AddDelLbStaticMapping) Reset()

func (*Nat44AddDelLbStaticMapping) Size

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

func (*Nat44AddDelLbStaticMapping) Unmarshal

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

type Nat44AddDelLbStaticMappingReply

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

Nat44AddDelLbStaticMappingReply defines 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

func (*Nat44AddDelLbStaticMappingReply) Marshal

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

func (*Nat44AddDelLbStaticMappingReply) Reset

func (*Nat44AddDelLbStaticMappingReply) Size

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

func (*Nat44AddDelLbStaticMappingReply) Unmarshal

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

type Nat44AddDelStaticMapping

type Nat44AddDelStaticMapping struct {
	IsAdd             bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags             nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	LocalIPAddress    ip_types.IP4Address            `binapi:"ip4_address,name=local_ip_address" json:"local_ip_address,omitempty"`
	ExternalIPAddress ip_types.IP4Address            `binapi:"ip4_address,name=external_ip_address" json:"external_ip_address,omitempty"`
	Protocol          uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	LocalPort         uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
	ExternalPort      uint16                         `binapi:"u16,name=external_port" json:"external_port,omitempty"`
	ExternalSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=external_sw_if_index" json:"external_sw_if_index,omitempty"`
	VrfID             uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Tag               string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
}

Nat44AddDelStaticMapping defines 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

func (*Nat44AddDelStaticMapping) Marshal

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

func (*Nat44AddDelStaticMapping) Reset

func (m *Nat44AddDelStaticMapping) Reset()

func (*Nat44AddDelStaticMapping) Size

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

func (*Nat44AddDelStaticMapping) Unmarshal

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

type Nat44AddDelStaticMappingReply

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

Nat44AddDelStaticMappingReply defines 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

func (*Nat44AddDelStaticMappingReply) Marshal

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

func (*Nat44AddDelStaticMappingReply) Reset

func (m *Nat44AddDelStaticMappingReply) Reset()

func (*Nat44AddDelStaticMappingReply) Size

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

func (*Nat44AddDelStaticMappingReply) Unmarshal

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

type Nat44AddDelStaticMappingV2

type Nat44AddDelStaticMappingV2 struct {
	IsAdd             bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	MatchPool         bool                           `binapi:"bool,name=match_pool" json:"match_pool,omitempty"`
	Flags             nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	PoolIPAddress     ip_types.IP4Address            `binapi:"ip4_address,name=pool_ip_address" json:"pool_ip_address,omitempty"`
	LocalIPAddress    ip_types.IP4Address            `binapi:"ip4_address,name=local_ip_address" json:"local_ip_address,omitempty"`
	ExternalIPAddress ip_types.IP4Address            `binapi:"ip4_address,name=external_ip_address" json:"external_ip_address,omitempty"`
	Protocol          uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	LocalPort         uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
	ExternalPort      uint16                         `binapi:"u16,name=external_port" json:"external_port,omitempty"`
	ExternalSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=external_sw_if_index" json:"external_sw_if_index,omitempty"`
	VrfID             uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Tag               string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
}

Nat44AddDelStaticMappingV2 defines message 'nat44_add_del_static_mapping_v2'.

func (*Nat44AddDelStaticMappingV2) GetCrcString

func (*Nat44AddDelStaticMappingV2) GetCrcString() string

func (*Nat44AddDelStaticMappingV2) GetMessageName

func (*Nat44AddDelStaticMappingV2) GetMessageName() string

func (*Nat44AddDelStaticMappingV2) GetMessageType

func (*Nat44AddDelStaticMappingV2) GetMessageType() api.MessageType

func (*Nat44AddDelStaticMappingV2) Marshal

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

func (*Nat44AddDelStaticMappingV2) Reset

func (m *Nat44AddDelStaticMappingV2) Reset()

func (*Nat44AddDelStaticMappingV2) Size

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

func (*Nat44AddDelStaticMappingV2) Unmarshal

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

type Nat44AddDelStaticMappingV2Reply

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

Nat44AddDelStaticMappingV2Reply defines message 'nat44_add_del_static_mapping_v2_reply'.

func (*Nat44AddDelStaticMappingV2Reply) GetCrcString

func (*Nat44AddDelStaticMappingV2Reply) GetCrcString() string

func (*Nat44AddDelStaticMappingV2Reply) GetMessageName

func (*Nat44AddDelStaticMappingV2Reply) GetMessageName() string

func (*Nat44AddDelStaticMappingV2Reply) GetMessageType

func (*Nat44AddDelStaticMappingV2Reply) Marshal

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

func (*Nat44AddDelStaticMappingV2Reply) Reset

func (*Nat44AddDelStaticMappingV2Reply) Size

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

func (*Nat44AddDelStaticMappingV2Reply) Unmarshal

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

type Nat44AddressDetails

type Nat44AddressDetails struct {
	IPAddress ip_types.IP4Address      `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Flags     nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	VrfID     uint32                   `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat44AddressDetails defines 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

func (*Nat44AddressDetails) Marshal

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

func (*Nat44AddressDetails) Reset

func (m *Nat44AddressDetails) Reset()

func (*Nat44AddressDetails) Size

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

func (*Nat44AddressDetails) Unmarshal

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

type Nat44AddressDump

type Nat44AddressDump struct{}

Nat44AddressDump defines 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

func (*Nat44AddressDump) Marshal

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

func (*Nat44AddressDump) Reset

func (m *Nat44AddressDump) Reset()

func (*Nat44AddressDump) Size

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

func (*Nat44AddressDump) Unmarshal

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

type Nat44ConfigFlags

type Nat44ConfigFlags uint8

Nat44ConfigFlags defines enum 'nat44_config_flags'.

const (
	NAT44_IS_ENDPOINT_INDEPENDENT Nat44ConfigFlags = 0
	NAT44_IS_ENDPOINT_DEPENDENT   Nat44ConfigFlags = 1
	NAT44_IS_STATIC_MAPPING_ONLY  Nat44ConfigFlags = 2
	NAT44_IS_CONNECTION_TRACKING  Nat44ConfigFlags = 4
	NAT44_IS_OUT2IN_DPO           Nat44ConfigFlags = 8
)

func (Nat44ConfigFlags) String

func (x Nat44ConfigFlags) String() string

type Nat44DelSession

type Nat44DelSession struct {
	Address        ip_types.IP4Address      `binapi:"ip4_address,name=address" json:"address,omitempty"`
	Protocol       uint8                    `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	Port           uint16                   `binapi:"u16,name=port" json:"port,omitempty"`
	VrfID          uint32                   `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Flags          nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	ExtHostAddress ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_address" json:"ext_host_address,omitempty"`
	ExtHostPort    uint16                   `binapi:"u16,name=ext_host_port" json:"ext_host_port,omitempty"`
}

Nat44DelSession defines 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

func (*Nat44DelSession) Marshal

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

func (*Nat44DelSession) Reset

func (m *Nat44DelSession) Reset()

func (*Nat44DelSession) Size

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

func (*Nat44DelSession) Unmarshal

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

type Nat44DelSessionReply

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

Nat44DelSessionReply defines 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

func (*Nat44DelSessionReply) Marshal

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

func (*Nat44DelSessionReply) Reset

func (m *Nat44DelSessionReply) Reset()

func (*Nat44DelSessionReply) Size

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

func (*Nat44DelSessionReply) Unmarshal

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

type Nat44EdAddDelOutputInterface

type Nat44EdAddDelOutputInterface struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

Nat44EdAddDelOutputInterface defines message 'nat44_ed_add_del_output_interface'.

func (*Nat44EdAddDelOutputInterface) GetCrcString

func (*Nat44EdAddDelOutputInterface) GetCrcString() string

func (*Nat44EdAddDelOutputInterface) GetMessageName

func (*Nat44EdAddDelOutputInterface) GetMessageName() string

func (*Nat44EdAddDelOutputInterface) GetMessageType

func (*Nat44EdAddDelOutputInterface) GetMessageType() api.MessageType

func (*Nat44EdAddDelOutputInterface) Marshal

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

func (*Nat44EdAddDelOutputInterface) Reset

func (m *Nat44EdAddDelOutputInterface) Reset()

func (*Nat44EdAddDelOutputInterface) Size

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

func (*Nat44EdAddDelOutputInterface) Unmarshal

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

type Nat44EdAddDelOutputInterfaceReply

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

Nat44EdAddDelOutputInterfaceReply defines message 'nat44_ed_add_del_output_interface_reply'.

func (*Nat44EdAddDelOutputInterfaceReply) GetCrcString

func (*Nat44EdAddDelOutputInterfaceReply) GetCrcString() string

func (*Nat44EdAddDelOutputInterfaceReply) GetMessageName

func (*Nat44EdAddDelOutputInterfaceReply) GetMessageName() string

func (*Nat44EdAddDelOutputInterfaceReply) GetMessageType

func (*Nat44EdAddDelOutputInterfaceReply) Marshal

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

func (*Nat44EdAddDelOutputInterfaceReply) Reset

func (*Nat44EdAddDelOutputInterfaceReply) Size

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

func (*Nat44EdAddDelOutputInterfaceReply) Unmarshal

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

type Nat44EdAddDelVrfRoute added in v3.25.1

type Nat44EdAddDelVrfRoute struct {
	TableVrfID uint32 `binapi:"u32,name=table_vrf_id" json:"table_vrf_id,omitempty"`
	VrfID      uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	IsAdd      bool   `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

Nat44EdAddDelVrfRoute defines message 'nat44_ed_add_del_vrf_route'.

func (*Nat44EdAddDelVrfRoute) GetCrcString added in v3.25.1

func (*Nat44EdAddDelVrfRoute) GetCrcString() string

func (*Nat44EdAddDelVrfRoute) GetMessageName added in v3.25.1

func (*Nat44EdAddDelVrfRoute) GetMessageName() string

func (*Nat44EdAddDelVrfRoute) GetMessageType added in v3.25.1

func (*Nat44EdAddDelVrfRoute) GetMessageType() api.MessageType

func (*Nat44EdAddDelVrfRoute) Marshal added in v3.25.1

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

func (*Nat44EdAddDelVrfRoute) Reset added in v3.25.1

func (m *Nat44EdAddDelVrfRoute) Reset()

func (*Nat44EdAddDelVrfRoute) Size added in v3.25.1

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

func (*Nat44EdAddDelVrfRoute) Unmarshal added in v3.25.1

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

type Nat44EdAddDelVrfRouteReply added in v3.25.1

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

Nat44EdAddDelVrfRouteReply defines message 'nat44_ed_add_del_vrf_route_reply'.

func (*Nat44EdAddDelVrfRouteReply) GetCrcString added in v3.25.1

func (*Nat44EdAddDelVrfRouteReply) GetCrcString() string

func (*Nat44EdAddDelVrfRouteReply) GetMessageName added in v3.25.1

func (*Nat44EdAddDelVrfRouteReply) GetMessageName() string

func (*Nat44EdAddDelVrfRouteReply) GetMessageType added in v3.25.1

func (*Nat44EdAddDelVrfRouteReply) GetMessageType() api.MessageType

func (*Nat44EdAddDelVrfRouteReply) Marshal added in v3.25.1

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

func (*Nat44EdAddDelVrfRouteReply) Reset added in v3.25.1

func (m *Nat44EdAddDelVrfRouteReply) Reset()

func (*Nat44EdAddDelVrfRouteReply) Size added in v3.25.1

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

func (*Nat44EdAddDelVrfRouteReply) Unmarshal added in v3.25.1

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

type Nat44EdAddDelVrfTable added in v3.25.1

type Nat44EdAddDelVrfTable struct {
	TableVrfID uint32 `binapi:"u32,name=table_vrf_id" json:"table_vrf_id,omitempty"`
	IsAdd      bool   `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

Nat44EdAddDelVrfTable defines message 'nat44_ed_add_del_vrf_table'.

func (*Nat44EdAddDelVrfTable) GetCrcString added in v3.25.1

func (*Nat44EdAddDelVrfTable) GetCrcString() string

func (*Nat44EdAddDelVrfTable) GetMessageName added in v3.25.1

func (*Nat44EdAddDelVrfTable) GetMessageName() string

func (*Nat44EdAddDelVrfTable) GetMessageType added in v3.25.1

func (*Nat44EdAddDelVrfTable) GetMessageType() api.MessageType

func (*Nat44EdAddDelVrfTable) Marshal added in v3.25.1

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

func (*Nat44EdAddDelVrfTable) Reset added in v3.25.1

func (m *Nat44EdAddDelVrfTable) Reset()

func (*Nat44EdAddDelVrfTable) Size added in v3.25.1

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

func (*Nat44EdAddDelVrfTable) Unmarshal added in v3.25.1

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

type Nat44EdAddDelVrfTableReply added in v3.25.1

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

Nat44EdAddDelVrfTableReply defines message 'nat44_ed_add_del_vrf_table_reply'.

func (*Nat44EdAddDelVrfTableReply) GetCrcString added in v3.25.1

func (*Nat44EdAddDelVrfTableReply) GetCrcString() string

func (*Nat44EdAddDelVrfTableReply) GetMessageName added in v3.25.1

func (*Nat44EdAddDelVrfTableReply) GetMessageName() string

func (*Nat44EdAddDelVrfTableReply) GetMessageType added in v3.25.1

func (*Nat44EdAddDelVrfTableReply) GetMessageType() api.MessageType

func (*Nat44EdAddDelVrfTableReply) Marshal added in v3.25.1

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

func (*Nat44EdAddDelVrfTableReply) Reset added in v3.25.1

func (m *Nat44EdAddDelVrfTableReply) Reset()

func (*Nat44EdAddDelVrfTableReply) Size added in v3.25.1

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

func (*Nat44EdAddDelVrfTableReply) Unmarshal added in v3.25.1

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

type Nat44EdOutputInterfaceDetails

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

Nat44EdOutputInterfaceDetails defines message 'nat44_ed_output_interface_details'.

func (*Nat44EdOutputInterfaceDetails) GetCrcString

func (*Nat44EdOutputInterfaceDetails) GetCrcString() string

func (*Nat44EdOutputInterfaceDetails) GetMessageName

func (*Nat44EdOutputInterfaceDetails) GetMessageName() string

func (*Nat44EdOutputInterfaceDetails) GetMessageType

func (*Nat44EdOutputInterfaceDetails) GetMessageType() api.MessageType

func (*Nat44EdOutputInterfaceDetails) Marshal

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

func (*Nat44EdOutputInterfaceDetails) Reset

func (m *Nat44EdOutputInterfaceDetails) Reset()

func (*Nat44EdOutputInterfaceDetails) Size

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

func (*Nat44EdOutputInterfaceDetails) Unmarshal

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

type Nat44EdOutputInterfaceGet

type Nat44EdOutputInterfaceGet struct {
	Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"`
}

Nat44EdOutputInterfaceGet defines message 'nat44_ed_output_interface_get'.

func (*Nat44EdOutputInterfaceGet) GetCrcString

func (*Nat44EdOutputInterfaceGet) GetCrcString() string

func (*Nat44EdOutputInterfaceGet) GetMessageName

func (*Nat44EdOutputInterfaceGet) GetMessageName() string

func (*Nat44EdOutputInterfaceGet) GetMessageType

func (*Nat44EdOutputInterfaceGet) GetMessageType() api.MessageType

func (*Nat44EdOutputInterfaceGet) Marshal

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

func (*Nat44EdOutputInterfaceGet) Reset

func (m *Nat44EdOutputInterfaceGet) Reset()

func (*Nat44EdOutputInterfaceGet) Size

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

func (*Nat44EdOutputInterfaceGet) Unmarshal

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

type Nat44EdOutputInterfaceGetReply

type Nat44EdOutputInterfaceGetReply struct {
	Retval int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"`
}

Nat44EdOutputInterfaceGetReply defines message 'nat44_ed_output_interface_get_reply'.

func (*Nat44EdOutputInterfaceGetReply) GetCrcString

func (*Nat44EdOutputInterfaceGetReply) GetCrcString() string

func (*Nat44EdOutputInterfaceGetReply) GetMessageName

func (*Nat44EdOutputInterfaceGetReply) GetMessageName() string

func (*Nat44EdOutputInterfaceGetReply) GetMessageType

func (*Nat44EdOutputInterfaceGetReply) Marshal

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

func (*Nat44EdOutputInterfaceGetReply) Reset

func (m *Nat44EdOutputInterfaceGetReply) Reset()

func (*Nat44EdOutputInterfaceGetReply) Size

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

func (*Nat44EdOutputInterfaceGetReply) Unmarshal

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

type Nat44EdPluginEnableDisable

type Nat44EdPluginEnableDisable struct {
	InsideVrf     uint32           `binapi:"u32,name=inside_vrf" json:"inside_vrf,omitempty"`
	OutsideVrf    uint32           `binapi:"u32,name=outside_vrf" json:"outside_vrf,omitempty"`
	Sessions      uint32           `binapi:"u32,name=sessions" json:"sessions,omitempty"`
	SessionMemory uint32           `binapi:"u32,name=session_memory" json:"session_memory,omitempty"`
	Enable        bool             `binapi:"bool,name=enable" json:"enable,omitempty"`
	Flags         Nat44ConfigFlags `binapi:"nat44_config_flags,name=flags" json:"flags,omitempty"`
}

Nat44EdPluginEnableDisable defines message 'nat44_ed_plugin_enable_disable'.

func (*Nat44EdPluginEnableDisable) GetCrcString

func (*Nat44EdPluginEnableDisable) GetCrcString() string

func (*Nat44EdPluginEnableDisable) GetMessageName

func (*Nat44EdPluginEnableDisable) GetMessageName() string

func (*Nat44EdPluginEnableDisable) GetMessageType

func (*Nat44EdPluginEnableDisable) GetMessageType() api.MessageType

func (*Nat44EdPluginEnableDisable) Marshal

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

func (*Nat44EdPluginEnableDisable) Reset

func (m *Nat44EdPluginEnableDisable) Reset()

func (*Nat44EdPluginEnableDisable) Size

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

func (*Nat44EdPluginEnableDisable) Unmarshal

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

type Nat44EdPluginEnableDisableReply

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

Nat44EdPluginEnableDisableReply defines message 'nat44_ed_plugin_enable_disable_reply'.

func (*Nat44EdPluginEnableDisableReply) GetCrcString

func (*Nat44EdPluginEnableDisableReply) GetCrcString() string

func (*Nat44EdPluginEnableDisableReply) GetMessageName

func (*Nat44EdPluginEnableDisableReply) GetMessageName() string

func (*Nat44EdPluginEnableDisableReply) GetMessageType

func (*Nat44EdPluginEnableDisableReply) Marshal

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

func (*Nat44EdPluginEnableDisableReply) Reset

func (*Nat44EdPluginEnableDisableReply) Size

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

func (*Nat44EdPluginEnableDisableReply) Unmarshal

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

type Nat44EdSetFqOptions

type Nat44EdSetFqOptions struct {
	FrameQueueNelts uint32 `binapi:"u32,name=frame_queue_nelts" json:"frame_queue_nelts,omitempty"`
}

Nat44EdSetFqOptions defines message 'nat44_ed_set_fq_options'.

func (*Nat44EdSetFqOptions) GetCrcString

func (*Nat44EdSetFqOptions) GetCrcString() string

func (*Nat44EdSetFqOptions) GetMessageName

func (*Nat44EdSetFqOptions) GetMessageName() string

func (*Nat44EdSetFqOptions) GetMessageType

func (*Nat44EdSetFqOptions) GetMessageType() api.MessageType

func (*Nat44EdSetFqOptions) Marshal

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

func (*Nat44EdSetFqOptions) Reset

func (m *Nat44EdSetFqOptions) Reset()

func (*Nat44EdSetFqOptions) Size

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

func (*Nat44EdSetFqOptions) Unmarshal

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

type Nat44EdSetFqOptionsReply

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

Nat44EdSetFqOptionsReply defines message 'nat44_ed_set_fq_options_reply'.

func (*Nat44EdSetFqOptionsReply) GetCrcString

func (*Nat44EdSetFqOptionsReply) GetCrcString() string

func (*Nat44EdSetFqOptionsReply) GetMessageName

func (*Nat44EdSetFqOptionsReply) GetMessageName() string

func (*Nat44EdSetFqOptionsReply) GetMessageType

func (*Nat44EdSetFqOptionsReply) GetMessageType() api.MessageType

func (*Nat44EdSetFqOptionsReply) Marshal

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

func (*Nat44EdSetFqOptionsReply) Reset

func (m *Nat44EdSetFqOptionsReply) Reset()

func (*Nat44EdSetFqOptionsReply) Size

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

func (*Nat44EdSetFqOptionsReply) Unmarshal

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

type Nat44EdShowFqOptions

type Nat44EdShowFqOptions struct{}

Nat44EdShowFqOptions defines message 'nat44_ed_show_fq_options'.

func (*Nat44EdShowFqOptions) GetCrcString

func (*Nat44EdShowFqOptions) GetCrcString() string

func (*Nat44EdShowFqOptions) GetMessageName

func (*Nat44EdShowFqOptions) GetMessageName() string

func (*Nat44EdShowFqOptions) GetMessageType

func (*Nat44EdShowFqOptions) GetMessageType() api.MessageType

func (*Nat44EdShowFqOptions) Marshal

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

func (*Nat44EdShowFqOptions) Reset

func (m *Nat44EdShowFqOptions) Reset()

func (*Nat44EdShowFqOptions) Size

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

func (*Nat44EdShowFqOptions) Unmarshal

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

type Nat44EdShowFqOptionsReply

type Nat44EdShowFqOptionsReply struct {
	Retval          int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	FrameQueueNelts uint32 `binapi:"u32,name=frame_queue_nelts" json:"frame_queue_nelts,omitempty"`
}

Nat44EdShowFqOptionsReply defines message 'nat44_ed_show_fq_options_reply'.

func (*Nat44EdShowFqOptionsReply) GetCrcString

func (*Nat44EdShowFqOptionsReply) GetCrcString() string

func (*Nat44EdShowFqOptionsReply) GetMessageName

func (*Nat44EdShowFqOptionsReply) GetMessageName() string

func (*Nat44EdShowFqOptionsReply) GetMessageType

func (*Nat44EdShowFqOptionsReply) GetMessageType() api.MessageType

func (*Nat44EdShowFqOptionsReply) Marshal

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

func (*Nat44EdShowFqOptionsReply) Reset

func (m *Nat44EdShowFqOptionsReply) Reset()

func (*Nat44EdShowFqOptionsReply) Size

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

func (*Nat44EdShowFqOptionsReply) Unmarshal

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

type Nat44EdVrfTablesDetails added in v3.25.1

type Nat44EdVrfTablesDetails struct {
	TableVrfID uint32   `binapi:"u32,name=table_vrf_id" json:"table_vrf_id,omitempty"`
	NVrfIds    uint32   `binapi:"u32,name=n_vrf_ids" json:"-"`
	VrfIds     []uint32 `binapi:"u32[n_vrf_ids],name=vrf_ids" json:"vrf_ids,omitempty"`
}

Nat44EdVrfTablesDetails defines message 'nat44_ed_vrf_tables_details'.

func (*Nat44EdVrfTablesDetails) GetCrcString added in v3.25.1

func (*Nat44EdVrfTablesDetails) GetCrcString() string

func (*Nat44EdVrfTablesDetails) GetMessageName added in v3.25.1

func (*Nat44EdVrfTablesDetails) GetMessageName() string

func (*Nat44EdVrfTablesDetails) GetMessageType added in v3.25.1

func (*Nat44EdVrfTablesDetails) GetMessageType() api.MessageType

func (*Nat44EdVrfTablesDetails) Marshal added in v3.25.1

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

func (*Nat44EdVrfTablesDetails) Reset added in v3.25.1

func (m *Nat44EdVrfTablesDetails) Reset()

func (*Nat44EdVrfTablesDetails) Size added in v3.25.1

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

func (*Nat44EdVrfTablesDetails) Unmarshal added in v3.25.1

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

type Nat44EdVrfTablesDump added in v3.25.1

type Nat44EdVrfTablesDump struct{}

Nat44EdVrfTablesDump defines message 'nat44_ed_vrf_tables_dump'.

func (*Nat44EdVrfTablesDump) GetCrcString added in v3.25.1

func (*Nat44EdVrfTablesDump) GetCrcString() string

func (*Nat44EdVrfTablesDump) GetMessageName added in v3.25.1

func (*Nat44EdVrfTablesDump) GetMessageName() string

func (*Nat44EdVrfTablesDump) GetMessageType added in v3.25.1

func (*Nat44EdVrfTablesDump) GetMessageType() api.MessageType

func (*Nat44EdVrfTablesDump) Marshal added in v3.25.1

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

func (*Nat44EdVrfTablesDump) Reset added in v3.25.1

func (m *Nat44EdVrfTablesDump) Reset()

func (*Nat44EdVrfTablesDump) Size added in v3.25.1

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

func (*Nat44EdVrfTablesDump) Unmarshal added in v3.25.1

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

type Nat44ForwardingEnableDisable

type Nat44ForwardingEnableDisable struct {
	Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
}

Nat44ForwardingEnableDisable defines message 'nat44_forwarding_enable_disable'. Deprecated: the message will be removed in the future versions

func (*Nat44ForwardingEnableDisable) GetCrcString

func (*Nat44ForwardingEnableDisable) GetCrcString() string

func (*Nat44ForwardingEnableDisable) GetMessageName

func (*Nat44ForwardingEnableDisable) GetMessageName() string

func (*Nat44ForwardingEnableDisable) GetMessageType

func (*Nat44ForwardingEnableDisable) GetMessageType() api.MessageType

func (*Nat44ForwardingEnableDisable) Marshal

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

func (*Nat44ForwardingEnableDisable) Reset

func (m *Nat44ForwardingEnableDisable) Reset()

func (*Nat44ForwardingEnableDisable) Size

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

func (*Nat44ForwardingEnableDisable) Unmarshal

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

type Nat44ForwardingEnableDisableReply

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

Nat44ForwardingEnableDisableReply defines message 'nat44_forwarding_enable_disable_reply'. Deprecated: the message will be removed in the future versions

func (*Nat44ForwardingEnableDisableReply) GetCrcString

func (*Nat44ForwardingEnableDisableReply) GetCrcString() string

func (*Nat44ForwardingEnableDisableReply) GetMessageName

func (*Nat44ForwardingEnableDisableReply) GetMessageName() string

func (*Nat44ForwardingEnableDisableReply) GetMessageType

func (*Nat44ForwardingEnableDisableReply) Marshal

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

func (*Nat44ForwardingEnableDisableReply) Reset

func (*Nat44ForwardingEnableDisableReply) Size

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

func (*Nat44ForwardingEnableDisableReply) Unmarshal

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

type Nat44IdentityMappingDetails

type Nat44IdentityMappingDetails struct {
	Flags     nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	IPAddress ip_types.IP4Address            `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Protocol  uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	Port      uint16                         `binapi:"u16,name=port" json:"port,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	VrfID     uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Tag       string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
}

Nat44IdentityMappingDetails defines 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

func (*Nat44IdentityMappingDetails) Marshal

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

func (*Nat44IdentityMappingDetails) Reset

func (m *Nat44IdentityMappingDetails) Reset()

func (*Nat44IdentityMappingDetails) Size

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

func (*Nat44IdentityMappingDetails) Unmarshal

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

type Nat44IdentityMappingDump

type Nat44IdentityMappingDump struct{}

Nat44IdentityMappingDump defines 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

func (*Nat44IdentityMappingDump) Marshal

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

func (*Nat44IdentityMappingDump) Reset

func (m *Nat44IdentityMappingDump) Reset()

func (*Nat44IdentityMappingDump) Size

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

func (*Nat44IdentityMappingDump) Unmarshal

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

type Nat44InterfaceAddDelFeature

type Nat44InterfaceAddDelFeature struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags     nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

Nat44InterfaceAddDelFeature defines 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

func (*Nat44InterfaceAddDelFeature) Marshal

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

func (*Nat44InterfaceAddDelFeature) Reset

func (m *Nat44InterfaceAddDelFeature) Reset()

func (*Nat44InterfaceAddDelFeature) Size

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

func (*Nat44InterfaceAddDelFeature) Unmarshal

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

type Nat44InterfaceAddDelFeatureReply

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

Nat44InterfaceAddDelFeatureReply defines message 'nat44_interface_add_del_feature_reply'.

func (*Nat44InterfaceAddDelFeatureReply) GetCrcString

func (*Nat44InterfaceAddDelFeatureReply) GetCrcString() string

func (*Nat44InterfaceAddDelFeatureReply) GetMessageName

func (*Nat44InterfaceAddDelFeatureReply) GetMessageName() string

func (*Nat44InterfaceAddDelFeatureReply) GetMessageType

func (*Nat44InterfaceAddDelFeatureReply) Marshal

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

func (*Nat44InterfaceAddDelFeatureReply) Reset

func (*Nat44InterfaceAddDelFeatureReply) Size

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

func (*Nat44InterfaceAddDelFeatureReply) Unmarshal

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

type Nat44InterfaceAddrDetails

type Nat44InterfaceAddrDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Flags     nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
}

Nat44InterfaceAddrDetails defines 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

func (*Nat44InterfaceAddrDetails) Marshal

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

func (*Nat44InterfaceAddrDetails) Reset

func (m *Nat44InterfaceAddrDetails) Reset()

func (*Nat44InterfaceAddrDetails) Size

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

func (*Nat44InterfaceAddrDetails) Unmarshal

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

type Nat44InterfaceAddrDump

type Nat44InterfaceAddrDump struct{}

Nat44InterfaceAddrDump defines 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

func (*Nat44InterfaceAddrDump) Marshal

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

func (*Nat44InterfaceAddrDump) Reset

func (m *Nat44InterfaceAddrDump) Reset()

func (*Nat44InterfaceAddrDump) Size

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

func (*Nat44InterfaceAddrDump) Unmarshal

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

type Nat44InterfaceDetails

type Nat44InterfaceDetails struct {
	Flags     nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

Nat44InterfaceDetails defines 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

func (*Nat44InterfaceDetails) Marshal

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

func (*Nat44InterfaceDetails) Reset

func (m *Nat44InterfaceDetails) Reset()

func (*Nat44InterfaceDetails) Size

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

func (*Nat44InterfaceDetails) Unmarshal

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

type Nat44InterfaceDump

type Nat44InterfaceDump struct{}

Nat44InterfaceDump defines 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

func (*Nat44InterfaceDump) Marshal

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

func (*Nat44InterfaceDump) Reset

func (m *Nat44InterfaceDump) Reset()

func (*Nat44InterfaceDump) Size

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

func (*Nat44InterfaceDump) Unmarshal

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

type Nat44LbAddrPort

type Nat44LbAddrPort struct {
	Addr        ip_types.IP4Address `binapi:"ip4_address,name=addr" json:"addr,omitempty"`
	Port        uint16              `binapi:"u16,name=port" json:"port,omitempty"`
	Probability uint8               `binapi:"u8,name=probability" json:"probability,omitempty"`
	VrfID       uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat44LbAddrPort defines type 'nat44_lb_addr_port'.

type Nat44LbStaticMappingAddDelLocal

type Nat44LbStaticMappingAddDelLocal struct {
	IsAdd        bool                `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	ExternalAddr ip_types.IP4Address `binapi:"ip4_address,name=external_addr" json:"external_addr,omitempty"`
	ExternalPort uint16              `binapi:"u16,name=external_port" json:"external_port,omitempty"`
	Protocol     uint8               `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	Local        Nat44LbAddrPort     `binapi:"nat44_lb_addr_port,name=local" json:"local,omitempty"`
}

Nat44LbStaticMappingAddDelLocal defines 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

func (*Nat44LbStaticMappingAddDelLocal) Marshal

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

func (*Nat44LbStaticMappingAddDelLocal) Reset

func (*Nat44LbStaticMappingAddDelLocal) Size

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

func (*Nat44LbStaticMappingAddDelLocal) Unmarshal

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

type Nat44LbStaticMappingAddDelLocalReply

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

Nat44LbStaticMappingAddDelLocalReply defines message 'nat44_lb_static_mapping_add_del_local_reply'.

func (*Nat44LbStaticMappingAddDelLocalReply) GetCrcString

func (*Nat44LbStaticMappingAddDelLocalReply) GetMessageName

func (*Nat44LbStaticMappingAddDelLocalReply) GetMessageName() string

func (*Nat44LbStaticMappingAddDelLocalReply) GetMessageType

func (*Nat44LbStaticMappingAddDelLocalReply) Marshal

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

func (*Nat44LbStaticMappingAddDelLocalReply) Reset

func (*Nat44LbStaticMappingAddDelLocalReply) Size

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

func (*Nat44LbStaticMappingAddDelLocalReply) Unmarshal

type Nat44LbStaticMappingDetails

type Nat44LbStaticMappingDetails struct {
	ExternalAddr ip_types.IP4Address      `binapi:"ip4_address,name=external_addr" json:"external_addr,omitempty"`
	ExternalPort uint16                   `binapi:"u16,name=external_port" json:"external_port,omitempty"`
	Protocol     uint8                    `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	Flags        nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	Affinity     uint32                   `binapi:"u32,name=affinity" json:"affinity,omitempty"`
	Tag          string                   `binapi:"string[64],name=tag" json:"tag,omitempty"`
	LocalNum     uint32                   `binapi:"u32,name=local_num" json:"-"`
	Locals       []Nat44LbAddrPort        `binapi:"nat44_lb_addr_port[local_num],name=locals" json:"locals,omitempty"`
}

Nat44LbStaticMappingDetails defines 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

func (*Nat44LbStaticMappingDetails) Marshal

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

func (*Nat44LbStaticMappingDetails) Reset

func (m *Nat44LbStaticMappingDetails) Reset()

func (*Nat44LbStaticMappingDetails) Size

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

func (*Nat44LbStaticMappingDetails) Unmarshal

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

type Nat44LbStaticMappingDump

type Nat44LbStaticMappingDump struct{}

Nat44LbStaticMappingDump defines 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

func (*Nat44LbStaticMappingDump) Marshal

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

func (*Nat44LbStaticMappingDump) Reset

func (m *Nat44LbStaticMappingDump) Reset()

func (*Nat44LbStaticMappingDump) Size

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

func (*Nat44LbStaticMappingDump) Unmarshal

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

type Nat44SetSessionLimit

type Nat44SetSessionLimit struct {
	SessionLimit uint32 `binapi:"u32,name=session_limit" json:"session_limit,omitempty"`
	VrfID        uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat44SetSessionLimit defines message 'nat44_set_session_limit'.

func (*Nat44SetSessionLimit) GetCrcString

func (*Nat44SetSessionLimit) GetCrcString() string

func (*Nat44SetSessionLimit) GetMessageName

func (*Nat44SetSessionLimit) GetMessageName() string

func (*Nat44SetSessionLimit) GetMessageType

func (*Nat44SetSessionLimit) GetMessageType() api.MessageType

func (*Nat44SetSessionLimit) Marshal

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

func (*Nat44SetSessionLimit) Reset

func (m *Nat44SetSessionLimit) Reset()

func (*Nat44SetSessionLimit) Size

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

func (*Nat44SetSessionLimit) Unmarshal

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

type Nat44SetSessionLimitReply

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

Nat44SetSessionLimitReply defines message 'nat44_set_session_limit_reply'.

func (*Nat44SetSessionLimitReply) GetCrcString

func (*Nat44SetSessionLimitReply) GetCrcString() string

func (*Nat44SetSessionLimitReply) GetMessageName

func (*Nat44SetSessionLimitReply) GetMessageName() string

func (*Nat44SetSessionLimitReply) GetMessageType

func (*Nat44SetSessionLimitReply) GetMessageType() api.MessageType

func (*Nat44SetSessionLimitReply) Marshal

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

func (*Nat44SetSessionLimitReply) Reset

func (m *Nat44SetSessionLimitReply) Reset()

func (*Nat44SetSessionLimitReply) Size

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

func (*Nat44SetSessionLimitReply) Unmarshal

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

type Nat44ShowRunningConfig

type Nat44ShowRunningConfig struct{}

Nat44ShowRunningConfig defines message 'nat44_show_running_config'.

func (*Nat44ShowRunningConfig) GetCrcString

func (*Nat44ShowRunningConfig) GetCrcString() string

func (*Nat44ShowRunningConfig) GetMessageName

func (*Nat44ShowRunningConfig) GetMessageName() string

func (*Nat44ShowRunningConfig) GetMessageType

func (*Nat44ShowRunningConfig) GetMessageType() api.MessageType

func (*Nat44ShowRunningConfig) Marshal

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

func (*Nat44ShowRunningConfig) Reset

func (m *Nat44ShowRunningConfig) Reset()

func (*Nat44ShowRunningConfig) Size

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

func (*Nat44ShowRunningConfig) Unmarshal

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

type Nat44ShowRunningConfigReply

type Nat44ShowRunningConfigReply struct {
	Retval              int32                 `binapi:"i32,name=retval" json:"retval,omitempty"`
	InsideVrf           uint32                `binapi:"u32,name=inside_vrf" json:"inside_vrf,omitempty"`
	OutsideVrf          uint32                `binapi:"u32,name=outside_vrf" json:"outside_vrf,omitempty"`
	Users               uint32                `binapi:"u32,name=users" json:"users,omitempty"`
	Sessions            uint32                `binapi:"u32,name=sessions" json:"sessions,omitempty"`
	UserSessions        uint32                `binapi:"u32,name=user_sessions" json:"user_sessions,omitempty"`
	UserBuckets         uint32                `binapi:"u32,name=user_buckets" json:"user_buckets,omitempty"`
	TranslationBuckets  uint32                `binapi:"u32,name=translation_buckets" json:"translation_buckets,omitempty"`
	ForwardingEnabled   bool                  `binapi:"bool,name=forwarding_enabled" json:"forwarding_enabled,omitempty"`
	IpfixLoggingEnabled bool                  `binapi:"bool,name=ipfix_logging_enabled" json:"ipfix_logging_enabled,omitempty"`
	Timeouts            nat_types.NatTimeouts `binapi:"nat_timeouts,name=timeouts" json:"timeouts,omitempty"`
	LogLevel            nat_types.NatLogLevel `binapi:"nat_log_level,name=log_level" json:"log_level,omitempty"`
	Flags               Nat44ConfigFlags      `binapi:"nat44_config_flags,name=flags" json:"flags,omitempty"`
}

Nat44ShowRunningConfigReply defines message 'nat44_show_running_config_reply'.

func (*Nat44ShowRunningConfigReply) GetCrcString

func (*Nat44ShowRunningConfigReply) GetCrcString() string

func (*Nat44ShowRunningConfigReply) GetMessageName

func (*Nat44ShowRunningConfigReply) GetMessageName() string

func (*Nat44ShowRunningConfigReply) GetMessageType

func (*Nat44ShowRunningConfigReply) GetMessageType() api.MessageType

func (*Nat44ShowRunningConfigReply) Marshal

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

func (*Nat44ShowRunningConfigReply) Reset

func (m *Nat44ShowRunningConfigReply) Reset()

func (*Nat44ShowRunningConfigReply) Size

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

func (*Nat44ShowRunningConfigReply) Unmarshal

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

type Nat44StaticMappingDetails

type Nat44StaticMappingDetails struct {
	Flags             nat_types.NatConfigFlags       `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	LocalIPAddress    ip_types.IP4Address            `binapi:"ip4_address,name=local_ip_address" json:"local_ip_address,omitempty"`
	ExternalIPAddress ip_types.IP4Address            `binapi:"ip4_address,name=external_ip_address" json:"external_ip_address,omitempty"`
	Protocol          uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
	LocalPort         uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
	ExternalPort      uint16                         `binapi:"u16,name=external_port" json:"external_port,omitempty"`
	ExternalSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=external_sw_if_index" json:"external_sw_if_index,omitempty"`
	VrfID             uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Tag               string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
}

Nat44StaticMappingDetails defines 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

func (*Nat44StaticMappingDetails) Marshal

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

func (*Nat44StaticMappingDetails) Reset

func (m *Nat44StaticMappingDetails) Reset()

func (*Nat44StaticMappingDetails) Size

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

func (*Nat44StaticMappingDetails) Unmarshal

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

type Nat44StaticMappingDump

type Nat44StaticMappingDump struct{}

Nat44StaticMappingDump defines 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

func (*Nat44StaticMappingDump) Marshal

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

func (*Nat44StaticMappingDump) Reset

func (m *Nat44StaticMappingDump) Reset()

func (*Nat44StaticMappingDump) Size

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

func (*Nat44StaticMappingDump) Unmarshal

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

type Nat44UserDetails

type Nat44UserDetails struct {
	VrfID           uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	IPAddress       ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Nsessions       uint32              `binapi:"u32,name=nsessions" json:"nsessions,omitempty"`
	Nstaticsessions uint32              `binapi:"u32,name=nstaticsessions" json:"nstaticsessions,omitempty"`
}

Nat44UserDetails defines 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

func (*Nat44UserDetails) Marshal

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

func (*Nat44UserDetails) Reset

func (m *Nat44UserDetails) Reset()

func (*Nat44UserDetails) Size

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

func (*Nat44UserDetails) Unmarshal

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

type Nat44UserDump

type Nat44UserDump struct{}

Nat44UserDump defines 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

func (*Nat44UserDump) Marshal

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

func (*Nat44UserDump) Reset

func (m *Nat44UserDump) Reset()

func (*Nat44UserDump) Size

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

func (*Nat44UserDump) Unmarshal

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

type Nat44UserSessionDetails

type Nat44UserSessionDetails struct {
	OutsideIPAddress  ip_types.IP4Address      `binapi:"ip4_address,name=outside_ip_address" json:"outside_ip_address,omitempty"`
	OutsidePort       uint16                   `binapi:"u16,name=outside_port" json:"outside_port,omitempty"`
	InsideIPAddress   ip_types.IP4Address      `binapi:"ip4_address,name=inside_ip_address" json:"inside_ip_address,omitempty"`
	InsidePort        uint16                   `binapi:"u16,name=inside_port" json:"inside_port,omitempty"`
	Protocol          uint16                   `binapi:"u16,name=protocol" json:"protocol,omitempty"`
	Flags             nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	LastHeard         uint64                   `binapi:"u64,name=last_heard" json:"last_heard,omitempty"`
	TotalBytes        uint64                   `binapi:"u64,name=total_bytes" json:"total_bytes,omitempty"`
	TotalPkts         uint32                   `binapi:"u32,name=total_pkts" json:"total_pkts,omitempty"`
	ExtHostAddress    ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_address" json:"ext_host_address,omitempty"`
	ExtHostPort       uint16                   `binapi:"u16,name=ext_host_port" json:"ext_host_port,omitempty"`
	ExtHostNatAddress ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_nat_address" json:"ext_host_nat_address,omitempty"`
	ExtHostNatPort    uint16                   `binapi:"u16,name=ext_host_nat_port" json:"ext_host_nat_port,omitempty"`
}

Nat44UserSessionDetails defines 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

func (*Nat44UserSessionDetails) Marshal

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

func (*Nat44UserSessionDetails) Reset

func (m *Nat44UserSessionDetails) Reset()

func (*Nat44UserSessionDetails) Size

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

func (*Nat44UserSessionDetails) Unmarshal

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

type Nat44UserSessionDump

type Nat44UserSessionDump struct {
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	VrfID     uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat44UserSessionDump defines 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

func (*Nat44UserSessionDump) Marshal

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

func (*Nat44UserSessionDump) Reset

func (m *Nat44UserSessionDump) Reset()

func (*Nat44UserSessionDump) Size

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

func (*Nat44UserSessionDump) Unmarshal

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

type Nat44UserSessionV2Details

type Nat44UserSessionV2Details struct {
	OutsideIPAddress  ip_types.IP4Address      `binapi:"ip4_address,name=outside_ip_address" json:"outside_ip_address,omitempty"`
	OutsidePort       uint16                   `binapi:"u16,name=outside_port" json:"outside_port,omitempty"`
	InsideIPAddress   ip_types.IP4Address      `binapi:"ip4_address,name=inside_ip_address" json:"inside_ip_address,omitempty"`
	InsidePort        uint16                   `binapi:"u16,name=inside_port" json:"inside_port,omitempty"`
	Protocol          uint16                   `binapi:"u16,name=protocol" json:"protocol,omitempty"`
	Flags             nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	LastHeard         uint64                   `binapi:"u64,name=last_heard" json:"last_heard,omitempty"`
	TotalBytes        uint64                   `binapi:"u64,name=total_bytes" json:"total_bytes,omitempty"`
	TotalPkts         uint32                   `binapi:"u32,name=total_pkts" json:"total_pkts,omitempty"`
	ExtHostAddress    ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_address" json:"ext_host_address,omitempty"`
	ExtHostPort       uint16                   `binapi:"u16,name=ext_host_port" json:"ext_host_port,omitempty"`
	ExtHostNatAddress ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_nat_address" json:"ext_host_nat_address,omitempty"`
	ExtHostNatPort    uint16                   `binapi:"u16,name=ext_host_nat_port" json:"ext_host_nat_port,omitempty"`
	IsTimedOut        bool                     `binapi:"bool,name=is_timed_out" json:"is_timed_out,omitempty"`
}

Nat44UserSessionV2Details defines message 'nat44_user_session_v2_details'.

func (*Nat44UserSessionV2Details) GetCrcString

func (*Nat44UserSessionV2Details) GetCrcString() string

func (*Nat44UserSessionV2Details) GetMessageName

func (*Nat44UserSessionV2Details) GetMessageName() string

func (*Nat44UserSessionV2Details) GetMessageType

func (*Nat44UserSessionV2Details) GetMessageType() api.MessageType

func (*Nat44UserSessionV2Details) Marshal

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

func (*Nat44UserSessionV2Details) Reset

func (m *Nat44UserSessionV2Details) Reset()

func (*Nat44UserSessionV2Details) Size

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

func (*Nat44UserSessionV2Details) Unmarshal

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

type Nat44UserSessionV2Dump

type Nat44UserSessionV2Dump struct {
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	VrfID     uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat44UserSessionV2Dump defines message 'nat44_user_session_v2_dump'.

func (*Nat44UserSessionV2Dump) GetCrcString

func (*Nat44UserSessionV2Dump) GetCrcString() string

func (*Nat44UserSessionV2Dump) GetMessageName

func (*Nat44UserSessionV2Dump) GetMessageName() string

func (*Nat44UserSessionV2Dump) GetMessageType

func (*Nat44UserSessionV2Dump) GetMessageType() api.MessageType

func (*Nat44UserSessionV2Dump) Marshal

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

func (*Nat44UserSessionV2Dump) Reset

func (m *Nat44UserSessionV2Dump) Reset()

func (*Nat44UserSessionV2Dump) Size

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

func (*Nat44UserSessionV2Dump) Unmarshal

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

type Nat44UserSessionV3Details added in v3.25.1

type Nat44UserSessionV3Details struct {
	OutsideIPAddress   ip_types.IP4Address      `binapi:"ip4_address,name=outside_ip_address" json:"outside_ip_address,omitempty"`
	OutsidePort        uint16                   `binapi:"u16,name=outside_port" json:"outside_port,omitempty"`
	InsideIPAddress    ip_types.IP4Address      `binapi:"ip4_address,name=inside_ip_address" json:"inside_ip_address,omitempty"`
	InsidePort         uint16                   `binapi:"u16,name=inside_port" json:"inside_port,omitempty"`
	Protocol           uint16                   `binapi:"u16,name=protocol" json:"protocol,omitempty"`
	Flags              nat_types.NatConfigFlags `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	LastHeard          uint64                   `binapi:"u64,name=last_heard" json:"last_heard,omitempty"`
	TimeSinceLastHeard uint64                   `binapi:"u64,name=time_since_last_heard" json:"time_since_last_heard,omitempty"`
	TotalBytes         uint64                   `binapi:"u64,name=total_bytes" json:"total_bytes,omitempty"`
	TotalPkts          uint32                   `binapi:"u32,name=total_pkts" json:"total_pkts,omitempty"`
	ExtHostAddress     ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_address" json:"ext_host_address,omitempty"`
	ExtHostPort        uint16                   `binapi:"u16,name=ext_host_port" json:"ext_host_port,omitempty"`
	ExtHostNatAddress  ip_types.IP4Address      `binapi:"ip4_address,name=ext_host_nat_address" json:"ext_host_nat_address,omitempty"`
	ExtHostNatPort     uint16                   `binapi:"u16,name=ext_host_nat_port" json:"ext_host_nat_port,omitempty"`
	IsTimedOut         bool                     `binapi:"bool,name=is_timed_out" json:"is_timed_out,omitempty"`
}

Nat44UserSessionV3Details defines message 'nat44_user_session_v3_details'.

func (*Nat44UserSessionV3Details) GetCrcString added in v3.25.1

func (*Nat44UserSessionV3Details) GetCrcString() string

func (*Nat44UserSessionV3Details) GetMessageName added in v3.25.1

func (*Nat44UserSessionV3Details) GetMessageName() string

func (*Nat44UserSessionV3Details) GetMessageType added in v3.25.1

func (*Nat44UserSessionV3Details) GetMessageType() api.MessageType

func (*Nat44UserSessionV3Details) Marshal added in v3.25.1

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

func (*Nat44UserSessionV3Details) Reset added in v3.25.1

func (m *Nat44UserSessionV3Details) Reset()

func (*Nat44UserSessionV3Details) Size added in v3.25.1

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

func (*Nat44UserSessionV3Details) Unmarshal added in v3.25.1

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

type Nat44UserSessionV3Dump added in v3.25.1

type Nat44UserSessionV3Dump struct {
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	VrfID     uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat44UserSessionV3Dump defines message 'nat44_user_session_v3_dump'.

func (*Nat44UserSessionV3Dump) GetCrcString added in v3.25.1

func (*Nat44UserSessionV3Dump) GetCrcString() string

func (*Nat44UserSessionV3Dump) GetMessageName added in v3.25.1

func (*Nat44UserSessionV3Dump) GetMessageName() string

func (*Nat44UserSessionV3Dump) GetMessageType added in v3.25.1

func (*Nat44UserSessionV3Dump) GetMessageType() api.MessageType

func (*Nat44UserSessionV3Dump) Marshal added in v3.25.1

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

func (*Nat44UserSessionV3Dump) Reset added in v3.25.1

func (m *Nat44UserSessionV3Dump) Reset()

func (*Nat44UserSessionV3Dump) Size added in v3.25.1

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

func (*Nat44UserSessionV3Dump) Unmarshal added in v3.25.1

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

type NatGetMssClamping

type NatGetMssClamping struct{}

NatGetMssClamping defines 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

func (*NatGetMssClamping) Marshal

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

func (*NatGetMssClamping) Reset

func (m *NatGetMssClamping) Reset()

func (*NatGetMssClamping) Size

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

func (*NatGetMssClamping) Unmarshal

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

type NatGetMssClampingReply

type NatGetMssClampingReply struct {
	Retval   int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	MssValue uint16 `binapi:"u16,name=mss_value" json:"mss_value,omitempty"`
	Enable   bool   `binapi:"bool,name=enable" json:"enable,omitempty"`
}

NatGetMssClampingReply defines 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

func (*NatGetMssClampingReply) Marshal

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

func (*NatGetMssClampingReply) Reset

func (m *NatGetMssClampingReply) Reset()

func (*NatGetMssClampingReply) Size

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

func (*NatGetMssClampingReply) Unmarshal

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

type NatIpfixEnableDisable

type NatIpfixEnableDisable struct {
	DomainID uint32 `binapi:"u32,name=domain_id" json:"domain_id,omitempty"`
	SrcPort  uint16 `binapi:"u16,name=src_port" json:"src_port,omitempty"`
	Enable   bool   `binapi:"bool,name=enable" json:"enable,omitempty"`
}

NatIpfixEnableDisable defines message 'nat_ipfix_enable_disable'. Deprecated: the message will be removed in the future versions

func (*NatIpfixEnableDisable) GetCrcString

func (*NatIpfixEnableDisable) GetCrcString() string

func (*NatIpfixEnableDisable) GetMessageName

func (*NatIpfixEnableDisable) GetMessageName() string

func (*NatIpfixEnableDisable) GetMessageType

func (*NatIpfixEnableDisable) GetMessageType() api.MessageType

func (*NatIpfixEnableDisable) Marshal

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

func (*NatIpfixEnableDisable) Reset

func (m *NatIpfixEnableDisable) Reset()

func (*NatIpfixEnableDisable) Size

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

func (*NatIpfixEnableDisable) Unmarshal

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

type NatIpfixEnableDisableReply

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

NatIpfixEnableDisableReply defines message 'nat_ipfix_enable_disable_reply'. Deprecated: the message will be removed in the future versions

func (*NatIpfixEnableDisableReply) GetCrcString

func (*NatIpfixEnableDisableReply) GetCrcString() string

func (*NatIpfixEnableDisableReply) GetMessageName

func (*NatIpfixEnableDisableReply) GetMessageName() string

func (*NatIpfixEnableDisableReply) GetMessageType

func (*NatIpfixEnableDisableReply) GetMessageType() api.MessageType

func (*NatIpfixEnableDisableReply) Marshal

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

func (*NatIpfixEnableDisableReply) Reset

func (m *NatIpfixEnableDisableReply) Reset()

func (*NatIpfixEnableDisableReply) Size

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

func (*NatIpfixEnableDisableReply) Unmarshal

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

type NatSetMssClamping

type NatSetMssClamping struct {
	MssValue uint16 `binapi:"u16,name=mss_value" json:"mss_value,omitempty"`
	Enable   bool   `binapi:"bool,name=enable" json:"enable,omitempty"`
}

NatSetMssClamping defines 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

func (*NatSetMssClamping) Marshal

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

func (*NatSetMssClamping) Reset

func (m *NatSetMssClamping) Reset()

func (*NatSetMssClamping) Size

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

func (*NatSetMssClamping) Unmarshal

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

type NatSetMssClampingReply

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

NatSetMssClampingReply defines 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

func (*NatSetMssClampingReply) Marshal

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

func (*NatSetMssClampingReply) Reset

func (m *NatSetMssClampingReply) Reset()

func (*NatSetMssClampingReply) Size

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

func (*NatSetMssClampingReply) Unmarshal

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

type NatSetTimeouts

type NatSetTimeouts struct {
	UDP            uint32 `binapi:"u32,name=udp" json:"udp,omitempty"`
	TCPEstablished uint32 `binapi:"u32,name=tcp_established" json:"tcp_established,omitempty"`
	TCPTransitory  uint32 `binapi:"u32,name=tcp_transitory" json:"tcp_transitory,omitempty"`
	ICMP           uint32 `binapi:"u32,name=icmp" json:"icmp,omitempty"`
}

NatSetTimeouts defines message 'nat_set_timeouts'. Deprecated: the message will be removed in the future versions

func (*NatSetTimeouts) GetCrcString

func (*NatSetTimeouts) GetCrcString() string

func (*NatSetTimeouts) GetMessageName

func (*NatSetTimeouts) GetMessageName() string

func (*NatSetTimeouts) GetMessageType

func (*NatSetTimeouts) GetMessageType() api.MessageType

func (*NatSetTimeouts) Marshal

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

func (*NatSetTimeouts) Reset

func (m *NatSetTimeouts) Reset()

func (*NatSetTimeouts) Size

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

func (*NatSetTimeouts) Unmarshal

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

type NatSetTimeoutsReply

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

NatSetTimeoutsReply defines message 'nat_set_timeouts_reply'. Deprecated: the message will be removed in the future versions

func (*NatSetTimeoutsReply) GetCrcString

func (*NatSetTimeoutsReply) GetCrcString() string

func (*NatSetTimeoutsReply) GetMessageName

func (*NatSetTimeoutsReply) GetMessageName() string

func (*NatSetTimeoutsReply) GetMessageType

func (*NatSetTimeoutsReply) GetMessageType() api.MessageType

func (*NatSetTimeoutsReply) Marshal

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

func (*NatSetTimeoutsReply) Reset

func (m *NatSetTimeoutsReply) Reset()

func (*NatSetTimeoutsReply) Size

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

func (*NatSetTimeoutsReply) Unmarshal

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

type NatSetWorkers

type NatSetWorkers struct {
	WorkerMask uint64 `binapi:"u64,name=worker_mask" json:"worker_mask,omitempty"`
}

NatSetWorkers defines 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

func (*NatSetWorkers) Marshal

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

func (*NatSetWorkers) Reset

func (m *NatSetWorkers) Reset()

func (*NatSetWorkers) Size

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

func (*NatSetWorkers) Unmarshal

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

type NatSetWorkersReply

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

NatSetWorkersReply defines 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

func (*NatSetWorkersReply) Marshal

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

func (*NatSetWorkersReply) Reset

func (m *NatSetWorkersReply) Reset()

func (*NatSetWorkersReply) Size

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

func (*NatSetWorkersReply) Unmarshal

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

type NatWorkerDetails

type NatWorkerDetails struct {
	WorkerIndex uint32 `binapi:"u32,name=worker_index" json:"worker_index,omitempty"`
	LcoreID     uint32 `binapi:"u32,name=lcore_id" json:"lcore_id,omitempty"`
	Name        string `binapi:"string[64],name=name" json:"name,omitempty"`
}

NatWorkerDetails defines 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

func (*NatWorkerDetails) Marshal

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

func (*NatWorkerDetails) Reset

func (m *NatWorkerDetails) Reset()

func (*NatWorkerDetails) Size

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

func (*NatWorkerDetails) Unmarshal

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

type NatWorkerDump

type NatWorkerDump struct{}

NatWorkerDump defines 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

func (*NatWorkerDump) Marshal

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

func (*NatWorkerDump) Reset

func (m *NatWorkerDump) Reset()

func (*NatWorkerDump) Size

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

func (*NatWorkerDump) Unmarshal

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

type RPCService

type RPCService interface {
	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)
	Nat44AddDelStaticMappingV2(ctx context.Context, in *Nat44AddDelStaticMappingV2) (*Nat44AddDelStaticMappingV2Reply, error)
	Nat44AddressDump(ctx context.Context, in *Nat44AddressDump) (RPCService_Nat44AddressDumpClient, error)
	Nat44DelSession(ctx context.Context, in *Nat44DelSession) (*Nat44DelSessionReply, error)
	Nat44EdAddDelOutputInterface(ctx context.Context, in *Nat44EdAddDelOutputInterface) (*Nat44EdAddDelOutputInterfaceReply, error)
	Nat44EdAddDelVrfRoute(ctx context.Context, in *Nat44EdAddDelVrfRoute) (*Nat44EdAddDelVrfRouteReply, error)
	Nat44EdAddDelVrfTable(ctx context.Context, in *Nat44EdAddDelVrfTable) (*Nat44EdAddDelVrfTableReply, error)
	Nat44EdOutputInterfaceGet(ctx context.Context, in *Nat44EdOutputInterfaceGet) (RPCService_Nat44EdOutputInterfaceGetClient, error)
	Nat44EdPluginEnableDisable(ctx context.Context, in *Nat44EdPluginEnableDisable) (*Nat44EdPluginEnableDisableReply, error)
	Nat44EdSetFqOptions(ctx context.Context, in *Nat44EdSetFqOptions) (*Nat44EdSetFqOptionsReply, error)
	Nat44EdShowFqOptions(ctx context.Context, in *Nat44EdShowFqOptions) (*Nat44EdShowFqOptionsReply, error)
	Nat44EdVrfTablesDump(ctx context.Context, in *Nat44EdVrfTablesDump) (RPCService_Nat44EdVrfTablesDumpClient, error)
	Nat44ForwardingEnableDisable(ctx context.Context, in *Nat44ForwardingEnableDisable) (*Nat44ForwardingEnableDisableReply, error)
	Nat44IdentityMappingDump(ctx context.Context, in *Nat44IdentityMappingDump) (RPCService_Nat44IdentityMappingDumpClient, error)
	Nat44InterfaceAddDelFeature(ctx context.Context, in *Nat44InterfaceAddDelFeature) (*Nat44InterfaceAddDelFeatureReply, error)
	Nat44InterfaceAddrDump(ctx context.Context, in *Nat44InterfaceAddrDump) (RPCService_Nat44InterfaceAddrDumpClient, error)
	Nat44InterfaceDump(ctx context.Context, in *Nat44InterfaceDump) (RPCService_Nat44InterfaceDumpClient, error)
	Nat44LbStaticMappingAddDelLocal(ctx context.Context, in *Nat44LbStaticMappingAddDelLocal) (*Nat44LbStaticMappingAddDelLocalReply, error)
	Nat44LbStaticMappingDump(ctx context.Context, in *Nat44LbStaticMappingDump) (RPCService_Nat44LbStaticMappingDumpClient, error)
	Nat44SetSessionLimit(ctx context.Context, in *Nat44SetSessionLimit) (*Nat44SetSessionLimitReply, error)
	Nat44ShowRunningConfig(ctx context.Context, in *Nat44ShowRunningConfig) (*Nat44ShowRunningConfigReply, error)
	Nat44StaticMappingDump(ctx context.Context, in *Nat44StaticMappingDump) (RPCService_Nat44StaticMappingDumpClient, error)
	Nat44UserDump(ctx context.Context, in *Nat44UserDump) (RPCService_Nat44UserDumpClient, error)
	Nat44UserSessionDump(ctx context.Context, in *Nat44UserSessionDump) (RPCService_Nat44UserSessionDumpClient, error)
	Nat44UserSessionV2Dump(ctx context.Context, in *Nat44UserSessionV2Dump) (RPCService_Nat44UserSessionV2DumpClient, error)
	Nat44UserSessionV3Dump(ctx context.Context, in *Nat44UserSessionV3Dump) (RPCService_Nat44UserSessionV3DumpClient, error)
	NatGetMssClamping(ctx context.Context, in *NatGetMssClamping) (*NatGetMssClampingReply, error)
	NatIpfixEnableDisable(ctx context.Context, in *NatIpfixEnableDisable) (*NatIpfixEnableDisableReply, error)
	NatSetMssClamping(ctx context.Context, in *NatSetMssClamping) (*NatSetMssClampingReply, error)
	NatSetTimeouts(ctx context.Context, in *NatSetTimeouts) (*NatSetTimeoutsReply, error)
	NatSetWorkers(ctx context.Context, in *NatSetWorkers) (*NatSetWorkersReply, error)
	NatWorkerDump(ctx context.Context, in *NatWorkerDump) (RPCService_NatWorkerDumpClient, error)
}

RPCService defines RPC service nat44_ed.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_Nat44AddressDumpClient

type RPCService_Nat44AddressDumpClient interface {
	Recv() (*Nat44AddressDetails, error)
	api.Stream
}

type RPCService_Nat44EdOutputInterfaceGetClient

type RPCService_Nat44EdOutputInterfaceGetClient interface {
	Recv() (*Nat44EdOutputInterfaceDetails, error)
	api.Stream
}

type RPCService_Nat44EdVrfTablesDumpClient added in v3.25.1

type RPCService_Nat44EdVrfTablesDumpClient interface {
	Recv() (*Nat44EdVrfTablesDetails, error)
	api.Stream
}

type RPCService_Nat44IdentityMappingDumpClient

type RPCService_Nat44IdentityMappingDumpClient interface {
	Recv() (*Nat44IdentityMappingDetails, error)
	api.Stream
}

type RPCService_Nat44InterfaceAddrDumpClient

type RPCService_Nat44InterfaceAddrDumpClient interface {
	Recv() (*Nat44InterfaceAddrDetails, error)
	api.Stream
}

type RPCService_Nat44InterfaceDumpClient

type RPCService_Nat44InterfaceDumpClient interface {
	Recv() (*Nat44InterfaceDetails, error)
	api.Stream
}

type RPCService_Nat44LbStaticMappingDumpClient

type RPCService_Nat44LbStaticMappingDumpClient interface {
	Recv() (*Nat44LbStaticMappingDetails, error)
	api.Stream
}

type RPCService_Nat44StaticMappingDumpClient

type RPCService_Nat44StaticMappingDumpClient interface {
	Recv() (*Nat44StaticMappingDetails, error)
	api.Stream
}

type RPCService_Nat44UserDumpClient

type RPCService_Nat44UserDumpClient interface {
	Recv() (*Nat44UserDetails, error)
	api.Stream
}

type RPCService_Nat44UserSessionDumpClient

type RPCService_Nat44UserSessionDumpClient interface {
	Recv() (*Nat44UserSessionDetails, error)
	api.Stream
}

type RPCService_Nat44UserSessionV2DumpClient

type RPCService_Nat44UserSessionV2DumpClient interface {
	Recv() (*Nat44UserSessionV2Details, error)
	api.Stream
}

type RPCService_Nat44UserSessionV3DumpClient added in v3.25.1

type RPCService_Nat44UserSessionV3DumpClient interface {
	Recv() (*Nat44UserSessionV3Details, error)
	api.Stream
}

type RPCService_NatWorkerDumpClient

type RPCService_NatWorkerDumpClient interface {
	Recv() (*NatWorkerDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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