ip

package
v0.0.0-...-fb2e7cc Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Contents:

 1 enum
 4 structs
60 messages

Index

Constants

View Source
const (
	APIFile    = "ip"
	APIVersion = "3.0.1"
	VersionCrc = 0xd7d82c5f
)

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,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

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

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

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

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

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