ip

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Contents:

 7 aliases
15 enums
14 structs
 1 union
60 messages

Index

Constants

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

Variables

View Source
var (
	AddressFamily_name = map[uint32]string{
		0: "ADDRESS_IP4",
		1: "ADDRESS_IP6",
	}
	AddressFamily_value = map[string]uint32{
		"ADDRESS_IP4": 0,
		"ADDRESS_IP6": 1,
	}
)
View Source
var (
	FibPathFlags_name = map[uint32]string{
		0: "FIB_API_PATH_FLAG_NONE",
		1: "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED",
		2: "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST",
		4: "FIB_API_PATH_FLAG_POP_PW_CW",
	}
	FibPathFlags_value = map[string]uint32{
		"FIB_API_PATH_FLAG_NONE":                 0,
		"FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED": 1,
		"FIB_API_PATH_FLAG_RESOLVE_VIA_HOST":     2,
		"FIB_API_PATH_FLAG_POP_PW_CW":            4,
	}
)
View Source
var (
	FibPathNhProto_name = map[uint32]string{
		0: "FIB_API_PATH_NH_PROTO_IP4",
		1: "FIB_API_PATH_NH_PROTO_IP6",
		2: "FIB_API_PATH_NH_PROTO_MPLS",
		3: "FIB_API_PATH_NH_PROTO_ETHERNET",
		4: "FIB_API_PATH_NH_PROTO_BIER",
	}
	FibPathNhProto_value = map[string]uint32{
		"FIB_API_PATH_NH_PROTO_IP4":      0,
		"FIB_API_PATH_NH_PROTO_IP6":      1,
		"FIB_API_PATH_NH_PROTO_MPLS":     2,
		"FIB_API_PATH_NH_PROTO_ETHERNET": 3,
		"FIB_API_PATH_NH_PROTO_BIER":     4,
	}
)
View Source
var (
	FibPathType_name = map[uint32]string{
		0:  "FIB_API_PATH_TYPE_NORMAL",
		1:  "FIB_API_PATH_TYPE_LOCAL",
		2:  "FIB_API_PATH_TYPE_DROP",
		3:  "FIB_API_PATH_TYPE_UDP_ENCAP",
		4:  "FIB_API_PATH_TYPE_BIER_IMP",
		5:  "FIB_API_PATH_TYPE_ICMP_UNREACH",
		6:  "FIB_API_PATH_TYPE_ICMP_PROHIBIT",
		7:  "FIB_API_PATH_TYPE_SOURCE_LOOKUP",
		8:  "FIB_API_PATH_TYPE_DVR",
		9:  "FIB_API_PATH_TYPE_INTERFACE_RX",
		10: "FIB_API_PATH_TYPE_CLASSIFY",
	}
	FibPathType_value = map[string]uint32{
		"FIB_API_PATH_TYPE_NORMAL":        0,
		"FIB_API_PATH_TYPE_LOCAL":         1,
		"FIB_API_PATH_TYPE_DROP":          2,
		"FIB_API_PATH_TYPE_UDP_ENCAP":     3,
		"FIB_API_PATH_TYPE_BIER_IMP":      4,
		"FIB_API_PATH_TYPE_ICMP_UNREACH":  5,
		"FIB_API_PATH_TYPE_ICMP_PROHIBIT": 6,
		"FIB_API_PATH_TYPE_SOURCE_LOOKUP": 7,
		"FIB_API_PATH_TYPE_DVR":           8,
		"FIB_API_PATH_TYPE_INTERFACE_RX":  9,
		"FIB_API_PATH_TYPE_CLASSIFY":      10,
	}
)
View Source
var (
	IfStatusFlags_name = map[uint32]string{
		1: "IF_STATUS_API_FLAG_ADMIN_UP",
		2: "IF_STATUS_API_FLAG_LINK_UP",
	}
	IfStatusFlags_value = map[string]uint32{
		"IF_STATUS_API_FLAG_ADMIN_UP": 1,
		"IF_STATUS_API_FLAG_LINK_UP":  2,
	}
)
View Source
var (
	IfType_name = map[uint32]string{
		1: "IF_API_TYPE_HARDWARE",
		2: "IF_API_TYPE_SUB",
		3: "IF_API_TYPE_P2P",
		4: "IF_API_TYPE_PIPE",
	}
	IfType_value = map[string]uint32{
		"IF_API_TYPE_HARDWARE": 1,
		"IF_API_TYPE_SUB":      2,
		"IF_API_TYPE_P2P":      3,
		"IF_API_TYPE_PIPE":     4,
	}
)
View Source
var (
	IPDscp_name = map[uint8]string{
		0:  "IP_API_DSCP_CS0",
		8:  "IP_API_DSCP_CS1",
		10: "IP_API_DSCP_AF11",
		12: "IP_API_DSCP_AF12",
		14: "IP_API_DSCP_AF13",
		16: "IP_API_DSCP_CS2",
		18: "IP_API_DSCP_AF21",
		20: "IP_API_DSCP_AF22",
		22: "IP_API_DSCP_AF23",
		24: "IP_API_DSCP_CS3",
		26: "IP_API_DSCP_AF31",
		28: "IP_API_DSCP_AF32",
		30: "IP_API_DSCP_AF33",
		32: "IP_API_DSCP_CS4",
		34: "IP_API_DSCP_AF41",
		36: "IP_API_DSCP_AF42",
		38: "IP_API_DSCP_AF43",
		40: "IP_API_DSCP_CS5",
		46: "IP_API_DSCP_EF",
		48: "IP_API_DSCP_CS6",
		50: "IP_API_DSCP_CS7",
	}
	IPDscp_value = map[string]uint8{
		"IP_API_DSCP_CS0":  0,
		"IP_API_DSCP_CS1":  8,
		"IP_API_DSCP_AF11": 10,
		"IP_API_DSCP_AF12": 12,
		"IP_API_DSCP_AF13": 14,
		"IP_API_DSCP_CS2":  16,
		"IP_API_DSCP_AF21": 18,
		"IP_API_DSCP_AF22": 20,
		"IP_API_DSCP_AF23": 22,
		"IP_API_DSCP_CS3":  24,
		"IP_API_DSCP_AF31": 26,
		"IP_API_DSCP_AF32": 28,
		"IP_API_DSCP_AF33": 30,
		"IP_API_DSCP_CS4":  32,
		"IP_API_DSCP_AF41": 34,
		"IP_API_DSCP_AF42": 36,
		"IP_API_DSCP_AF43": 38,
		"IP_API_DSCP_CS5":  40,
		"IP_API_DSCP_EF":   46,
		"IP_API_DSCP_CS6":  48,
		"IP_API_DSCP_CS7":  50,
	}
)
View Source
var (
	IPEcn_name = map[uint8]string{
		0: "IP_API_ECN_NONE",
		1: "IP_API_ECN_ECT0",
		2: "IP_API_ECN_ECT1",
		3: "IP_API_ECN_CE",
	}
	IPEcn_value = map[string]uint8{
		"IP_API_ECN_NONE": 0,
		"IP_API_ECN_ECT0": 1,
		"IP_API_ECN_ECT1": 2,
		"IP_API_ECN_CE":   3,
	}
)
View Source
var (
	IPProto_name = map[uint32]string{
		0:   "IP_API_PROTO_HOPOPT",
		1:   "IP_API_PROTO_ICMP",
		2:   "IP_API_PROTO_IGMP",
		6:   "IP_API_PROTO_TCP",
		17:  "IP_API_PROTO_UDP",
		47:  "IP_API_PROTO_GRE",
		50:  "IP_API_PROTO_AH",
		51:  "IP_API_PROTO_ESP",
		88:  "IP_API_PROTO_EIGRP",
		89:  "IP_API_PROTO_OSPF",
		132: "IP_API_PROTO_SCTP",
		255: "IP_API_PROTO_RESERVED",
	}
	IPProto_value = map[string]uint32{
		"IP_API_PROTO_HOPOPT":   0,
		"IP_API_PROTO_ICMP":     1,
		"IP_API_PROTO_IGMP":     2,
		"IP_API_PROTO_TCP":      6,
		"IP_API_PROTO_UDP":      17,
		"IP_API_PROTO_GRE":      47,
		"IP_API_PROTO_AH":       50,
		"IP_API_PROTO_ESP":      51,
		"IP_API_PROTO_EIGRP":    88,
		"IP_API_PROTO_OSPF":     89,
		"IP_API_PROTO_SCTP":     132,
		"IP_API_PROTO_RESERVED": 255,
	}
)
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 (
	LinkDuplex_name = map[uint32]string{
		0: "LINK_DUPLEX_API_UNKNOWN",
		1: "LINK_DUPLEX_API_HALF",
		2: "LINK_DUPLEX_API_FULL",
	}
	LinkDuplex_value = map[string]uint32{
		"LINK_DUPLEX_API_UNKNOWN": 0,
		"LINK_DUPLEX_API_HALF":    1,
		"LINK_DUPLEX_API_FULL":    2,
	}
)
View Source
var (
	MfibItfFlags_name = map[uint32]string{
		0:  "MFIB_API_ITF_FLAG_NONE",
		1:  "MFIB_API_ITF_FLAG_NEGATE_SIGNAL",
		2:  "MFIB_API_ITF_FLAG_ACCEPT",
		4:  "MFIB_API_ITF_FLAG_FORWARD",
		8:  "MFIB_API_ITF_FLAG_SIGNAL_PRESENT",
		16: "MFIB_API_ITF_FLAG_DONT_PRESERVE",
	}
	MfibItfFlags_value = map[string]uint32{
		"MFIB_API_ITF_FLAG_NONE":           0,
		"MFIB_API_ITF_FLAG_NEGATE_SIGNAL":  1,
		"MFIB_API_ITF_FLAG_ACCEPT":         2,
		"MFIB_API_ITF_FLAG_FORWARD":        4,
		"MFIB_API_ITF_FLAG_SIGNAL_PRESENT": 8,
		"MFIB_API_ITF_FLAG_DONT_PRESERVE":  16,
	}
)
View Source
var (
	MtuProto_name = map[uint32]string{
		1: "MTU_PROTO_API_L3",
		2: "MTU_PROTO_API_IP4",
		3: "MTU_PROTO_API_IP6",
		4: "MTU_PROTO_API_MPLS",
		5: "MTU_PROTO_API_N",
	}
	MtuProto_value = map[string]uint32{
		"MTU_PROTO_API_L3":   1,
		"MTU_PROTO_API_IP4":  2,
		"MTU_PROTO_API_IP6":  3,
		"MTU_PROTO_API_MPLS": 4,
		"MTU_PROTO_API_N":    5,
	}
)
View Source
var (
	RxMode_name = map[uint32]string{
		0: "RX_MODE_API_UNKNOWN",
		1: "RX_MODE_API_POLLING",
		2: "RX_MODE_API_INTERRUPT",
		3: "RX_MODE_API_ADAPTIVE",
		4: "RX_MODE_API_DEFAULT",
	}
	RxMode_value = map[string]uint32{
		"RX_MODE_API_UNKNOWN":   0,
		"RX_MODE_API_POLLING":   1,
		"RX_MODE_API_INTERRUPT": 2,
		"RX_MODE_API_ADAPTIVE":  3,
		"RX_MODE_API_DEFAULT":   4,
	}
)
View Source
var (
	SubIfFlags_name = map[uint32]string{
		1:   "SUB_IF_API_FLAG_NO_TAGS",
		2:   "SUB_IF_API_FLAG_ONE_TAG",
		4:   "SUB_IF_API_FLAG_TWO_TAGS",
		8:   "SUB_IF_API_FLAG_DOT1AD",
		16:  "SUB_IF_API_FLAG_EXACT_MATCH",
		32:  "SUB_IF_API_FLAG_DEFAULT",
		64:  "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
		128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
		254: "SUB_IF_API_FLAG_MASK_VNET",
		256: "SUB_IF_API_FLAG_DOT1AH",
	}
	SubIfFlags_value = map[string]uint32{
		"SUB_IF_API_FLAG_NO_TAGS":           1,
		"SUB_IF_API_FLAG_ONE_TAG":           2,
		"SUB_IF_API_FLAG_TWO_TAGS":          4,
		"SUB_IF_API_FLAG_DOT1AD":            8,
		"SUB_IF_API_FLAG_EXACT_MATCH":       16,
		"SUB_IF_API_FLAG_DEFAULT":           32,
		"SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64,
		"SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128,
		"SUB_IF_API_FLAG_MASK_VNET":         254,
		"SUB_IF_API_FLAG_DOT1AH":            256,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address struct {
	Af AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
	Un AddressUnion  `binapi:"address_union,name=un" json:"un,omitempty"`
}

Address defines type 'address'.

func ParseAddress

func ParseAddress(s string) (Address, error)

func (*Address) MarshalText

func (x *Address) MarshalText() ([]byte, error)

func (Address) String

func (x Address) String() string

func (Address) ToIP

func (x Address) ToIP() net.IP

func (*Address) UnmarshalText

func (x *Address) UnmarshalText(text []byte) error

type AddressFamily

type AddressFamily uint32

AddressFamily defines enum 'address_family'.

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

func (AddressFamily) String

func (x AddressFamily) String() string

type AddressUnion

type AddressUnion struct {
	// IP4 *IP4Address
	// IP6 *IP6Address
	XXX_UnionData [16]byte
}

AddressUnion defines union 'address_union'.

func AddressUnionIP4

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetIP4

func (u *AddressUnion) GetIP4() (a IP4Address)

func (*AddressUnion) GetIP6

func (u *AddressUnion) GetIP6() (a IP6Address)

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type AddressWithPrefix

type AddressWithPrefix Prefix

AddressWithPrefix defines alias 'address_with_prefix'.

func ParseAddressWithPrefix

func ParseAddressWithPrefix(s string) (AddressWithPrefix, error)

func (*AddressWithPrefix) MarshalText

func (x *AddressWithPrefix) MarshalText() ([]byte, error)

func (AddressWithPrefix) String

func (x AddressWithPrefix) String() string

func (*AddressWithPrefix) UnmarshalText

func (x *AddressWithPrefix) UnmarshalText(text []byte) error

type FibMplsLabel

type FibMplsLabel struct {
	IsUniform uint8  `binapi:"u8,name=is_uniform" json:"is_uniform,omitempty"`
	Label     uint32 `binapi:"u32,name=label" json:"label,omitempty"`
	TTL       uint8  `binapi:"u8,name=ttl" json:"ttl,omitempty"`
	Exp       uint8  `binapi:"u8,name=exp" json:"exp,omitempty"`
}

FibMplsLabel defines type 'fib_mpls_label'.

type FibPath

type FibPath struct {
	SwIfIndex  uint32           `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
	TableID    uint32           `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	RpfID      uint32           `binapi:"u32,name=rpf_id" json:"rpf_id,omitempty"`
	Weight     uint8            `binapi:"u8,name=weight" json:"weight,omitempty"`
	Preference uint8            `binapi:"u8,name=preference" json:"preference,omitempty"`
	Type       FibPathType      `binapi:"fib_path_type,name=type" json:"type,omitempty"`
	Flags      FibPathFlags     `binapi:"fib_path_flags,name=flags" json:"flags,omitempty"`
	Proto      FibPathNhProto   `binapi:"fib_path_nh_proto,name=proto" json:"proto,omitempty"`
	Nh         FibPathNh        `binapi:"fib_path_nh,name=nh" json:"nh,omitempty"`
	NLabels    uint8            `binapi:"u8,name=n_labels" json:"n_labels,omitempty"`
	LabelStack [16]FibMplsLabel `binapi:"fib_mpls_label[16],name=label_stack" json:"label_stack,omitempty"`
}

FibPath defines type 'fib_path'.

type FibPathFlags

type FibPathFlags uint32

FibPathFlags defines enum 'fib_path_flags'.

const (
	FIB_API_PATH_FLAG_NONE                 FibPathFlags = 0
	FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED FibPathFlags = 1
	FIB_API_PATH_FLAG_RESOLVE_VIA_HOST     FibPathFlags = 2
	FIB_API_PATH_FLAG_POP_PW_CW            FibPathFlags = 4
)

func (FibPathFlags) String

func (x FibPathFlags) String() string

type FibPathNh

type FibPathNh struct {
	Address            AddressUnion `binapi:"address_union,name=address" json:"address,omitempty"`
	ViaLabel           uint32       `binapi:"u32,name=via_label" json:"via_label,omitempty"`
	ObjID              uint32       `binapi:"u32,name=obj_id" json:"obj_id,omitempty"`
	ClassifyTableIndex uint32       `binapi:"u32,name=classify_table_index" json:"classify_table_index,omitempty"`
}

FibPathNh defines type 'fib_path_nh'.

type FibPathNhProto

type FibPathNhProto uint32

FibPathNhProto defines enum 'fib_path_nh_proto'.

const (
	FIB_API_PATH_NH_PROTO_IP4      FibPathNhProto = 0
	FIB_API_PATH_NH_PROTO_IP6      FibPathNhProto = 1
	FIB_API_PATH_NH_PROTO_MPLS     FibPathNhProto = 2
	FIB_API_PATH_NH_PROTO_ETHERNET FibPathNhProto = 3
	FIB_API_PATH_NH_PROTO_BIER     FibPathNhProto = 4
)

func (FibPathNhProto) String

func (x FibPathNhProto) String() string

type FibPathType

type FibPathType uint32

FibPathType defines enum 'fib_path_type'.

const (
	FIB_API_PATH_TYPE_NORMAL        FibPathType = 0
	FIB_API_PATH_TYPE_LOCAL         FibPathType = 1
	FIB_API_PATH_TYPE_DROP          FibPathType = 2
	FIB_API_PATH_TYPE_UDP_ENCAP     FibPathType = 3
	FIB_API_PATH_TYPE_BIER_IMP      FibPathType = 4
	FIB_API_PATH_TYPE_ICMP_UNREACH  FibPathType = 5
	FIB_API_PATH_TYPE_ICMP_PROHIBIT FibPathType = 6
	FIB_API_PATH_TYPE_SOURCE_LOOKUP FibPathType = 7
	FIB_API_PATH_TYPE_DVR           FibPathType = 8
	FIB_API_PATH_TYPE_INTERFACE_RX  FibPathType = 9
	FIB_API_PATH_TYPE_CLASSIFY      FibPathType = 10
)

func (FibPathType) String

func (x FibPathType) String() string

type IP4Address

type IP4Address [4]uint8

IP4Address defines alias 'ip4_address'.

func ParseIP4Address

func ParseIP4Address(s string) (IP4Address, error)

func (*IP4Address) MarshalText

func (x *IP4Address) MarshalText() ([]byte, error)

func (IP4Address) String

func (x IP4Address) String() string

func (IP4Address) ToIP

func (x IP4Address) ToIP() net.IP

func (*IP4Address) UnmarshalText

func (x *IP4Address) UnmarshalText(text []byte) error

type IP4AddressWithPrefix

type IP4AddressWithPrefix IP4Prefix

IP4AddressWithPrefix defines alias 'ip4_address_with_prefix'.

type IP4Prefix

type IP4Prefix struct {
	Address IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"`
	Len     uint8      `binapi:"u8,name=len" json:"len,omitempty"`
}

IP4Prefix defines type 'ip4_prefix'.

func ParseIP4Prefix

func ParseIP4Prefix(s string) (prefix IP4Prefix, err error)

func (*IP4Prefix) MarshalText

func (x *IP4Prefix) MarshalText() ([]byte, error)

func (IP4Prefix) String

func (x IP4Prefix) String() string

func (IP4Prefix) ToIPNet

func (x IP4Prefix) ToIPNet() *net.IPNet

func (*IP4Prefix) UnmarshalText

func (x *IP4Prefix) UnmarshalText(text []byte) error

type IP6Address

type IP6Address [16]uint8

IP6Address defines alias 'ip6_address'.

func ParseIP6Address

func ParseIP6Address(s string) (IP6Address, error)

func (*IP6Address) MarshalText

func (x *IP6Address) MarshalText() ([]byte, error)

func (IP6Address) String

func (x IP6Address) String() string

func (IP6Address) ToIP

func (x IP6Address) ToIP() net.IP

func (*IP6Address) UnmarshalText

func (x *IP6Address) UnmarshalText(text []byte) error

type IP6AddressWithPrefix

type IP6AddressWithPrefix IP6Prefix

IP6AddressWithPrefix defines alias 'ip6_address_with_prefix'.

type IP6Prefix

type IP6Prefix struct {
	Address IP6Address `binapi:"ip6_address,name=address" json:"address,omitempty"`
	Len     uint8      `binapi:"u8,name=len" json:"len,omitempty"`
}

IP6Prefix defines type 'ip6_prefix'.

func ParseIP6Prefix

func ParseIP6Prefix(s string) (prefix IP6Prefix, err error)

func (*IP6Prefix) MarshalText

func (x *IP6Prefix) MarshalText() ([]byte, error)

func (IP6Prefix) String

func (x IP6Prefix) String() string

func (IP6Prefix) ToIPNet

func (x IP6Prefix) ToIPNet() *net.IPNet

func (*IP6Prefix) UnmarshalText

func (x *IP6Prefix) UnmarshalText(text []byte) error

type IPAddressDetails

type IPAddressDetails struct {
	SwIfIndex InterfaceIndex    `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Prefix    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 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       Prefix         `binapi:"prefix,name=pfx" json:"pfx,omitempty"`
	SwIfIndex 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Prefix    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 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 IPDscp

type IPDscp uint8

IPDscp defines enum 'ip_dscp'.

const (
	IP_API_DSCP_CS0  IPDscp = 0
	IP_API_DSCP_CS1  IPDscp = 8
	IP_API_DSCP_AF11 IPDscp = 10
	IP_API_DSCP_AF12 IPDscp = 12
	IP_API_DSCP_AF13 IPDscp = 14
	IP_API_DSCP_CS2  IPDscp = 16
	IP_API_DSCP_AF21 IPDscp = 18
	IP_API_DSCP_AF22 IPDscp = 20
	IP_API_DSCP_AF23 IPDscp = 22
	IP_API_DSCP_CS3  IPDscp = 24
	IP_API_DSCP_AF31 IPDscp = 26
	IP_API_DSCP_AF32 IPDscp = 28
	IP_API_DSCP_AF33 IPDscp = 30
	IP_API_DSCP_CS4  IPDscp = 32
	IP_API_DSCP_AF41 IPDscp = 34
	IP_API_DSCP_AF42 IPDscp = 36
	IP_API_DSCP_AF43 IPDscp = 38
	IP_API_DSCP_CS5  IPDscp = 40
	IP_API_DSCP_EF   IPDscp = 46
	IP_API_DSCP_CS6  IPDscp = 48
	IP_API_DSCP_CS7  IPDscp = 50
)

func (IPDscp) String

func (x IPDscp) String() string

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 IPEcn

type IPEcn uint8

IPEcn defines enum 'ip_ecn'.

const (
	IP_API_ECN_NONE IPEcn = 0
	IP_API_ECN_ECT0 IPEcn = 1
	IP_API_ECN_ECT1 IPEcn = 2
	IP_API_ECN_CE   IPEcn = 3
)

func (IPEcn) String

func (x IPEcn) String() string

type IPMroute

type IPMroute struct {
	TableID    uint32     `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	EntryFlags uint32     `binapi:"u32,name=entry_flags" json:"entry_flags,omitempty"`
	RpfID      uint32     `binapi:"u32,name=rpf_id" json:"rpf_id,omitempty"`
	Prefix     Mprefix    `binapi:"mprefix,name=prefix" json:"prefix,omitempty"`
	NPaths     uint8      `binapi:"u8,name=n_paths" json:"-"`
	Paths      []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 IPProto

type IPProto uint32

IPProto defines enum 'ip_proto'.

const (
	IP_API_PROTO_HOPOPT   IPProto = 0
	IP_API_PROTO_ICMP     IPProto = 1
	IP_API_PROTO_IGMP     IPProto = 2
	IP_API_PROTO_TCP      IPProto = 6
	IP_API_PROTO_UDP      IPProto = 17
	IP_API_PROTO_GRE      IPProto = 47
	IP_API_PROTO_AH       IPProto = 50
	IP_API_PROTO_ESP      IPProto = 51
	IP_API_PROTO_EIGRP    IPProto = 88
	IP_API_PROTO_OSPF     IPProto = 89
	IP_API_PROTO_SCTP     IPProto = 132
	IP_API_PROTO_RESERVED IPProto = 255
)

func (IPProto) String

func (x IPProto) String() string

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 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 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     Prefix    `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
	NPaths     uint8     `binapi:"u8,name=n_paths" json:"-"`
	Paths      []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 IPSourceAndPortRangeCheckAddDel

type IPSourceAndPortRangeCheckAddDel struct {
	IsAdd          bool     `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Prefix         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   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 IPSourceCheckInterfaceAddDel

type IPSourceCheckInterfaceAddDel struct {
	IsAdd     bool           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Loose     bool           `binapi:"bool,name=loose" json:"loose,omitempty"`
	SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IPSourceCheckInterfaceAddDel defines message 'ip_source_check_interface_add_del'.

func (*IPSourceCheckInterfaceAddDel) GetCrcString

func (*IPSourceCheckInterfaceAddDel) GetCrcString() string

func (*IPSourceCheckInterfaceAddDel) GetMessageName

func (*IPSourceCheckInterfaceAddDel) GetMessageName() string

func (*IPSourceCheckInterfaceAddDel) GetMessageType

func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType

func (*IPSourceCheckInterfaceAddDel) Marshal

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

func (*IPSourceCheckInterfaceAddDel) Reset

func (m *IPSourceCheckInterfaceAddDel) Reset()

func (*IPSourceCheckInterfaceAddDel) Size

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

func (*IPSourceCheckInterfaceAddDel) Unmarshal

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

type IPSourceCheckInterfaceAddDelReply

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

IPSourceCheckInterfaceAddDelReply defines message 'ip_source_check_interface_add_del_reply'.

func (*IPSourceCheckInterfaceAddDelReply) GetCrcString

func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string

func (*IPSourceCheckInterfaceAddDelReply) GetMessageName

func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string

func (*IPSourceCheckInterfaceAddDelReply) GetMessageType

func (*IPSourceCheckInterfaceAddDelReply) Marshal

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

func (*IPSourceCheckInterfaceAddDelReply) Reset

func (*IPSourceCheckInterfaceAddDelReply) Size

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

func (*IPSourceCheckInterfaceAddDelReply) Unmarshal

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

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   InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IPSwIfIndex 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" 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 IfStatusFlags

type IfStatusFlags uint32

IfStatusFlags defines enum 'if_status_flags'.

const (
	IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1
	IF_STATUS_API_FLAG_LINK_UP  IfStatusFlags = 2
)

func (IfStatusFlags) String

func (x IfStatusFlags) String() string

type IfType

type IfType uint32

IfType defines enum 'if_type'.

const (
	IF_API_TYPE_HARDWARE IfType = 1
	IF_API_TYPE_SUB      IfType = 2
	IF_API_TYPE_P2P      IfType = 3
	IF_API_TYPE_PIPE     IfType = 4
)

func (IfType) String

func (x IfType) String() string

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex defines alias 'interface_index'.

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 LinkDuplex

type LinkDuplex uint32

LinkDuplex defines enum 'link_duplex'.

const (
	LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0
	LINK_DUPLEX_API_HALF    LinkDuplex = 1
	LINK_DUPLEX_API_FULL    LinkDuplex = 2
)

func (LinkDuplex) String

func (x LinkDuplex) String() string

type MacAddress

type MacAddress [6]uint8

MacAddress defines alias 'mac_address'.

func ParseMacAddress

func ParseMacAddress(s string) (MacAddress, error)

func (*MacAddress) MarshalText

func (x *MacAddress) MarshalText() ([]byte, error)

func (MacAddress) String

func (x MacAddress) String() string

func (MacAddress) ToMAC

func (x MacAddress) ToMAC() net.HardwareAddr

func (*MacAddress) UnmarshalText

func (x *MacAddress) UnmarshalText(text []byte) error

type MfibItfFlags

type MfibItfFlags uint32

MfibItfFlags defines enum 'mfib_itf_flags'.

const (
	MFIB_API_ITF_FLAG_NONE           MfibItfFlags = 0
	MFIB_API_ITF_FLAG_NEGATE_SIGNAL  MfibItfFlags = 1
	MFIB_API_ITF_FLAG_ACCEPT         MfibItfFlags = 2
	MFIB_API_ITF_FLAG_FORWARD        MfibItfFlags = 4
	MFIB_API_ITF_FLAG_SIGNAL_PRESENT MfibItfFlags = 8
	MFIB_API_ITF_FLAG_DONT_PRESERVE  MfibItfFlags = 16
)

func (MfibItfFlags) String

func (x MfibItfFlags) String() string

type MfibPath

type MfibPath struct {
	ItfFlags MfibItfFlags `binapi:"mfib_itf_flags,name=itf_flags" json:"itf_flags,omitempty"`
	Path     FibPath      `binapi:"fib_path,name=path" json:"path,omitempty"`
}

MfibPath defines type 'mfib_path'.

type MfibSignalDetails

type MfibSignalDetails struct {
	SwIfIndex    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       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 Mprefix

type Mprefix struct {
	Af               AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
	GrpAddressLength uint16        `binapi:"u16,name=grp_address_length" json:"grp_address_length,omitempty"`
	GrpAddress       AddressUnion  `binapi:"address_union,name=grp_address" json:"grp_address,omitempty"`
	SrcAddress       AddressUnion  `binapi:"address_union,name=src_address" json:"src_address,omitempty"`
}

Mprefix defines type 'mprefix'.

type MtuProto

type MtuProto uint32

MtuProto defines enum 'mtu_proto'.

const (
	MTU_PROTO_API_L3   MtuProto = 1
	MTU_PROTO_API_IP4  MtuProto = 2
	MTU_PROTO_API_IP6  MtuProto = 3
	MTU_PROTO_API_MPLS MtuProto = 4
	MTU_PROTO_API_N    MtuProto = 5
)

func (MtuProto) String

func (x MtuProto) String() string

type Prefix

type Prefix struct {
	Address Address `binapi:"address,name=address" json:"address,omitempty"`
	Len     uint8   `binapi:"u8,name=len" json:"len,omitempty"`
}

Prefix defines type 'prefix'.

func ParsePrefix

func ParsePrefix(ip string) (prefix Prefix, err error)

func (*Prefix) MarshalText

func (x *Prefix) MarshalText() ([]byte, error)

func (Prefix) String

func (x Prefix) String() string

func (Prefix) ToIPNet

func (x Prefix) ToIPNet() *net.IPNet

func (*Prefix) UnmarshalText

func (x *Prefix) UnmarshalText(text []byte) error

type PrefixMatcher

type PrefixMatcher struct {
	Le uint8 `binapi:"u8,name=le" json:"le,omitempty"`
	Ge uint8 `binapi:"u8,name=ge" json:"ge,omitempty"`
}

PrefixMatcher defines type 'prefix_matcher'.

type PuntRedirect

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

PuntRedirect defines type 'punt_redirect'.

type RPCService

type RPCService interface {
	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)
	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)
	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)
	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)
	IPRouteDump(ctx context.Context, in *IPRouteDump) (RPCService_IPRouteDumpClient, error)
	IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
	IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
	IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error)
	IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, 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)
	SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, 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_IPPuntRedirectDumpClient

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

type RPCService_IPRouteDumpClient

type RPCService_IPRouteDumpClient interface {
	Recv() (*IPRouteDetails, 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 RxMode

type RxMode uint32

RxMode defines enum 'rx_mode'.

const (
	RX_MODE_API_UNKNOWN   RxMode = 0
	RX_MODE_API_POLLING   RxMode = 1
	RX_MODE_API_INTERRUPT RxMode = 2
	RX_MODE_API_ADAPTIVE  RxMode = 3
	RX_MODE_API_DEFAULT   RxMode = 4
)

func (RxMode) String

func (x RxMode) String() string

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 SubIfFlags

type SubIfFlags uint32

SubIfFlags defines enum 'sub_if_flags'.

const (
	SUB_IF_API_FLAG_NO_TAGS           SubIfFlags = 1
	SUB_IF_API_FLAG_ONE_TAG           SubIfFlags = 2
	SUB_IF_API_FLAG_TWO_TAGS          SubIfFlags = 4
	SUB_IF_API_FLAG_DOT1AD            SubIfFlags = 8
	SUB_IF_API_FLAG_EXACT_MATCH       SubIfFlags = 16
	SUB_IF_API_FLAG_DEFAULT           SubIfFlags = 32
	SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64
	SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128
	SUB_IF_API_FLAG_MASK_VNET         SubIfFlags = 254
	SUB_IF_API_FLAG_DOT1AH            SubIfFlags = 256
)

func (SubIfFlags) String

func (x SubIfFlags) String() string

type SwInterfaceIP6EnableDisable

type SwInterfaceIP6EnableDisable struct {
	SwIfIndex 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IP        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