ip

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

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

Contents: - 2 enums - 7 structs - 91 messages

Index

Constants

View Source
const (
	APIFile    = "ip"
	APIVersion = "3.2.0"
	VersionCrc = 0x41299705
)

Variables

View Source
var (
	IPReassType_name = map[uint32]string{
		0: "IP_REASS_TYPE_FULL",
		1: "IP_REASS_TYPE_SHALLOW_VIRTUAL",
	}
	IPReassType_value = map[string]uint32{
		"IP_REASS_TYPE_FULL":            0,
		"IP_REASS_TYPE_SHALLOW_VIRTUAL": 1,
	}
)
View Source
var (
	IPFlowHashConfig_name = map[uint32]string{
		1:   "IP_API_FLOW_HASH_SRC_IP",
		2:   "IP_API_FLOW_HASH_DST_IP",
		4:   "IP_API_FLOW_HASH_SRC_PORT",
		8:   "IP_API_FLOW_HASH_DST_PORT",
		16:  "IP_API_FLOW_HASH_PROTO",
		32:  "IP_API_FLOW_HASH_REVERSE",
		64:  "IP_API_FLOW_HASH_SYMETRIC",
		128: "IP_API_FLOW_HASH_FLOW_LABEL",
	}
	IPFlowHashConfig_value = map[string]uint32{
		"IP_API_FLOW_HASH_SRC_IP":     1,
		"IP_API_FLOW_HASH_DST_IP":     2,
		"IP_API_FLOW_HASH_SRC_PORT":   4,
		"IP_API_FLOW_HASH_DST_PORT":   8,
		"IP_API_FLOW_HASH_PROTO":      16,
		"IP_API_FLOW_HASH_REVERSE":    32,
		"IP_API_FLOW_HASH_SYMETRIC":   64,
		"IP_API_FLOW_HASH_FLOW_LABEL": 128,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AddDelIPPuntRedirectV2

type AddDelIPPuntRedirectV2 struct {
	IsAdd bool           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Punt  PuntRedirectV2 `binapi:"punt_redirect_v2,name=punt" json:"punt,omitempty"`
}

AddDelIPPuntRedirectV2 defines message 'add_del_ip_punt_redirect_v2'.

func (*AddDelIPPuntRedirectV2) GetCrcString

func (*AddDelIPPuntRedirectV2) GetCrcString() string

func (*AddDelIPPuntRedirectV2) GetMessageName

func (*AddDelIPPuntRedirectV2) GetMessageName() string

func (*AddDelIPPuntRedirectV2) GetMessageType

func (*AddDelIPPuntRedirectV2) GetMessageType() api.MessageType

func (*AddDelIPPuntRedirectV2) Marshal

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

func (*AddDelIPPuntRedirectV2) Reset

func (m *AddDelIPPuntRedirectV2) Reset()

func (*AddDelIPPuntRedirectV2) Size

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

func (*AddDelIPPuntRedirectV2) Unmarshal

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

type AddDelIPPuntRedirectV2Reply

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

AddDelIPPuntRedirectV2Reply defines message 'add_del_ip_punt_redirect_v2_reply'.

func (*AddDelIPPuntRedirectV2Reply) GetCrcString

func (*AddDelIPPuntRedirectV2Reply) GetCrcString() string

func (*AddDelIPPuntRedirectV2Reply) GetMessageName

func (*AddDelIPPuntRedirectV2Reply) GetMessageName() string

func (*AddDelIPPuntRedirectV2Reply) GetMessageType

func (*AddDelIPPuntRedirectV2Reply) GetMessageType() api.MessageType

func (*AddDelIPPuntRedirectV2Reply) Marshal

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

func (*AddDelIPPuntRedirectV2Reply) Reset

func (m *AddDelIPPuntRedirectV2Reply) Reset()

func (*AddDelIPPuntRedirectV2Reply) Size

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

func (*AddDelIPPuntRedirectV2Reply) Unmarshal

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

type IPAddressDetails

type IPAddressDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Prefix    ip_types.AddressWithPrefix     `binapi:"address_with_prefix,name=prefix" json:"prefix,omitempty"`
}

IPAddressDetails defines message 'ip_address_details'.

func (*IPAddressDetails) GetCrcString

func (*IPAddressDetails) GetCrcString() string

func (*IPAddressDetails) GetMessageName

func (*IPAddressDetails) GetMessageName() string

func (*IPAddressDetails) GetMessageType

func (*IPAddressDetails) GetMessageType() api.MessageType

func (*IPAddressDetails) Marshal

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

func (*IPAddressDetails) Reset

func (m *IPAddressDetails) Reset()

func (*IPAddressDetails) Size

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

func (*IPAddressDetails) Unmarshal

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

type IPAddressDump

type IPAddressDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

IPAddressDump defines message 'ip_address_dump'.

func (*IPAddressDump) GetCrcString

func (*IPAddressDump) GetCrcString() string

func (*IPAddressDump) GetMessageName

func (*IPAddressDump) GetMessageName() string

func (*IPAddressDump) GetMessageType

func (*IPAddressDump) GetMessageType() api.MessageType

func (*IPAddressDump) Marshal

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

func (*IPAddressDump) Reset

func (m *IPAddressDump) Reset()

func (*IPAddressDump) Size

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

func (*IPAddressDump) Unmarshal

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

type IPContainerProxyAddDel

type IPContainerProxyAddDel struct {
	Pfx       ip_types.Prefix                `binapi:"prefix,name=pfx" json:"pfx,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsAdd     bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}

IPContainerProxyAddDel defines message 'ip_container_proxy_add_del'.

func (*IPContainerProxyAddDel) GetCrcString

func (*IPContainerProxyAddDel) GetCrcString() string

func (*IPContainerProxyAddDel) GetMessageName

func (*IPContainerProxyAddDel) GetMessageName() string

func (*IPContainerProxyAddDel) GetMessageType

func (*IPContainerProxyAddDel) GetMessageType() api.MessageType

func (*IPContainerProxyAddDel) Marshal

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

func (*IPContainerProxyAddDel) Reset

func (m *IPContainerProxyAddDel) Reset()

func (*IPContainerProxyAddDel) Size

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

func (*IPContainerProxyAddDel) Unmarshal

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

type IPContainerProxyAddDelReply

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

IPContainerProxyAddDelReply defines message 'ip_container_proxy_add_del_reply'.

func (*IPContainerProxyAddDelReply) GetCrcString

func (*IPContainerProxyAddDelReply) GetCrcString() string

func (*IPContainerProxyAddDelReply) GetMessageName

func (*IPContainerProxyAddDelReply) GetMessageName() string

func (*IPContainerProxyAddDelReply) GetMessageType

func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType

func (*IPContainerProxyAddDelReply) Marshal

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

func (*IPContainerProxyAddDelReply) Reset

func (m *IPContainerProxyAddDelReply) Reset()

func (*IPContainerProxyAddDelReply) Size

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

func (*IPContainerProxyAddDelReply) Unmarshal

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

type IPContainerProxyDetails

type IPContainerProxyDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Prefix    ip_types.Prefix                `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
}

IPContainerProxyDetails defines message 'ip_container_proxy_details'.

func (*IPContainerProxyDetails) GetCrcString

func (*IPContainerProxyDetails) GetCrcString() string

func (*IPContainerProxyDetails) GetMessageName

func (*IPContainerProxyDetails) GetMessageName() string

func (*IPContainerProxyDetails) GetMessageType

func (*IPContainerProxyDetails) GetMessageType() api.MessageType

func (*IPContainerProxyDetails) Marshal

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

func (*IPContainerProxyDetails) Reset

func (m *IPContainerProxyDetails) Reset()

func (*IPContainerProxyDetails) Size

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

func (*IPContainerProxyDetails) Unmarshal

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

type IPContainerProxyDump

type IPContainerProxyDump struct{}

IPContainerProxyDump defines message 'ip_container_proxy_dump'.

func (*IPContainerProxyDump) GetCrcString

func (*IPContainerProxyDump) GetCrcString() string

func (*IPContainerProxyDump) GetMessageName

func (*IPContainerProxyDump) GetMessageName() string

func (*IPContainerProxyDump) GetMessageType

func (*IPContainerProxyDump) GetMessageType() api.MessageType

func (*IPContainerProxyDump) Marshal

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

func (*IPContainerProxyDump) Reset

func (m *IPContainerProxyDump) Reset()

func (*IPContainerProxyDump) Size

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

func (*IPContainerProxyDump) Unmarshal

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

type IPDetails

type IPDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

IPDetails defines message 'ip_details'.

func (*IPDetails) GetCrcString

func (*IPDetails) GetCrcString() string

func (*IPDetails) GetMessageName

func (*IPDetails) GetMessageName() string

func (*IPDetails) GetMessageType

func (*IPDetails) GetMessageType() api.MessageType

func (*IPDetails) Marshal

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

func (*IPDetails) Reset

func (m *IPDetails) Reset()

func (*IPDetails) Size

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

func (*IPDetails) Unmarshal

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

type IPDump

type IPDump struct {
	IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

IPDump defines message 'ip_dump'.

func (*IPDump) GetCrcString

func (*IPDump) GetCrcString() string

func (*IPDump) GetMessageName

func (*IPDump) GetMessageName() string

func (*IPDump) GetMessageType

func (*IPDump) GetMessageType() api.MessageType

func (*IPDump) Marshal

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

func (*IPDump) Reset

func (m *IPDump) Reset()

func (*IPDump) Size

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

func (*IPDump) Unmarshal

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

type IPFlowHashConfig

type IPFlowHashConfig uint32

IPFlowHashConfig defines enum 'ip_flow_hash_config'.

const (
	IP_API_FLOW_HASH_SRC_IP     IPFlowHashConfig = 1
	IP_API_FLOW_HASH_DST_IP     IPFlowHashConfig = 2
	IP_API_FLOW_HASH_SRC_PORT   IPFlowHashConfig = 4
	IP_API_FLOW_HASH_DST_PORT   IPFlowHashConfig = 8
	IP_API_FLOW_HASH_PROTO      IPFlowHashConfig = 16
	IP_API_FLOW_HASH_REVERSE    IPFlowHashConfig = 32
	IP_API_FLOW_HASH_SYMETRIC   IPFlowHashConfig = 64
	IP_API_FLOW_HASH_FLOW_LABEL IPFlowHashConfig = 128
)

func (IPFlowHashConfig) String

func (x IPFlowHashConfig) String() string

type IPLocalReassEnableDisable

type IPLocalReassEnableDisable struct {
	EnableIP4 bool `binapi:"bool,name=enable_ip4" json:"enable_ip4,omitempty"`
	EnableIP6 bool `binapi:"bool,name=enable_ip6" json:"enable_ip6,omitempty"`
}

IPLocalReassEnableDisable defines message 'ip_local_reass_enable_disable'.

func (*IPLocalReassEnableDisable) GetCrcString

func (*IPLocalReassEnableDisable) GetCrcString() string

func (*IPLocalReassEnableDisable) GetMessageName

func (*IPLocalReassEnableDisable) GetMessageName() string

func (*IPLocalReassEnableDisable) GetMessageType

func (*IPLocalReassEnableDisable) GetMessageType() api.MessageType

func (*IPLocalReassEnableDisable) Marshal

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

func (*IPLocalReassEnableDisable) Reset

func (m *IPLocalReassEnableDisable) Reset()

func (*IPLocalReassEnableDisable) Size

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

func (*IPLocalReassEnableDisable) Unmarshal

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

type IPLocalReassEnableDisableReply

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

IPLocalReassEnableDisableReply defines message 'ip_local_reass_enable_disable_reply'.

func (*IPLocalReassEnableDisableReply) GetCrcString

func (*IPLocalReassEnableDisableReply) GetCrcString() string

func (*IPLocalReassEnableDisableReply) GetMessageName

func (*IPLocalReassEnableDisableReply) GetMessageName() string

func (*IPLocalReassEnableDisableReply) GetMessageType

func (*IPLocalReassEnableDisableReply) Marshal

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

func (*IPLocalReassEnableDisableReply) Reset

func (m *IPLocalReassEnableDisableReply) Reset()

func (*IPLocalReassEnableDisableReply) Size

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

func (*IPLocalReassEnableDisableReply) Unmarshal

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

type IPLocalReassGet

type IPLocalReassGet struct{}

IPLocalReassGet defines message 'ip_local_reass_get'.

func (*IPLocalReassGet) GetCrcString

func (*IPLocalReassGet) GetCrcString() string

func (*IPLocalReassGet) GetMessageName

func (*IPLocalReassGet) GetMessageName() string

func (*IPLocalReassGet) GetMessageType

func (*IPLocalReassGet) GetMessageType() api.MessageType

func (*IPLocalReassGet) Marshal

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

func (*IPLocalReassGet) Reset

func (m *IPLocalReassGet) Reset()

func (*IPLocalReassGet) Size

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

func (*IPLocalReassGet) Unmarshal

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

type IPLocalReassGetReply

type IPLocalReassGetReply struct {
	Retval       int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IP4IsEnabled bool  `binapi:"bool,name=ip4_is_enabled" json:"ip4_is_enabled,omitempty"`
	IP6IsEnabled bool  `binapi:"bool,name=ip6_is_enabled" json:"ip6_is_enabled,omitempty"`
}

IPLocalReassGetReply defines message 'ip_local_reass_get_reply'.

func (*IPLocalReassGetReply) GetCrcString

func (*IPLocalReassGetReply) GetCrcString() string

func (*IPLocalReassGetReply) GetMessageName

func (*IPLocalReassGetReply) GetMessageName() string

func (*IPLocalReassGetReply) GetMessageType

func (*IPLocalReassGetReply) GetMessageType() api.MessageType

func (*IPLocalReassGetReply) Marshal

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

func (*IPLocalReassGetReply) Reset

func (m *IPLocalReassGetReply) Reset()

func (*IPLocalReassGetReply) Size

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

func (*IPLocalReassGetReply) Unmarshal

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

type IPMroute

type IPMroute struct {
	TableID    uint32                    `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	EntryFlags mfib_types.MfibEntryFlags `binapi:"mfib_entry_flags,name=entry_flags" json:"entry_flags,omitempty"`
	RpfID      uint32                    `binapi:"u32,name=rpf_id" json:"rpf_id,omitempty"`
	Prefix     ip_types.Mprefix          `binapi:"mprefix,name=prefix" json:"prefix,omitempty"`
	NPaths     uint8                     `binapi:"u8,name=n_paths" json:"-"`
	Paths      []mfib_types.MfibPath     `binapi:"mfib_path[n_paths],name=paths" json:"paths,omitempty"`
}

IPMroute defines type 'ip_mroute'.

type IPMrouteAddDel

type IPMrouteAddDel struct {
	IsAdd       bool     `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IsMultipath bool     `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"`
	Route       IPMroute `binapi:"ip_mroute,name=route" json:"route,omitempty"`
}

IPMrouteAddDel defines message 'ip_mroute_add_del'.

func (*IPMrouteAddDel) GetCrcString

func (*IPMrouteAddDel) GetCrcString() string

func (*IPMrouteAddDel) GetMessageName

func (*IPMrouteAddDel) GetMessageName() string

func (*IPMrouteAddDel) GetMessageType

func (*IPMrouteAddDel) GetMessageType() api.MessageType

func (*IPMrouteAddDel) Marshal

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

func (*IPMrouteAddDel) Reset

func (m *IPMrouteAddDel) Reset()

func (*IPMrouteAddDel) Size

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

func (*IPMrouteAddDel) Unmarshal

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

type IPMrouteAddDelReply

type IPMrouteAddDelReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"`
}

IPMrouteAddDelReply defines message 'ip_mroute_add_del_reply'.

func (*IPMrouteAddDelReply) GetCrcString

func (*IPMrouteAddDelReply) GetCrcString() string

func (*IPMrouteAddDelReply) GetMessageName

func (*IPMrouteAddDelReply) GetMessageName() string

func (*IPMrouteAddDelReply) GetMessageType

func (*IPMrouteAddDelReply) GetMessageType() api.MessageType

func (*IPMrouteAddDelReply) Marshal

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

func (*IPMrouteAddDelReply) Reset

func (m *IPMrouteAddDelReply) Reset()

func (*IPMrouteAddDelReply) Size

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

func (*IPMrouteAddDelReply) Unmarshal

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

type IPMrouteDetails

type IPMrouteDetails struct {
	Route IPMroute `binapi:"ip_mroute,name=route" json:"route,omitempty"`
}

IPMrouteDetails defines message 'ip_mroute_details'.

func (*IPMrouteDetails) GetCrcString

func (*IPMrouteDetails) GetCrcString() string

func (*IPMrouteDetails) GetMessageName

func (*IPMrouteDetails) GetMessageName() string

func (*IPMrouteDetails) GetMessageType

func (*IPMrouteDetails) GetMessageType() api.MessageType

func (*IPMrouteDetails) Marshal

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

func (*IPMrouteDetails) Reset

func (m *IPMrouteDetails) Reset()

func (*IPMrouteDetails) Size

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

func (*IPMrouteDetails) Unmarshal

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

type IPMrouteDump

type IPMrouteDump struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPMrouteDump defines message 'ip_mroute_dump'.

func (*IPMrouteDump) GetCrcString

func (*IPMrouteDump) GetCrcString() string

func (*IPMrouteDump) GetMessageName

func (*IPMrouteDump) GetMessageName() string

func (*IPMrouteDump) GetMessageType

func (*IPMrouteDump) GetMessageType() api.MessageType

func (*IPMrouteDump) Marshal

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

func (*IPMrouteDump) Reset

func (m *IPMrouteDump) Reset()

func (*IPMrouteDump) Size

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

func (*IPMrouteDump) Unmarshal

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

type IPMtableDetails

type IPMtableDetails struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPMtableDetails defines message 'ip_mtable_details'.

func (*IPMtableDetails) GetCrcString

func (*IPMtableDetails) GetCrcString() string

func (*IPMtableDetails) GetMessageName

func (*IPMtableDetails) GetMessageName() string

func (*IPMtableDetails) GetMessageType

func (*IPMtableDetails) GetMessageType() api.MessageType

func (*IPMtableDetails) Marshal

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

func (*IPMtableDetails) Reset

func (m *IPMtableDetails) Reset()

func (*IPMtableDetails) Size

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

func (*IPMtableDetails) Unmarshal

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

type IPMtableDump

type IPMtableDump struct{}

IPMtableDump defines message 'ip_mtable_dump'.

func (*IPMtableDump) GetCrcString

func (*IPMtableDump) GetCrcString() string

func (*IPMtableDump) GetMessageName

func (*IPMtableDump) GetMessageName() string

func (*IPMtableDump) GetMessageType

func (*IPMtableDump) GetMessageType() api.MessageType

func (*IPMtableDump) Marshal

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

func (*IPMtableDump) Reset

func (m *IPMtableDump) Reset()

func (*IPMtableDump) Size

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

func (*IPMtableDump) Unmarshal

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

type IPPathMtu

type IPPathMtu struct {
	ClientIndex uint32           `binapi:"u32,name=client_index" json:"client_index,omitempty"`
	Context     uint32           `binapi:"u32,name=context" json:"context,omitempty"`
	TableID     uint32           `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Nh          ip_types.Address `binapi:"address,name=nh" json:"nh,omitempty"`
	PathMtu     uint16           `binapi:"u16,name=path_mtu" json:"path_mtu,omitempty"`
}

IPPathMtu defines type 'ip_path_mtu'.

type IPPathMtuDetails

type IPPathMtuDetails struct {
	Pmtu IPPathMtu `binapi:"ip_path_mtu,name=pmtu" json:"pmtu,omitempty"`
}

IPPathMtuDetails defines message 'ip_path_mtu_details'.

func (*IPPathMtuDetails) GetCrcString

func (*IPPathMtuDetails) GetCrcString() string

func (*IPPathMtuDetails) GetMessageName

func (*IPPathMtuDetails) GetMessageName() string

func (*IPPathMtuDetails) GetMessageType

func (*IPPathMtuDetails) GetMessageType() api.MessageType

func (*IPPathMtuDetails) Marshal

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

func (*IPPathMtuDetails) Reset

func (m *IPPathMtuDetails) Reset()

func (*IPPathMtuDetails) Size

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

func (*IPPathMtuDetails) Unmarshal

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

type IPPathMtuGet

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

IPPathMtuGet defines message 'ip_path_mtu_get'.

func (*IPPathMtuGet) GetCrcString

func (*IPPathMtuGet) GetCrcString() string

func (*IPPathMtuGet) GetMessageName

func (*IPPathMtuGet) GetMessageName() string

func (*IPPathMtuGet) GetMessageType

func (*IPPathMtuGet) GetMessageType() api.MessageType

func (*IPPathMtuGet) Marshal

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

func (*IPPathMtuGet) Reset

func (m *IPPathMtuGet) Reset()

func (*IPPathMtuGet) Size

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

func (*IPPathMtuGet) Unmarshal

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

type IPPathMtuGetReply

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

IPPathMtuGetReply defines message 'ip_path_mtu_get_reply'.

func (*IPPathMtuGetReply) GetCrcString

func (*IPPathMtuGetReply) GetCrcString() string

func (*IPPathMtuGetReply) GetMessageName

func (*IPPathMtuGetReply) GetMessageName() string

func (*IPPathMtuGetReply) GetMessageType

func (*IPPathMtuGetReply) GetMessageType() api.MessageType

func (*IPPathMtuGetReply) Marshal

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

func (*IPPathMtuGetReply) Reset

func (m *IPPathMtuGetReply) Reset()

func (*IPPathMtuGetReply) Size

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

func (*IPPathMtuGetReply) Unmarshal

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

type IPPathMtuReplaceBegin

type IPPathMtuReplaceBegin struct{}

IPPathMtuReplaceBegin defines message 'ip_path_mtu_replace_begin'.

func (*IPPathMtuReplaceBegin) GetCrcString

func (*IPPathMtuReplaceBegin) GetCrcString() string

func (*IPPathMtuReplaceBegin) GetMessageName

func (*IPPathMtuReplaceBegin) GetMessageName() string

func (*IPPathMtuReplaceBegin) GetMessageType

func (*IPPathMtuReplaceBegin) GetMessageType() api.MessageType

func (*IPPathMtuReplaceBegin) Marshal

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

func (*IPPathMtuReplaceBegin) Reset

func (m *IPPathMtuReplaceBegin) Reset()

func (*IPPathMtuReplaceBegin) Size

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

func (*IPPathMtuReplaceBegin) Unmarshal

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

type IPPathMtuReplaceBeginReply

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

IPPathMtuReplaceBeginReply defines message 'ip_path_mtu_replace_begin_reply'.

func (*IPPathMtuReplaceBeginReply) GetCrcString

func (*IPPathMtuReplaceBeginReply) GetCrcString() string

func (*IPPathMtuReplaceBeginReply) GetMessageName

func (*IPPathMtuReplaceBeginReply) GetMessageName() string

func (*IPPathMtuReplaceBeginReply) GetMessageType

func (*IPPathMtuReplaceBeginReply) GetMessageType() api.MessageType

func (*IPPathMtuReplaceBeginReply) Marshal

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

func (*IPPathMtuReplaceBeginReply) Reset

func (m *IPPathMtuReplaceBeginReply) Reset()

func (*IPPathMtuReplaceBeginReply) Size

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

func (*IPPathMtuReplaceBeginReply) Unmarshal

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

type IPPathMtuReplaceEnd

type IPPathMtuReplaceEnd struct{}

IPPathMtuReplaceEnd defines message 'ip_path_mtu_replace_end'.

func (*IPPathMtuReplaceEnd) GetCrcString

func (*IPPathMtuReplaceEnd) GetCrcString() string

func (*IPPathMtuReplaceEnd) GetMessageName

func (*IPPathMtuReplaceEnd) GetMessageName() string

func (*IPPathMtuReplaceEnd) GetMessageType

func (*IPPathMtuReplaceEnd) GetMessageType() api.MessageType

func (*IPPathMtuReplaceEnd) Marshal

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

func (*IPPathMtuReplaceEnd) Reset

func (m *IPPathMtuReplaceEnd) Reset()

func (*IPPathMtuReplaceEnd) Size

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

func (*IPPathMtuReplaceEnd) Unmarshal

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

type IPPathMtuReplaceEndReply

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

IPPathMtuReplaceEndReply defines message 'ip_path_mtu_replace_end_reply'.

func (*IPPathMtuReplaceEndReply) GetCrcString

func (*IPPathMtuReplaceEndReply) GetCrcString() string

func (*IPPathMtuReplaceEndReply) GetMessageName

func (*IPPathMtuReplaceEndReply) GetMessageName() string

func (*IPPathMtuReplaceEndReply) GetMessageType

func (*IPPathMtuReplaceEndReply) GetMessageType() api.MessageType

func (*IPPathMtuReplaceEndReply) Marshal

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

func (*IPPathMtuReplaceEndReply) Reset

func (m *IPPathMtuReplaceEndReply) Reset()

func (*IPPathMtuReplaceEndReply) Size

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

func (*IPPathMtuReplaceEndReply) Unmarshal

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

type IPPathMtuUpdate

type IPPathMtuUpdate struct {
	Pmtu IPPathMtu `binapi:"ip_path_mtu,name=pmtu" json:"pmtu,omitempty"`
}

IPPathMtuUpdate defines message 'ip_path_mtu_update'.

func (*IPPathMtuUpdate) GetCrcString

func (*IPPathMtuUpdate) GetCrcString() string

func (*IPPathMtuUpdate) GetMessageName

func (*IPPathMtuUpdate) GetMessageName() string

func (*IPPathMtuUpdate) GetMessageType

func (*IPPathMtuUpdate) GetMessageType() api.MessageType

func (*IPPathMtuUpdate) Marshal

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

func (*IPPathMtuUpdate) Reset

func (m *IPPathMtuUpdate) Reset()

func (*IPPathMtuUpdate) Size

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

func (*IPPathMtuUpdate) Unmarshal

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

type IPPathMtuUpdateReply

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

IPPathMtuUpdateReply defines message 'ip_path_mtu_update_reply'.

func (*IPPathMtuUpdateReply) GetCrcString

func (*IPPathMtuUpdateReply) GetCrcString() string

func (*IPPathMtuUpdateReply) GetMessageName

func (*IPPathMtuUpdateReply) GetMessageName() string

func (*IPPathMtuUpdateReply) GetMessageType

func (*IPPathMtuUpdateReply) GetMessageType() api.MessageType

func (*IPPathMtuUpdateReply) Marshal

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

func (*IPPathMtuUpdateReply) Reset

func (m *IPPathMtuUpdateReply) Reset()

func (*IPPathMtuUpdateReply) Size

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

func (*IPPathMtuUpdateReply) Unmarshal

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

type IPPuntPolice

type IPPuntPolice struct {
	PolicerIndex uint32 `binapi:"u32,name=policer_index" json:"policer_index,omitempty"`
	IsAdd        bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IsIP6        bool   `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
}

IPPuntPolice defines message 'ip_punt_police'.

func (*IPPuntPolice) GetCrcString

func (*IPPuntPolice) GetCrcString() string

func (*IPPuntPolice) GetMessageName

func (*IPPuntPolice) GetMessageName() string

func (*IPPuntPolice) GetMessageType

func (*IPPuntPolice) GetMessageType() api.MessageType

func (*IPPuntPolice) Marshal

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

func (*IPPuntPolice) Reset

func (m *IPPuntPolice) Reset()

func (*IPPuntPolice) Size

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

func (*IPPuntPolice) Unmarshal

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

type IPPuntPoliceReply

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

IPPuntPoliceReply defines message 'ip_punt_police_reply'.

func (*IPPuntPoliceReply) GetCrcString

func (*IPPuntPoliceReply) GetCrcString() string

func (*IPPuntPoliceReply) GetMessageName

func (*IPPuntPoliceReply) GetMessageName() string

func (*IPPuntPoliceReply) GetMessageType

func (*IPPuntPoliceReply) GetMessageType() api.MessageType

func (*IPPuntPoliceReply) Marshal

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

func (*IPPuntPoliceReply) Reset

func (m *IPPuntPoliceReply) Reset()

func (*IPPuntPoliceReply) Size

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

func (*IPPuntPoliceReply) Unmarshal

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

type IPPuntRedirect

type IPPuntRedirect struct {
	Punt  PuntRedirect `binapi:"punt_redirect,name=punt" json:"punt,omitempty"`
	IsAdd bool         `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}

IPPuntRedirect defines message 'ip_punt_redirect'. Deprecated: the message will be removed in the future versions

func (*IPPuntRedirect) GetCrcString

func (*IPPuntRedirect) GetCrcString() string

func (*IPPuntRedirect) GetMessageName

func (*IPPuntRedirect) GetMessageName() string

func (*IPPuntRedirect) GetMessageType

func (*IPPuntRedirect) GetMessageType() api.MessageType

func (*IPPuntRedirect) Marshal

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

func (*IPPuntRedirect) Reset

func (m *IPPuntRedirect) Reset()

func (*IPPuntRedirect) Size

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

func (*IPPuntRedirect) Unmarshal

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

type IPPuntRedirectDetails

type IPPuntRedirectDetails struct {
	Punt PuntRedirect `binapi:"punt_redirect,name=punt" json:"punt,omitempty"`
}

IPPuntRedirectDetails defines message 'ip_punt_redirect_details'.

func (*IPPuntRedirectDetails) GetCrcString

func (*IPPuntRedirectDetails) GetCrcString() string

func (*IPPuntRedirectDetails) GetMessageName

func (*IPPuntRedirectDetails) GetMessageName() string

func (*IPPuntRedirectDetails) GetMessageType

func (*IPPuntRedirectDetails) GetMessageType() api.MessageType

func (*IPPuntRedirectDetails) Marshal

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

func (*IPPuntRedirectDetails) Reset

func (m *IPPuntRedirectDetails) Reset()

func (*IPPuntRedirectDetails) Size

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

func (*IPPuntRedirectDetails) Unmarshal

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

type IPPuntRedirectDump

type IPPuntRedirectDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

IPPuntRedirectDump defines message 'ip_punt_redirect_dump'.

func (*IPPuntRedirectDump) GetCrcString

func (*IPPuntRedirectDump) GetCrcString() string

func (*IPPuntRedirectDump) GetMessageName

func (*IPPuntRedirectDump) GetMessageName() string

func (*IPPuntRedirectDump) GetMessageType

func (*IPPuntRedirectDump) GetMessageType() api.MessageType

func (*IPPuntRedirectDump) Marshal

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

func (*IPPuntRedirectDump) Reset

func (m *IPPuntRedirectDump) Reset()

func (*IPPuntRedirectDump) Size

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

func (*IPPuntRedirectDump) Unmarshal

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

type IPPuntRedirectReply

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

IPPuntRedirectReply defines message 'ip_punt_redirect_reply'. Deprecated: the message will be removed in the future versions

func (*IPPuntRedirectReply) GetCrcString

func (*IPPuntRedirectReply) GetCrcString() string

func (*IPPuntRedirectReply) GetMessageName

func (*IPPuntRedirectReply) GetMessageName() string

func (*IPPuntRedirectReply) GetMessageType

func (*IPPuntRedirectReply) GetMessageType() api.MessageType

func (*IPPuntRedirectReply) Marshal

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

func (*IPPuntRedirectReply) Reset

func (m *IPPuntRedirectReply) Reset()

func (*IPPuntRedirectReply) Size

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

func (*IPPuntRedirectReply) Unmarshal

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

type IPPuntRedirectV2Details

type IPPuntRedirectV2Details struct {
	Punt PuntRedirectV2 `binapi:"punt_redirect_v2,name=punt" json:"punt,omitempty"`
}

IPPuntRedirectV2Details defines message 'ip_punt_redirect_v2_details'.

func (*IPPuntRedirectV2Details) GetCrcString

func (*IPPuntRedirectV2Details) GetCrcString() string

func (*IPPuntRedirectV2Details) GetMessageName

func (*IPPuntRedirectV2Details) GetMessageName() string

func (*IPPuntRedirectV2Details) GetMessageType

func (*IPPuntRedirectV2Details) GetMessageType() api.MessageType

func (*IPPuntRedirectV2Details) Marshal

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

func (*IPPuntRedirectV2Details) Reset

func (m *IPPuntRedirectV2Details) Reset()

func (*IPPuntRedirectV2Details) Size

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

func (*IPPuntRedirectV2Details) Unmarshal

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

type IPPuntRedirectV2Dump

type IPPuntRedirectV2Dump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Af        ip_types.AddressFamily         `binapi:"address_family,name=af" json:"af,omitempty"`
}

IPPuntRedirectV2Dump defines message 'ip_punt_redirect_v2_dump'.

func (*IPPuntRedirectV2Dump) GetCrcString

func (*IPPuntRedirectV2Dump) GetCrcString() string

func (*IPPuntRedirectV2Dump) GetMessageName

func (*IPPuntRedirectV2Dump) GetMessageName() string

func (*IPPuntRedirectV2Dump) GetMessageType

func (*IPPuntRedirectV2Dump) GetMessageType() api.MessageType

func (*IPPuntRedirectV2Dump) Marshal

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

func (*IPPuntRedirectV2Dump) Reset

func (m *IPPuntRedirectV2Dump) Reset()

func (*IPPuntRedirectV2Dump) Size

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

func (*IPPuntRedirectV2Dump) Unmarshal

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

type IPReassType

type IPReassType uint32

IPReassType defines enum 'ip_reass_type'.

const (
	IP_REASS_TYPE_FULL            IPReassType = 0
	IP_REASS_TYPE_SHALLOW_VIRTUAL IPReassType = 1
)

func (IPReassType) String

func (x IPReassType) String() string

type IPReassemblyEnableDisable

type IPReassemblyEnableDisable struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	EnableIP4 bool                           `binapi:"bool,name=enable_ip4" json:"enable_ip4,omitempty"`
	EnableIP6 bool                           `binapi:"bool,name=enable_ip6" json:"enable_ip6,omitempty"`
	Type      IPReassType                    `binapi:"ip_reass_type,name=type" json:"type,omitempty"`
}

IPReassemblyEnableDisable defines message 'ip_reassembly_enable_disable'.

func (*IPReassemblyEnableDisable) GetCrcString

func (*IPReassemblyEnableDisable) GetCrcString() string

func (*IPReassemblyEnableDisable) GetMessageName

func (*IPReassemblyEnableDisable) GetMessageName() string

func (*IPReassemblyEnableDisable) GetMessageType

func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType

func (*IPReassemblyEnableDisable) Marshal

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

func (*IPReassemblyEnableDisable) Reset

func (m *IPReassemblyEnableDisable) Reset()

func (*IPReassemblyEnableDisable) Size

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

func (*IPReassemblyEnableDisable) Unmarshal

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

type IPReassemblyEnableDisableReply

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

IPReassemblyEnableDisableReply defines message 'ip_reassembly_enable_disable_reply'.

func (*IPReassemblyEnableDisableReply) GetCrcString

func (*IPReassemblyEnableDisableReply) GetCrcString() string

func (*IPReassemblyEnableDisableReply) GetMessageName

func (*IPReassemblyEnableDisableReply) GetMessageName() string

func (*IPReassemblyEnableDisableReply) GetMessageType

func (*IPReassemblyEnableDisableReply) Marshal

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

func (*IPReassemblyEnableDisableReply) Reset

func (m *IPReassemblyEnableDisableReply) Reset()

func (*IPReassemblyEnableDisableReply) Size

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

func (*IPReassemblyEnableDisableReply) Unmarshal

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

type IPReassemblyGet

type IPReassemblyGet struct {
	IsIP6 bool        `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
	Type  IPReassType `binapi:"ip_reass_type,name=type" json:"type,omitempty"`
}

IPReassemblyGet defines message 'ip_reassembly_get'.

func (*IPReassemblyGet) GetCrcString

func (*IPReassemblyGet) GetCrcString() string

func (*IPReassemblyGet) GetMessageName

func (*IPReassemblyGet) GetMessageName() string

func (*IPReassemblyGet) GetMessageType

func (*IPReassemblyGet) GetMessageType() api.MessageType

func (*IPReassemblyGet) Marshal

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

func (*IPReassemblyGet) Reset

func (m *IPReassemblyGet) Reset()

func (*IPReassemblyGet) Size

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

func (*IPReassemblyGet) Unmarshal

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

type IPReassemblyGetReply

type IPReassemblyGetReply struct {
	Retval               int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TimeoutMs            uint32 `binapi:"u32,name=timeout_ms" json:"timeout_ms,omitempty"`
	MaxReassemblies      uint32 `binapi:"u32,name=max_reassemblies" json:"max_reassemblies,omitempty"`
	MaxReassemblyLength  uint32 `binapi:"u32,name=max_reassembly_length" json:"max_reassembly_length,omitempty"`
	ExpireWalkIntervalMs uint32 `binapi:"u32,name=expire_walk_interval_ms" json:"expire_walk_interval_ms,omitempty"`
	IsIP6                bool   `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
}

IPReassemblyGetReply defines message 'ip_reassembly_get_reply'.

func (*IPReassemblyGetReply) GetCrcString

func (*IPReassemblyGetReply) GetCrcString() string

func (*IPReassemblyGetReply) GetMessageName

func (*IPReassemblyGetReply) GetMessageName() string

func (*IPReassemblyGetReply) GetMessageType

func (*IPReassemblyGetReply) GetMessageType() api.MessageType

func (*IPReassemblyGetReply) Marshal

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

func (*IPReassemblyGetReply) Reset

func (m *IPReassemblyGetReply) Reset()

func (*IPReassemblyGetReply) Size

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

func (*IPReassemblyGetReply) Unmarshal

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

type IPReassemblySet

type IPReassemblySet struct {
	TimeoutMs            uint32      `binapi:"u32,name=timeout_ms" json:"timeout_ms,omitempty"`
	MaxReassemblies      uint32      `binapi:"u32,name=max_reassemblies" json:"max_reassemblies,omitempty"`
	MaxReassemblyLength  uint32      `binapi:"u32,name=max_reassembly_length" json:"max_reassembly_length,omitempty"`
	ExpireWalkIntervalMs uint32      `binapi:"u32,name=expire_walk_interval_ms" json:"expire_walk_interval_ms,omitempty"`
	IsIP6                bool        `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
	Type                 IPReassType `binapi:"ip_reass_type,name=type" json:"type,omitempty"`
}

IPReassemblySet defines message 'ip_reassembly_set'.

func (*IPReassemblySet) GetCrcString

func (*IPReassemblySet) GetCrcString() string

func (*IPReassemblySet) GetMessageName

func (*IPReassemblySet) GetMessageName() string

func (*IPReassemblySet) GetMessageType

func (*IPReassemblySet) GetMessageType() api.MessageType

func (*IPReassemblySet) Marshal

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

func (*IPReassemblySet) Reset

func (m *IPReassemblySet) Reset()

func (*IPReassemblySet) Size

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

func (*IPReassemblySet) Unmarshal

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

type IPReassemblySetReply

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

IPReassemblySetReply defines message 'ip_reassembly_set_reply'.

func (*IPReassemblySetReply) GetCrcString

func (*IPReassemblySetReply) GetCrcString() string

func (*IPReassemblySetReply) GetMessageName

func (*IPReassemblySetReply) GetMessageName() string

func (*IPReassemblySetReply) GetMessageType

func (*IPReassemblySetReply) GetMessageType() api.MessageType

func (*IPReassemblySetReply) Marshal

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

func (*IPReassemblySetReply) Reset

func (m *IPReassemblySetReply) Reset()

func (*IPReassemblySetReply) Size

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

func (*IPReassemblySetReply) Unmarshal

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

type IPRoute

type IPRoute struct {
	TableID    uint32              `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	StatsIndex uint32              `binapi:"u32,name=stats_index" json:"stats_index,omitempty"`
	Prefix     ip_types.Prefix     `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
	NPaths     uint8               `binapi:"u8,name=n_paths" json:"-"`
	Paths      []fib_types.FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"`
}

IPRoute defines type 'ip_route'.

type IPRouteAddDel

type IPRouteAddDel struct {
	IsAdd       bool    `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IsMultipath bool    `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"`
	Route       IPRoute `binapi:"ip_route,name=route" json:"route,omitempty"`
}

IPRouteAddDel defines message 'ip_route_add_del'.

func (*IPRouteAddDel) GetCrcString

func (*IPRouteAddDel) GetCrcString() string

func (*IPRouteAddDel) GetMessageName

func (*IPRouteAddDel) GetMessageName() string

func (*IPRouteAddDel) GetMessageType

func (*IPRouteAddDel) GetMessageType() api.MessageType

func (*IPRouteAddDel) Marshal

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

func (*IPRouteAddDel) Reset

func (m *IPRouteAddDel) Reset()

func (*IPRouteAddDel) Size

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

func (*IPRouteAddDel) Unmarshal

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

type IPRouteAddDelReply

type IPRouteAddDelReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"`
}

IPRouteAddDelReply defines message 'ip_route_add_del_reply'.

func (*IPRouteAddDelReply) GetCrcString

func (*IPRouteAddDelReply) GetCrcString() string

func (*IPRouteAddDelReply) GetMessageName

func (*IPRouteAddDelReply) GetMessageName() string

func (*IPRouteAddDelReply) GetMessageType

func (*IPRouteAddDelReply) GetMessageType() api.MessageType

func (*IPRouteAddDelReply) Marshal

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

func (*IPRouteAddDelReply) Reset

func (m *IPRouteAddDelReply) Reset()

func (*IPRouteAddDelReply) Size

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

func (*IPRouteAddDelReply) Unmarshal

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

type IPRouteAddDelV2

type IPRouteAddDelV2 struct {
	IsAdd       bool      `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IsMultipath bool      `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"`
	Route       IPRouteV2 `binapi:"ip_route_v2,name=route" json:"route,omitempty"`
}

IPRouteAddDelV2 defines message 'ip_route_add_del_v2'. InProgress: the message form may change in the future versions

func (*IPRouteAddDelV2) GetCrcString

func (*IPRouteAddDelV2) GetCrcString() string

func (*IPRouteAddDelV2) GetMessageName

func (*IPRouteAddDelV2) GetMessageName() string

func (*IPRouteAddDelV2) GetMessageType

func (*IPRouteAddDelV2) GetMessageType() api.MessageType

func (*IPRouteAddDelV2) Marshal

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

func (*IPRouteAddDelV2) Reset

func (m *IPRouteAddDelV2) Reset()

func (*IPRouteAddDelV2) Size

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

func (*IPRouteAddDelV2) Unmarshal

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

type IPRouteAddDelV2Reply

type IPRouteAddDelV2Reply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"`
}

IPRouteAddDelV2Reply defines message 'ip_route_add_del_v2_reply'. InProgress: the message form may change in the future versions

func (*IPRouteAddDelV2Reply) GetCrcString

func (*IPRouteAddDelV2Reply) GetCrcString() string

func (*IPRouteAddDelV2Reply) GetMessageName

func (*IPRouteAddDelV2Reply) GetMessageName() string

func (*IPRouteAddDelV2Reply) GetMessageType

func (*IPRouteAddDelV2Reply) GetMessageType() api.MessageType

func (*IPRouteAddDelV2Reply) Marshal

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

func (*IPRouteAddDelV2Reply) Reset

func (m *IPRouteAddDelV2Reply) Reset()

func (*IPRouteAddDelV2Reply) Size

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

func (*IPRouteAddDelV2Reply) Unmarshal

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

type IPRouteDetails

type IPRouteDetails struct {
	Route IPRoute `binapi:"ip_route,name=route" json:"route,omitempty"`
}

IPRouteDetails defines message 'ip_route_details'.

func (*IPRouteDetails) GetCrcString

func (*IPRouteDetails) GetCrcString() string

func (*IPRouteDetails) GetMessageName

func (*IPRouteDetails) GetMessageName() string

func (*IPRouteDetails) GetMessageType

func (*IPRouteDetails) GetMessageType() api.MessageType

func (*IPRouteDetails) Marshal

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

func (*IPRouteDetails) Reset

func (m *IPRouteDetails) Reset()

func (*IPRouteDetails) Size

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

func (*IPRouteDetails) Unmarshal

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

type IPRouteDump

type IPRouteDump struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPRouteDump defines message 'ip_route_dump'.

func (*IPRouteDump) GetCrcString

func (*IPRouteDump) GetCrcString() string

func (*IPRouteDump) GetMessageName

func (*IPRouteDump) GetMessageName() string

func (*IPRouteDump) GetMessageType

func (*IPRouteDump) GetMessageType() api.MessageType

func (*IPRouteDump) Marshal

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

func (*IPRouteDump) Reset

func (m *IPRouteDump) Reset()

func (*IPRouteDump) Size

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

func (*IPRouteDump) Unmarshal

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

type IPRouteLookup

type IPRouteLookup struct {
	TableID uint32          `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Exact   uint8           `binapi:"u8,name=exact" json:"exact,omitempty"`
	Prefix  ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
}

IPRouteLookup defines message 'ip_route_lookup'.

func (*IPRouteLookup) GetCrcString

func (*IPRouteLookup) GetCrcString() string

func (*IPRouteLookup) GetMessageName

func (*IPRouteLookup) GetMessageName() string

func (*IPRouteLookup) GetMessageType

func (*IPRouteLookup) GetMessageType() api.MessageType

func (*IPRouteLookup) Marshal

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

func (*IPRouteLookup) Reset

func (m *IPRouteLookup) Reset()

func (*IPRouteLookup) Size

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

func (*IPRouteLookup) Unmarshal

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

type IPRouteLookupReply

type IPRouteLookupReply struct {
	Retval int32   `binapi:"i32,name=retval" json:"retval,omitempty"`
	Route  IPRoute `binapi:"ip_route,name=route" json:"route,omitempty"`
}

IPRouteLookupReply defines message 'ip_route_lookup_reply'.

func (*IPRouteLookupReply) GetCrcString

func (*IPRouteLookupReply) GetCrcString() string

func (*IPRouteLookupReply) GetMessageName

func (*IPRouteLookupReply) GetMessageName() string

func (*IPRouteLookupReply) GetMessageType

func (*IPRouteLookupReply) GetMessageType() api.MessageType

func (*IPRouteLookupReply) Marshal

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

func (*IPRouteLookupReply) Reset

func (m *IPRouteLookupReply) Reset()

func (*IPRouteLookupReply) Size

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

func (*IPRouteLookupReply) Unmarshal

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

type IPRouteLookupV2

type IPRouteLookupV2 struct {
	TableID uint32          `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Exact   uint8           `binapi:"u8,name=exact" json:"exact,omitempty"`
	Prefix  ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
}

IPRouteLookupV2 defines message 'ip_route_lookup_v2'. InProgress: the message form may change in the future versions

func (*IPRouteLookupV2) GetCrcString

func (*IPRouteLookupV2) GetCrcString() string

func (*IPRouteLookupV2) GetMessageName

func (*IPRouteLookupV2) GetMessageName() string

func (*IPRouteLookupV2) GetMessageType

func (*IPRouteLookupV2) GetMessageType() api.MessageType

func (*IPRouteLookupV2) Marshal

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

func (*IPRouteLookupV2) Reset

func (m *IPRouteLookupV2) Reset()

func (*IPRouteLookupV2) Size

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

func (*IPRouteLookupV2) Unmarshal

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

type IPRouteLookupV2Reply

type IPRouteLookupV2Reply struct {
	Retval int32     `binapi:"i32,name=retval" json:"retval,omitempty"`
	Route  IPRouteV2 `binapi:"ip_route_v2,name=route" json:"route,omitempty"`
}

IPRouteLookupV2Reply defines message 'ip_route_lookup_v2_reply'. InProgress: the message form may change in the future versions

func (*IPRouteLookupV2Reply) GetCrcString

func (*IPRouteLookupV2Reply) GetCrcString() string

func (*IPRouteLookupV2Reply) GetMessageName

func (*IPRouteLookupV2Reply) GetMessageName() string

func (*IPRouteLookupV2Reply) GetMessageType

func (*IPRouteLookupV2Reply) GetMessageType() api.MessageType

func (*IPRouteLookupV2Reply) Marshal

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

func (*IPRouteLookupV2Reply) Reset

func (m *IPRouteLookupV2Reply) Reset()

func (*IPRouteLookupV2Reply) Size

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

func (*IPRouteLookupV2Reply) Unmarshal

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

type IPRouteV2

type IPRouteV2 struct {
	TableID    uint32              `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	StatsIndex uint32              `binapi:"u32,name=stats_index" json:"stats_index,omitempty"`
	Prefix     ip_types.Prefix     `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
	NPaths     uint8               `binapi:"u8,name=n_paths" json:"-"`
	Src        uint8               `binapi:"u8,name=src" json:"src,omitempty"`
	Paths      []fib_types.FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"`
}

IPRouteV2 defines type 'ip_route_v2'.

type IPRouteV2Details

type IPRouteV2Details struct {
	Route IPRouteV2 `binapi:"ip_route_v2,name=route" json:"route,omitempty"`
}

IPRouteV2Details defines message 'ip_route_v2_details'. InProgress: the message form may change in the future versions

func (*IPRouteV2Details) GetCrcString

func (*IPRouteV2Details) GetCrcString() string

func (*IPRouteV2Details) GetMessageName

func (*IPRouteV2Details) GetMessageName() string

func (*IPRouteV2Details) GetMessageType

func (*IPRouteV2Details) GetMessageType() api.MessageType

func (*IPRouteV2Details) Marshal

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

func (*IPRouteV2Details) Reset

func (m *IPRouteV2Details) Reset()

func (*IPRouteV2Details) Size

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

func (*IPRouteV2Details) Unmarshal

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

type IPRouteV2Dump

type IPRouteV2Dump struct {
	Src   uint8   `binapi:"u8,name=src" json:"src,omitempty"`
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPRouteV2Dump defines message 'ip_route_v2_dump'. InProgress: the message form may change in the future versions

func (*IPRouteV2Dump) GetCrcString

func (*IPRouteV2Dump) GetCrcString() string

func (*IPRouteV2Dump) GetMessageName

func (*IPRouteV2Dump) GetMessageName() string

func (*IPRouteV2Dump) GetMessageType

func (*IPRouteV2Dump) GetMessageType() api.MessageType

func (*IPRouteV2Dump) Marshal

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

func (*IPRouteV2Dump) Reset

func (m *IPRouteV2Dump) Reset()

func (*IPRouteV2Dump) Size

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

func (*IPRouteV2Dump) Unmarshal

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

type IPSourceAndPortRangeCheckAddDel

type IPSourceAndPortRangeCheckAddDel struct {
	IsAdd          bool            `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Prefix         ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
	NumberOfRanges uint8           `binapi:"u8,name=number_of_ranges" json:"number_of_ranges,omitempty"`
	LowPorts       []uint16        `binapi:"u16[32],name=low_ports" json:"low_ports,omitempty"`
	HighPorts      []uint16        `binapi:"u16[32],name=high_ports" json:"high_ports,omitempty"`
	VrfID          uint32          `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}

IPSourceAndPortRangeCheckAddDel defines message 'ip_source_and_port_range_check_add_del'.

func (*IPSourceAndPortRangeCheckAddDel) GetCrcString

func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string

func (*IPSourceAndPortRangeCheckAddDel) GetMessageName

func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string

func (*IPSourceAndPortRangeCheckAddDel) GetMessageType

func (*IPSourceAndPortRangeCheckAddDel) Marshal

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

func (*IPSourceAndPortRangeCheckAddDel) Reset

func (*IPSourceAndPortRangeCheckAddDel) Size

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

func (*IPSourceAndPortRangeCheckAddDel) Unmarshal

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

type IPSourceAndPortRangeCheckAddDelReply

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

IPSourceAndPortRangeCheckAddDelReply defines message 'ip_source_and_port_range_check_add_del_reply'.

func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType

func (*IPSourceAndPortRangeCheckAddDelReply) Marshal

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

func (*IPSourceAndPortRangeCheckAddDelReply) Reset

func (*IPSourceAndPortRangeCheckAddDelReply) Size

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

func (*IPSourceAndPortRangeCheckAddDelReply) Unmarshal

type IPSourceAndPortRangeCheckInterfaceAddDel

type IPSourceAndPortRangeCheckInterfaceAddDel struct {
	IsAdd       bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	SwIfIndex   interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	TCPInVrfID  uint32                         `binapi:"u32,name=tcp_in_vrf_id" json:"tcp_in_vrf_id,omitempty"`
	TCPOutVrfID uint32                         `binapi:"u32,name=tcp_out_vrf_id" json:"tcp_out_vrf_id,omitempty"`
	UDPInVrfID  uint32                         `binapi:"u32,name=udp_in_vrf_id" json:"udp_in_vrf_id,omitempty"`
	UDPOutVrfID uint32                         `binapi:"u32,name=udp_out_vrf_id" json:"udp_out_vrf_id,omitempty"`
}

IPSourceAndPortRangeCheckInterfaceAddDel defines message 'ip_source_and_port_range_check_interface_add_del'.

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType

func (*IPSourceAndPortRangeCheckInterfaceAddDel) Marshal

func (*IPSourceAndPortRangeCheckInterfaceAddDel) Reset

func (*IPSourceAndPortRangeCheckInterfaceAddDel) Size

func (*IPSourceAndPortRangeCheckInterfaceAddDel) Unmarshal

type IPSourceAndPortRangeCheckInterfaceAddDelReply

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

IPSourceAndPortRangeCheckInterfaceAddDelReply defines message 'ip_source_and_port_range_check_interface_add_del_reply'.

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Marshal

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Size

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Unmarshal

type IPTable

type IPTable struct {
	TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	IsIP6   bool   `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
	Name    string `binapi:"string[64],name=name" json:"name,omitempty"`
}

IPTable defines type 'ip_table'.

type IPTableAddDel

type IPTableAddDel struct {
	IsAdd bool    `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableAddDel defines message 'ip_table_add_del'.

func (*IPTableAddDel) GetCrcString

func (*IPTableAddDel) GetCrcString() string

func (*IPTableAddDel) GetMessageName

func (*IPTableAddDel) GetMessageName() string

func (*IPTableAddDel) GetMessageType

func (*IPTableAddDel) GetMessageType() api.MessageType

func (*IPTableAddDel) Marshal

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

func (*IPTableAddDel) Reset

func (m *IPTableAddDel) Reset()

func (*IPTableAddDel) Size

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

func (*IPTableAddDel) Unmarshal

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

type IPTableAddDelReply

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

IPTableAddDelReply defines message 'ip_table_add_del_reply'.

func (*IPTableAddDelReply) GetCrcString

func (*IPTableAddDelReply) GetCrcString() string

func (*IPTableAddDelReply) GetMessageName

func (*IPTableAddDelReply) GetMessageName() string

func (*IPTableAddDelReply) GetMessageType

func (*IPTableAddDelReply) GetMessageType() api.MessageType

func (*IPTableAddDelReply) Marshal

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

func (*IPTableAddDelReply) Reset

func (m *IPTableAddDelReply) Reset()

func (*IPTableAddDelReply) Size

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

func (*IPTableAddDelReply) Unmarshal

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

type IPTableAllocate

type IPTableAllocate struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableAllocate defines message 'ip_table_allocate'.

func (*IPTableAllocate) GetCrcString

func (*IPTableAllocate) GetCrcString() string

func (*IPTableAllocate) GetMessageName

func (*IPTableAllocate) GetMessageName() string

func (*IPTableAllocate) GetMessageType

func (*IPTableAllocate) GetMessageType() api.MessageType

func (*IPTableAllocate) Marshal

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

func (*IPTableAllocate) Reset

func (m *IPTableAllocate) Reset()

func (*IPTableAllocate) Size

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

func (*IPTableAllocate) Unmarshal

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

type IPTableAllocateReply

type IPTableAllocateReply struct {
	Retval int32   `binapi:"i32,name=retval" json:"retval,omitempty"`
	Table  IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableAllocateReply defines message 'ip_table_allocate_reply'.

func (*IPTableAllocateReply) GetCrcString

func (*IPTableAllocateReply) GetCrcString() string

func (*IPTableAllocateReply) GetMessageName

func (*IPTableAllocateReply) GetMessageName() string

func (*IPTableAllocateReply) GetMessageType

func (*IPTableAllocateReply) GetMessageType() api.MessageType

func (*IPTableAllocateReply) Marshal

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

func (*IPTableAllocateReply) Reset

func (m *IPTableAllocateReply) Reset()

func (*IPTableAllocateReply) Size

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

func (*IPTableAllocateReply) Unmarshal

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

type IPTableDetails

type IPTableDetails struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableDetails defines message 'ip_table_details'.

func (*IPTableDetails) GetCrcString

func (*IPTableDetails) GetCrcString() string

func (*IPTableDetails) GetMessageName

func (*IPTableDetails) GetMessageName() string

func (*IPTableDetails) GetMessageType

func (*IPTableDetails) GetMessageType() api.MessageType

func (*IPTableDetails) Marshal

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

func (*IPTableDetails) Reset

func (m *IPTableDetails) Reset()

func (*IPTableDetails) Size

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

func (*IPTableDetails) Unmarshal

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

type IPTableDump

type IPTableDump struct{}

IPTableDump defines message 'ip_table_dump'.

func (*IPTableDump) GetCrcString

func (*IPTableDump) GetCrcString() string

func (*IPTableDump) GetMessageName

func (*IPTableDump) GetMessageName() string

func (*IPTableDump) GetMessageType

func (*IPTableDump) GetMessageType() api.MessageType

func (*IPTableDump) Marshal

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

func (*IPTableDump) Reset

func (m *IPTableDump) Reset()

func (*IPTableDump) Size

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

func (*IPTableDump) Unmarshal

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

type IPTableFlush

type IPTableFlush struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableFlush defines message 'ip_table_flush'.

func (*IPTableFlush) GetCrcString

func (*IPTableFlush) GetCrcString() string

func (*IPTableFlush) GetMessageName

func (*IPTableFlush) GetMessageName() string

func (*IPTableFlush) GetMessageType

func (*IPTableFlush) GetMessageType() api.MessageType

func (*IPTableFlush) Marshal

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

func (*IPTableFlush) Reset

func (m *IPTableFlush) Reset()

func (*IPTableFlush) Size

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

func (*IPTableFlush) Unmarshal

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

type IPTableFlushReply

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

IPTableFlushReply defines message 'ip_table_flush_reply'.

func (*IPTableFlushReply) GetCrcString

func (*IPTableFlushReply) GetCrcString() string

func (*IPTableFlushReply) GetMessageName

func (*IPTableFlushReply) GetMessageName() string

func (*IPTableFlushReply) GetMessageType

func (*IPTableFlushReply) GetMessageType() api.MessageType

func (*IPTableFlushReply) Marshal

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

func (*IPTableFlushReply) Reset

func (m *IPTableFlushReply) Reset()

func (*IPTableFlushReply) Size

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

func (*IPTableFlushReply) Unmarshal

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

type IPTableReplaceBegin

type IPTableReplaceBegin struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableReplaceBegin defines message 'ip_table_replace_begin'.

func (*IPTableReplaceBegin) GetCrcString

func (*IPTableReplaceBegin) GetCrcString() string

func (*IPTableReplaceBegin) GetMessageName

func (*IPTableReplaceBegin) GetMessageName() string

func (*IPTableReplaceBegin) GetMessageType

func (*IPTableReplaceBegin) GetMessageType() api.MessageType

func (*IPTableReplaceBegin) Marshal

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

func (*IPTableReplaceBegin) Reset

func (m *IPTableReplaceBegin) Reset()

func (*IPTableReplaceBegin) Size

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

func (*IPTableReplaceBegin) Unmarshal

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

type IPTableReplaceBeginReply

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

IPTableReplaceBeginReply defines message 'ip_table_replace_begin_reply'.

func (*IPTableReplaceBeginReply) GetCrcString

func (*IPTableReplaceBeginReply) GetCrcString() string

func (*IPTableReplaceBeginReply) GetMessageName

func (*IPTableReplaceBeginReply) GetMessageName() string

func (*IPTableReplaceBeginReply) GetMessageType

func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType

func (*IPTableReplaceBeginReply) Marshal

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

func (*IPTableReplaceBeginReply) Reset

func (m *IPTableReplaceBeginReply) Reset()

func (*IPTableReplaceBeginReply) Size

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

func (*IPTableReplaceBeginReply) Unmarshal

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

type IPTableReplaceEnd

type IPTableReplaceEnd struct {
	Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}

IPTableReplaceEnd defines message 'ip_table_replace_end'.

func (*IPTableReplaceEnd) GetCrcString

func (*IPTableReplaceEnd) GetCrcString() string

func (*IPTableReplaceEnd) GetMessageName

func (*IPTableReplaceEnd) GetMessageName() string

func (*IPTableReplaceEnd) GetMessageType

func (*IPTableReplaceEnd) GetMessageType() api.MessageType

func (*IPTableReplaceEnd) Marshal

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

func (*IPTableReplaceEnd) Reset

func (m *IPTableReplaceEnd) Reset()

func (*IPTableReplaceEnd) Size

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

func (*IPTableReplaceEnd) Unmarshal

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

type IPTableReplaceEndReply

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

IPTableReplaceEndReply defines message 'ip_table_replace_end_reply'.

func (*IPTableReplaceEndReply) GetCrcString

func (*IPTableReplaceEndReply) GetCrcString() string

func (*IPTableReplaceEndReply) GetMessageName

func (*IPTableReplaceEndReply) GetMessageName() string

func (*IPTableReplaceEndReply) GetMessageType

func (*IPTableReplaceEndReply) GetMessageType() api.MessageType

func (*IPTableReplaceEndReply) Marshal

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

func (*IPTableReplaceEndReply) Reset

func (m *IPTableReplaceEndReply) Reset()

func (*IPTableReplaceEndReply) Size

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

func (*IPTableReplaceEndReply) Unmarshal

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

type IPUnnumberedDetails

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

IPUnnumberedDetails defines message 'ip_unnumbered_details'.

func (*IPUnnumberedDetails) GetCrcString

func (*IPUnnumberedDetails) GetCrcString() string

func (*IPUnnumberedDetails) GetMessageName

func (*IPUnnumberedDetails) GetMessageName() string

func (*IPUnnumberedDetails) GetMessageType

func (*IPUnnumberedDetails) GetMessageType() api.MessageType

func (*IPUnnumberedDetails) Marshal

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

func (*IPUnnumberedDetails) Reset

func (m *IPUnnumberedDetails) Reset()

func (*IPUnnumberedDetails) Size

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

func (*IPUnnumberedDetails) Unmarshal

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

type IPUnnumberedDump

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

IPUnnumberedDump defines message 'ip_unnumbered_dump'.

func (*IPUnnumberedDump) GetCrcString

func (*IPUnnumberedDump) GetCrcString() string

func (*IPUnnumberedDump) GetMessageName

func (*IPUnnumberedDump) GetMessageName() string

func (*IPUnnumberedDump) GetMessageType

func (*IPUnnumberedDump) GetMessageType() api.MessageType

func (*IPUnnumberedDump) Marshal

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

func (*IPUnnumberedDump) Reset

func (m *IPUnnumberedDump) Reset()

func (*IPUnnumberedDump) Size

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

func (*IPUnnumberedDump) Unmarshal

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

type IoamDisable

type IoamDisable struct {
	ID uint16 `binapi:"u16,name=id" json:"id,omitempty"`
}

IoamDisable defines message 'ioam_disable'.

func (*IoamDisable) GetCrcString

func (*IoamDisable) GetCrcString() string

func (*IoamDisable) GetMessageName

func (*IoamDisable) GetMessageName() string

func (*IoamDisable) GetMessageType

func (*IoamDisable) GetMessageType() api.MessageType

func (*IoamDisable) Marshal

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

func (*IoamDisable) Reset

func (m *IoamDisable) Reset()

func (*IoamDisable) Size

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

func (*IoamDisable) Unmarshal

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

type IoamDisableReply

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

IoamDisableReply defines message 'ioam_disable_reply'.

func (*IoamDisableReply) GetCrcString

func (*IoamDisableReply) GetCrcString() string

func (*IoamDisableReply) GetMessageName

func (*IoamDisableReply) GetMessageName() string

func (*IoamDisableReply) GetMessageType

func (*IoamDisableReply) GetMessageType() api.MessageType

func (*IoamDisableReply) Marshal

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

func (*IoamDisableReply) Reset

func (m *IoamDisableReply) Reset()

func (*IoamDisableReply) Size

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

func (*IoamDisableReply) Unmarshal

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

type IoamEnable

type IoamEnable struct {
	ID          uint16 `binapi:"u16,name=id" json:"id,omitempty"`
	Seqno       bool   `binapi:"bool,name=seqno" json:"seqno,omitempty"`
	Analyse     bool   `binapi:"bool,name=analyse" json:"analyse,omitempty"`
	PotEnable   bool   `binapi:"bool,name=pot_enable" json:"pot_enable,omitempty"`
	TraceEnable bool   `binapi:"bool,name=trace_enable" json:"trace_enable,omitempty"`
	NodeID      uint32 `binapi:"u32,name=node_id" json:"node_id,omitempty"`
}

IoamEnable defines message 'ioam_enable'.

func (*IoamEnable) GetCrcString

func (*IoamEnable) GetCrcString() string

func (*IoamEnable) GetMessageName

func (*IoamEnable) GetMessageName() string

func (*IoamEnable) GetMessageType

func (*IoamEnable) GetMessageType() api.MessageType

func (*IoamEnable) Marshal

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

func (*IoamEnable) Reset

func (m *IoamEnable) Reset()

func (*IoamEnable) Size

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

func (*IoamEnable) Unmarshal

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

type IoamEnableReply

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

IoamEnableReply defines message 'ioam_enable_reply'.

func (*IoamEnableReply) GetCrcString

func (*IoamEnableReply) GetCrcString() string

func (*IoamEnableReply) GetMessageName

func (*IoamEnableReply) GetMessageName() string

func (*IoamEnableReply) GetMessageType

func (*IoamEnableReply) GetMessageType() api.MessageType

func (*IoamEnableReply) Marshal

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

func (*IoamEnableReply) Reset

func (m *IoamEnableReply) Reset()

func (*IoamEnableReply) Size

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

func (*IoamEnableReply) Unmarshal

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

type MfibSignalDetails

type MfibSignalDetails struct {
	SwIfIndex    interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	TableID      uint32                         `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Prefix       ip_types.Mprefix               `binapi:"mprefix,name=prefix" json:"prefix,omitempty"`
	IPPacketLen  uint16                         `binapi:"u16,name=ip_packet_len" json:"ip_packet_len,omitempty"`
	IPPacketData []byte                         `binapi:"u8[256],name=ip_packet_data" json:"ip_packet_data,omitempty"`
}

MfibSignalDetails defines message 'mfib_signal_details'.

func (*MfibSignalDetails) GetCrcString

func (*MfibSignalDetails) GetCrcString() string

func (*MfibSignalDetails) GetMessageName

func (*MfibSignalDetails) GetMessageName() string

func (*MfibSignalDetails) GetMessageType

func (*MfibSignalDetails) GetMessageType() api.MessageType

func (*MfibSignalDetails) Marshal

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

func (*MfibSignalDetails) Reset

func (m *MfibSignalDetails) Reset()

func (*MfibSignalDetails) Size

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

func (*MfibSignalDetails) Unmarshal

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

type MfibSignalDump

type MfibSignalDump struct{}

MfibSignalDump defines message 'mfib_signal_dump'.

func (*MfibSignalDump) GetCrcString

func (*MfibSignalDump) GetCrcString() string

func (*MfibSignalDump) GetMessageName

func (*MfibSignalDump) GetMessageName() string

func (*MfibSignalDump) GetMessageType

func (*MfibSignalDump) GetMessageType() api.MessageType

func (*MfibSignalDump) Marshal

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

func (*MfibSignalDump) Reset

func (m *MfibSignalDump) Reset()

func (*MfibSignalDump) Size

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

func (*MfibSignalDump) Unmarshal

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

type PuntRedirect

type PuntRedirect struct {
	RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"`
	TxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"`
	Nh          ip_types.Address               `binapi:"address,name=nh" json:"nh,omitempty"`
}

PuntRedirect defines type 'punt_redirect'.

type PuntRedirectV2

type PuntRedirectV2 struct {
	RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index,default=4294967295" json:"rx_sw_if_index,omitempty"`
	Af          ip_types.AddressFamily         `binapi:"address_family,name=af" json:"af,omitempty"`
	NPaths      uint32                         `binapi:"u32,name=n_paths" json:"-"`
	Paths       []fib_types.FibPath            `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"`
}

PuntRedirectV2 defines type 'punt_redirect_v2'.

type RPCService

type RPCService interface {
	AddDelIPPuntRedirectV2(ctx context.Context, in *AddDelIPPuntRedirectV2) (*AddDelIPPuntRedirectV2Reply, error)
	IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
	IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
	IPAddressDump(ctx context.Context, in *IPAddressDump) (RPCService_IPAddressDumpClient, error)
	IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
	IPContainerProxyDump(ctx context.Context, in *IPContainerProxyDump) (RPCService_IPContainerProxyDumpClient, error)
	IPDump(ctx context.Context, in *IPDump) (RPCService_IPDumpClient, error)
	IPLocalReassEnableDisable(ctx context.Context, in *IPLocalReassEnableDisable) (*IPLocalReassEnableDisableReply, error)
	IPLocalReassGet(ctx context.Context, in *IPLocalReassGet) (*IPLocalReassGetReply, error)
	IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error)
	IPMrouteDump(ctx context.Context, in *IPMrouteDump) (RPCService_IPMrouteDumpClient, error)
	IPMtableDump(ctx context.Context, in *IPMtableDump) (RPCService_IPMtableDumpClient, error)
	IPPathMtuGet(ctx context.Context, in *IPPathMtuGet) (RPCService_IPPathMtuGetClient, error)
	IPPathMtuReplaceBegin(ctx context.Context, in *IPPathMtuReplaceBegin) (*IPPathMtuReplaceBeginReply, error)
	IPPathMtuReplaceEnd(ctx context.Context, in *IPPathMtuReplaceEnd) (*IPPathMtuReplaceEndReply, error)
	IPPathMtuUpdate(ctx context.Context, in *IPPathMtuUpdate) (*IPPathMtuUpdateReply, error)
	IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error)
	IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error)
	IPPuntRedirectDump(ctx context.Context, in *IPPuntRedirectDump) (RPCService_IPPuntRedirectDumpClient, error)
	IPPuntRedirectV2Dump(ctx context.Context, in *IPPuntRedirectV2Dump) (RPCService_IPPuntRedirectV2DumpClient, error)
	IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error)
	IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error)
	IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error)
	IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error)
	IPRouteAddDelV2(ctx context.Context, in *IPRouteAddDelV2) (*IPRouteAddDelV2Reply, error)
	IPRouteDump(ctx context.Context, in *IPRouteDump) (RPCService_IPRouteDumpClient, error)
	IPRouteLookup(ctx context.Context, in *IPRouteLookup) (*IPRouteLookupReply, error)
	IPRouteLookupV2(ctx context.Context, in *IPRouteLookupV2) (*IPRouteLookupV2Reply, error)
	IPRouteV2Dump(ctx context.Context, in *IPRouteV2Dump) (RPCService_IPRouteV2DumpClient, error)
	IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
	IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
	IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error)
	IPTableAllocate(ctx context.Context, in *IPTableAllocate) (*IPTableAllocateReply, error)
	IPTableDump(ctx context.Context, in *IPTableDump) (RPCService_IPTableDumpClient, error)
	IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error)
	IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error)
	IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error)
	IPUnnumberedDump(ctx context.Context, in *IPUnnumberedDump) (RPCService_IPUnnumberedDumpClient, error)
	MfibSignalDump(ctx context.Context, in *MfibSignalDump) (RPCService_MfibSignalDumpClient, error)
	SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error)
	SetIPFlowHashRouterID(ctx context.Context, in *SetIPFlowHashRouterID) (*SetIPFlowHashRouterIDReply, error)
	SetIPFlowHashV2(ctx context.Context, in *SetIPFlowHashV2) (*SetIPFlowHashV2Reply, error)
	SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error)
	SwInterfaceIP6GetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6GetLinkLocalAddress) (*SwInterfaceIP6GetLinkLocalAddressReply, error)
	SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error)
}

RPCService defines RPC service ip.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_IPAddressDumpClient

type RPCService_IPAddressDumpClient interface {
	Recv() (*IPAddressDetails, error)
	api.Stream
}

type RPCService_IPContainerProxyDumpClient

type RPCService_IPContainerProxyDumpClient interface {
	Recv() (*IPContainerProxyDetails, error)
	api.Stream
}

type RPCService_IPDumpClient

type RPCService_IPDumpClient interface {
	Recv() (*IPDetails, error)
	api.Stream
}

type RPCService_IPMrouteDumpClient

type RPCService_IPMrouteDumpClient interface {
	Recv() (*IPMrouteDetails, error)
	api.Stream
}

type RPCService_IPMtableDumpClient

type RPCService_IPMtableDumpClient interface {
	Recv() (*IPMtableDetails, error)
	api.Stream
}

type RPCService_IPPathMtuGetClient

type RPCService_IPPathMtuGetClient interface {
	Recv() (*IPPathMtuDetails, *IPPathMtuGetReply, error)
	api.Stream
}

type RPCService_IPPuntRedirectDumpClient

type RPCService_IPPuntRedirectDumpClient interface {
	Recv() (*IPPuntRedirectDetails, error)
	api.Stream
}

type RPCService_IPPuntRedirectV2DumpClient

type RPCService_IPPuntRedirectV2DumpClient interface {
	Recv() (*IPPuntRedirectV2Details, error)
	api.Stream
}

type RPCService_IPRouteDumpClient

type RPCService_IPRouteDumpClient interface {
	Recv() (*IPRouteDetails, error)
	api.Stream
}

type RPCService_IPRouteV2DumpClient

type RPCService_IPRouteV2DumpClient interface {
	Recv() (*IPRouteV2Details, error)
	api.Stream
}

type RPCService_IPTableDumpClient

type RPCService_IPTableDumpClient interface {
	Recv() (*IPTableDetails, error)
	api.Stream
}

type RPCService_IPUnnumberedDumpClient

type RPCService_IPUnnumberedDumpClient interface {
	Recv() (*IPUnnumberedDetails, error)
	api.Stream
}

type RPCService_MfibSignalDumpClient

type RPCService_MfibSignalDumpClient interface {
	Recv() (*MfibSignalDetails, error)
	api.Stream
}

type SetIPFlowHash

type SetIPFlowHash struct {
	VrfID     uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	IsIPv6    bool   `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
	Src       bool   `binapi:"bool,name=src" json:"src,omitempty"`
	Dst       bool   `binapi:"bool,name=dst" json:"dst,omitempty"`
	Sport     bool   `binapi:"bool,name=sport" json:"sport,omitempty"`
	Dport     bool   `binapi:"bool,name=dport" json:"dport,omitempty"`
	Proto     bool   `binapi:"bool,name=proto" json:"proto,omitempty"`
	Reverse   bool   `binapi:"bool,name=reverse" json:"reverse,omitempty"`
	Symmetric bool   `binapi:"bool,name=symmetric" json:"symmetric,omitempty"`
}

SetIPFlowHash defines message 'set_ip_flow_hash'. Deprecated: the message will be removed in the future versions

func (*SetIPFlowHash) GetCrcString

func (*SetIPFlowHash) GetCrcString() string

func (*SetIPFlowHash) GetMessageName

func (*SetIPFlowHash) GetMessageName() string

func (*SetIPFlowHash) GetMessageType

func (*SetIPFlowHash) GetMessageType() api.MessageType

func (*SetIPFlowHash) Marshal

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

func (*SetIPFlowHash) Reset

func (m *SetIPFlowHash) Reset()

func (*SetIPFlowHash) Size

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

func (*SetIPFlowHash) Unmarshal

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

type SetIPFlowHashReply

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

SetIPFlowHashReply defines message 'set_ip_flow_hash_reply'. Deprecated: the message will be removed in the future versions

func (*SetIPFlowHashReply) GetCrcString

func (*SetIPFlowHashReply) GetCrcString() string

func (*SetIPFlowHashReply) GetMessageName

func (*SetIPFlowHashReply) GetMessageName() string

func (*SetIPFlowHashReply) GetMessageType

func (*SetIPFlowHashReply) GetMessageType() api.MessageType

func (*SetIPFlowHashReply) Marshal

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

func (*SetIPFlowHashReply) Reset

func (m *SetIPFlowHashReply) Reset()

func (*SetIPFlowHashReply) Size

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

func (*SetIPFlowHashReply) Unmarshal

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

type SetIPFlowHashRouterID

type SetIPFlowHashRouterID struct {
	RouterID uint32 `binapi:"u32,name=router_id" json:"router_id,omitempty"`
}

SetIPFlowHashRouterID defines message 'set_ip_flow_hash_router_id'.

func (*SetIPFlowHashRouterID) GetCrcString

func (*SetIPFlowHashRouterID) GetCrcString() string

func (*SetIPFlowHashRouterID) GetMessageName

func (*SetIPFlowHashRouterID) GetMessageName() string

func (*SetIPFlowHashRouterID) GetMessageType

func (*SetIPFlowHashRouterID) GetMessageType() api.MessageType

func (*SetIPFlowHashRouterID) Marshal

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

func (*SetIPFlowHashRouterID) Reset

func (m *SetIPFlowHashRouterID) Reset()

func (*SetIPFlowHashRouterID) Size

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

func (*SetIPFlowHashRouterID) Unmarshal

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

type SetIPFlowHashRouterIDReply

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

SetIPFlowHashRouterIDReply defines message 'set_ip_flow_hash_router_id_reply'.

func (*SetIPFlowHashRouterIDReply) GetCrcString

func (*SetIPFlowHashRouterIDReply) GetCrcString() string

func (*SetIPFlowHashRouterIDReply) GetMessageName

func (*SetIPFlowHashRouterIDReply) GetMessageName() string

func (*SetIPFlowHashRouterIDReply) GetMessageType

func (*SetIPFlowHashRouterIDReply) GetMessageType() api.MessageType

func (*SetIPFlowHashRouterIDReply) Marshal

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

func (*SetIPFlowHashRouterIDReply) Reset

func (m *SetIPFlowHashRouterIDReply) Reset()

func (*SetIPFlowHashRouterIDReply) Size

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

func (*SetIPFlowHashRouterIDReply) Unmarshal

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

type SetIPFlowHashV2

type SetIPFlowHashV2 struct {
	TableID        uint32                 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Af             ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
	FlowHashConfig IPFlowHashConfig       `binapi:"ip_flow_hash_config,name=flow_hash_config" json:"flow_hash_config,omitempty"`
}

SetIPFlowHashV2 defines message 'set_ip_flow_hash_v2'.

func (*SetIPFlowHashV2) GetCrcString

func (*SetIPFlowHashV2) GetCrcString() string

func (*SetIPFlowHashV2) GetMessageName

func (*SetIPFlowHashV2) GetMessageName() string

func (*SetIPFlowHashV2) GetMessageType

func (*SetIPFlowHashV2) GetMessageType() api.MessageType

func (*SetIPFlowHashV2) Marshal

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

func (*SetIPFlowHashV2) Reset

func (m *SetIPFlowHashV2) Reset()

func (*SetIPFlowHashV2) Size

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

func (*SetIPFlowHashV2) Unmarshal

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

type SetIPFlowHashV2Reply

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

SetIPFlowHashV2Reply defines message 'set_ip_flow_hash_v2_reply'.

func (*SetIPFlowHashV2Reply) GetCrcString

func (*SetIPFlowHashV2Reply) GetCrcString() string

func (*SetIPFlowHashV2Reply) GetMessageName

func (*SetIPFlowHashV2Reply) GetMessageName() string

func (*SetIPFlowHashV2Reply) GetMessageType

func (*SetIPFlowHashV2Reply) GetMessageType() api.MessageType

func (*SetIPFlowHashV2Reply) Marshal

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

func (*SetIPFlowHashV2Reply) Reset

func (m *SetIPFlowHashV2Reply) Reset()

func (*SetIPFlowHashV2Reply) Size

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

func (*SetIPFlowHashV2Reply) Unmarshal

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

type SwInterfaceIP6EnableDisable

type SwInterfaceIP6EnableDisable struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Enable    bool                           `binapi:"bool,name=enable" json:"enable,omitempty"`
}

SwInterfaceIP6EnableDisable defines message 'sw_interface_ip6_enable_disable'.

func (*SwInterfaceIP6EnableDisable) GetCrcString

func (*SwInterfaceIP6EnableDisable) GetCrcString() string

func (*SwInterfaceIP6EnableDisable) GetMessageName

func (*SwInterfaceIP6EnableDisable) GetMessageName() string

func (*SwInterfaceIP6EnableDisable) GetMessageType

func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType

func (*SwInterfaceIP6EnableDisable) Marshal

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

func (*SwInterfaceIP6EnableDisable) Reset

func (m *SwInterfaceIP6EnableDisable) Reset()

func (*SwInterfaceIP6EnableDisable) Size

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

func (*SwInterfaceIP6EnableDisable) Unmarshal

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

type SwInterfaceIP6EnableDisableReply

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

SwInterfaceIP6EnableDisableReply defines message 'sw_interface_ip6_enable_disable_reply'.

func (*SwInterfaceIP6EnableDisableReply) GetCrcString

func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string

func (*SwInterfaceIP6EnableDisableReply) GetMessageName

func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string

func (*SwInterfaceIP6EnableDisableReply) GetMessageType

func (*SwInterfaceIP6EnableDisableReply) Marshal

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

func (*SwInterfaceIP6EnableDisableReply) Reset

func (*SwInterfaceIP6EnableDisableReply) Size

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

func (*SwInterfaceIP6EnableDisableReply) Unmarshal

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

type SwInterfaceIP6GetLinkLocalAddress

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

SwInterfaceIP6GetLinkLocalAddress defines message 'sw_interface_ip6_get_link_local_address'.

func (*SwInterfaceIP6GetLinkLocalAddress) GetCrcString

func (*SwInterfaceIP6GetLinkLocalAddress) GetCrcString() string

func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageName

func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageName() string

func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageType

func (*SwInterfaceIP6GetLinkLocalAddress) Marshal

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

func (*SwInterfaceIP6GetLinkLocalAddress) Reset

func (*SwInterfaceIP6GetLinkLocalAddress) Size

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

func (*SwInterfaceIP6GetLinkLocalAddress) Unmarshal

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

type SwInterfaceIP6GetLinkLocalAddressReply

type SwInterfaceIP6GetLinkLocalAddressReply struct {
	Retval int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
	IP     ip_types.IP6Address `binapi:"ip6_address,name=ip" json:"ip,omitempty"`
}

SwInterfaceIP6GetLinkLocalAddressReply defines message 'sw_interface_ip6_get_link_local_address_reply'.

func (*SwInterfaceIP6GetLinkLocalAddressReply) GetCrcString

func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageName

func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageType

func (*SwInterfaceIP6GetLinkLocalAddressReply) Marshal

func (*SwInterfaceIP6GetLinkLocalAddressReply) Reset

func (*SwInterfaceIP6GetLinkLocalAddressReply) Size

func (*SwInterfaceIP6GetLinkLocalAddressReply) Unmarshal

type SwInterfaceIP6SetLinkLocalAddress

type SwInterfaceIP6SetLinkLocalAddress struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IP        ip_types.IP6Address            `binapi:"ip6_address,name=ip" json:"ip,omitempty"`
}

SwInterfaceIP6SetLinkLocalAddress defines message 'sw_interface_ip6_set_link_local_address'.

func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString

func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType

func (*SwInterfaceIP6SetLinkLocalAddress) Marshal

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

func (*SwInterfaceIP6SetLinkLocalAddress) Reset

func (*SwInterfaceIP6SetLinkLocalAddress) Size

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

func (*SwInterfaceIP6SetLinkLocalAddress) Unmarshal

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

type SwInterfaceIP6SetLinkLocalAddressReply

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

SwInterfaceIP6SetLinkLocalAddressReply defines message 'sw_interface_ip6_set_link_local_address_reply'.

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType

func (*SwInterfaceIP6SetLinkLocalAddressReply) Marshal

func (*SwInterfaceIP6SetLinkLocalAddressReply) Reset

func (*SwInterfaceIP6SetLinkLocalAddressReply) Size

func (*SwInterfaceIP6SetLinkLocalAddressReply) Unmarshal

Jump to

Keyboard shortcuts

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