nat

package
v3.3.0-beta Latest Latest
Warning

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

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

Documentation

Overview

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

Contents:

2 enums
1 struct

125 messages

Index

Constants

View Source
const (
	APIFile    = "nat"
	APIVersion = "5.2.0"
	VersionCrc = 0xabdcbb0d
)

Variables

View Source
var (
	NatConfigFlags_name = map[uint8]string{
		0:   "NAT_IS_NONE",
		1:   "NAT_IS_TWICE_NAT",
		2:   "NAT_IS_SELF_TWICE_NAT",
		4:   "NAT_IS_OUT2IN_ONLY",
		8:   "NAT_IS_ADDR_ONLY",
		16:  "NAT_IS_OUTSIDE",
		32:  "NAT_IS_INSIDE",
		64:  "NAT_IS_STATIC",
		128: "NAT_IS_EXT_HOST_VALID",
	}
	NatConfigFlags_value = map[string]uint8{
		"NAT_IS_NONE":           0,
		"NAT_IS_TWICE_NAT":      1,
		"NAT_IS_SELF_TWICE_NAT": 2,
		"NAT_IS_OUT2IN_ONLY":    4,
		"NAT_IS_ADDR_ONLY":      8,
		"NAT_IS_OUTSIDE":        16,
		"NAT_IS_INSIDE":         32,
		"NAT_IS_STATIC":         64,
		"NAT_IS_EXT_HOST_VALID": 128,
	}
)
View Source
var (
	NatLogLevel_name = map[uint8]string{
		0: "NAT_LOG_NONE",
		1: "NAT_LOG_ERROR",
		2: "NAT_LOG_WARNING",
		3: "NAT_LOG_NOTICE",
		4: "NAT_LOG_INFO",
		5: "NAT_LOG_DEBUG",
	}
	NatLogLevel_value = map[string]uint8{
		"NAT_LOG_NONE":    0,
		"NAT_LOG_ERROR":   1,
		"NAT_LOG_WARNING": 2,
		"NAT_LOG_NOTICE":  3,
		"NAT_LOG_INFO":    4,
		"NAT_LOG_DEBUG":   5,
	}
)

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

type Nat44AddressDetails struct {
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Flags     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 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          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 Nat44DelUser

type Nat44DelUser struct {
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	FibIndex  uint32              `binapi:"u32,name=fib_index" json:"fib_index,omitempty"`
}

Nat44DelUser defines message 'nat44_del_user'.

func (*Nat44DelUser) GetCrcString

func (*Nat44DelUser) GetCrcString() string

func (*Nat44DelUser) GetMessageName

func (*Nat44DelUser) GetMessageName() string

func (*Nat44DelUser) GetMessageType

func (*Nat44DelUser) GetMessageType() api.MessageType

func (*Nat44DelUser) Marshal

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

func (*Nat44DelUser) Reset

func (m *Nat44DelUser) Reset()

func (*Nat44DelUser) Size

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

func (*Nat44DelUser) Unmarshal

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

type Nat44DelUserReply

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

Nat44DelUserReply defines message 'nat44_del_user_reply'.

func (*Nat44DelUserReply) GetCrcString

func (*Nat44DelUserReply) GetCrcString() string

func (*Nat44DelUserReply) GetMessageName

func (*Nat44DelUserReply) GetMessageName() string

func (*Nat44DelUserReply) GetMessageType

func (*Nat44DelUserReply) GetMessageType() api.MessageType

func (*Nat44DelUserReply) Marshal

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

func (*Nat44DelUserReply) Reset

func (m *Nat44DelUserReply) Reset()

func (*Nat44DelUserReply) Size

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

func (*Nat44DelUserReply) Unmarshal

func (m *Nat44DelUserReply) 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'.

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'.

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 Nat44ForwardingIsEnabled

type Nat44ForwardingIsEnabled struct{}

Nat44ForwardingIsEnabled defines message 'nat44_forwarding_is_enabled'.

func (*Nat44ForwardingIsEnabled) GetCrcString

func (*Nat44ForwardingIsEnabled) GetCrcString() string

func (*Nat44ForwardingIsEnabled) GetMessageName

func (*Nat44ForwardingIsEnabled) GetMessageName() string

func (*Nat44ForwardingIsEnabled) GetMessageType

func (*Nat44ForwardingIsEnabled) GetMessageType() api.MessageType

func (*Nat44ForwardingIsEnabled) Marshal

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

func (*Nat44ForwardingIsEnabled) Reset

func (m *Nat44ForwardingIsEnabled) Reset()

func (*Nat44ForwardingIsEnabled) Size

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

func (*Nat44ForwardingIsEnabled) Unmarshal

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

type Nat44ForwardingIsEnabledReply

type Nat44ForwardingIsEnabledReply struct {
	Enabled bool `binapi:"bool,name=enabled" json:"enabled,omitempty"`
}

Nat44ForwardingIsEnabledReply defines message 'nat44_forwarding_is_enabled_reply'.

func (*Nat44ForwardingIsEnabledReply) GetCrcString

func (*Nat44ForwardingIsEnabledReply) GetCrcString() string

func (*Nat44ForwardingIsEnabledReply) GetMessageName

func (*Nat44ForwardingIsEnabledReply) GetMessageName() string

func (*Nat44ForwardingIsEnabledReply) GetMessageType

func (*Nat44ForwardingIsEnabledReply) GetMessageType() api.MessageType

func (*Nat44ForwardingIsEnabledReply) Marshal

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

func (*Nat44ForwardingIsEnabledReply) Reset

func (m *Nat44ForwardingIsEnabledReply) Reset()

func (*Nat44ForwardingIsEnabledReply) Size

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

func (*Nat44ForwardingIsEnabledReply) Unmarshal

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

type Nat44IdentityMappingDetails

type Nat44IdentityMappingDetails struct {
	Flags     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     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 Nat44InterfaceAddDelOutputFeature

type Nat44InterfaceAddDelOutputFeature struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags     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"`
}

Nat44InterfaceAddDelOutputFeature defines message 'nat44_interface_add_del_output_feature'.

func (*Nat44InterfaceAddDelOutputFeature) GetCrcString

func (*Nat44InterfaceAddDelOutputFeature) GetCrcString() string

func (*Nat44InterfaceAddDelOutputFeature) GetMessageName

func (*Nat44InterfaceAddDelOutputFeature) GetMessageName() string

func (*Nat44InterfaceAddDelOutputFeature) GetMessageType

func (*Nat44InterfaceAddDelOutputFeature) Marshal

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

func (*Nat44InterfaceAddDelOutputFeature) Reset

func (*Nat44InterfaceAddDelOutputFeature) Size

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

func (*Nat44InterfaceAddDelOutputFeature) Unmarshal

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

type Nat44InterfaceAddDelOutputFeatureReply

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

Nat44InterfaceAddDelOutputFeatureReply defines message 'nat44_interface_add_del_output_feature_reply'.

func (*Nat44InterfaceAddDelOutputFeatureReply) GetCrcString

func (*Nat44InterfaceAddDelOutputFeatureReply) GetMessageName

func (*Nat44InterfaceAddDelOutputFeatureReply) GetMessageType

func (*Nat44InterfaceAddDelOutputFeatureReply) Marshal

func (*Nat44InterfaceAddDelOutputFeatureReply) Reset

func (*Nat44InterfaceAddDelOutputFeatureReply) Size

func (*Nat44InterfaceAddDelOutputFeatureReply) Unmarshal

type Nat44InterfaceAddrDetails

type Nat44InterfaceAddrDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Flags     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     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 Nat44InterfaceOutputFeatureDetails

type Nat44InterfaceOutputFeatureDetails struct {
	Flags     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"`
}

Nat44InterfaceOutputFeatureDetails defines message 'nat44_interface_output_feature_details'.

func (*Nat44InterfaceOutputFeatureDetails) GetCrcString

func (*Nat44InterfaceOutputFeatureDetails) GetMessageName

func (*Nat44InterfaceOutputFeatureDetails) GetMessageName() string

func (*Nat44InterfaceOutputFeatureDetails) GetMessageType

func (*Nat44InterfaceOutputFeatureDetails) Marshal

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

func (*Nat44InterfaceOutputFeatureDetails) Reset

func (*Nat44InterfaceOutputFeatureDetails) Size

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

func (*Nat44InterfaceOutputFeatureDetails) Unmarshal

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

type Nat44InterfaceOutputFeatureDump

type Nat44InterfaceOutputFeatureDump struct{}

Nat44InterfaceOutputFeatureDump defines message 'nat44_interface_output_feature_dump'.

func (*Nat44InterfaceOutputFeatureDump) GetCrcString

func (*Nat44InterfaceOutputFeatureDump) GetCrcString() string

func (*Nat44InterfaceOutputFeatureDump) GetMessageName

func (*Nat44InterfaceOutputFeatureDump) GetMessageName() string

func (*Nat44InterfaceOutputFeatureDump) GetMessageType

func (*Nat44InterfaceOutputFeatureDump) Marshal

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

func (*Nat44InterfaceOutputFeatureDump) Reset

func (*Nat44InterfaceOutputFeatureDump) Size

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

func (*Nat44InterfaceOutputFeatureDump) Unmarshal

func (m *Nat44InterfaceOutputFeatureDump) 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        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 Nat44SessionCleanup

type Nat44SessionCleanup struct{}

Nat44SessionCleanup defines message 'nat44_session_cleanup'.

func (*Nat44SessionCleanup) GetCrcString

func (*Nat44SessionCleanup) GetCrcString() string

func (*Nat44SessionCleanup) GetMessageName

func (*Nat44SessionCleanup) GetMessageName() string

func (*Nat44SessionCleanup) GetMessageType

func (*Nat44SessionCleanup) GetMessageType() api.MessageType

func (*Nat44SessionCleanup) Marshal

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

func (*Nat44SessionCleanup) Reset

func (m *Nat44SessionCleanup) Reset()

func (*Nat44SessionCleanup) Size

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

func (*Nat44SessionCleanup) Unmarshal

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

type Nat44SessionCleanupReply

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

Nat44SessionCleanupReply defines message 'nat44_session_cleanup_reply'.

func (*Nat44SessionCleanupReply) GetCrcString

func (*Nat44SessionCleanupReply) GetCrcString() string

func (*Nat44SessionCleanupReply) GetMessageName

func (*Nat44SessionCleanupReply) GetMessageName() string

func (*Nat44SessionCleanupReply) GetMessageType

func (*Nat44SessionCleanupReply) GetMessageType() api.MessageType

func (*Nat44SessionCleanupReply) Marshal

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

func (*Nat44SessionCleanupReply) Reset

func (m *Nat44SessionCleanupReply) Reset()

func (*Nat44SessionCleanupReply) Size

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

func (*Nat44SessionCleanupReply) Unmarshal

func (m *Nat44SessionCleanupReply) 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 Nat44StaticMappingDetails

type Nat44StaticMappingDetails struct {
	Flags             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             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 Nat64AddDelInterface

type Nat64AddDelInterface struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags     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"`
}

Nat64AddDelInterface defines message 'nat64_add_del_interface'.

func (*Nat64AddDelInterface) GetCrcString

func (*Nat64AddDelInterface) GetCrcString() string

func (*Nat64AddDelInterface) GetMessageName

func (*Nat64AddDelInterface) GetMessageName() string

func (*Nat64AddDelInterface) GetMessageType

func (*Nat64AddDelInterface) GetMessageType() api.MessageType

func (*Nat64AddDelInterface) Marshal

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

func (*Nat64AddDelInterface) Reset

func (m *Nat64AddDelInterface) Reset()

func (*Nat64AddDelInterface) Size

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

func (*Nat64AddDelInterface) Unmarshal

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

type Nat64AddDelInterfaceAddr

type Nat64AddDelInterfaceAddr 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"`
}

Nat64AddDelInterfaceAddr defines message 'nat64_add_del_interface_addr'.

func (*Nat64AddDelInterfaceAddr) GetCrcString

func (*Nat64AddDelInterfaceAddr) GetCrcString() string

func (*Nat64AddDelInterfaceAddr) GetMessageName

func (*Nat64AddDelInterfaceAddr) GetMessageName() string

func (*Nat64AddDelInterfaceAddr) GetMessageType

func (*Nat64AddDelInterfaceAddr) GetMessageType() api.MessageType

func (*Nat64AddDelInterfaceAddr) Marshal

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

func (*Nat64AddDelInterfaceAddr) Reset

func (m *Nat64AddDelInterfaceAddr) Reset()

func (*Nat64AddDelInterfaceAddr) Size

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

func (*Nat64AddDelInterfaceAddr) Unmarshal

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

type Nat64AddDelInterfaceAddrReply

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

Nat64AddDelInterfaceAddrReply defines message 'nat64_add_del_interface_addr_reply'.

func (*Nat64AddDelInterfaceAddrReply) GetCrcString

func (*Nat64AddDelInterfaceAddrReply) GetCrcString() string

func (*Nat64AddDelInterfaceAddrReply) GetMessageName

func (*Nat64AddDelInterfaceAddrReply) GetMessageName() string

func (*Nat64AddDelInterfaceAddrReply) GetMessageType

func (*Nat64AddDelInterfaceAddrReply) GetMessageType() api.MessageType

func (*Nat64AddDelInterfaceAddrReply) Marshal

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

func (*Nat64AddDelInterfaceAddrReply) Reset

func (m *Nat64AddDelInterfaceAddrReply) Reset()

func (*Nat64AddDelInterfaceAddrReply) Size

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

func (*Nat64AddDelInterfaceAddrReply) Unmarshal

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

type Nat64AddDelInterfaceReply

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

Nat64AddDelInterfaceReply defines message 'nat64_add_del_interface_reply'.

func (*Nat64AddDelInterfaceReply) GetCrcString

func (*Nat64AddDelInterfaceReply) GetCrcString() string

func (*Nat64AddDelInterfaceReply) GetMessageName

func (*Nat64AddDelInterfaceReply) GetMessageName() string

func (*Nat64AddDelInterfaceReply) GetMessageType

func (*Nat64AddDelInterfaceReply) GetMessageType() api.MessageType

func (*Nat64AddDelInterfaceReply) Marshal

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

func (*Nat64AddDelInterfaceReply) Reset

func (m *Nat64AddDelInterfaceReply) Reset()

func (*Nat64AddDelInterfaceReply) Size

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

func (*Nat64AddDelInterfaceReply) Unmarshal

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

type Nat64AddDelPoolAddrRange

type Nat64AddDelPoolAddrRange struct {
	StartAddr ip_types.IP4Address `binapi:"ip4_address,name=start_addr" json:"start_addr,omitempty"`
	EndAddr   ip_types.IP4Address `binapi:"ip4_address,name=end_addr" json:"end_addr,omitempty"`
	VrfID     uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	IsAdd     bool                `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

Nat64AddDelPoolAddrRange defines message 'nat64_add_del_pool_addr_range'.

func (*Nat64AddDelPoolAddrRange) GetCrcString

func (*Nat64AddDelPoolAddrRange) GetCrcString() string

func (*Nat64AddDelPoolAddrRange) GetMessageName

func (*Nat64AddDelPoolAddrRange) GetMessageName() string

func (*Nat64AddDelPoolAddrRange) GetMessageType

func (*Nat64AddDelPoolAddrRange) GetMessageType() api.MessageType

func (*Nat64AddDelPoolAddrRange) Marshal

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

func (*Nat64AddDelPoolAddrRange) Reset

func (m *Nat64AddDelPoolAddrRange) Reset()

func (*Nat64AddDelPoolAddrRange) Size

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

func (*Nat64AddDelPoolAddrRange) Unmarshal

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

type Nat64AddDelPoolAddrRangeReply

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

Nat64AddDelPoolAddrRangeReply defines message 'nat64_add_del_pool_addr_range_reply'.

func (*Nat64AddDelPoolAddrRangeReply) GetCrcString

func (*Nat64AddDelPoolAddrRangeReply) GetCrcString() string

func (*Nat64AddDelPoolAddrRangeReply) GetMessageName

func (*Nat64AddDelPoolAddrRangeReply) GetMessageName() string

func (*Nat64AddDelPoolAddrRangeReply) GetMessageType

func (*Nat64AddDelPoolAddrRangeReply) GetMessageType() api.MessageType

func (*Nat64AddDelPoolAddrRangeReply) Marshal

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

func (*Nat64AddDelPoolAddrRangeReply) Reset

func (m *Nat64AddDelPoolAddrRangeReply) Reset()

func (*Nat64AddDelPoolAddrRangeReply) Size

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

func (*Nat64AddDelPoolAddrRangeReply) Unmarshal

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

type Nat64AddDelPrefix

type Nat64AddDelPrefix struct {
	Prefix ip_types.IP6Prefix `binapi:"ip6_prefix,name=prefix" json:"prefix,omitempty"`
	VrfID  uint32             `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	IsAdd  bool               `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

Nat64AddDelPrefix defines message 'nat64_add_del_prefix'.

func (*Nat64AddDelPrefix) GetCrcString

func (*Nat64AddDelPrefix) GetCrcString() string

func (*Nat64AddDelPrefix) GetMessageName

func (*Nat64AddDelPrefix) GetMessageName() string

func (*Nat64AddDelPrefix) GetMessageType

func (*Nat64AddDelPrefix) GetMessageType() api.MessageType

func (*Nat64AddDelPrefix) Marshal

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

func (*Nat64AddDelPrefix) Reset

func (m *Nat64AddDelPrefix) Reset()

func (*Nat64AddDelPrefix) Size

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

func (*Nat64AddDelPrefix) Unmarshal

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

type Nat64AddDelPrefixReply

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

Nat64AddDelPrefixReply defines message 'nat64_add_del_prefix_reply'.

func (*Nat64AddDelPrefixReply) GetCrcString

func (*Nat64AddDelPrefixReply) GetCrcString() string

func (*Nat64AddDelPrefixReply) GetMessageName

func (*Nat64AddDelPrefixReply) GetMessageName() string

func (*Nat64AddDelPrefixReply) GetMessageType

func (*Nat64AddDelPrefixReply) GetMessageType() api.MessageType

func (*Nat64AddDelPrefixReply) Marshal

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

func (*Nat64AddDelPrefixReply) Reset

func (m *Nat64AddDelPrefixReply) Reset()

func (*Nat64AddDelPrefixReply) Size

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

func (*Nat64AddDelPrefixReply) Unmarshal

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

type Nat64AddDelStaticBib

type Nat64AddDelStaticBib struct {
	IAddr ip_types.IP6Address `binapi:"ip6_address,name=i_addr" json:"i_addr,omitempty"`
	OAddr ip_types.IP4Address `binapi:"ip4_address,name=o_addr" json:"o_addr,omitempty"`
	IPort uint16              `binapi:"u16,name=i_port" json:"i_port,omitempty"`
	OPort uint16              `binapi:"u16,name=o_port" json:"o_port,omitempty"`
	VrfID uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Proto uint8               `binapi:"u8,name=proto" json:"proto,omitempty"`
	IsAdd bool                `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

Nat64AddDelStaticBib defines message 'nat64_add_del_static_bib'.

func (*Nat64AddDelStaticBib) GetCrcString

func (*Nat64AddDelStaticBib) GetCrcString() string

func (*Nat64AddDelStaticBib) GetMessageName

func (*Nat64AddDelStaticBib) GetMessageName() string

func (*Nat64AddDelStaticBib) GetMessageType

func (*Nat64AddDelStaticBib) GetMessageType() api.MessageType

func (*Nat64AddDelStaticBib) Marshal

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

func (*Nat64AddDelStaticBib) Reset

func (m *Nat64AddDelStaticBib) Reset()

func (*Nat64AddDelStaticBib) Size

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

func (*Nat64AddDelStaticBib) Unmarshal

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

type Nat64AddDelStaticBibReply

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

Nat64AddDelStaticBibReply defines message 'nat64_add_del_static_bib_reply'.

func (*Nat64AddDelStaticBibReply) GetCrcString

func (*Nat64AddDelStaticBibReply) GetCrcString() string

func (*Nat64AddDelStaticBibReply) GetMessageName

func (*Nat64AddDelStaticBibReply) GetMessageName() string

func (*Nat64AddDelStaticBibReply) GetMessageType

func (*Nat64AddDelStaticBibReply) GetMessageType() api.MessageType

func (*Nat64AddDelStaticBibReply) Marshal

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

func (*Nat64AddDelStaticBibReply) Reset

func (m *Nat64AddDelStaticBibReply) Reset()

func (*Nat64AddDelStaticBibReply) Size

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

func (*Nat64AddDelStaticBibReply) Unmarshal

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

type Nat64BibDetails

type Nat64BibDetails struct {
	IAddr  ip_types.IP6Address `binapi:"ip6_address,name=i_addr" json:"i_addr,omitempty"`
	OAddr  ip_types.IP4Address `binapi:"ip4_address,name=o_addr" json:"o_addr,omitempty"`
	IPort  uint16              `binapi:"u16,name=i_port" json:"i_port,omitempty"`
	OPort  uint16              `binapi:"u16,name=o_port" json:"o_port,omitempty"`
	VrfID  uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Proto  uint8               `binapi:"u8,name=proto" json:"proto,omitempty"`
	Flags  NatConfigFlags      `binapi:"nat_config_flags,name=flags" json:"flags,omitempty"`
	SesNum uint32              `binapi:"u32,name=ses_num" json:"ses_num,omitempty"`
}

Nat64BibDetails defines message 'nat64_bib_details'.

func (*Nat64BibDetails) GetCrcString

func (*Nat64BibDetails) GetCrcString() string

func (*Nat64BibDetails) GetMessageName

func (*Nat64BibDetails) GetMessageName() string

func (*Nat64BibDetails) GetMessageType

func (*Nat64BibDetails) GetMessageType() api.MessageType

func (*Nat64BibDetails) Marshal

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

func (*Nat64BibDetails) Reset

func (m *Nat64BibDetails) Reset()

func (*Nat64BibDetails) Size

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

func (*Nat64BibDetails) Unmarshal

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

type Nat64BibDump

type Nat64BibDump struct {
	Proto uint8 `binapi:"u8,name=proto" json:"proto,omitempty"`
}

Nat64BibDump defines message 'nat64_bib_dump'.

func (*Nat64BibDump) GetCrcString

func (*Nat64BibDump) GetCrcString() string

func (*Nat64BibDump) GetMessageName

func (*Nat64BibDump) GetMessageName() string

func (*Nat64BibDump) GetMessageType

func (*Nat64BibDump) GetMessageType() api.MessageType

func (*Nat64BibDump) Marshal

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

func (*Nat64BibDump) Reset

func (m *Nat64BibDump) Reset()

func (*Nat64BibDump) Size

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

func (*Nat64BibDump) Unmarshal

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

type Nat64InterfaceDetails

type Nat64InterfaceDetails struct {
	Flags     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"`
}

Nat64InterfaceDetails defines message 'nat64_interface_details'.

func (*Nat64InterfaceDetails) GetCrcString

func (*Nat64InterfaceDetails) GetCrcString() string

func (*Nat64InterfaceDetails) GetMessageName

func (*Nat64InterfaceDetails) GetMessageName() string

func (*Nat64InterfaceDetails) GetMessageType

func (*Nat64InterfaceDetails) GetMessageType() api.MessageType

func (*Nat64InterfaceDetails) Marshal

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

func (*Nat64InterfaceDetails) Reset

func (m *Nat64InterfaceDetails) Reset()

func (*Nat64InterfaceDetails) Size

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

func (*Nat64InterfaceDetails) Unmarshal

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

type Nat64InterfaceDump

type Nat64InterfaceDump struct{}

Nat64InterfaceDump defines message 'nat64_interface_dump'.

func (*Nat64InterfaceDump) GetCrcString

func (*Nat64InterfaceDump) GetCrcString() string

func (*Nat64InterfaceDump) GetMessageName

func (*Nat64InterfaceDump) GetMessageName() string

func (*Nat64InterfaceDump) GetMessageType

func (*Nat64InterfaceDump) GetMessageType() api.MessageType

func (*Nat64InterfaceDump) Marshal

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

func (*Nat64InterfaceDump) Reset

func (m *Nat64InterfaceDump) Reset()

func (*Nat64InterfaceDump) Size

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

func (*Nat64InterfaceDump) Unmarshal

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

type Nat64PoolAddrDetails

type Nat64PoolAddrDetails struct {
	Address ip_types.IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"`
	VrfID   uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat64PoolAddrDetails defines message 'nat64_pool_addr_details'.

func (*Nat64PoolAddrDetails) GetCrcString

func (*Nat64PoolAddrDetails) GetCrcString() string

func (*Nat64PoolAddrDetails) GetMessageName

func (*Nat64PoolAddrDetails) GetMessageName() string

func (*Nat64PoolAddrDetails) GetMessageType

func (*Nat64PoolAddrDetails) GetMessageType() api.MessageType

func (*Nat64PoolAddrDetails) Marshal

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

func (*Nat64PoolAddrDetails) Reset

func (m *Nat64PoolAddrDetails) Reset()

func (*Nat64PoolAddrDetails) Size

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

func (*Nat64PoolAddrDetails) Unmarshal

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

type Nat64PoolAddrDump

type Nat64PoolAddrDump struct{}

Nat64PoolAddrDump defines message 'nat64_pool_addr_dump'.

func (*Nat64PoolAddrDump) GetCrcString

func (*Nat64PoolAddrDump) GetCrcString() string

func (*Nat64PoolAddrDump) GetMessageName

func (*Nat64PoolAddrDump) GetMessageName() string

func (*Nat64PoolAddrDump) GetMessageType

func (*Nat64PoolAddrDump) GetMessageType() api.MessageType

func (*Nat64PoolAddrDump) Marshal

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

func (*Nat64PoolAddrDump) Reset

func (m *Nat64PoolAddrDump) Reset()

func (*Nat64PoolAddrDump) Size

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

func (*Nat64PoolAddrDump) Unmarshal

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

type Nat64PrefixDetails

type Nat64PrefixDetails struct {
	Prefix ip_types.IP6Prefix `binapi:"ip6_prefix,name=prefix" json:"prefix,omitempty"`
	VrfID  uint32             `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat64PrefixDetails defines message 'nat64_prefix_details'.

func (*Nat64PrefixDetails) GetCrcString

func (*Nat64PrefixDetails) GetCrcString() string

func (*Nat64PrefixDetails) GetMessageName

func (*Nat64PrefixDetails) GetMessageName() string

func (*Nat64PrefixDetails) GetMessageType

func (*Nat64PrefixDetails) GetMessageType() api.MessageType

func (*Nat64PrefixDetails) Marshal

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

func (*Nat64PrefixDetails) Reset

func (m *Nat64PrefixDetails) Reset()

func (*Nat64PrefixDetails) Size

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

func (*Nat64PrefixDetails) Unmarshal

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

type Nat64PrefixDump

type Nat64PrefixDump struct{}

Nat64PrefixDump defines message 'nat64_prefix_dump'.

func (*Nat64PrefixDump) GetCrcString

func (*Nat64PrefixDump) GetCrcString() string

func (*Nat64PrefixDump) GetMessageName

func (*Nat64PrefixDump) GetMessageName() string

func (*Nat64PrefixDump) GetMessageType

func (*Nat64PrefixDump) GetMessageType() api.MessageType

func (*Nat64PrefixDump) Marshal

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

func (*Nat64PrefixDump) Reset

func (m *Nat64PrefixDump) Reset()

func (*Nat64PrefixDump) Size

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

func (*Nat64PrefixDump) Unmarshal

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

type Nat64StDetails

type Nat64StDetails struct {
	IlAddr ip_types.IP6Address `binapi:"ip6_address,name=il_addr" json:"il_addr,omitempty"`
	OlAddr ip_types.IP4Address `binapi:"ip4_address,name=ol_addr" json:"ol_addr,omitempty"`
	IlPort uint16              `binapi:"u16,name=il_port" json:"il_port,omitempty"`
	OlPort uint16              `binapi:"u16,name=ol_port" json:"ol_port,omitempty"`
	IrAddr ip_types.IP6Address `binapi:"ip6_address,name=ir_addr" json:"ir_addr,omitempty"`
	OrAddr ip_types.IP4Address `binapi:"ip4_address,name=or_addr" json:"or_addr,omitempty"`
	RPort  uint16              `binapi:"u16,name=r_port" json:"r_port,omitempty"`
	VrfID  uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	Proto  uint8               `binapi:"u8,name=proto" json:"proto,omitempty"`
}

Nat64StDetails defines message 'nat64_st_details'.

func (*Nat64StDetails) GetCrcString

func (*Nat64StDetails) GetCrcString() string

func (*Nat64StDetails) GetMessageName

func (*Nat64StDetails) GetMessageName() string

func (*Nat64StDetails) GetMessageType

func (*Nat64StDetails) GetMessageType() api.MessageType

func (*Nat64StDetails) Marshal

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

func (*Nat64StDetails) Reset

func (m *Nat64StDetails) Reset()

func (*Nat64StDetails) Size

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

func (*Nat64StDetails) Unmarshal

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

type Nat64StDump

type Nat64StDump struct {
	Proto uint8 `binapi:"u8,name=proto" json:"proto,omitempty"`
}

Nat64StDump defines message 'nat64_st_dump'.

func (*Nat64StDump) GetCrcString

func (*Nat64StDump) GetCrcString() string

func (*Nat64StDump) GetMessageName

func (*Nat64StDump) GetMessageName() string

func (*Nat64StDump) GetMessageType

func (*Nat64StDump) GetMessageType() api.MessageType

func (*Nat64StDump) Marshal

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

func (*Nat64StDump) Reset

func (m *Nat64StDump) Reset()

func (*Nat64StDump) Size

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

func (*Nat64StDump) Unmarshal

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

type Nat66AddDelInterface

type Nat66AddDelInterface struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Flags     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"`
}

Nat66AddDelInterface defines message 'nat66_add_del_interface'.

func (*Nat66AddDelInterface) GetCrcString

func (*Nat66AddDelInterface) GetCrcString() string

func (*Nat66AddDelInterface) GetMessageName

func (*Nat66AddDelInterface) GetMessageName() string

func (*Nat66AddDelInterface) GetMessageType

func (*Nat66AddDelInterface) GetMessageType() api.MessageType

func (*Nat66AddDelInterface) Marshal

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

func (*Nat66AddDelInterface) Reset

func (m *Nat66AddDelInterface) Reset()

func (*Nat66AddDelInterface) Size

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

func (*Nat66AddDelInterface) Unmarshal

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

type Nat66AddDelInterfaceReply

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

Nat66AddDelInterfaceReply defines message 'nat66_add_del_interface_reply'.

func (*Nat66AddDelInterfaceReply) GetCrcString

func (*Nat66AddDelInterfaceReply) GetCrcString() string

func (*Nat66AddDelInterfaceReply) GetMessageName

func (*Nat66AddDelInterfaceReply) GetMessageName() string

func (*Nat66AddDelInterfaceReply) GetMessageType

func (*Nat66AddDelInterfaceReply) GetMessageType() api.MessageType

func (*Nat66AddDelInterfaceReply) Marshal

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

func (*Nat66AddDelInterfaceReply) Reset

func (m *Nat66AddDelInterfaceReply) Reset()

func (*Nat66AddDelInterfaceReply) Size

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

func (*Nat66AddDelInterfaceReply) Unmarshal

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

type Nat66AddDelStaticMapping

type Nat66AddDelStaticMapping struct {
	IsAdd             bool                `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	LocalIPAddress    ip_types.IP6Address `binapi:"ip6_address,name=local_ip_address" json:"local_ip_address,omitempty"`
	ExternalIPAddress ip_types.IP6Address `binapi:"ip6_address,name=external_ip_address" json:"external_ip_address,omitempty"`
	VrfID             uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

Nat66AddDelStaticMapping defines message 'nat66_add_del_static_mapping'.

func (*Nat66AddDelStaticMapping) GetCrcString

func (*Nat66AddDelStaticMapping) GetCrcString() string

func (*Nat66AddDelStaticMapping) GetMessageName

func (*Nat66AddDelStaticMapping) GetMessageName() string

func (*Nat66AddDelStaticMapping) GetMessageType

func (*Nat66AddDelStaticMapping) GetMessageType() api.MessageType

func (*Nat66AddDelStaticMapping) Marshal

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

func (*Nat66AddDelStaticMapping) Reset

func (m *Nat66AddDelStaticMapping) Reset()

func (*Nat66AddDelStaticMapping) Size

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

func (*Nat66AddDelStaticMapping) Unmarshal

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

type Nat66AddDelStaticMappingReply

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

Nat66AddDelStaticMappingReply defines message 'nat66_add_del_static_mapping_reply'.

func (*Nat66AddDelStaticMappingReply) GetCrcString

func (*Nat66AddDelStaticMappingReply) GetCrcString() string

func (*Nat66AddDelStaticMappingReply) GetMessageName

func (*Nat66AddDelStaticMappingReply) GetMessageName() string

func (*Nat66AddDelStaticMappingReply) GetMessageType

func (*Nat66AddDelStaticMappingReply) GetMessageType() api.MessageType

func (*Nat66AddDelStaticMappingReply) Marshal

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

func (*Nat66AddDelStaticMappingReply) Reset

func (m *Nat66AddDelStaticMappingReply) Reset()

func (*Nat66AddDelStaticMappingReply) Size

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

func (*Nat66AddDelStaticMappingReply) Unmarshal

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

type Nat66InterfaceDetails

type Nat66InterfaceDetails struct {
	Flags     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"`
}

Nat66InterfaceDetails defines message 'nat66_interface_details'.

func (*Nat66InterfaceDetails) GetCrcString

func (*Nat66InterfaceDetails) GetCrcString() string

func (*Nat66InterfaceDetails) GetMessageName

func (*Nat66InterfaceDetails) GetMessageName() string

func (*Nat66InterfaceDetails) GetMessageType

func (*Nat66InterfaceDetails) GetMessageType() api.MessageType

func (*Nat66InterfaceDetails) Marshal

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

func (*Nat66InterfaceDetails) Reset

func (m *Nat66InterfaceDetails) Reset()

func (*Nat66InterfaceDetails) Size

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

func (*Nat66InterfaceDetails) Unmarshal

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

type Nat66InterfaceDump

type Nat66InterfaceDump struct{}

Nat66InterfaceDump defines message 'nat66_interface_dump'.

func (*Nat66InterfaceDump) GetCrcString

func (*Nat66InterfaceDump) GetCrcString() string

func (*Nat66InterfaceDump) GetMessageName

func (*Nat66InterfaceDump) GetMessageName() string

func (*Nat66InterfaceDump) GetMessageType

func (*Nat66InterfaceDump) GetMessageType() api.MessageType

func (*Nat66InterfaceDump) Marshal

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

func (*Nat66InterfaceDump) Reset

func (m *Nat66InterfaceDump) Reset()

func (*Nat66InterfaceDump) Size

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

func (*Nat66InterfaceDump) Unmarshal

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

type Nat66StaticMappingDetails

type Nat66StaticMappingDetails struct {
	LocalIPAddress    ip_types.IP6Address `binapi:"ip6_address,name=local_ip_address" json:"local_ip_address,omitempty"`
	ExternalIPAddress ip_types.IP6Address `binapi:"ip6_address,name=external_ip_address" json:"external_ip_address,omitempty"`
	VrfID             uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	TotalBytes        uint64              `binapi:"u64,name=total_bytes" json:"total_bytes,omitempty"`
	TotalPkts         uint64              `binapi:"u64,name=total_pkts" json:"total_pkts,omitempty"`
}

Nat66StaticMappingDetails defines message 'nat66_static_mapping_details'.

func (*Nat66StaticMappingDetails) GetCrcString

func (*Nat66StaticMappingDetails) GetCrcString() string

func (*Nat66StaticMappingDetails) GetMessageName

func (*Nat66StaticMappingDetails) GetMessageName() string

func (*Nat66StaticMappingDetails) GetMessageType

func (*Nat66StaticMappingDetails) GetMessageType() api.MessageType

func (*Nat66StaticMappingDetails) Marshal

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

func (*Nat66StaticMappingDetails) Reset

func (m *Nat66StaticMappingDetails) Reset()

func (*Nat66StaticMappingDetails) Size

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

func (*Nat66StaticMappingDetails) Unmarshal

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

type Nat66StaticMappingDump

type Nat66StaticMappingDump struct{}

Nat66StaticMappingDump defines message 'nat66_static_mapping_dump'.

func (*Nat66StaticMappingDump) GetCrcString

func (*Nat66StaticMappingDump) GetCrcString() string

func (*Nat66StaticMappingDump) GetMessageName

func (*Nat66StaticMappingDump) GetMessageName() string

func (*Nat66StaticMappingDump) GetMessageType

func (*Nat66StaticMappingDump) GetMessageType() api.MessageType

func (*Nat66StaticMappingDump) Marshal

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

func (*Nat66StaticMappingDump) Reset

func (m *Nat66StaticMappingDump) Reset()

func (*Nat66StaticMappingDump) Size

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

func (*Nat66StaticMappingDump) Unmarshal

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

type NatConfigFlags

type NatConfigFlags uint8

NatConfigFlags defines enum 'nat_config_flags'.

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

func (NatConfigFlags) String

func (x NatConfigFlags) String() string

type NatControlPing

type NatControlPing struct{}

NatControlPing defines message 'nat_control_ping'.

func (*NatControlPing) GetCrcString

func (*NatControlPing) GetCrcString() string

func (*NatControlPing) GetMessageName

func (*NatControlPing) GetMessageName() string

func (*NatControlPing) GetMessageType

func (*NatControlPing) GetMessageType() api.MessageType

func (*NatControlPing) Marshal

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

func (*NatControlPing) Reset

func (m *NatControlPing) Reset()

func (*NatControlPing) Size

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

func (*NatControlPing) Unmarshal

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

type NatControlPingReply

type NatControlPingReply struct {
	Retval      int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"`
	VpePID      uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"`
}

NatControlPingReply defines message 'nat_control_ping_reply'.

func (*NatControlPingReply) GetCrcString

func (*NatControlPingReply) GetCrcString() string

func (*NatControlPingReply) GetMessageName

func (*NatControlPingReply) GetMessageName() string

func (*NatControlPingReply) GetMessageType

func (*NatControlPingReply) GetMessageType() api.MessageType

func (*NatControlPingReply) Marshal

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

func (*NatControlPingReply) Reset

func (m *NatControlPingReply) Reset()

func (*NatControlPingReply) Size

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

func (*NatControlPingReply) Unmarshal

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

type NatDetAddDelMap

type NatDetAddDelMap struct {
	IsAdd   bool                `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	InAddr  ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
	InPlen  uint8               `binapi:"u8,name=in_plen" json:"in_plen,omitempty"`
	OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"`
	OutPlen uint8               `binapi:"u8,name=out_plen" json:"out_plen,omitempty"`
}

NatDetAddDelMap defines message 'nat_det_add_del_map'.

func (*NatDetAddDelMap) GetCrcString

func (*NatDetAddDelMap) GetCrcString() string

func (*NatDetAddDelMap) GetMessageName

func (*NatDetAddDelMap) GetMessageName() string

func (*NatDetAddDelMap) GetMessageType

func (*NatDetAddDelMap) GetMessageType() api.MessageType

func (*NatDetAddDelMap) Marshal

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

func (*NatDetAddDelMap) Reset

func (m *NatDetAddDelMap) Reset()

func (*NatDetAddDelMap) Size

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

func (*NatDetAddDelMap) Unmarshal

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

type NatDetAddDelMapReply

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

NatDetAddDelMapReply defines message 'nat_det_add_del_map_reply'.

func (*NatDetAddDelMapReply) GetCrcString

func (*NatDetAddDelMapReply) GetCrcString() string

func (*NatDetAddDelMapReply) GetMessageName

func (*NatDetAddDelMapReply) GetMessageName() string

func (*NatDetAddDelMapReply) GetMessageType

func (*NatDetAddDelMapReply) GetMessageType() api.MessageType

func (*NatDetAddDelMapReply) Marshal

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

func (*NatDetAddDelMapReply) Reset

func (m *NatDetAddDelMapReply) Reset()

func (*NatDetAddDelMapReply) Size

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

func (*NatDetAddDelMapReply) Unmarshal

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

type NatDetCloseSessionIn

type NatDetCloseSessionIn struct {
	InAddr  ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
	InPort  uint16              `binapi:"u16,name=in_port" json:"in_port,omitempty"`
	ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"`
	ExtPort uint16              `binapi:"u16,name=ext_port" json:"ext_port,omitempty"`
}

NatDetCloseSessionIn defines message 'nat_det_close_session_in'.

func (*NatDetCloseSessionIn) GetCrcString

func (*NatDetCloseSessionIn) GetCrcString() string

func (*NatDetCloseSessionIn) GetMessageName

func (*NatDetCloseSessionIn) GetMessageName() string

func (*NatDetCloseSessionIn) GetMessageType

func (*NatDetCloseSessionIn) GetMessageType() api.MessageType

func (*NatDetCloseSessionIn) Marshal

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

func (*NatDetCloseSessionIn) Reset

func (m *NatDetCloseSessionIn) Reset()

func (*NatDetCloseSessionIn) Size

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

func (*NatDetCloseSessionIn) Unmarshal

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

type NatDetCloseSessionInReply

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

NatDetCloseSessionInReply defines message 'nat_det_close_session_in_reply'.

func (*NatDetCloseSessionInReply) GetCrcString

func (*NatDetCloseSessionInReply) GetCrcString() string

func (*NatDetCloseSessionInReply) GetMessageName

func (*NatDetCloseSessionInReply) GetMessageName() string

func (*NatDetCloseSessionInReply) GetMessageType

func (*NatDetCloseSessionInReply) GetMessageType() api.MessageType

func (*NatDetCloseSessionInReply) Marshal

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

func (*NatDetCloseSessionInReply) Reset

func (m *NatDetCloseSessionInReply) Reset()

func (*NatDetCloseSessionInReply) Size

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

func (*NatDetCloseSessionInReply) Unmarshal

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

type NatDetCloseSessionOut

type NatDetCloseSessionOut struct {
	OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"`
	OutPort uint16              `binapi:"u16,name=out_port" json:"out_port,omitempty"`
	ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"`
	ExtPort uint16              `binapi:"u16,name=ext_port" json:"ext_port,omitempty"`
}

NatDetCloseSessionOut defines message 'nat_det_close_session_out'.

func (*NatDetCloseSessionOut) GetCrcString

func (*NatDetCloseSessionOut) GetCrcString() string

func (*NatDetCloseSessionOut) GetMessageName

func (*NatDetCloseSessionOut) GetMessageName() string

func (*NatDetCloseSessionOut) GetMessageType

func (*NatDetCloseSessionOut) GetMessageType() api.MessageType

func (*NatDetCloseSessionOut) Marshal

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

func (*NatDetCloseSessionOut) Reset

func (m *NatDetCloseSessionOut) Reset()

func (*NatDetCloseSessionOut) Size

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

func (*NatDetCloseSessionOut) Unmarshal

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

type NatDetCloseSessionOutReply

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

NatDetCloseSessionOutReply defines message 'nat_det_close_session_out_reply'.

func (*NatDetCloseSessionOutReply) GetCrcString

func (*NatDetCloseSessionOutReply) GetCrcString() string

func (*NatDetCloseSessionOutReply) GetMessageName

func (*NatDetCloseSessionOutReply) GetMessageName() string

func (*NatDetCloseSessionOutReply) GetMessageType

func (*NatDetCloseSessionOutReply) GetMessageType() api.MessageType

func (*NatDetCloseSessionOutReply) Marshal

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

func (*NatDetCloseSessionOutReply) Reset

func (m *NatDetCloseSessionOutReply) Reset()

func (*NatDetCloseSessionOutReply) Size

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

func (*NatDetCloseSessionOutReply) Unmarshal

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

type NatDetForward

type NatDetForward struct {
	InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
}

NatDetForward defines message 'nat_det_forward'.

func (*NatDetForward) GetCrcString

func (*NatDetForward) GetCrcString() string

func (*NatDetForward) GetMessageName

func (*NatDetForward) GetMessageName() string

func (*NatDetForward) GetMessageType

func (*NatDetForward) GetMessageType() api.MessageType

func (*NatDetForward) Marshal

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

func (*NatDetForward) Reset

func (m *NatDetForward) Reset()

func (*NatDetForward) Size

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

func (*NatDetForward) Unmarshal

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

type NatDetForwardReply

type NatDetForwardReply struct {
	Retval    int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
	OutPortLo uint16              `binapi:"u16,name=out_port_lo" json:"out_port_lo,omitempty"`
	OutPortHi uint16              `binapi:"u16,name=out_port_hi" json:"out_port_hi,omitempty"`
	OutAddr   ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"`
}

NatDetForwardReply defines message 'nat_det_forward_reply'.

func (*NatDetForwardReply) GetCrcString

func (*NatDetForwardReply) GetCrcString() string

func (*NatDetForwardReply) GetMessageName

func (*NatDetForwardReply) GetMessageName() string

func (*NatDetForwardReply) GetMessageType

func (*NatDetForwardReply) GetMessageType() api.MessageType

func (*NatDetForwardReply) Marshal

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

func (*NatDetForwardReply) Reset

func (m *NatDetForwardReply) Reset()

func (*NatDetForwardReply) Size

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

func (*NatDetForwardReply) Unmarshal

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

type NatDetMapDetails

type NatDetMapDetails struct {
	InAddr       ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
	InPlen       uint8               `binapi:"u8,name=in_plen" json:"in_plen,omitempty"`
	OutAddr      ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"`
	OutPlen      uint8               `binapi:"u8,name=out_plen" json:"out_plen,omitempty"`
	SharingRatio uint32              `binapi:"u32,name=sharing_ratio" json:"sharing_ratio,omitempty"`
	PortsPerHost uint16              `binapi:"u16,name=ports_per_host" json:"ports_per_host,omitempty"`
	SesNum       uint32              `binapi:"u32,name=ses_num" json:"ses_num,omitempty"`
}

NatDetMapDetails defines message 'nat_det_map_details'.

func (*NatDetMapDetails) GetCrcString

func (*NatDetMapDetails) GetCrcString() string

func (*NatDetMapDetails) GetMessageName

func (*NatDetMapDetails) GetMessageName() string

func (*NatDetMapDetails) GetMessageType

func (*NatDetMapDetails) GetMessageType() api.MessageType

func (*NatDetMapDetails) Marshal

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

func (*NatDetMapDetails) Reset

func (m *NatDetMapDetails) Reset()

func (*NatDetMapDetails) Size

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

func (*NatDetMapDetails) Unmarshal

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

type NatDetMapDump

type NatDetMapDump struct{}

NatDetMapDump defines message 'nat_det_map_dump'.

func (*NatDetMapDump) GetCrcString

func (*NatDetMapDump) GetCrcString() string

func (*NatDetMapDump) GetMessageName

func (*NatDetMapDump) GetMessageName() string

func (*NatDetMapDump) GetMessageType

func (*NatDetMapDump) GetMessageType() api.MessageType

func (*NatDetMapDump) Marshal

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

func (*NatDetMapDump) Reset

func (m *NatDetMapDump) Reset()

func (*NatDetMapDump) Size

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

func (*NatDetMapDump) Unmarshal

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

type NatDetReverse

type NatDetReverse struct {
	OutPort uint16              `binapi:"u16,name=out_port" json:"out_port,omitempty"`
	OutAddr ip_types.IP4Address `binapi:"ip4_address,name=out_addr" json:"out_addr,omitempty"`
}

NatDetReverse defines message 'nat_det_reverse'.

func (*NatDetReverse) GetCrcString

func (*NatDetReverse) GetCrcString() string

func (*NatDetReverse) GetMessageName

func (*NatDetReverse) GetMessageName() string

func (*NatDetReverse) GetMessageType

func (*NatDetReverse) GetMessageType() api.MessageType

func (*NatDetReverse) Marshal

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

func (*NatDetReverse) Reset

func (m *NatDetReverse) Reset()

func (*NatDetReverse) Size

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

func (*NatDetReverse) Unmarshal

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

type NatDetReverseReply

type NatDetReverseReply struct {
	Retval int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
	InAddr ip_types.IP4Address `binapi:"ip4_address,name=in_addr" json:"in_addr,omitempty"`
}

NatDetReverseReply defines message 'nat_det_reverse_reply'.

func (*NatDetReverseReply) GetCrcString

func (*NatDetReverseReply) GetCrcString() string

func (*NatDetReverseReply) GetMessageName

func (*NatDetReverseReply) GetMessageName() string

func (*NatDetReverseReply) GetMessageType

func (*NatDetReverseReply) GetMessageType() api.MessageType

func (*NatDetReverseReply) Marshal

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

func (*NatDetReverseReply) Reset

func (m *NatDetReverseReply) Reset()

func (*NatDetReverseReply) Size

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

func (*NatDetReverseReply) Unmarshal

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

type NatDetSessionDetails

type NatDetSessionDetails struct {
	InPort  uint16              `binapi:"u16,name=in_port" json:"in_port,omitempty"`
	ExtAddr ip_types.IP4Address `binapi:"ip4_address,name=ext_addr" json:"ext_addr,omitempty"`
	ExtPort uint16              `binapi:"u16,name=ext_port" json:"ext_port,omitempty"`
	OutPort uint16              `binapi:"u16,name=out_port" json:"out_port,omitempty"`
	State   uint8               `binapi:"u8,name=state" json:"state,omitempty"`
	Expire  uint32              `binapi:"u32,name=expire" json:"expire,omitempty"`
}

NatDetSessionDetails defines message 'nat_det_session_details'.

func (*NatDetSessionDetails) GetCrcString

func (*NatDetSessionDetails) GetCrcString() string

func (*NatDetSessionDetails) GetMessageName

func (*NatDetSessionDetails) GetMessageName() string

func (*NatDetSessionDetails) GetMessageType

func (*NatDetSessionDetails) GetMessageType() api.MessageType

func (*NatDetSessionDetails) Marshal

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

func (*NatDetSessionDetails) Reset

func (m *NatDetSessionDetails) Reset()

func (*NatDetSessionDetails) Size

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

func (*NatDetSessionDetails) Unmarshal

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

type NatDetSessionDump

type NatDetSessionDump struct {
	UserAddr ip_types.IP4Address `binapi:"ip4_address,name=user_addr" json:"user_addr,omitempty"`
}

NatDetSessionDump defines message 'nat_det_session_dump'.

func (*NatDetSessionDump) GetCrcString

func (*NatDetSessionDump) GetCrcString() string

func (*NatDetSessionDump) GetMessageName

func (*NatDetSessionDump) GetMessageName() string

func (*NatDetSessionDump) GetMessageType

func (*NatDetSessionDump) GetMessageType() api.MessageType

func (*NatDetSessionDump) Marshal

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

func (*NatDetSessionDump) Reset

func (m *NatDetSessionDump) Reset()

func (*NatDetSessionDump) Size

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

func (*NatDetSessionDump) Unmarshal

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

type NatGetAddrAndPortAllocAlg

type NatGetAddrAndPortAllocAlg struct{}

NatGetAddrAndPortAllocAlg defines message 'nat_get_addr_and_port_alloc_alg'.

func (*NatGetAddrAndPortAllocAlg) GetCrcString

func (*NatGetAddrAndPortAllocAlg) GetCrcString() string

func (*NatGetAddrAndPortAllocAlg) GetMessageName

func (*NatGetAddrAndPortAllocAlg) GetMessageName() string

func (*NatGetAddrAndPortAllocAlg) GetMessageType

func (*NatGetAddrAndPortAllocAlg) GetMessageType() api.MessageType

func (*NatGetAddrAndPortAllocAlg) Marshal

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

func (*NatGetAddrAndPortAllocAlg) Reset

func (m *NatGetAddrAndPortAllocAlg) Reset()

func (*NatGetAddrAndPortAllocAlg) Size

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

func (*NatGetAddrAndPortAllocAlg) Unmarshal

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

type NatGetAddrAndPortAllocAlgReply

type NatGetAddrAndPortAllocAlgReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	Alg        uint8  `binapi:"u8,name=alg" json:"alg,omitempty"`
	PsidOffset uint8  `binapi:"u8,name=psid_offset" json:"psid_offset,omitempty"`
	PsidLength uint8  `binapi:"u8,name=psid_length" json:"psid_length,omitempty"`
	Psid       uint16 `binapi:"u16,name=psid" json:"psid,omitempty"`
	StartPort  uint16 `binapi:"u16,name=start_port" json:"start_port,omitempty"`
	EndPort    uint16 `binapi:"u16,name=end_port" json:"end_port,omitempty"`
}

NatGetAddrAndPortAllocAlgReply defines message 'nat_get_addr_and_port_alloc_alg_reply'.

func (*NatGetAddrAndPortAllocAlgReply) GetCrcString

func (*NatGetAddrAndPortAllocAlgReply) GetCrcString() string

func (*NatGetAddrAndPortAllocAlgReply) GetMessageName

func (*NatGetAddrAndPortAllocAlgReply) GetMessageName() string

func (*NatGetAddrAndPortAllocAlgReply) GetMessageType

func (*NatGetAddrAndPortAllocAlgReply) Marshal

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

func (*NatGetAddrAndPortAllocAlgReply) Reset

func (m *NatGetAddrAndPortAllocAlgReply) Reset()

func (*NatGetAddrAndPortAllocAlgReply) Size

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

func (*NatGetAddrAndPortAllocAlgReply) Unmarshal

func (m *NatGetAddrAndPortAllocAlgReply) 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 NatGetTimeouts

type NatGetTimeouts struct{}

NatGetTimeouts defines message 'nat_get_timeouts'.

func (*NatGetTimeouts) GetCrcString

func (*NatGetTimeouts) GetCrcString() string

func (*NatGetTimeouts) GetMessageName

func (*NatGetTimeouts) GetMessageName() string

func (*NatGetTimeouts) GetMessageType

func (*NatGetTimeouts) GetMessageType() api.MessageType

func (*NatGetTimeouts) Marshal

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

func (*NatGetTimeouts) Reset

func (m *NatGetTimeouts) Reset()

func (*NatGetTimeouts) Size

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

func (*NatGetTimeouts) Unmarshal

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

type NatGetTimeoutsReply

type NatGetTimeoutsReply struct {
	Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	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"`
}

NatGetTimeoutsReply defines message 'nat_get_timeouts_reply'.

func (*NatGetTimeoutsReply) GetCrcString

func (*NatGetTimeoutsReply) GetCrcString() string

func (*NatGetTimeoutsReply) GetMessageName

func (*NatGetTimeoutsReply) GetMessageName() string

func (*NatGetTimeoutsReply) GetMessageType

func (*NatGetTimeoutsReply) GetMessageType() api.MessageType

func (*NatGetTimeoutsReply) Marshal

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

func (*NatGetTimeoutsReply) Reset

func (m *NatGetTimeoutsReply) Reset()

func (*NatGetTimeoutsReply) Size

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

func (*NatGetTimeoutsReply) Unmarshal

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

type NatHaFlush

type NatHaFlush struct{}

NatHaFlush defines message 'nat_ha_flush'.

func (*NatHaFlush) GetCrcString

func (*NatHaFlush) GetCrcString() string

func (*NatHaFlush) GetMessageName

func (*NatHaFlush) GetMessageName() string

func (*NatHaFlush) GetMessageType

func (*NatHaFlush) GetMessageType() api.MessageType

func (*NatHaFlush) Marshal

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

func (*NatHaFlush) Reset

func (m *NatHaFlush) Reset()

func (*NatHaFlush) Size

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

func (*NatHaFlush) Unmarshal

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

type NatHaFlushReply

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

NatHaFlushReply defines message 'nat_ha_flush_reply'.

func (*NatHaFlushReply) GetCrcString

func (*NatHaFlushReply) GetCrcString() string

func (*NatHaFlushReply) GetMessageName

func (*NatHaFlushReply) GetMessageName() string

func (*NatHaFlushReply) GetMessageType

func (*NatHaFlushReply) GetMessageType() api.MessageType

func (*NatHaFlushReply) Marshal

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

func (*NatHaFlushReply) Reset

func (m *NatHaFlushReply) Reset()

func (*NatHaFlushReply) Size

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

func (*NatHaFlushReply) Unmarshal

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

type NatHaGetFailover

type NatHaGetFailover struct{}

NatHaGetFailover defines message 'nat_ha_get_failover'.

func (*NatHaGetFailover) GetCrcString

func (*NatHaGetFailover) GetCrcString() string

func (*NatHaGetFailover) GetMessageName

func (*NatHaGetFailover) GetMessageName() string

func (*NatHaGetFailover) GetMessageType

func (*NatHaGetFailover) GetMessageType() api.MessageType

func (*NatHaGetFailover) Marshal

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

func (*NatHaGetFailover) Reset

func (m *NatHaGetFailover) Reset()

func (*NatHaGetFailover) Size

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

func (*NatHaGetFailover) Unmarshal

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

type NatHaGetFailoverReply

type NatHaGetFailoverReply struct {
	Retval                 int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
	IPAddress              ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Port                   uint16              `binapi:"u16,name=port" json:"port,omitempty"`
	SessionRefreshInterval uint32              `binapi:"u32,name=session_refresh_interval" json:"session_refresh_interval,omitempty"`
}

NatHaGetFailoverReply defines message 'nat_ha_get_failover_reply'.

func (*NatHaGetFailoverReply) GetCrcString

func (*NatHaGetFailoverReply) GetCrcString() string

func (*NatHaGetFailoverReply) GetMessageName

func (*NatHaGetFailoverReply) GetMessageName() string

func (*NatHaGetFailoverReply) GetMessageType

func (*NatHaGetFailoverReply) GetMessageType() api.MessageType

func (*NatHaGetFailoverReply) Marshal

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

func (*NatHaGetFailoverReply) Reset

func (m *NatHaGetFailoverReply) Reset()

func (*NatHaGetFailoverReply) Size

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

func (*NatHaGetFailoverReply) Unmarshal

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

type NatHaGetListener

type NatHaGetListener struct{}

NatHaGetListener defines message 'nat_ha_get_listener'.

func (*NatHaGetListener) GetCrcString

func (*NatHaGetListener) GetCrcString() string

func (*NatHaGetListener) GetMessageName

func (*NatHaGetListener) GetMessageName() string

func (*NatHaGetListener) GetMessageType

func (*NatHaGetListener) GetMessageType() api.MessageType

func (*NatHaGetListener) Marshal

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

func (*NatHaGetListener) Reset

func (m *NatHaGetListener) Reset()

func (*NatHaGetListener) Size

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

func (*NatHaGetListener) Unmarshal

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

type NatHaGetListenerReply

type NatHaGetListenerReply struct {
	Retval    int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Port      uint16              `binapi:"u16,name=port" json:"port,omitempty"`
	PathMtu   uint32              `binapi:"u32,name=path_mtu" json:"path_mtu,omitempty"`
}

NatHaGetListenerReply defines message 'nat_ha_get_listener_reply'.

func (*NatHaGetListenerReply) GetCrcString

func (*NatHaGetListenerReply) GetCrcString() string

func (*NatHaGetListenerReply) GetMessageName

func (*NatHaGetListenerReply) GetMessageName() string

func (*NatHaGetListenerReply) GetMessageType

func (*NatHaGetListenerReply) GetMessageType() api.MessageType

func (*NatHaGetListenerReply) Marshal

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

func (*NatHaGetListenerReply) Reset

func (m *NatHaGetListenerReply) Reset()

func (*NatHaGetListenerReply) Size

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

func (*NatHaGetListenerReply) Unmarshal

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

type NatHaResync

type NatHaResync struct {
	WantResyncEvent uint8  `binapi:"u8,name=want_resync_event" json:"want_resync_event,omitempty"`
	PID             uint32 `binapi:"u32,name=pid" json:"pid,omitempty"`
}

NatHaResync defines message 'nat_ha_resync'.

func (*NatHaResync) GetCrcString

func (*NatHaResync) GetCrcString() string

func (*NatHaResync) GetMessageName

func (*NatHaResync) GetMessageName() string

func (*NatHaResync) GetMessageType

func (*NatHaResync) GetMessageType() api.MessageType

func (*NatHaResync) Marshal

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

func (*NatHaResync) Reset

func (m *NatHaResync) Reset()

func (*NatHaResync) Size

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

func (*NatHaResync) Unmarshal

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

type NatHaResyncCompletedEvent

type NatHaResyncCompletedEvent struct {
	PID         uint32 `binapi:"u32,name=pid" json:"pid,omitempty"`
	MissedCount uint32 `binapi:"u32,name=missed_count" json:"missed_count,omitempty"`
}

NatHaResyncCompletedEvent defines message 'nat_ha_resync_completed_event'.

func (*NatHaResyncCompletedEvent) GetCrcString

func (*NatHaResyncCompletedEvent) GetCrcString() string

func (*NatHaResyncCompletedEvent) GetMessageName

func (*NatHaResyncCompletedEvent) GetMessageName() string

func (*NatHaResyncCompletedEvent) GetMessageType

func (*NatHaResyncCompletedEvent) GetMessageType() api.MessageType

func (*NatHaResyncCompletedEvent) Marshal

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

func (*NatHaResyncCompletedEvent) Reset

func (m *NatHaResyncCompletedEvent) Reset()

func (*NatHaResyncCompletedEvent) Size

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

func (*NatHaResyncCompletedEvent) Unmarshal

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

type NatHaResyncReply

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

NatHaResyncReply defines message 'nat_ha_resync_reply'.

func (*NatHaResyncReply) GetCrcString

func (*NatHaResyncReply) GetCrcString() string

func (*NatHaResyncReply) GetMessageName

func (*NatHaResyncReply) GetMessageName() string

func (*NatHaResyncReply) GetMessageType

func (*NatHaResyncReply) GetMessageType() api.MessageType

func (*NatHaResyncReply) Marshal

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

func (*NatHaResyncReply) Reset

func (m *NatHaResyncReply) Reset()

func (*NatHaResyncReply) Size

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

func (*NatHaResyncReply) Unmarshal

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

type NatHaSetFailover

type NatHaSetFailover struct {
	IPAddress              ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Port                   uint16              `binapi:"u16,name=port" json:"port,omitempty"`
	SessionRefreshInterval uint32              `binapi:"u32,name=session_refresh_interval" json:"session_refresh_interval,omitempty"`
}

NatHaSetFailover defines message 'nat_ha_set_failover'.

func (*NatHaSetFailover) GetCrcString

func (*NatHaSetFailover) GetCrcString() string

func (*NatHaSetFailover) GetMessageName

func (*NatHaSetFailover) GetMessageName() string

func (*NatHaSetFailover) GetMessageType

func (*NatHaSetFailover) GetMessageType() api.MessageType

func (*NatHaSetFailover) Marshal

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

func (*NatHaSetFailover) Reset

func (m *NatHaSetFailover) Reset()

func (*NatHaSetFailover) Size

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

func (*NatHaSetFailover) Unmarshal

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

type NatHaSetFailoverReply

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

NatHaSetFailoverReply defines message 'nat_ha_set_failover_reply'.

func (*NatHaSetFailoverReply) GetCrcString

func (*NatHaSetFailoverReply) GetCrcString() string

func (*NatHaSetFailoverReply) GetMessageName

func (*NatHaSetFailoverReply) GetMessageName() string

func (*NatHaSetFailoverReply) GetMessageType

func (*NatHaSetFailoverReply) GetMessageType() api.MessageType

func (*NatHaSetFailoverReply) Marshal

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

func (*NatHaSetFailoverReply) Reset

func (m *NatHaSetFailoverReply) Reset()

func (*NatHaSetFailoverReply) Size

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

func (*NatHaSetFailoverReply) Unmarshal

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

type NatHaSetListener

type NatHaSetListener struct {
	IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
	Port      uint16              `binapi:"u16,name=port" json:"port,omitempty"`
	PathMtu   uint32              `binapi:"u32,name=path_mtu" json:"path_mtu,omitempty"`
}

NatHaSetListener defines message 'nat_ha_set_listener'.

func (*NatHaSetListener) GetCrcString

func (*NatHaSetListener) GetCrcString() string

func (*NatHaSetListener) GetMessageName

func (*NatHaSetListener) GetMessageName() string

func (*NatHaSetListener) GetMessageType

func (*NatHaSetListener) GetMessageType() api.MessageType

func (*NatHaSetListener) Marshal

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

func (*NatHaSetListener) Reset

func (m *NatHaSetListener) Reset()

func (*NatHaSetListener) Size

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

func (*NatHaSetListener) Unmarshal

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

type NatHaSetListenerReply

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

NatHaSetListenerReply defines message 'nat_ha_set_listener_reply'.

func (*NatHaSetListenerReply) GetCrcString

func (*NatHaSetListenerReply) GetCrcString() string

func (*NatHaSetListenerReply) GetMessageName

func (*NatHaSetListenerReply) GetMessageName() string

func (*NatHaSetListenerReply) GetMessageType

func (*NatHaSetListenerReply) GetMessageType() api.MessageType

func (*NatHaSetListenerReply) Marshal

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

func (*NatHaSetListenerReply) Reset

func (m *NatHaSetListenerReply) Reset()

func (*NatHaSetListenerReply) Size

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

func (*NatHaSetListenerReply) Unmarshal

func (m *NatHaSetListenerReply) 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'.

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'.

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 NatLogLevel

type NatLogLevel uint8

NatLogLevel defines enum 'nat_log_level'.

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

func (NatLogLevel) String

func (x NatLogLevel) String() string

type NatSetAddrAndPortAllocAlg

type NatSetAddrAndPortAllocAlg struct {
	Alg        uint8  `binapi:"u8,name=alg" json:"alg,omitempty"`
	PsidOffset uint8  `binapi:"u8,name=psid_offset" json:"psid_offset,omitempty"`
	PsidLength uint8  `binapi:"u8,name=psid_length" json:"psid_length,omitempty"`
	Psid       uint16 `binapi:"u16,name=psid" json:"psid,omitempty"`
	StartPort  uint16 `binapi:"u16,name=start_port" json:"start_port,omitempty"`
	EndPort    uint16 `binapi:"u16,name=end_port" json:"end_port,omitempty"`
}

NatSetAddrAndPortAllocAlg defines message 'nat_set_addr_and_port_alloc_alg'.

func (*NatSetAddrAndPortAllocAlg) GetCrcString

func (*NatSetAddrAndPortAllocAlg) GetCrcString() string

func (*NatSetAddrAndPortAllocAlg) GetMessageName

func (*NatSetAddrAndPortAllocAlg) GetMessageName() string

func (*NatSetAddrAndPortAllocAlg) GetMessageType

func (*NatSetAddrAndPortAllocAlg) GetMessageType() api.MessageType

func (*NatSetAddrAndPortAllocAlg) Marshal

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

func (*NatSetAddrAndPortAllocAlg) Reset

func (m *NatSetAddrAndPortAllocAlg) Reset()

func (*NatSetAddrAndPortAllocAlg) Size

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

func (*NatSetAddrAndPortAllocAlg) Unmarshal

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

type NatSetAddrAndPortAllocAlgReply

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

NatSetAddrAndPortAllocAlgReply defines message 'nat_set_addr_and_port_alloc_alg_reply'.

func (*NatSetAddrAndPortAllocAlgReply) GetCrcString

func (*NatSetAddrAndPortAllocAlgReply) GetCrcString() string

func (*NatSetAddrAndPortAllocAlgReply) GetMessageName

func (*NatSetAddrAndPortAllocAlgReply) GetMessageName() string

func (*NatSetAddrAndPortAllocAlgReply) GetMessageType

func (*NatSetAddrAndPortAllocAlgReply) Marshal

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

func (*NatSetAddrAndPortAllocAlgReply) Reset

func (m *NatSetAddrAndPortAllocAlgReply) Reset()

func (*NatSetAddrAndPortAllocAlgReply) Size

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

func (*NatSetAddrAndPortAllocAlgReply) Unmarshal

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

type NatSetLogLevel

type NatSetLogLevel struct {
	LogLevel NatLogLevel `binapi:"nat_log_level,name=log_level" json:"log_level,omitempty"`
}

NatSetLogLevel defines message 'nat_set_log_level'.

func (*NatSetLogLevel) GetCrcString

func (*NatSetLogLevel) GetCrcString() string

func (*NatSetLogLevel) GetMessageName

func (*NatSetLogLevel) GetMessageName() string

func (*NatSetLogLevel) GetMessageType

func (*NatSetLogLevel) GetMessageType() api.MessageType

func (*NatSetLogLevel) Marshal

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

func (*NatSetLogLevel) Reset

func (m *NatSetLogLevel) Reset()

func (*NatSetLogLevel) Size

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

func (*NatSetLogLevel) Unmarshal

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

type NatSetLogLevelReply

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

NatSetLogLevelReply defines message 'nat_set_log_level_reply'.

func (*NatSetLogLevelReply) GetCrcString

func (*NatSetLogLevelReply) GetCrcString() string

func (*NatSetLogLevelReply) GetMessageName

func (*NatSetLogLevelReply) GetMessageName() string

func (*NatSetLogLevelReply) GetMessageType

func (*NatSetLogLevelReply) GetMessageType() api.MessageType

func (*NatSetLogLevelReply) Marshal

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

func (*NatSetLogLevelReply) Reset

func (m *NatSetLogLevelReply) Reset()

func (*NatSetLogLevelReply) Size

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

func (*NatSetLogLevelReply) Unmarshal

func (m *NatSetLogLevelReply) 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'.

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'.

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 NatShowConfig

type NatShowConfig struct{}

NatShowConfig defines message 'nat_show_config'.

func (*NatShowConfig) GetCrcString

func (*NatShowConfig) GetCrcString() string

func (*NatShowConfig) GetMessageName

func (*NatShowConfig) GetMessageName() string

func (*NatShowConfig) GetMessageType

func (*NatShowConfig) GetMessageType() api.MessageType

func (*NatShowConfig) Marshal

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

func (*NatShowConfig) Reset

func (m *NatShowConfig) Reset()

func (*NatShowConfig) Size

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

func (*NatShowConfig) Unmarshal

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

type NatShowConfigReply

type NatShowConfigReply struct {
	Retval                          int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StaticMappingOnly               bool   `binapi:"bool,name=static_mapping_only" json:"static_mapping_only,omitempty"`
	StaticMappingConnectionTracking bool   `binapi:"bool,name=static_mapping_connection_tracking" json:"static_mapping_connection_tracking,omitempty"`
	Deterministic                   bool   `binapi:"bool,name=deterministic" json:"deterministic,omitempty"`
	EndpointDependent               bool   `binapi:"bool,name=endpoint_dependent" json:"endpoint_dependent,omitempty"`
	Out2inDpo                       bool   `binapi:"bool,name=out2in_dpo" json:"out2in_dpo,omitempty"`
	DsliteCe                        bool   `binapi:"bool,name=dslite_ce" json:"dslite_ce,omitempty"`
	TranslationBuckets              uint32 `binapi:"u32,name=translation_buckets" json:"translation_buckets,omitempty"`
	TranslationMemorySize           uint32 `binapi:"u32,name=translation_memory_size" json:"translation_memory_size,omitempty"`
	UserBuckets                     uint32 `binapi:"u32,name=user_buckets" json:"user_buckets,omitempty"`
	UserMemorySize                  uint64 `binapi:"u64,name=user_memory_size" json:"user_memory_size,omitempty"`
	MaxTranslationsPerUser          uint32 `binapi:"u32,name=max_translations_per_user" json:"max_translations_per_user,omitempty"`
	OutsideVrfID                    uint32 `binapi:"u32,name=outside_vrf_id" json:"outside_vrf_id,omitempty"`
	InsideVrfID                     uint32 `binapi:"u32,name=inside_vrf_id" json:"inside_vrf_id,omitempty"`
	Nat64BibBuckets                 uint32 `binapi:"u32,name=nat64_bib_buckets" json:"nat64_bib_buckets,omitempty"`
	Nat64BibMemorySize              uint64 `binapi:"u64,name=nat64_bib_memory_size" json:"nat64_bib_memory_size,omitempty"`
	Nat64StBuckets                  uint32 `binapi:"u32,name=nat64_st_buckets" json:"nat64_st_buckets,omitempty"`
	Nat64StMemorySize               uint64 `binapi:"u64,name=nat64_st_memory_size" json:"nat64_st_memory_size,omitempty"`
}

NatShowConfigReply defines message 'nat_show_config_reply'.

func (*NatShowConfigReply) GetCrcString

func (*NatShowConfigReply) GetCrcString() string

func (*NatShowConfigReply) GetMessageName

func (*NatShowConfigReply) GetMessageName() string

func (*NatShowConfigReply) GetMessageType

func (*NatShowConfigReply) GetMessageType() api.MessageType

func (*NatShowConfigReply) Marshal

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

func (*NatShowConfigReply) Reset

func (m *NatShowConfigReply) Reset()

func (*NatShowConfigReply) Size

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

func (*NatShowConfigReply) Unmarshal

func (m *NatShowConfigReply) 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)
	Nat44AddressDump(ctx context.Context, in *Nat44AddressDump) (RPCService_Nat44AddressDumpClient, error)
	Nat44DelSession(ctx context.Context, in *Nat44DelSession) (*Nat44DelSessionReply, error)
	Nat44DelUser(ctx context.Context, in *Nat44DelUser) (*Nat44DelUserReply, error)
	Nat44ForwardingEnableDisable(ctx context.Context, in *Nat44ForwardingEnableDisable) (*Nat44ForwardingEnableDisableReply, error)
	Nat44ForwardingIsEnabled(ctx context.Context, in *Nat44ForwardingIsEnabled) (*Nat44ForwardingIsEnabledReply, error)
	Nat44IdentityMappingDump(ctx context.Context, in *Nat44IdentityMappingDump) (RPCService_Nat44IdentityMappingDumpClient, error)
	Nat44InterfaceAddDelFeature(ctx context.Context, in *Nat44InterfaceAddDelFeature) (*Nat44InterfaceAddDelFeatureReply, error)
	Nat44InterfaceAddDelOutputFeature(ctx context.Context, in *Nat44InterfaceAddDelOutputFeature) (*Nat44InterfaceAddDelOutputFeatureReply, error)
	Nat44InterfaceAddrDump(ctx context.Context, in *Nat44InterfaceAddrDump) (RPCService_Nat44InterfaceAddrDumpClient, error)
	Nat44InterfaceDump(ctx context.Context, in *Nat44InterfaceDump) (RPCService_Nat44InterfaceDumpClient, error)
	Nat44InterfaceOutputFeatureDump(ctx context.Context, in *Nat44InterfaceOutputFeatureDump) (RPCService_Nat44InterfaceOutputFeatureDumpClient, error)
	Nat44LbStaticMappingAddDelLocal(ctx context.Context, in *Nat44LbStaticMappingAddDelLocal) (*Nat44LbStaticMappingAddDelLocalReply, error)
	Nat44LbStaticMappingDump(ctx context.Context, in *Nat44LbStaticMappingDump) (RPCService_Nat44LbStaticMappingDumpClient, error)
	Nat44SessionCleanup(ctx context.Context, in *Nat44SessionCleanup) (*Nat44SessionCleanupReply, error)
	Nat44SetSessionLimit(ctx context.Context, in *Nat44SetSessionLimit) (*Nat44SetSessionLimitReply, 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)
	Nat64AddDelInterface(ctx context.Context, in *Nat64AddDelInterface) (*Nat64AddDelInterfaceReply, error)
	Nat64AddDelInterfaceAddr(ctx context.Context, in *Nat64AddDelInterfaceAddr) (*Nat64AddDelInterfaceAddrReply, error)
	Nat64AddDelPoolAddrRange(ctx context.Context, in *Nat64AddDelPoolAddrRange) (*Nat64AddDelPoolAddrRangeReply, error)
	Nat64AddDelPrefix(ctx context.Context, in *Nat64AddDelPrefix) (*Nat64AddDelPrefixReply, error)
	Nat64AddDelStaticBib(ctx context.Context, in *Nat64AddDelStaticBib) (*Nat64AddDelStaticBibReply, error)
	Nat64BibDump(ctx context.Context, in *Nat64BibDump) (RPCService_Nat64BibDumpClient, error)
	Nat64InterfaceDump(ctx context.Context, in *Nat64InterfaceDump) (RPCService_Nat64InterfaceDumpClient, error)
	Nat64PoolAddrDump(ctx context.Context, in *Nat64PoolAddrDump) (RPCService_Nat64PoolAddrDumpClient, error)
	Nat64PrefixDump(ctx context.Context, in *Nat64PrefixDump) (RPCService_Nat64PrefixDumpClient, error)
	Nat64StDump(ctx context.Context, in *Nat64StDump) (RPCService_Nat64StDumpClient, error)
	Nat66AddDelInterface(ctx context.Context, in *Nat66AddDelInterface) (*Nat66AddDelInterfaceReply, error)
	Nat66AddDelStaticMapping(ctx context.Context, in *Nat66AddDelStaticMapping) (*Nat66AddDelStaticMappingReply, error)
	Nat66InterfaceDump(ctx context.Context, in *Nat66InterfaceDump) (RPCService_Nat66InterfaceDumpClient, error)
	Nat66StaticMappingDump(ctx context.Context, in *Nat66StaticMappingDump) (RPCService_Nat66StaticMappingDumpClient, error)
	NatControlPing(ctx context.Context, in *NatControlPing) (*NatControlPingReply, error)
	NatDetAddDelMap(ctx context.Context, in *NatDetAddDelMap) (*NatDetAddDelMapReply, error)
	NatDetCloseSessionIn(ctx context.Context, in *NatDetCloseSessionIn) (*NatDetCloseSessionInReply, error)
	NatDetCloseSessionOut(ctx context.Context, in *NatDetCloseSessionOut) (*NatDetCloseSessionOutReply, error)
	NatDetForward(ctx context.Context, in *NatDetForward) (*NatDetForwardReply, error)
	NatDetMapDump(ctx context.Context, in *NatDetMapDump) (RPCService_NatDetMapDumpClient, error)
	NatDetReverse(ctx context.Context, in *NatDetReverse) (*NatDetReverseReply, error)
	NatDetSessionDump(ctx context.Context, in *NatDetSessionDump) (RPCService_NatDetSessionDumpClient, error)
	NatGetAddrAndPortAllocAlg(ctx context.Context, in *NatGetAddrAndPortAllocAlg) (*NatGetAddrAndPortAllocAlgReply, error)
	NatGetMssClamping(ctx context.Context, in *NatGetMssClamping) (*NatGetMssClampingReply, error)
	NatGetTimeouts(ctx context.Context, in *NatGetTimeouts) (*NatGetTimeoutsReply, error)
	NatHaFlush(ctx context.Context, in *NatHaFlush) (*NatHaFlushReply, error)
	NatHaGetFailover(ctx context.Context, in *NatHaGetFailover) (*NatHaGetFailoverReply, error)
	NatHaGetListener(ctx context.Context, in *NatHaGetListener) (*NatHaGetListenerReply, error)
	NatHaResync(ctx context.Context, in *NatHaResync) (*NatHaResyncReply, error)
	NatHaSetFailover(ctx context.Context, in *NatHaSetFailover) (*NatHaSetFailoverReply, error)
	NatHaSetListener(ctx context.Context, in *NatHaSetListener) (*NatHaSetListenerReply, error)
	NatIpfixEnableDisable(ctx context.Context, in *NatIpfixEnableDisable) (*NatIpfixEnableDisableReply, error)
	NatSetAddrAndPortAllocAlg(ctx context.Context, in *NatSetAddrAndPortAllocAlg) (*NatSetAddrAndPortAllocAlgReply, error)
	NatSetLogLevel(ctx context.Context, in *NatSetLogLevel) (*NatSetLogLevelReply, error)
	NatSetMssClamping(ctx context.Context, in *NatSetMssClamping) (*NatSetMssClampingReply, error)
	NatSetTimeouts(ctx context.Context, in *NatSetTimeouts) (*NatSetTimeoutsReply, error)
	NatSetWorkers(ctx context.Context, in *NatSetWorkers) (*NatSetWorkersReply, error)
	NatShowConfig(ctx context.Context, in *NatShowConfig) (*NatShowConfigReply, error)
	NatWorkerDump(ctx context.Context, in *NatWorkerDump) (RPCService_NatWorkerDumpClient, error)
}

RPCService defines RPC service nat.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_Nat44AddressDumpClient

type RPCService_Nat44AddressDumpClient interface {
	Recv() (*Nat44AddressDetails, 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_Nat44InterfaceOutputFeatureDumpClient

type RPCService_Nat44InterfaceOutputFeatureDumpClient interface {
	Recv() (*Nat44InterfaceOutputFeatureDetails, 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_Nat64BibDumpClient

type RPCService_Nat64BibDumpClient interface {
	Recv() (*Nat64BibDetails, error)
	api.Stream
}

type RPCService_Nat64InterfaceDumpClient

type RPCService_Nat64InterfaceDumpClient interface {
	Recv() (*Nat64InterfaceDetails, error)
	api.Stream
}

type RPCService_Nat64PoolAddrDumpClient

type RPCService_Nat64PoolAddrDumpClient interface {
	Recv() (*Nat64PoolAddrDetails, error)
	api.Stream
}

type RPCService_Nat64PrefixDumpClient

type RPCService_Nat64PrefixDumpClient interface {
	Recv() (*Nat64PrefixDetails, error)
	api.Stream
}

type RPCService_Nat64StDumpClient

type RPCService_Nat64StDumpClient interface {
	Recv() (*Nat64StDetails, error)
	api.Stream
}

type RPCService_Nat66InterfaceDumpClient

type RPCService_Nat66InterfaceDumpClient interface {
	Recv() (*Nat66InterfaceDetails, error)
	api.Stream
}

type RPCService_Nat66StaticMappingDumpClient

type RPCService_Nat66StaticMappingDumpClient interface {
	Recv() (*Nat66StaticMappingDetails, error)
	api.Stream
}

type RPCService_NatDetMapDumpClient

type RPCService_NatDetMapDumpClient interface {
	Recv() (*NatDetMapDetails, error)
	api.Stream
}

type RPCService_NatDetSessionDumpClient

type RPCService_NatDetSessionDumpClient interface {
	Recv() (*NatDetSessionDetails, 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