Documentation ¶
Overview ¶
Package ip contains generated bindings for API file ip.api.
Contents: - 3 enums - 7 structs - 93 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type AddDelIPPuntRedirectV2
- func (*AddDelIPPuntRedirectV2) GetCrcString() string
- func (*AddDelIPPuntRedirectV2) GetMessageName() string
- func (*AddDelIPPuntRedirectV2) GetMessageType() api.MessageType
- func (m *AddDelIPPuntRedirectV2) Marshal(b []byte) ([]byte, error)
- func (m *AddDelIPPuntRedirectV2) Reset()
- func (m *AddDelIPPuntRedirectV2) Size() (size int)
- func (m *AddDelIPPuntRedirectV2) Unmarshal(b []byte) error
- type AddDelIPPuntRedirectV2Reply
- func (*AddDelIPPuntRedirectV2Reply) GetCrcString() string
- func (*AddDelIPPuntRedirectV2Reply) GetMessageName() string
- func (*AddDelIPPuntRedirectV2Reply) GetMessageType() api.MessageType
- func (m *AddDelIPPuntRedirectV2Reply) Marshal(b []byte) ([]byte, error)
- func (m *AddDelIPPuntRedirectV2Reply) Reset()
- func (m *AddDelIPPuntRedirectV2Reply) Size() (size int)
- func (m *AddDelIPPuntRedirectV2Reply) Unmarshal(b []byte) error
- type IPAddressDetails
- func (*IPAddressDetails) GetCrcString() string
- func (*IPAddressDetails) GetMessageName() string
- func (*IPAddressDetails) GetMessageType() api.MessageType
- func (m *IPAddressDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPAddressDetails) Reset()
- func (m *IPAddressDetails) Size() (size int)
- func (m *IPAddressDetails) Unmarshal(b []byte) error
- type IPAddressDump
- func (*IPAddressDump) GetCrcString() string
- func (*IPAddressDump) GetMessageName() string
- func (*IPAddressDump) GetMessageType() api.MessageType
- func (m *IPAddressDump) Marshal(b []byte) ([]byte, error)
- func (m *IPAddressDump) Reset()
- func (m *IPAddressDump) Size() (size int)
- func (m *IPAddressDump) Unmarshal(b []byte) error
- type IPContainerProxyAddDel
- func (*IPContainerProxyAddDel) GetCrcString() string
- func (*IPContainerProxyAddDel) GetMessageName() string
- func (*IPContainerProxyAddDel) GetMessageType() api.MessageType
- func (m *IPContainerProxyAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPContainerProxyAddDel) Reset()
- func (m *IPContainerProxyAddDel) Size() (size int)
- func (m *IPContainerProxyAddDel) Unmarshal(b []byte) error
- type IPContainerProxyAddDelReply
- func (*IPContainerProxyAddDelReply) GetCrcString() string
- func (*IPContainerProxyAddDelReply) GetMessageName() string
- func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType
- func (m *IPContainerProxyAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPContainerProxyAddDelReply) Reset()
- func (m *IPContainerProxyAddDelReply) Size() (size int)
- func (m *IPContainerProxyAddDelReply) Unmarshal(b []byte) error
- type IPContainerProxyDetails
- func (*IPContainerProxyDetails) GetCrcString() string
- func (*IPContainerProxyDetails) GetMessageName() string
- func (*IPContainerProxyDetails) GetMessageType() api.MessageType
- func (m *IPContainerProxyDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPContainerProxyDetails) Reset()
- func (m *IPContainerProxyDetails) Size() (size int)
- func (m *IPContainerProxyDetails) Unmarshal(b []byte) error
- type IPContainerProxyDump
- func (*IPContainerProxyDump) GetCrcString() string
- func (*IPContainerProxyDump) GetMessageName() string
- func (*IPContainerProxyDump) GetMessageType() api.MessageType
- func (m *IPContainerProxyDump) Marshal(b []byte) ([]byte, error)
- func (m *IPContainerProxyDump) Reset()
- func (m *IPContainerProxyDump) Size() (size int)
- func (m *IPContainerProxyDump) Unmarshal(b []byte) error
- type IPDetails
- type IPDump
- type IPFlowHashConfig
- type IPFlowHashConfigV2
- type IPLocalReassEnableDisable
- func (*IPLocalReassEnableDisable) GetCrcString() string
- func (*IPLocalReassEnableDisable) GetMessageName() string
- func (*IPLocalReassEnableDisable) GetMessageType() api.MessageType
- func (m *IPLocalReassEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *IPLocalReassEnableDisable) Reset()
- func (m *IPLocalReassEnableDisable) Size() (size int)
- func (m *IPLocalReassEnableDisable) Unmarshal(b []byte) error
- type IPLocalReassEnableDisableReply
- func (*IPLocalReassEnableDisableReply) GetCrcString() string
- func (*IPLocalReassEnableDisableReply) GetMessageName() string
- func (*IPLocalReassEnableDisableReply) GetMessageType() api.MessageType
- func (m *IPLocalReassEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *IPLocalReassEnableDisableReply) Reset()
- func (m *IPLocalReassEnableDisableReply) Size() (size int)
- func (m *IPLocalReassEnableDisableReply) Unmarshal(b []byte) error
- type IPLocalReassGet
- func (*IPLocalReassGet) GetCrcString() string
- func (*IPLocalReassGet) GetMessageName() string
- func (*IPLocalReassGet) GetMessageType() api.MessageType
- func (m *IPLocalReassGet) Marshal(b []byte) ([]byte, error)
- func (m *IPLocalReassGet) Reset()
- func (m *IPLocalReassGet) Size() (size int)
- func (m *IPLocalReassGet) Unmarshal(b []byte) error
- type IPLocalReassGetReply
- func (*IPLocalReassGetReply) GetCrcString() string
- func (*IPLocalReassGetReply) GetMessageName() string
- func (*IPLocalReassGetReply) GetMessageType() api.MessageType
- func (m *IPLocalReassGetReply) Marshal(b []byte) ([]byte, error)
- func (m *IPLocalReassGetReply) Reset()
- func (m *IPLocalReassGetReply) Size() (size int)
- func (m *IPLocalReassGetReply) Unmarshal(b []byte) error
- type IPMroute
- type IPMrouteAddDel
- func (*IPMrouteAddDel) GetCrcString() string
- func (*IPMrouteAddDel) GetMessageName() string
- func (*IPMrouteAddDel) GetMessageType() api.MessageType
- func (m *IPMrouteAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPMrouteAddDel) Reset()
- func (m *IPMrouteAddDel) Size() (size int)
- func (m *IPMrouteAddDel) Unmarshal(b []byte) error
- type IPMrouteAddDelReply
- func (*IPMrouteAddDelReply) GetCrcString() string
- func (*IPMrouteAddDelReply) GetMessageName() string
- func (*IPMrouteAddDelReply) GetMessageType() api.MessageType
- func (m *IPMrouteAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPMrouteAddDelReply) Reset()
- func (m *IPMrouteAddDelReply) Size() (size int)
- func (m *IPMrouteAddDelReply) Unmarshal(b []byte) error
- type IPMrouteDetails
- func (*IPMrouteDetails) GetCrcString() string
- func (*IPMrouteDetails) GetMessageName() string
- func (*IPMrouteDetails) GetMessageType() api.MessageType
- func (m *IPMrouteDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPMrouteDetails) Reset()
- func (m *IPMrouteDetails) Size() (size int)
- func (m *IPMrouteDetails) Unmarshal(b []byte) error
- type IPMrouteDump
- func (*IPMrouteDump) GetCrcString() string
- func (*IPMrouteDump) GetMessageName() string
- func (*IPMrouteDump) GetMessageType() api.MessageType
- func (m *IPMrouteDump) Marshal(b []byte) ([]byte, error)
- func (m *IPMrouteDump) Reset()
- func (m *IPMrouteDump) Size() (size int)
- func (m *IPMrouteDump) Unmarshal(b []byte) error
- type IPMtableDetails
- func (*IPMtableDetails) GetCrcString() string
- func (*IPMtableDetails) GetMessageName() string
- func (*IPMtableDetails) GetMessageType() api.MessageType
- func (m *IPMtableDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPMtableDetails) Reset()
- func (m *IPMtableDetails) Size() (size int)
- func (m *IPMtableDetails) Unmarshal(b []byte) error
- type IPMtableDump
- func (*IPMtableDump) GetCrcString() string
- func (*IPMtableDump) GetMessageName() string
- func (*IPMtableDump) GetMessageType() api.MessageType
- func (m *IPMtableDump) Marshal(b []byte) ([]byte, error)
- func (m *IPMtableDump) Reset()
- func (m *IPMtableDump) Size() (size int)
- func (m *IPMtableDump) Unmarshal(b []byte) error
- type IPPathMtu
- type IPPathMtuDetails
- func (*IPPathMtuDetails) GetCrcString() string
- func (*IPPathMtuDetails) GetMessageName() string
- func (*IPPathMtuDetails) GetMessageType() api.MessageType
- func (m *IPPathMtuDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuDetails) Reset()
- func (m *IPPathMtuDetails) Size() (size int)
- func (m *IPPathMtuDetails) Unmarshal(b []byte) error
- type IPPathMtuGet
- func (*IPPathMtuGet) GetCrcString() string
- func (*IPPathMtuGet) GetMessageName() string
- func (*IPPathMtuGet) GetMessageType() api.MessageType
- func (m *IPPathMtuGet) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuGet) Reset()
- func (m *IPPathMtuGet) Size() (size int)
- func (m *IPPathMtuGet) Unmarshal(b []byte) error
- type IPPathMtuGetReply
- func (*IPPathMtuGetReply) GetCrcString() string
- func (*IPPathMtuGetReply) GetMessageName() string
- func (*IPPathMtuGetReply) GetMessageType() api.MessageType
- func (m *IPPathMtuGetReply) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuGetReply) Reset()
- func (m *IPPathMtuGetReply) Size() (size int)
- func (m *IPPathMtuGetReply) Unmarshal(b []byte) error
- type IPPathMtuReplaceBegin
- func (*IPPathMtuReplaceBegin) GetCrcString() string
- func (*IPPathMtuReplaceBegin) GetMessageName() string
- func (*IPPathMtuReplaceBegin) GetMessageType() api.MessageType
- func (m *IPPathMtuReplaceBegin) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuReplaceBegin) Reset()
- func (m *IPPathMtuReplaceBegin) Size() (size int)
- func (m *IPPathMtuReplaceBegin) Unmarshal(b []byte) error
- type IPPathMtuReplaceBeginReply
- func (*IPPathMtuReplaceBeginReply) GetCrcString() string
- func (*IPPathMtuReplaceBeginReply) GetMessageName() string
- func (*IPPathMtuReplaceBeginReply) GetMessageType() api.MessageType
- func (m *IPPathMtuReplaceBeginReply) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuReplaceBeginReply) Reset()
- func (m *IPPathMtuReplaceBeginReply) Size() (size int)
- func (m *IPPathMtuReplaceBeginReply) Unmarshal(b []byte) error
- type IPPathMtuReplaceEnd
- func (*IPPathMtuReplaceEnd) GetCrcString() string
- func (*IPPathMtuReplaceEnd) GetMessageName() string
- func (*IPPathMtuReplaceEnd) GetMessageType() api.MessageType
- func (m *IPPathMtuReplaceEnd) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuReplaceEnd) Reset()
- func (m *IPPathMtuReplaceEnd) Size() (size int)
- func (m *IPPathMtuReplaceEnd) Unmarshal(b []byte) error
- type IPPathMtuReplaceEndReply
- func (*IPPathMtuReplaceEndReply) GetCrcString() string
- func (*IPPathMtuReplaceEndReply) GetMessageName() string
- func (*IPPathMtuReplaceEndReply) GetMessageType() api.MessageType
- func (m *IPPathMtuReplaceEndReply) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuReplaceEndReply) Reset()
- func (m *IPPathMtuReplaceEndReply) Size() (size int)
- func (m *IPPathMtuReplaceEndReply) Unmarshal(b []byte) error
- type IPPathMtuUpdate
- func (*IPPathMtuUpdate) GetCrcString() string
- func (*IPPathMtuUpdate) GetMessageName() string
- func (*IPPathMtuUpdate) GetMessageType() api.MessageType
- func (m *IPPathMtuUpdate) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuUpdate) Reset()
- func (m *IPPathMtuUpdate) Size() (size int)
- func (m *IPPathMtuUpdate) Unmarshal(b []byte) error
- type IPPathMtuUpdateReply
- func (*IPPathMtuUpdateReply) GetCrcString() string
- func (*IPPathMtuUpdateReply) GetMessageName() string
- func (*IPPathMtuUpdateReply) GetMessageType() api.MessageType
- func (m *IPPathMtuUpdateReply) Marshal(b []byte) ([]byte, error)
- func (m *IPPathMtuUpdateReply) Reset()
- func (m *IPPathMtuUpdateReply) Size() (size int)
- func (m *IPPathMtuUpdateReply) Unmarshal(b []byte) error
- type IPPuntPolice
- func (*IPPuntPolice) GetCrcString() string
- func (*IPPuntPolice) GetMessageName() string
- func (*IPPuntPolice) GetMessageType() api.MessageType
- func (m *IPPuntPolice) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntPolice) Reset()
- func (m *IPPuntPolice) Size() (size int)
- func (m *IPPuntPolice) Unmarshal(b []byte) error
- type IPPuntPoliceReply
- func (*IPPuntPoliceReply) GetCrcString() string
- func (*IPPuntPoliceReply) GetMessageName() string
- func (*IPPuntPoliceReply) GetMessageType() api.MessageType
- func (m *IPPuntPoliceReply) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntPoliceReply) Reset()
- func (m *IPPuntPoliceReply) Size() (size int)
- func (m *IPPuntPoliceReply) Unmarshal(b []byte) error
- type IPPuntRedirect
- func (*IPPuntRedirect) GetCrcString() string
- func (*IPPuntRedirect) GetMessageName() string
- func (*IPPuntRedirect) GetMessageType() api.MessageType
- func (m *IPPuntRedirect) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntRedirect) Reset()
- func (m *IPPuntRedirect) Size() (size int)
- func (m *IPPuntRedirect) Unmarshal(b []byte) error
- type IPPuntRedirectDetails
- func (*IPPuntRedirectDetails) GetCrcString() string
- func (*IPPuntRedirectDetails) GetMessageName() string
- func (*IPPuntRedirectDetails) GetMessageType() api.MessageType
- func (m *IPPuntRedirectDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntRedirectDetails) Reset()
- func (m *IPPuntRedirectDetails) Size() (size int)
- func (m *IPPuntRedirectDetails) Unmarshal(b []byte) error
- type IPPuntRedirectDump
- func (*IPPuntRedirectDump) GetCrcString() string
- func (*IPPuntRedirectDump) GetMessageName() string
- func (*IPPuntRedirectDump) GetMessageType() api.MessageType
- func (m *IPPuntRedirectDump) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntRedirectDump) Reset()
- func (m *IPPuntRedirectDump) Size() (size int)
- func (m *IPPuntRedirectDump) Unmarshal(b []byte) error
- type IPPuntRedirectReply
- func (*IPPuntRedirectReply) GetCrcString() string
- func (*IPPuntRedirectReply) GetMessageName() string
- func (*IPPuntRedirectReply) GetMessageType() api.MessageType
- func (m *IPPuntRedirectReply) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntRedirectReply) Reset()
- func (m *IPPuntRedirectReply) Size() (size int)
- func (m *IPPuntRedirectReply) Unmarshal(b []byte) error
- type IPPuntRedirectV2Details
- func (*IPPuntRedirectV2Details) GetCrcString() string
- func (*IPPuntRedirectV2Details) GetMessageName() string
- func (*IPPuntRedirectV2Details) GetMessageType() api.MessageType
- func (m *IPPuntRedirectV2Details) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntRedirectV2Details) Reset()
- func (m *IPPuntRedirectV2Details) Size() (size int)
- func (m *IPPuntRedirectV2Details) Unmarshal(b []byte) error
- type IPPuntRedirectV2Dump
- func (*IPPuntRedirectV2Dump) GetCrcString() string
- func (*IPPuntRedirectV2Dump) GetMessageName() string
- func (*IPPuntRedirectV2Dump) GetMessageType() api.MessageType
- func (m *IPPuntRedirectV2Dump) Marshal(b []byte) ([]byte, error)
- func (m *IPPuntRedirectV2Dump) Reset()
- func (m *IPPuntRedirectV2Dump) Size() (size int)
- func (m *IPPuntRedirectV2Dump) Unmarshal(b []byte) error
- type IPReassType
- type IPReassemblyEnableDisable
- func (*IPReassemblyEnableDisable) GetCrcString() string
- func (*IPReassemblyEnableDisable) GetMessageName() string
- func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType
- func (m *IPReassemblyEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *IPReassemblyEnableDisable) Reset()
- func (m *IPReassemblyEnableDisable) Size() (size int)
- func (m *IPReassemblyEnableDisable) Unmarshal(b []byte) error
- type IPReassemblyEnableDisableReply
- func (*IPReassemblyEnableDisableReply) GetCrcString() string
- func (*IPReassemblyEnableDisableReply) GetMessageName() string
- func (*IPReassemblyEnableDisableReply) GetMessageType() api.MessageType
- func (m *IPReassemblyEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *IPReassemblyEnableDisableReply) Reset()
- func (m *IPReassemblyEnableDisableReply) Size() (size int)
- func (m *IPReassemblyEnableDisableReply) Unmarshal(b []byte) error
- type IPReassemblyGet
- func (*IPReassemblyGet) GetCrcString() string
- func (*IPReassemblyGet) GetMessageName() string
- func (*IPReassemblyGet) GetMessageType() api.MessageType
- func (m *IPReassemblyGet) Marshal(b []byte) ([]byte, error)
- func (m *IPReassemblyGet) Reset()
- func (m *IPReassemblyGet) Size() (size int)
- func (m *IPReassemblyGet) Unmarshal(b []byte) error
- type IPReassemblyGetReply
- func (*IPReassemblyGetReply) GetCrcString() string
- func (*IPReassemblyGetReply) GetMessageName() string
- func (*IPReassemblyGetReply) GetMessageType() api.MessageType
- func (m *IPReassemblyGetReply) Marshal(b []byte) ([]byte, error)
- func (m *IPReassemblyGetReply) Reset()
- func (m *IPReassemblyGetReply) Size() (size int)
- func (m *IPReassemblyGetReply) Unmarshal(b []byte) error
- type IPReassemblySet
- func (*IPReassemblySet) GetCrcString() string
- func (*IPReassemblySet) GetMessageName() string
- func (*IPReassemblySet) GetMessageType() api.MessageType
- func (m *IPReassemblySet) Marshal(b []byte) ([]byte, error)
- func (m *IPReassemblySet) Reset()
- func (m *IPReassemblySet) Size() (size int)
- func (m *IPReassemblySet) Unmarshal(b []byte) error
- type IPReassemblySetReply
- func (*IPReassemblySetReply) GetCrcString() string
- func (*IPReassemblySetReply) GetMessageName() string
- func (*IPReassemblySetReply) GetMessageType() api.MessageType
- func (m *IPReassemblySetReply) Marshal(b []byte) ([]byte, error)
- func (m *IPReassemblySetReply) Reset()
- func (m *IPReassemblySetReply) Size() (size int)
- func (m *IPReassemblySetReply) Unmarshal(b []byte) error
- type IPRoute
- type IPRouteAddDel
- func (*IPRouteAddDel) GetCrcString() string
- func (*IPRouteAddDel) GetMessageName() string
- func (*IPRouteAddDel) GetMessageType() api.MessageType
- func (m *IPRouteAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteAddDel) Reset()
- func (m *IPRouteAddDel) Size() (size int)
- func (m *IPRouteAddDel) Unmarshal(b []byte) error
- type IPRouteAddDelReply
- func (*IPRouteAddDelReply) GetCrcString() string
- func (*IPRouteAddDelReply) GetMessageName() string
- func (*IPRouteAddDelReply) GetMessageType() api.MessageType
- func (m *IPRouteAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteAddDelReply) Reset()
- func (m *IPRouteAddDelReply) Size() (size int)
- func (m *IPRouteAddDelReply) Unmarshal(b []byte) error
- type IPRouteAddDelV2
- func (*IPRouteAddDelV2) GetCrcString() string
- func (*IPRouteAddDelV2) GetMessageName() string
- func (*IPRouteAddDelV2) GetMessageType() api.MessageType
- func (m *IPRouteAddDelV2) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteAddDelV2) Reset()
- func (m *IPRouteAddDelV2) Size() (size int)
- func (m *IPRouteAddDelV2) Unmarshal(b []byte) error
- type IPRouteAddDelV2Reply
- func (*IPRouteAddDelV2Reply) GetCrcString() string
- func (*IPRouteAddDelV2Reply) GetMessageName() string
- func (*IPRouteAddDelV2Reply) GetMessageType() api.MessageType
- func (m *IPRouteAddDelV2Reply) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteAddDelV2Reply) Reset()
- func (m *IPRouteAddDelV2Reply) Size() (size int)
- func (m *IPRouteAddDelV2Reply) Unmarshal(b []byte) error
- type IPRouteDetails
- func (*IPRouteDetails) GetCrcString() string
- func (*IPRouteDetails) GetMessageName() string
- func (*IPRouteDetails) GetMessageType() api.MessageType
- func (m *IPRouteDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteDetails) Reset()
- func (m *IPRouteDetails) Size() (size int)
- func (m *IPRouteDetails) Unmarshal(b []byte) error
- type IPRouteDump
- func (*IPRouteDump) GetCrcString() string
- func (*IPRouteDump) GetMessageName() string
- func (*IPRouteDump) GetMessageType() api.MessageType
- func (m *IPRouteDump) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteDump) Reset()
- func (m *IPRouteDump) Size() (size int)
- func (m *IPRouteDump) Unmarshal(b []byte) error
- type IPRouteLookup
- func (*IPRouteLookup) GetCrcString() string
- func (*IPRouteLookup) GetMessageName() string
- func (*IPRouteLookup) GetMessageType() api.MessageType
- func (m *IPRouteLookup) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteLookup) Reset()
- func (m *IPRouteLookup) Size() (size int)
- func (m *IPRouteLookup) Unmarshal(b []byte) error
- type IPRouteLookupReply
- func (*IPRouteLookupReply) GetCrcString() string
- func (*IPRouteLookupReply) GetMessageName() string
- func (*IPRouteLookupReply) GetMessageType() api.MessageType
- func (m *IPRouteLookupReply) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteLookupReply) Reset()
- func (m *IPRouteLookupReply) Size() (size int)
- func (m *IPRouteLookupReply) Unmarshal(b []byte) error
- type IPRouteLookupV2
- func (*IPRouteLookupV2) GetCrcString() string
- func (*IPRouteLookupV2) GetMessageName() string
- func (*IPRouteLookupV2) GetMessageType() api.MessageType
- func (m *IPRouteLookupV2) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteLookupV2) Reset()
- func (m *IPRouteLookupV2) Size() (size int)
- func (m *IPRouteLookupV2) Unmarshal(b []byte) error
- type IPRouteLookupV2Reply
- func (*IPRouteLookupV2Reply) GetCrcString() string
- func (*IPRouteLookupV2Reply) GetMessageName() string
- func (*IPRouteLookupV2Reply) GetMessageType() api.MessageType
- func (m *IPRouteLookupV2Reply) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteLookupV2Reply) Reset()
- func (m *IPRouteLookupV2Reply) Size() (size int)
- func (m *IPRouteLookupV2Reply) Unmarshal(b []byte) error
- type IPRouteV2
- type IPRouteV2Details
- func (*IPRouteV2Details) GetCrcString() string
- func (*IPRouteV2Details) GetMessageName() string
- func (*IPRouteV2Details) GetMessageType() api.MessageType
- func (m *IPRouteV2Details) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteV2Details) Reset()
- func (m *IPRouteV2Details) Size() (size int)
- func (m *IPRouteV2Details) Unmarshal(b []byte) error
- type IPRouteV2Dump
- func (*IPRouteV2Dump) GetCrcString() string
- func (*IPRouteV2Dump) GetMessageName() string
- func (*IPRouteV2Dump) GetMessageType() api.MessageType
- func (m *IPRouteV2Dump) Marshal(b []byte) ([]byte, error)
- func (m *IPRouteV2Dump) Reset()
- func (m *IPRouteV2Dump) Size() (size int)
- func (m *IPRouteV2Dump) Unmarshal(b []byte) error
- type IPSourceAndPortRangeCheckAddDel
- func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string
- func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string
- func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType
- func (m *IPSourceAndPortRangeCheckAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPSourceAndPortRangeCheckAddDel) Reset()
- func (m *IPSourceAndPortRangeCheckAddDel) Size() (size int)
- func (m *IPSourceAndPortRangeCheckAddDel) Unmarshal(b []byte) error
- type IPSourceAndPortRangeCheckAddDelReply
- func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string
- func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string
- func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType
- func (m *IPSourceAndPortRangeCheckAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPSourceAndPortRangeCheckAddDelReply) Reset()
- func (m *IPSourceAndPortRangeCheckAddDelReply) Size() (size int)
- func (m *IPSourceAndPortRangeCheckAddDelReply) Unmarshal(b []byte) error
- type IPSourceAndPortRangeCheckInterfaceAddDel
- func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string
- func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string
- func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType
- func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Reset()
- func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Size() (size int)
- func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Unmarshal(b []byte) error
- type IPSourceAndPortRangeCheckInterfaceAddDelReply
- func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string
- func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string
- func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType
- func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset()
- func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Size() (size int)
- func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Unmarshal(b []byte) error
- type IPTable
- type IPTableAddDel
- func (*IPTableAddDel) GetCrcString() string
- func (*IPTableAddDel) GetMessageName() string
- func (*IPTableAddDel) GetMessageType() api.MessageType
- func (m *IPTableAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPTableAddDel) Reset()
- func (m *IPTableAddDel) Size() (size int)
- func (m *IPTableAddDel) Unmarshal(b []byte) error
- type IPTableAddDelReply
- func (*IPTableAddDelReply) GetCrcString() string
- func (*IPTableAddDelReply) GetMessageName() string
- func (*IPTableAddDelReply) GetMessageType() api.MessageType
- func (m *IPTableAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPTableAddDelReply) Reset()
- func (m *IPTableAddDelReply) Size() (size int)
- func (m *IPTableAddDelReply) Unmarshal(b []byte) error
- type IPTableAllocate
- func (*IPTableAllocate) GetCrcString() string
- func (*IPTableAllocate) GetMessageName() string
- func (*IPTableAllocate) GetMessageType() api.MessageType
- func (m *IPTableAllocate) Marshal(b []byte) ([]byte, error)
- func (m *IPTableAllocate) Reset()
- func (m *IPTableAllocate) Size() (size int)
- func (m *IPTableAllocate) Unmarshal(b []byte) error
- type IPTableAllocateReply
- func (*IPTableAllocateReply) GetCrcString() string
- func (*IPTableAllocateReply) GetMessageName() string
- func (*IPTableAllocateReply) GetMessageType() api.MessageType
- func (m *IPTableAllocateReply) Marshal(b []byte) ([]byte, error)
- func (m *IPTableAllocateReply) Reset()
- func (m *IPTableAllocateReply) Size() (size int)
- func (m *IPTableAllocateReply) Unmarshal(b []byte) error
- type IPTableDetails
- func (*IPTableDetails) GetCrcString() string
- func (*IPTableDetails) GetMessageName() string
- func (*IPTableDetails) GetMessageType() api.MessageType
- func (m *IPTableDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPTableDetails) Reset()
- func (m *IPTableDetails) Size() (size int)
- func (m *IPTableDetails) Unmarshal(b []byte) error
- type IPTableDump
- func (*IPTableDump) GetCrcString() string
- func (*IPTableDump) GetMessageName() string
- func (*IPTableDump) GetMessageType() api.MessageType
- func (m *IPTableDump) Marshal(b []byte) ([]byte, error)
- func (m *IPTableDump) Reset()
- func (m *IPTableDump) Size() (size int)
- func (m *IPTableDump) Unmarshal(b []byte) error
- type IPTableFlush
- func (*IPTableFlush) GetCrcString() string
- func (*IPTableFlush) GetMessageName() string
- func (*IPTableFlush) GetMessageType() api.MessageType
- func (m *IPTableFlush) Marshal(b []byte) ([]byte, error)
- func (m *IPTableFlush) Reset()
- func (m *IPTableFlush) Size() (size int)
- func (m *IPTableFlush) Unmarshal(b []byte) error
- type IPTableFlushReply
- func (*IPTableFlushReply) GetCrcString() string
- func (*IPTableFlushReply) GetMessageName() string
- func (*IPTableFlushReply) GetMessageType() api.MessageType
- func (m *IPTableFlushReply) Marshal(b []byte) ([]byte, error)
- func (m *IPTableFlushReply) Reset()
- func (m *IPTableFlushReply) Size() (size int)
- func (m *IPTableFlushReply) Unmarshal(b []byte) error
- type IPTableReplaceBegin
- func (*IPTableReplaceBegin) GetCrcString() string
- func (*IPTableReplaceBegin) GetMessageName() string
- func (*IPTableReplaceBegin) GetMessageType() api.MessageType
- func (m *IPTableReplaceBegin) Marshal(b []byte) ([]byte, error)
- func (m *IPTableReplaceBegin) Reset()
- func (m *IPTableReplaceBegin) Size() (size int)
- func (m *IPTableReplaceBegin) Unmarshal(b []byte) error
- type IPTableReplaceBeginReply
- func (*IPTableReplaceBeginReply) GetCrcString() string
- func (*IPTableReplaceBeginReply) GetMessageName() string
- func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType
- func (m *IPTableReplaceBeginReply) Marshal(b []byte) ([]byte, error)
- func (m *IPTableReplaceBeginReply) Reset()
- func (m *IPTableReplaceBeginReply) Size() (size int)
- func (m *IPTableReplaceBeginReply) Unmarshal(b []byte) error
- type IPTableReplaceEnd
- func (*IPTableReplaceEnd) GetCrcString() string
- func (*IPTableReplaceEnd) GetMessageName() string
- func (*IPTableReplaceEnd) GetMessageType() api.MessageType
- func (m *IPTableReplaceEnd) Marshal(b []byte) ([]byte, error)
- func (m *IPTableReplaceEnd) Reset()
- func (m *IPTableReplaceEnd) Size() (size int)
- func (m *IPTableReplaceEnd) Unmarshal(b []byte) error
- type IPTableReplaceEndReply
- func (*IPTableReplaceEndReply) GetCrcString() string
- func (*IPTableReplaceEndReply) GetMessageName() string
- func (*IPTableReplaceEndReply) GetMessageType() api.MessageType
- func (m *IPTableReplaceEndReply) Marshal(b []byte) ([]byte, error)
- func (m *IPTableReplaceEndReply) Reset()
- func (m *IPTableReplaceEndReply) Size() (size int)
- func (m *IPTableReplaceEndReply) Unmarshal(b []byte) error
- type IPUnnumberedDetails
- func (*IPUnnumberedDetails) GetCrcString() string
- func (*IPUnnumberedDetails) GetMessageName() string
- func (*IPUnnumberedDetails) GetMessageType() api.MessageType
- func (m *IPUnnumberedDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPUnnumberedDetails) Reset()
- func (m *IPUnnumberedDetails) Size() (size int)
- func (m *IPUnnumberedDetails) Unmarshal(b []byte) error
- type IPUnnumberedDump
- func (*IPUnnumberedDump) GetCrcString() string
- func (*IPUnnumberedDump) GetMessageName() string
- func (*IPUnnumberedDump) GetMessageType() api.MessageType
- func (m *IPUnnumberedDump) Marshal(b []byte) ([]byte, error)
- func (m *IPUnnumberedDump) Reset()
- func (m *IPUnnumberedDump) Size() (size int)
- func (m *IPUnnumberedDump) Unmarshal(b []byte) error
- type IoamDisable
- func (*IoamDisable) GetCrcString() string
- func (*IoamDisable) GetMessageName() string
- func (*IoamDisable) GetMessageType() api.MessageType
- func (m *IoamDisable) Marshal(b []byte) ([]byte, error)
- func (m *IoamDisable) Reset()
- func (m *IoamDisable) Size() (size int)
- func (m *IoamDisable) Unmarshal(b []byte) error
- type IoamDisableReply
- func (*IoamDisableReply) GetCrcString() string
- func (*IoamDisableReply) GetMessageName() string
- func (*IoamDisableReply) GetMessageType() api.MessageType
- func (m *IoamDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *IoamDisableReply) Reset()
- func (m *IoamDisableReply) Size() (size int)
- func (m *IoamDisableReply) Unmarshal(b []byte) error
- type IoamEnable
- func (*IoamEnable) GetCrcString() string
- func (*IoamEnable) GetMessageName() string
- func (*IoamEnable) GetMessageType() api.MessageType
- func (m *IoamEnable) Marshal(b []byte) ([]byte, error)
- func (m *IoamEnable) Reset()
- func (m *IoamEnable) Size() (size int)
- func (m *IoamEnable) Unmarshal(b []byte) error
- type IoamEnableReply
- func (*IoamEnableReply) GetCrcString() string
- func (*IoamEnableReply) GetMessageName() string
- func (*IoamEnableReply) GetMessageType() api.MessageType
- func (m *IoamEnableReply) Marshal(b []byte) ([]byte, error)
- func (m *IoamEnableReply) Reset()
- func (m *IoamEnableReply) Size() (size int)
- func (m *IoamEnableReply) Unmarshal(b []byte) error
- type MfibSignalDetails
- func (*MfibSignalDetails) GetCrcString() string
- func (*MfibSignalDetails) GetMessageName() string
- func (*MfibSignalDetails) GetMessageType() api.MessageType
- func (m *MfibSignalDetails) Marshal(b []byte) ([]byte, error)
- func (m *MfibSignalDetails) Reset()
- func (m *MfibSignalDetails) Size() (size int)
- func (m *MfibSignalDetails) Unmarshal(b []byte) error
- type MfibSignalDump
- func (*MfibSignalDump) GetCrcString() string
- func (*MfibSignalDump) GetMessageName() string
- func (*MfibSignalDump) GetMessageType() api.MessageType
- func (m *MfibSignalDump) Marshal(b []byte) ([]byte, error)
- func (m *MfibSignalDump) Reset()
- func (m *MfibSignalDump) Size() (size int)
- func (m *MfibSignalDump) Unmarshal(b []byte) error
- type PuntRedirect
- type PuntRedirectV2
- type RPCService
- type RPCService_IPAddressDumpClient
- type RPCService_IPContainerProxyDumpClient
- type RPCService_IPDumpClient
- type RPCService_IPMrouteDumpClient
- type RPCService_IPMtableDumpClient
- type RPCService_IPPathMtuGetClient
- type RPCService_IPPuntRedirectDumpClient
- type RPCService_IPPuntRedirectV2DumpClient
- type RPCService_IPRouteDumpClient
- type RPCService_IPRouteV2DumpClient
- type RPCService_IPTableDumpClient
- type RPCService_IPUnnumberedDumpClient
- type RPCService_MfibSignalDumpClient
- type SetIPFlowHash
- func (*SetIPFlowHash) GetCrcString() string
- func (*SetIPFlowHash) GetMessageName() string
- func (*SetIPFlowHash) GetMessageType() api.MessageType
- func (m *SetIPFlowHash) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHash) Reset()
- func (m *SetIPFlowHash) Size() (size int)
- func (m *SetIPFlowHash) Unmarshal(b []byte) error
- type SetIPFlowHashReply
- func (*SetIPFlowHashReply) GetCrcString() string
- func (*SetIPFlowHashReply) GetMessageName() string
- func (*SetIPFlowHashReply) GetMessageType() api.MessageType
- func (m *SetIPFlowHashReply) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashReply) Reset()
- func (m *SetIPFlowHashReply) Size() (size int)
- func (m *SetIPFlowHashReply) Unmarshal(b []byte) error
- type SetIPFlowHashRouterID
- func (*SetIPFlowHashRouterID) GetCrcString() string
- func (*SetIPFlowHashRouterID) GetMessageName() string
- func (*SetIPFlowHashRouterID) GetMessageType() api.MessageType
- func (m *SetIPFlowHashRouterID) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashRouterID) Reset()
- func (m *SetIPFlowHashRouterID) Size() (size int)
- func (m *SetIPFlowHashRouterID) Unmarshal(b []byte) error
- type SetIPFlowHashRouterIDReply
- func (*SetIPFlowHashRouterIDReply) GetCrcString() string
- func (*SetIPFlowHashRouterIDReply) GetMessageName() string
- func (*SetIPFlowHashRouterIDReply) GetMessageType() api.MessageType
- func (m *SetIPFlowHashRouterIDReply) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashRouterIDReply) Reset()
- func (m *SetIPFlowHashRouterIDReply) Size() (size int)
- func (m *SetIPFlowHashRouterIDReply) Unmarshal(b []byte) error
- type SetIPFlowHashV2
- func (*SetIPFlowHashV2) GetCrcString() string
- func (*SetIPFlowHashV2) GetMessageName() string
- func (*SetIPFlowHashV2) GetMessageType() api.MessageType
- func (m *SetIPFlowHashV2) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashV2) Reset()
- func (m *SetIPFlowHashV2) Size() (size int)
- func (m *SetIPFlowHashV2) Unmarshal(b []byte) error
- type SetIPFlowHashV2Reply
- func (*SetIPFlowHashV2Reply) GetCrcString() string
- func (*SetIPFlowHashV2Reply) GetMessageName() string
- func (*SetIPFlowHashV2Reply) GetMessageType() api.MessageType
- func (m *SetIPFlowHashV2Reply) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashV2Reply) Reset()
- func (m *SetIPFlowHashV2Reply) Size() (size int)
- func (m *SetIPFlowHashV2Reply) Unmarshal(b []byte) error
- type SetIPFlowHashV3
- func (*SetIPFlowHashV3) GetCrcString() string
- func (*SetIPFlowHashV3) GetMessageName() string
- func (*SetIPFlowHashV3) GetMessageType() api.MessageType
- func (m *SetIPFlowHashV3) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashV3) Reset()
- func (m *SetIPFlowHashV3) Size() (size int)
- func (m *SetIPFlowHashV3) Unmarshal(b []byte) error
- type SetIPFlowHashV3Reply
- func (*SetIPFlowHashV3Reply) GetCrcString() string
- func (*SetIPFlowHashV3Reply) GetMessageName() string
- func (*SetIPFlowHashV3Reply) GetMessageType() api.MessageType
- func (m *SetIPFlowHashV3Reply) Marshal(b []byte) ([]byte, error)
- func (m *SetIPFlowHashV3Reply) Reset()
- func (m *SetIPFlowHashV3Reply) Size() (size int)
- func (m *SetIPFlowHashV3Reply) Unmarshal(b []byte) error
- type SwInterfaceIP6EnableDisable
- func (*SwInterfaceIP6EnableDisable) GetCrcString() string
- func (*SwInterfaceIP6EnableDisable) GetMessageName() string
- func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType
- func (m *SwInterfaceIP6EnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceIP6EnableDisable) Reset()
- func (m *SwInterfaceIP6EnableDisable) Size() (size int)
- func (m *SwInterfaceIP6EnableDisable) Unmarshal(b []byte) error
- type SwInterfaceIP6EnableDisableReply
- func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string
- func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string
- func (*SwInterfaceIP6EnableDisableReply) GetMessageType() api.MessageType
- func (m *SwInterfaceIP6EnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceIP6EnableDisableReply) Reset()
- func (m *SwInterfaceIP6EnableDisableReply) Size() (size int)
- func (m *SwInterfaceIP6EnableDisableReply) Unmarshal(b []byte) error
- type SwInterfaceIP6GetLinkLocalAddress
- func (*SwInterfaceIP6GetLinkLocalAddress) GetCrcString() string
- func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageName() string
- func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageType() api.MessageType
- func (m *SwInterfaceIP6GetLinkLocalAddress) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceIP6GetLinkLocalAddress) Reset()
- func (m *SwInterfaceIP6GetLinkLocalAddress) Size() (size int)
- func (m *SwInterfaceIP6GetLinkLocalAddress) Unmarshal(b []byte) error
- type SwInterfaceIP6GetLinkLocalAddressReply
- func (*SwInterfaceIP6GetLinkLocalAddressReply) GetCrcString() string
- func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageName() string
- func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageType() api.MessageType
- func (m *SwInterfaceIP6GetLinkLocalAddressReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceIP6GetLinkLocalAddressReply) Reset()
- func (m *SwInterfaceIP6GetLinkLocalAddressReply) Size() (size int)
- func (m *SwInterfaceIP6GetLinkLocalAddressReply) Unmarshal(b []byte) error
- type SwInterfaceIP6SetLinkLocalAddress
- func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string
- func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string
- func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType() api.MessageType
- func (m *SwInterfaceIP6SetLinkLocalAddress) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceIP6SetLinkLocalAddress) Reset()
- func (m *SwInterfaceIP6SetLinkLocalAddress) Size() (size int)
- func (m *SwInterfaceIP6SetLinkLocalAddress) Unmarshal(b []byte) error
- type SwInterfaceIP6SetLinkLocalAddressReply
- func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString() string
- func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName() string
- func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType
- func (m *SwInterfaceIP6SetLinkLocalAddressReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceIP6SetLinkLocalAddressReply) Reset()
- func (m *SwInterfaceIP6SetLinkLocalAddressReply) Size() (size int)
- func (m *SwInterfaceIP6SetLinkLocalAddressReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "ip" APIVersion = "3.2.0" VersionCrc = 0xbd2f873b )
Variables ¶
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, } )
var ( IPFlowHashConfig_name = map[uint32]string{ 1: "IP_API_FLOW_HASH_SRC_IP", 2: "IP_API_FLOW_HASH_DST_IP", 4: "IP_API_FLOW_HASH_SRC_PORT", 8: "IP_API_FLOW_HASH_DST_PORT", 16: "IP_API_FLOW_HASH_PROTO", 32: "IP_API_FLOW_HASH_REVERSE", 64: "IP_API_FLOW_HASH_SYMETRIC", 128: "IP_API_FLOW_HASH_FLOW_LABEL", } IPFlowHashConfig_value = map[string]uint32{ "IP_API_FLOW_HASH_SRC_IP": 1, "IP_API_FLOW_HASH_DST_IP": 2, "IP_API_FLOW_HASH_SRC_PORT": 4, "IP_API_FLOW_HASH_DST_PORT": 8, "IP_API_FLOW_HASH_PROTO": 16, "IP_API_FLOW_HASH_REVERSE": 32, "IP_API_FLOW_HASH_SYMETRIC": 64, "IP_API_FLOW_HASH_FLOW_LABEL": 128, } )
var ( IPFlowHashConfigV2_name = map[uint32]string{ 1: "IP_API_V2_FLOW_HASH_SRC_IP", 2: "IP_API_V2_FLOW_HASH_DST_IP", 4: "IP_API_V2_FLOW_HASH_SRC_PORT", 8: "IP_API_V2_FLOW_HASH_DST_PORT", 16: "IP_API_V2_FLOW_HASH_PROTO", 32: "IP_API_V2_FLOW_HASH_REVERSE", 64: "IP_API_V2_FLOW_HASH_SYMETRIC", 128: "IP_API_V2_FLOW_HASH_FLOW_LABEL", 256: "IP_API_V2_FLOW_HASH_GTPV1_TEID", } IPFlowHashConfigV2_value = map[string]uint32{ "IP_API_V2_FLOW_HASH_SRC_IP": 1, "IP_API_V2_FLOW_HASH_DST_IP": 2, "IP_API_V2_FLOW_HASH_SRC_PORT": 4, "IP_API_V2_FLOW_HASH_DST_PORT": 8, "IP_API_V2_FLOW_HASH_PROTO": 16, "IP_API_V2_FLOW_HASH_REVERSE": 32, "IP_API_V2_FLOW_HASH_SYMETRIC": 64, "IP_API_V2_FLOW_HASH_FLOW_LABEL": 128, "IP_API_V2_FLOW_HASH_GTPV1_TEID": 256, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AddDelIPPuntRedirectV2 ¶
type AddDelIPPuntRedirectV2 struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` Punt PuntRedirectV2 `binapi:"punt_redirect_v2,name=punt" json:"punt,omitempty"` }
Add IP punt redirect rule
- punt - punt definition
- is_add - 1 to add punt_redirect rule, 0 to delete
AddDelIPPuntRedirectV2 defines message 'add_del_ip_punt_redirect_v2'.
func (*AddDelIPPuntRedirectV2) GetCrcString ¶
func (*AddDelIPPuntRedirectV2) GetCrcString() string
func (*AddDelIPPuntRedirectV2) GetMessageName ¶
func (*AddDelIPPuntRedirectV2) GetMessageName() string
func (*AddDelIPPuntRedirectV2) GetMessageType ¶
func (*AddDelIPPuntRedirectV2) GetMessageType() api.MessageType
func (*AddDelIPPuntRedirectV2) Marshal ¶
func (m *AddDelIPPuntRedirectV2) Marshal(b []byte) ([]byte, error)
func (*AddDelIPPuntRedirectV2) Reset ¶
func (m *AddDelIPPuntRedirectV2) Reset()
func (*AddDelIPPuntRedirectV2) Size ¶
func (m *AddDelIPPuntRedirectV2) Size() (size int)
func (*AddDelIPPuntRedirectV2) Unmarshal ¶
func (m *AddDelIPPuntRedirectV2) Unmarshal(b []byte) error
type AddDelIPPuntRedirectV2Reply ¶
type AddDelIPPuntRedirectV2Reply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AddDelIPPuntRedirectV2Reply defines message 'add_del_ip_punt_redirect_v2_reply'.
func (*AddDelIPPuntRedirectV2Reply) GetCrcString ¶
func (*AddDelIPPuntRedirectV2Reply) GetCrcString() string
func (*AddDelIPPuntRedirectV2Reply) GetMessageName ¶
func (*AddDelIPPuntRedirectV2Reply) GetMessageName() string
func (*AddDelIPPuntRedirectV2Reply) GetMessageType ¶
func (*AddDelIPPuntRedirectV2Reply) GetMessageType() api.MessageType
func (*AddDelIPPuntRedirectV2Reply) Marshal ¶
func (m *AddDelIPPuntRedirectV2Reply) Marshal(b []byte) ([]byte, error)
func (*AddDelIPPuntRedirectV2Reply) Reset ¶
func (m *AddDelIPPuntRedirectV2Reply) Reset()
func (*AddDelIPPuntRedirectV2Reply) Size ¶
func (m *AddDelIPPuntRedirectV2Reply) Size() (size int)
func (*AddDelIPPuntRedirectV2Reply) Unmarshal ¶
func (m *AddDelIPPuntRedirectV2Reply) Unmarshal(b []byte) error
type IPAddressDetails ¶
type IPAddressDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Prefix ip_types.AddressWithPrefix `binapi:"address_with_prefix,name=prefix" json:"prefix,omitempty"` }
IPAddressDetails defines message 'ip_address_details'.
func (*IPAddressDetails) GetCrcString ¶
func (*IPAddressDetails) GetCrcString() string
func (*IPAddressDetails) GetMessageName ¶
func (*IPAddressDetails) GetMessageName() string
func (*IPAddressDetails) GetMessageType ¶
func (*IPAddressDetails) GetMessageType() api.MessageType
func (*IPAddressDetails) 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) 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) GetMessageName ¶
func (*IPDetails) GetMessageType ¶
func (*IPDetails) GetMessageType() api.MessageType
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) GetMessageName ¶
func (*IPDump) GetMessageType ¶
func (*IPDump) GetMessageType() api.MessageType
type IPFlowHashConfig ¶
type IPFlowHashConfig uint32
IPFlowHashConfig defines enum 'ip_flow_hash_config'.
const ( IP_API_FLOW_HASH_SRC_IP IPFlowHashConfig = 1 IP_API_FLOW_HASH_DST_IP IPFlowHashConfig = 2 IP_API_FLOW_HASH_SRC_PORT IPFlowHashConfig = 4 IP_API_FLOW_HASH_DST_PORT IPFlowHashConfig = 8 IP_API_FLOW_HASH_PROTO IPFlowHashConfig = 16 IP_API_FLOW_HASH_REVERSE IPFlowHashConfig = 32 IP_API_FLOW_HASH_SYMETRIC IPFlowHashConfig = 64 IP_API_FLOW_HASH_FLOW_LABEL IPFlowHashConfig = 128 )
func (IPFlowHashConfig) String ¶
func (x IPFlowHashConfig) String() string
type IPFlowHashConfigV2 ¶ added in v0.8.0
type IPFlowHashConfigV2 uint32
IPFlowHashConfigV2 defines enum 'ip_flow_hash_config_v2'.
const ( IP_API_V2_FLOW_HASH_SRC_IP IPFlowHashConfigV2 = 1 IP_API_V2_FLOW_HASH_DST_IP IPFlowHashConfigV2 = 2 IP_API_V2_FLOW_HASH_SRC_PORT IPFlowHashConfigV2 = 4 IP_API_V2_FLOW_HASH_DST_PORT IPFlowHashConfigV2 = 8 IP_API_V2_FLOW_HASH_PROTO IPFlowHashConfigV2 = 16 IP_API_V2_FLOW_HASH_REVERSE IPFlowHashConfigV2 = 32 IP_API_V2_FLOW_HASH_SYMETRIC IPFlowHashConfigV2 = 64 IP_API_V2_FLOW_HASH_FLOW_LABEL IPFlowHashConfigV2 = 128 IP_API_V2_FLOW_HASH_GTPV1_TEID IPFlowHashConfigV2 = 256 )
func (IPFlowHashConfigV2) String ¶ added in v0.8.0
func (x IPFlowHashConfigV2) String() string
type IPLocalReassEnableDisable ¶ added in v0.7.0
type IPLocalReassEnableDisable struct { EnableIP4 bool `binapi:"bool,name=enable_ip4" json:"enable_ip4,omitempty"` EnableIP6 bool `binapi:"bool,name=enable_ip6" json:"enable_ip6,omitempty"` }
enable/disable full reassembly of packets aimed at our addresses IPLocalReassEnableDisable defines message 'ip_local_reass_enable_disable'.
func (*IPLocalReassEnableDisable) GetCrcString ¶ added in v0.7.0
func (*IPLocalReassEnableDisable) GetCrcString() string
func (*IPLocalReassEnableDisable) GetMessageName ¶ added in v0.7.0
func (*IPLocalReassEnableDisable) GetMessageName() string
func (*IPLocalReassEnableDisable) GetMessageType ¶ added in v0.7.0
func (*IPLocalReassEnableDisable) GetMessageType() api.MessageType
func (*IPLocalReassEnableDisable) Marshal ¶ added in v0.7.0
func (m *IPLocalReassEnableDisable) Marshal(b []byte) ([]byte, error)
func (*IPLocalReassEnableDisable) Reset ¶ added in v0.7.0
func (m *IPLocalReassEnableDisable) Reset()
func (*IPLocalReassEnableDisable) Size ¶ added in v0.7.0
func (m *IPLocalReassEnableDisable) Size() (size int)
func (*IPLocalReassEnableDisable) Unmarshal ¶ added in v0.7.0
func (m *IPLocalReassEnableDisable) Unmarshal(b []byte) error
type IPLocalReassEnableDisableReply ¶ added in v0.7.0
type IPLocalReassEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPLocalReassEnableDisableReply defines message 'ip_local_reass_enable_disable_reply'.
func (*IPLocalReassEnableDisableReply) GetCrcString ¶ added in v0.7.0
func (*IPLocalReassEnableDisableReply) GetCrcString() string
func (*IPLocalReassEnableDisableReply) GetMessageName ¶ added in v0.7.0
func (*IPLocalReassEnableDisableReply) GetMessageName() string
func (*IPLocalReassEnableDisableReply) GetMessageType ¶ added in v0.7.0
func (*IPLocalReassEnableDisableReply) GetMessageType() api.MessageType
func (*IPLocalReassEnableDisableReply) Marshal ¶ added in v0.7.0
func (m *IPLocalReassEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*IPLocalReassEnableDisableReply) Reset ¶ added in v0.7.0
func (m *IPLocalReassEnableDisableReply) Reset()
func (*IPLocalReassEnableDisableReply) Size ¶ added in v0.7.0
func (m *IPLocalReassEnableDisableReply) Size() (size int)
func (*IPLocalReassEnableDisableReply) Unmarshal ¶ added in v0.7.0
func (m *IPLocalReassEnableDisableReply) Unmarshal(b []byte) error
type IPLocalReassGet ¶ added in v0.7.0
type IPLocalReassGet struct{}
get status of local reassembly IPLocalReassGet defines message 'ip_local_reass_get'.
func (*IPLocalReassGet) GetCrcString ¶ added in v0.7.0
func (*IPLocalReassGet) GetCrcString() string
func (*IPLocalReassGet) GetMessageName ¶ added in v0.7.0
func (*IPLocalReassGet) GetMessageName() string
func (*IPLocalReassGet) GetMessageType ¶ added in v0.7.0
func (*IPLocalReassGet) GetMessageType() api.MessageType
func (*IPLocalReassGet) Marshal ¶ added in v0.7.0
func (m *IPLocalReassGet) Marshal(b []byte) ([]byte, error)
func (*IPLocalReassGet) Reset ¶ added in v0.7.0
func (m *IPLocalReassGet) Reset()
func (*IPLocalReassGet) Size ¶ added in v0.7.0
func (m *IPLocalReassGet) Size() (size int)
func (*IPLocalReassGet) Unmarshal ¶ added in v0.7.0
func (m *IPLocalReassGet) Unmarshal(b []byte) error
type IPLocalReassGetReply ¶ added in v0.7.0
type IPLocalReassGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` IP4IsEnabled bool `binapi:"bool,name=ip4_is_enabled" json:"ip4_is_enabled,omitempty"` IP6IsEnabled bool `binapi:"bool,name=ip6_is_enabled" json:"ip6_is_enabled,omitempty"` }
IPLocalReassGetReply defines message 'ip_local_reass_get_reply'.
func (*IPLocalReassGetReply) GetCrcString ¶ added in v0.7.0
func (*IPLocalReassGetReply) GetCrcString() string
func (*IPLocalReassGetReply) GetMessageName ¶ added in v0.7.0
func (*IPLocalReassGetReply) GetMessageName() string
func (*IPLocalReassGetReply) GetMessageType ¶ added in v0.7.0
func (*IPLocalReassGetReply) GetMessageType() api.MessageType
func (*IPLocalReassGetReply) Marshal ¶ added in v0.7.0
func (m *IPLocalReassGetReply) Marshal(b []byte) ([]byte, error)
func (*IPLocalReassGetReply) Reset ¶ added in v0.7.0
func (m *IPLocalReassGetReply) Reset()
func (*IPLocalReassGetReply) Size ¶ added in v0.7.0
func (m *IPLocalReassGetReply) Size() (size int)
func (*IPLocalReassGetReply) Unmarshal ¶ added in v0.7.0
func (m *IPLocalReassGetReply) Unmarshal(b []byte) error
type IPMroute ¶
type IPMroute struct { TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` EntryFlags mfib_types.MfibEntryFlags `binapi:"mfib_entry_flags,name=entry_flags" json:"entry_flags,omitempty"` RpfID uint32 `binapi:"u32,name=rpf_id" json:"rpf_id,omitempty"` Prefix ip_types.Mprefix `binapi:"mprefix,name=prefix" json:"prefix,omitempty"` NPaths uint8 `binapi:"u8,name=n_paths" json:"-"` Paths []mfib_types.MfibPath `binapi:"mfib_path[n_paths],name=paths" json:"paths,omitempty"` }
IPMroute defines type 'ip_mroute'.
type IPMrouteAddDel ¶
type IPMrouteAddDel struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` IsMultipath bool `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"` Route IPMroute `binapi:"ip_mroute,name=route" json:"route,omitempty"` }
Add / del route request
Adds a route, consisting both of the MFIB entry to match packets (which may already exist) and a path to send those packets down. Routes can be entered repeatedly to add multiple paths. Deletions are per-path. - table_id - fib table /vrf associated with the route - is_add - true if adding a route; false if deleting one - is_ipv6 - true iff all the addresses are v6 - entry_flags - see fib_entry_flag_t - itf_flags - see mfib_entry_flags_t - next_hop_afi - see dpo_proto_t; the type of destination description - src_address - the source of the packet - grp_address - the group the packet is destined to - nh_address - the nexthop to forward the packet to - next_hop_sw_if_index - interface to emit packet on BIER AFIs use the BIER imposition ID. v4 and v6 AFIs use either the interface or the nexthop address. Note that if the route is source-specific (S is supplied, not all 0s), the prefix match is treated as exact (prefixlen /32 or /128). FIXME not complete yet
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) 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"`
}
IP Multicast Route Details
- route - Details of the route
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) 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"`
}
Dump IP multicast fib table
- table - The table from which to dump routes (ony ID an AF are needed)
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) 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) 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{}
Dump IP multicast fib table 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) Reset ¶
func (m *IPMtableDump) Reset()
func (*IPMtableDump) Size ¶
func (m *IPMtableDump) Size() (size int)
func (*IPMtableDump) Unmarshal ¶
func (m *IPMtableDump) Unmarshal(b []byte) error
type IPPathMtu ¶
type IPPathMtu struct { ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"` Context uint32 `binapi:"u32,name=context" json:"context,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` Nh ip_types.Address `binapi:"address,name=nh" json:"nh,omitempty"` PathMtu uint16 `binapi:"u16,name=path_mtu" json:"path_mtu,omitempty"` }
IPPathMtu defines type 'ip_path_mtu'.
type IPPathMtuDetails ¶
type IPPathMtuDetails struct {
Pmtu IPPathMtu `binapi:"ip_path_mtu,name=pmtu" json:"pmtu,omitempty"`
}
IPPathMtuDetails defines message 'ip_path_mtu_details'.
func (*IPPathMtuDetails) GetCrcString ¶
func (*IPPathMtuDetails) GetCrcString() string
func (*IPPathMtuDetails) GetMessageName ¶
func (*IPPathMtuDetails) GetMessageName() string
func (*IPPathMtuDetails) GetMessageType ¶
func (*IPPathMtuDetails) GetMessageType() api.MessageType
func (*IPPathMtuDetails) Reset ¶
func (m *IPPathMtuDetails) Reset()
func (*IPPathMtuDetails) Size ¶
func (m *IPPathMtuDetails) Size() (size int)
func (*IPPathMtuDetails) Unmarshal ¶
func (m *IPPathMtuDetails) Unmarshal(b []byte) error
type IPPathMtuGet ¶
type IPPathMtuGet struct {
Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"`
}
IPPathMtuGet defines message 'ip_path_mtu_get'.
func (*IPPathMtuGet) GetCrcString ¶
func (*IPPathMtuGet) GetCrcString() string
func (*IPPathMtuGet) GetMessageName ¶
func (*IPPathMtuGet) GetMessageName() string
func (*IPPathMtuGet) GetMessageType ¶
func (*IPPathMtuGet) GetMessageType() api.MessageType
func (*IPPathMtuGet) Reset ¶
func (m *IPPathMtuGet) Reset()
func (*IPPathMtuGet) Size ¶
func (m *IPPathMtuGet) Size() (size int)
func (*IPPathMtuGet) Unmarshal ¶
func (m *IPPathMtuGet) Unmarshal(b []byte) error
type IPPathMtuGetReply ¶
type IPPathMtuGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"` }
IPPathMtuGetReply defines message 'ip_path_mtu_get_reply'.
func (*IPPathMtuGetReply) GetCrcString ¶
func (*IPPathMtuGetReply) GetCrcString() string
func (*IPPathMtuGetReply) GetMessageName ¶
func (*IPPathMtuGetReply) GetMessageName() string
func (*IPPathMtuGetReply) GetMessageType ¶
func (*IPPathMtuGetReply) GetMessageType() api.MessageType
func (*IPPathMtuGetReply) Reset ¶
func (m *IPPathMtuGetReply) Reset()
func (*IPPathMtuGetReply) Size ¶
func (m *IPPathMtuGetReply) Size() (size int)
func (*IPPathMtuGetReply) Unmarshal ¶
func (m *IPPathMtuGetReply) Unmarshal(b []byte) error
type IPPathMtuReplaceBegin ¶
type IPPathMtuReplaceBegin struct{}
IPPathMtuReplaceBegin defines message 'ip_path_mtu_replace_begin'.
func (*IPPathMtuReplaceBegin) GetCrcString ¶
func (*IPPathMtuReplaceBegin) GetCrcString() string
func (*IPPathMtuReplaceBegin) GetMessageName ¶
func (*IPPathMtuReplaceBegin) GetMessageName() string
func (*IPPathMtuReplaceBegin) GetMessageType ¶
func (*IPPathMtuReplaceBegin) GetMessageType() api.MessageType
func (*IPPathMtuReplaceBegin) Marshal ¶
func (m *IPPathMtuReplaceBegin) Marshal(b []byte) ([]byte, error)
func (*IPPathMtuReplaceBegin) Reset ¶
func (m *IPPathMtuReplaceBegin) Reset()
func (*IPPathMtuReplaceBegin) Size ¶
func (m *IPPathMtuReplaceBegin) Size() (size int)
func (*IPPathMtuReplaceBegin) Unmarshal ¶
func (m *IPPathMtuReplaceBegin) Unmarshal(b []byte) error
type IPPathMtuReplaceBeginReply ¶
type IPPathMtuReplaceBeginReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPPathMtuReplaceBeginReply defines message 'ip_path_mtu_replace_begin_reply'.
func (*IPPathMtuReplaceBeginReply) GetCrcString ¶
func (*IPPathMtuReplaceBeginReply) GetCrcString() string
func (*IPPathMtuReplaceBeginReply) GetMessageName ¶
func (*IPPathMtuReplaceBeginReply) GetMessageName() string
func (*IPPathMtuReplaceBeginReply) GetMessageType ¶
func (*IPPathMtuReplaceBeginReply) GetMessageType() api.MessageType
func (*IPPathMtuReplaceBeginReply) Marshal ¶
func (m *IPPathMtuReplaceBeginReply) Marshal(b []byte) ([]byte, error)
func (*IPPathMtuReplaceBeginReply) Reset ¶
func (m *IPPathMtuReplaceBeginReply) Reset()
func (*IPPathMtuReplaceBeginReply) Size ¶
func (m *IPPathMtuReplaceBeginReply) Size() (size int)
func (*IPPathMtuReplaceBeginReply) Unmarshal ¶
func (m *IPPathMtuReplaceBeginReply) Unmarshal(b []byte) error
type IPPathMtuReplaceEnd ¶
type IPPathMtuReplaceEnd struct{}
IPPathMtuReplaceEnd defines message 'ip_path_mtu_replace_end'.
func (*IPPathMtuReplaceEnd) GetCrcString ¶
func (*IPPathMtuReplaceEnd) GetCrcString() string
func (*IPPathMtuReplaceEnd) GetMessageName ¶
func (*IPPathMtuReplaceEnd) GetMessageName() string
func (*IPPathMtuReplaceEnd) GetMessageType ¶
func (*IPPathMtuReplaceEnd) GetMessageType() api.MessageType
func (*IPPathMtuReplaceEnd) Marshal ¶
func (m *IPPathMtuReplaceEnd) Marshal(b []byte) ([]byte, error)
func (*IPPathMtuReplaceEnd) Reset ¶
func (m *IPPathMtuReplaceEnd) Reset()
func (*IPPathMtuReplaceEnd) Size ¶
func (m *IPPathMtuReplaceEnd) Size() (size int)
func (*IPPathMtuReplaceEnd) Unmarshal ¶
func (m *IPPathMtuReplaceEnd) Unmarshal(b []byte) error
type IPPathMtuReplaceEndReply ¶
type IPPathMtuReplaceEndReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPPathMtuReplaceEndReply defines message 'ip_path_mtu_replace_end_reply'.
func (*IPPathMtuReplaceEndReply) GetCrcString ¶
func (*IPPathMtuReplaceEndReply) GetCrcString() string
func (*IPPathMtuReplaceEndReply) GetMessageName ¶
func (*IPPathMtuReplaceEndReply) GetMessageName() string
func (*IPPathMtuReplaceEndReply) GetMessageType ¶
func (*IPPathMtuReplaceEndReply) GetMessageType() api.MessageType
func (*IPPathMtuReplaceEndReply) Marshal ¶
func (m *IPPathMtuReplaceEndReply) Marshal(b []byte) ([]byte, error)
func (*IPPathMtuReplaceEndReply) Reset ¶
func (m *IPPathMtuReplaceEndReply) Reset()
func (*IPPathMtuReplaceEndReply) Size ¶
func (m *IPPathMtuReplaceEndReply) Size() (size int)
func (*IPPathMtuReplaceEndReply) Unmarshal ¶
func (m *IPPathMtuReplaceEndReply) Unmarshal(b []byte) error
type IPPathMtuUpdate ¶
type IPPathMtuUpdate struct {
Pmtu IPPathMtu `binapi:"ip_path_mtu,name=pmtu" json:"pmtu,omitempty"`
}
@brief Set a Path MTU value. i.e. a MTU value for a given neighbour.
The neighbour can be described as attached (w/ interface and next-hop) or remote (w/ table_id and next-hop); - table_id - table-ID for next-hop - nh - Next hop - path_mtu - value to set, 0 is disable.
IPPathMtuUpdate defines message 'ip_path_mtu_update'.
func (*IPPathMtuUpdate) GetCrcString ¶
func (*IPPathMtuUpdate) GetCrcString() string
func (*IPPathMtuUpdate) GetMessageName ¶
func (*IPPathMtuUpdate) GetMessageName() string
func (*IPPathMtuUpdate) GetMessageType ¶
func (*IPPathMtuUpdate) GetMessageType() api.MessageType
func (*IPPathMtuUpdate) Reset ¶
func (m *IPPathMtuUpdate) Reset()
func (*IPPathMtuUpdate) Size ¶
func (m *IPPathMtuUpdate) Size() (size int)
func (*IPPathMtuUpdate) Unmarshal ¶
func (m *IPPathMtuUpdate) Unmarshal(b []byte) error
type IPPathMtuUpdateReply ¶
type IPPathMtuUpdateReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPPathMtuUpdateReply defines message 'ip_path_mtu_update_reply'.
func (*IPPathMtuUpdateReply) GetCrcString ¶
func (*IPPathMtuUpdateReply) GetCrcString() string
func (*IPPathMtuUpdateReply) GetMessageName ¶
func (*IPPathMtuUpdateReply) GetMessageName() string
func (*IPPathMtuUpdateReply) GetMessageType ¶
func (*IPPathMtuUpdateReply) GetMessageType() api.MessageType
func (*IPPathMtuUpdateReply) Marshal ¶
func (m *IPPathMtuUpdateReply) Marshal(b []byte) ([]byte, error)
func (*IPPathMtuUpdateReply) Reset ¶
func (m *IPPathMtuUpdateReply) Reset()
func (*IPPathMtuUpdateReply) Size ¶
func (m *IPPathMtuUpdateReply) Size() (size int)
func (*IPPathMtuUpdateReply) Unmarshal ¶
func (m *IPPathMtuUpdateReply) Unmarshal(b []byte) error
type IPPuntPolice ¶
type IPPuntPolice struct { PolicerIndex uint32 `binapi:"u32,name=policer_index" json:"policer_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` IsIP6 bool `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"` }
IP punt policer
- is_add - 1 to add neighbor, 0 to delete
- is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4
- policer_index - Index of policer to use
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) 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) 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"` }
IP punt redirect
- punt - punt definition
- is_add - 1 to add neighbor, 0 to delete
IPPuntRedirect defines message 'ip_punt_redirect'. Deprecated: the message will be removed in the future versions
func (*IPPuntRedirect) GetCrcString ¶
func (*IPPuntRedirect) GetCrcString() string
func (*IPPuntRedirect) GetMessageName ¶
func (*IPPuntRedirect) GetMessageName() string
func (*IPPuntRedirect) GetMessageType ¶
func (*IPPuntRedirect) GetMessageType() api.MessageType
func (*IPPuntRedirect) 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'. Deprecated: the message will be removed in the future versions
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'. Deprecated: the message will be removed in the future versions
func (*IPPuntRedirectDump) GetCrcString ¶
func (*IPPuntRedirectDump) GetCrcString() string
func (*IPPuntRedirectDump) GetMessageName ¶
func (*IPPuntRedirectDump) GetMessageName() string
func (*IPPuntRedirectDump) GetMessageType ¶
func (*IPPuntRedirectDump) GetMessageType() api.MessageType
func (*IPPuntRedirectDump) Reset ¶
func (m *IPPuntRedirectDump) Reset()
func (*IPPuntRedirectDump) Size ¶
func (m *IPPuntRedirectDump) Size() (size int)
func (*IPPuntRedirectDump) Unmarshal ¶
func (m *IPPuntRedirectDump) Unmarshal(b []byte) error
type IPPuntRedirectReply ¶
type IPPuntRedirectReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPPuntRedirectReply defines message 'ip_punt_redirect_reply'. Deprecated: the message will be removed in the future versions
func (*IPPuntRedirectReply) GetCrcString ¶
func (*IPPuntRedirectReply) GetCrcString() string
func (*IPPuntRedirectReply) GetMessageName ¶
func (*IPPuntRedirectReply) GetMessageName() string
func (*IPPuntRedirectReply) GetMessageType ¶
func (*IPPuntRedirectReply) GetMessageType() api.MessageType
func (*IPPuntRedirectReply) Marshal ¶
func (m *IPPuntRedirectReply) Marshal(b []byte) ([]byte, error)
func (*IPPuntRedirectReply) Reset ¶
func (m *IPPuntRedirectReply) Reset()
func (*IPPuntRedirectReply) Size ¶
func (m *IPPuntRedirectReply) Size() (size int)
func (*IPPuntRedirectReply) Unmarshal ¶
func (m *IPPuntRedirectReply) Unmarshal(b []byte) error
type IPPuntRedirectV2Details ¶
type IPPuntRedirectV2Details struct {
Punt PuntRedirectV2 `binapi:"punt_redirect_v2,name=punt" json:"punt,omitempty"`
}
IPPuntRedirectV2Details defines message 'ip_punt_redirect_v2_details'.
func (*IPPuntRedirectV2Details) GetCrcString ¶
func (*IPPuntRedirectV2Details) GetCrcString() string
func (*IPPuntRedirectV2Details) GetMessageName ¶
func (*IPPuntRedirectV2Details) GetMessageName() string
func (*IPPuntRedirectV2Details) GetMessageType ¶
func (*IPPuntRedirectV2Details) GetMessageType() api.MessageType
func (*IPPuntRedirectV2Details) Marshal ¶
func (m *IPPuntRedirectV2Details) Marshal(b []byte) ([]byte, error)
func (*IPPuntRedirectV2Details) Reset ¶
func (m *IPPuntRedirectV2Details) Reset()
func (*IPPuntRedirectV2Details) Size ¶
func (m *IPPuntRedirectV2Details) Size() (size int)
func (*IPPuntRedirectV2Details) Unmarshal ¶
func (m *IPPuntRedirectV2Details) Unmarshal(b []byte) error
type IPPuntRedirectV2Dump ¶
type IPPuntRedirectV2Dump struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` }
IPPuntRedirectV2Dump defines message 'ip_punt_redirect_v2_dump'.
func (*IPPuntRedirectV2Dump) GetCrcString ¶
func (*IPPuntRedirectV2Dump) GetCrcString() string
func (*IPPuntRedirectV2Dump) GetMessageName ¶
func (*IPPuntRedirectV2Dump) GetMessageName() string
func (*IPPuntRedirectV2Dump) GetMessageType ¶
func (*IPPuntRedirectV2Dump) GetMessageType() api.MessageType
func (*IPPuntRedirectV2Dump) Marshal ¶
func (m *IPPuntRedirectV2Dump) Marshal(b []byte) ([]byte, error)
func (*IPPuntRedirectV2Dump) Reset ¶
func (m *IPPuntRedirectV2Dump) Reset()
func (*IPPuntRedirectV2Dump) Size ¶
func (m *IPPuntRedirectV2Dump) Size() (size int)
func (*IPPuntRedirectV2Dump) Unmarshal ¶
func (m *IPPuntRedirectV2Dump) Unmarshal(b []byte) error
type IPReassType ¶
type IPReassType uint32
IPReassType defines enum 'ip_reass_type'.
const ( IP_REASS_TYPE_FULL IPReassType = 0 IP_REASS_TYPE_SHALLOW_VIRTUAL IPReassType = 1 )
func (IPReassType) String ¶
func (x IPReassType) String() string
type IPReassemblyEnableDisable ¶
type IPReassemblyEnableDisable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` EnableIP4 bool `binapi:"bool,name=enable_ip4" json:"enable_ip4,omitempty"` EnableIP6 bool `binapi:"bool,name=enable_ip6" json:"enable_ip6,omitempty"` Type IPReassType `binapi:"ip_reass_type,name=type" json:"type,omitempty"` }
Enable/disable reassembly feature
- sw_if_index - interface to enable/disable feature on
- enable_ip4 - enable ip4 reassembly if non-zero, disable if 0
- enable_ip6 - enable ip6 reassembly if non-zero, disable if 0
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) GetMessageType() api.MessageType
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) 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) 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"` }
Add / del route request
- is_multipath - Set to 1 if these paths will be added/removed to/from the existing set, or 0 to replace the existing set. is_add=0 & is_multipath=0 implies delete all paths
- is_add - Are the paths being added or removed
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) 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) Reset ¶
func (m *IPRouteAddDelReply) Reset()
func (*IPRouteAddDelReply) Size ¶
func (m *IPRouteAddDelReply) Size() (size int)
func (*IPRouteAddDelReply) Unmarshal ¶
func (m *IPRouteAddDelReply) Unmarshal(b []byte) error
type IPRouteAddDelV2 ¶
type IPRouteAddDelV2 struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` IsMultipath bool `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"` Route IPRouteV2 `binapi:"ip_route_v2,name=route" json:"route,omitempty"` }
IPRouteAddDelV2 defines message 'ip_route_add_del_v2'. InProgress: the message form may change in the future versions
func (*IPRouteAddDelV2) GetCrcString ¶
func (*IPRouteAddDelV2) GetCrcString() string
func (*IPRouteAddDelV2) GetMessageName ¶
func (*IPRouteAddDelV2) GetMessageName() string
func (*IPRouteAddDelV2) GetMessageType ¶
func (*IPRouteAddDelV2) GetMessageType() api.MessageType
func (*IPRouteAddDelV2) Reset ¶
func (m *IPRouteAddDelV2) Reset()
func (*IPRouteAddDelV2) Size ¶
func (m *IPRouteAddDelV2) Size() (size int)
func (*IPRouteAddDelV2) Unmarshal ¶
func (m *IPRouteAddDelV2) Unmarshal(b []byte) error
type IPRouteAddDelV2Reply ¶
type IPRouteAddDelV2Reply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"` }
IPRouteAddDelV2Reply defines message 'ip_route_add_del_v2_reply'. InProgress: the message form may change in the future versions
func (*IPRouteAddDelV2Reply) GetCrcString ¶
func (*IPRouteAddDelV2Reply) GetCrcString() string
func (*IPRouteAddDelV2Reply) GetMessageName ¶
func (*IPRouteAddDelV2Reply) GetMessageName() string
func (*IPRouteAddDelV2Reply) GetMessageType ¶
func (*IPRouteAddDelV2Reply) GetMessageType() api.MessageType
func (*IPRouteAddDelV2Reply) Marshal ¶
func (m *IPRouteAddDelV2Reply) Marshal(b []byte) ([]byte, error)
func (*IPRouteAddDelV2Reply) Reset ¶
func (m *IPRouteAddDelV2Reply) Reset()
func (*IPRouteAddDelV2Reply) Size ¶
func (m *IPRouteAddDelV2Reply) Size() (size int)
func (*IPRouteAddDelV2Reply) Unmarshal ¶
func (m *IPRouteAddDelV2Reply) Unmarshal(b []byte) error
type IPRouteDetails ¶
type IPRouteDetails struct {
Route IPRoute `binapi:"ip_route,name=route" json:"route,omitempty"`
}
IP FIB table entry response
- route The route entry in the table
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) 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"`
}
Dump IP routes from a table
- src The entity adding the route. either 0 for default or a value returned from fib_source_sdd.
- table - The table from which to dump routes (ony ID an AF are needed)
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) 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"` }
Lookup IP route from a table
- table_id - The IP table to look the route up in
- exact - 0 for normal route lookup, 1 for exact match only
- prefix - The prefix (or host) for route lookup.
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) 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"` }
IP FIB table lookup response
- retval - return code of the lookup
- route - The route entry in the table if found
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) Reset ¶
func (m *IPRouteLookupReply) Reset()
func (*IPRouteLookupReply) Size ¶
func (m *IPRouteLookupReply) Size() (size int)
func (*IPRouteLookupReply) Unmarshal ¶
func (m *IPRouteLookupReply) Unmarshal(b []byte) error
type IPRouteLookupV2 ¶
type IPRouteLookupV2 struct { TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` Exact uint8 `binapi:"u8,name=exact" json:"exact,omitempty"` Prefix ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"` }
IPRouteLookupV2 defines message 'ip_route_lookup_v2'. InProgress: the message form may change in the future versions
func (*IPRouteLookupV2) GetCrcString ¶
func (*IPRouteLookupV2) GetCrcString() string
func (*IPRouteLookupV2) GetMessageName ¶
func (*IPRouteLookupV2) GetMessageName() string
func (*IPRouteLookupV2) GetMessageType ¶
func (*IPRouteLookupV2) GetMessageType() api.MessageType
func (*IPRouteLookupV2) Reset ¶
func (m *IPRouteLookupV2) Reset()
func (*IPRouteLookupV2) Size ¶
func (m *IPRouteLookupV2) Size() (size int)
func (*IPRouteLookupV2) Unmarshal ¶
func (m *IPRouteLookupV2) Unmarshal(b []byte) error
type IPRouteLookupV2Reply ¶
type IPRouteLookupV2Reply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Route IPRouteV2 `binapi:"ip_route_v2,name=route" json:"route,omitempty"` }
IPRouteLookupV2Reply defines message 'ip_route_lookup_v2_reply'. InProgress: the message form may change in the future versions
func (*IPRouteLookupV2Reply) GetCrcString ¶
func (*IPRouteLookupV2Reply) GetCrcString() string
func (*IPRouteLookupV2Reply) GetMessageName ¶
func (*IPRouteLookupV2Reply) GetMessageName() string
func (*IPRouteLookupV2Reply) GetMessageType ¶
func (*IPRouteLookupV2Reply) GetMessageType() api.MessageType
func (*IPRouteLookupV2Reply) Marshal ¶
func (m *IPRouteLookupV2Reply) Marshal(b []byte) ([]byte, error)
func (*IPRouteLookupV2Reply) Reset ¶
func (m *IPRouteLookupV2Reply) Reset()
func (*IPRouteLookupV2Reply) Size ¶
func (m *IPRouteLookupV2Reply) Size() (size int)
func (*IPRouteLookupV2Reply) Unmarshal ¶
func (m *IPRouteLookupV2Reply) Unmarshal(b []byte) error
type IPRouteV2 ¶
type IPRouteV2 struct { TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"` Prefix ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"` NPaths uint8 `binapi:"u8,name=n_paths" json:"-"` Src uint8 `binapi:"u8,name=src" json:"src,omitempty"` Paths []fib_types.FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"` }
IPRouteV2 defines type 'ip_route_v2'.
type IPRouteV2Details ¶
type IPRouteV2Details struct {
Route IPRouteV2 `binapi:"ip_route_v2,name=route" json:"route,omitempty"`
}
IPRouteV2Details defines message 'ip_route_v2_details'. InProgress: the message form may change in the future versions
func (*IPRouteV2Details) GetCrcString ¶
func (*IPRouteV2Details) GetCrcString() string
func (*IPRouteV2Details) GetMessageName ¶
func (*IPRouteV2Details) GetMessageName() string
func (*IPRouteV2Details) GetMessageType ¶
func (*IPRouteV2Details) GetMessageType() api.MessageType
func (*IPRouteV2Details) Reset ¶
func (m *IPRouteV2Details) Reset()
func (*IPRouteV2Details) Size ¶
func (m *IPRouteV2Details) Size() (size int)
func (*IPRouteV2Details) Unmarshal ¶
func (m *IPRouteV2Details) Unmarshal(b []byte) error
type IPRouteV2Dump ¶
type IPRouteV2Dump struct { Src uint8 `binapi:"u8,name=src" json:"src,omitempty"` Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"` }
IPRouteV2Dump defines message 'ip_route_v2_dump'. InProgress: the message form may change in the future versions
func (*IPRouteV2Dump) GetCrcString ¶
func (*IPRouteV2Dump) GetCrcString() string
func (*IPRouteV2Dump) GetMessageName ¶
func (*IPRouteV2Dump) GetMessageName() string
func (*IPRouteV2Dump) GetMessageType ¶
func (*IPRouteV2Dump) GetMessageType() api.MessageType
func (*IPRouteV2Dump) Reset ¶
func (m *IPRouteV2Dump) Reset()
func (*IPRouteV2Dump) Size ¶
func (m *IPRouteV2Dump) Size() (size int)
func (*IPRouteV2Dump) Unmarshal ¶
func (m *IPRouteV2Dump) Unmarshal(b []byte) error
type IPSourceAndPortRangeCheckAddDel ¶
type IPSourceAndPortRangeCheckAddDel struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` Prefix ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"` NumberOfRanges uint8 `binapi:"u8,name=number_of_ranges" json:"number_of_ranges,omitempty"` LowPorts []uint16 `binapi:"u16[32],name=low_ports" json:"low_ports,omitempty"` HighPorts []uint16 `binapi:"u16[32],name=high_ports" json:"high_ports,omitempty"` VrfID uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"` }
Configure IP source and L4 port-range check
- is_ip6 - 1 if source address type is IPv6
- is_add - 1 if add, 0 if delete
- ip - prefix to match
- number_of_ranges - length of low_port and high_port arrays (must match)
- low_ports[32] - up to 32 low end of port range entries (must have corresponding high_ports entry)
- high_ports[32] - up to 32 high end of port range entries (must have corresponding low_ports entry)
- vrf_id - fib table/vrf id to associate the source and port-range check with @note To specify a single port set low_port and high_port entry the same
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) GetMessageType() api.MessageType
func (*IPSourceAndPortRangeCheckAddDel) Marshal ¶
func (m *IPSourceAndPortRangeCheckAddDel) Marshal(b []byte) ([]byte, error)
func (*IPSourceAndPortRangeCheckAddDel) Reset ¶
func (m *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) GetCrcString() string
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName ¶
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType ¶
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType
func (*IPSourceAndPortRangeCheckAddDelReply) Marshal ¶
func (m *IPSourceAndPortRangeCheckAddDelReply) Marshal(b []byte) ([]byte, error)
func (*IPSourceAndPortRangeCheckAddDelReply) Reset ¶
func (m *IPSourceAndPortRangeCheckAddDelReply) Reset()
func (*IPSourceAndPortRangeCheckAddDelReply) Size ¶
func (m *IPSourceAndPortRangeCheckAddDelReply) Size() (size int)
func (*IPSourceAndPortRangeCheckAddDelReply) Unmarshal ¶
func (m *IPSourceAndPortRangeCheckAddDelReply) Unmarshal(b []byte) error
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"` }
Set interface source and L4 port-range request
- interface_id - interface index
- tcp_vrf_id - VRF associated with source and TCP port-range check
- udp_vrf_id - VRF associated with source and TCP port-range check
IPSourceAndPortRangeCheckInterfaceAddDel defines message 'ip_source_and_port_range_check_interface_add_del'.
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString ¶
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName ¶
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType ¶
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType
func (*IPSourceAndPortRangeCheckInterfaceAddDel) Marshal ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Marshal(b []byte) ([]byte, error)
func (*IPSourceAndPortRangeCheckInterfaceAddDel) Reset ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Reset()
func (*IPSourceAndPortRangeCheckInterfaceAddDel) Size ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Size() (size int)
func (*IPSourceAndPortRangeCheckInterfaceAddDel) Unmarshal ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Unmarshal(b []byte) error
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) GetCrcString() string
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName ¶
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType ¶
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Marshal ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Marshal(b []byte) ([]byte, error)
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset()
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Size ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Size() (size int)
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Unmarshal ¶
func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) 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"` }
Add / del table request
A table can be added multiple times, but need be deleted only once.
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) 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) Reset ¶
func (m *IPTableAddDelReply) Reset()
func (*IPTableAddDelReply) Size ¶
func (m *IPTableAddDelReply) Size() (size int)
func (*IPTableAddDelReply) Unmarshal ¶
func (m *IPTableAddDelReply) Unmarshal(b []byte) error
type IPTableAllocate ¶
type IPTableAllocate struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
Allocate an unused table
A table can be added multiple times. If a large number of tables are in use (millions), this API might fail to find a free ID with very low probability, and will return EAGAIN. A subsequent attempt may be successful. - table - if table.table_id == ~0, vpp allocates an unused table_id and proceeds as in ip_table_add_del with is_add = true if table.table_id != ~0, vpp uses the table.table_id and proceeds as in ip_table_add_del with is_add = true table.table_id should never be 0
IPTableAllocate defines message 'ip_table_allocate'.
func (*IPTableAllocate) GetCrcString ¶
func (*IPTableAllocate) GetCrcString() string
func (*IPTableAllocate) GetMessageName ¶
func (*IPTableAllocate) GetMessageName() string
func (*IPTableAllocate) GetMessageType ¶
func (*IPTableAllocate) GetMessageType() api.MessageType
func (*IPTableAllocate) Reset ¶
func (m *IPTableAllocate) Reset()
func (*IPTableAllocate) Size ¶
func (m *IPTableAllocate) Size() (size int)
func (*IPTableAllocate) Unmarshal ¶
func (m *IPTableAllocate) Unmarshal(b []byte) error
type IPTableAllocateReply ¶
type IPTableAllocateReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"` }
IPTableAllocateReply defines message 'ip_table_allocate_reply'.
func (*IPTableAllocateReply) GetCrcString ¶
func (*IPTableAllocateReply) GetCrcString() string
func (*IPTableAllocateReply) GetMessageName ¶
func (*IPTableAllocateReply) GetMessageName() string
func (*IPTableAllocateReply) GetMessageType ¶
func (*IPTableAllocateReply) GetMessageType() api.MessageType
func (*IPTableAllocateReply) Marshal ¶
func (m *IPTableAllocateReply) Marshal(b []byte) ([]byte, error)
func (*IPTableAllocateReply) Reset ¶
func (m *IPTableAllocateReply) Reset()
func (*IPTableAllocateReply) Size ¶
func (m *IPTableAllocateReply) Size() (size int)
func (*IPTableAllocateReply) Unmarshal ¶
func (m *IPTableAllocateReply) Unmarshal(b []byte) error
type IPTableDetails ¶
type IPTableDetails struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IP FIB table response
- table - description of the table
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) 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{}
Dump IP all fib tables 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) 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"`
}
IP table flush
Flush a table of all routes - table - The table to flush
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) 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) 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"`
}
IP table replace being
The use-case is that, for some unspecified reason, the control plane has a very different set of entries it wants in the table than VPP currently has. The CP would thus like to 'replace' VPP's current table only by specifying what the new set of entries shall be, i.e. it is not going to delete anything that already exists. the CP declares the start of this procedure with this begin_replace API Call, and when it has populated all the entries it wants, it calls the below end_replace API. From this point on it is of course free to add and delete entries as usual. The underlying mechanism by which VPP implements this replace is purposefully left unspecified. - table - The table to resync
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"`
}
IP table replace end
see replace start/ - table - The table that has converged
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) 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"` }
IP unnumbered configurations
- sw_if_index The interface that has unnumbered configuration
- ip_sw_if_index The IP interface that it is unnumbered to
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"`
}
Dump IP unnumbered configurations
- sw_if_index ~0 for all interfaces, else the interface desired
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) 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"`
}
iOAM disable
- index - MAP Domain index
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) 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) 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"` }
IOAM enable : Enable in-band OAM
- id - profile id
- seqno - To enable Seqno Processing
- analyse - Enabling analysis of iOAM at decap node
- pow_enable - Proof of Work enabled or not flag
- trace_enable - iOAM Trace enabled or not flag
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) 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) 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) 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) Reset ¶
func (m *MfibSignalDump) Reset()
func (*MfibSignalDump) Size ¶
func (m *MfibSignalDump) Size() (size int)
func (*MfibSignalDump) Unmarshal ¶
func (m *MfibSignalDump) Unmarshal(b []byte) error
type PuntRedirect ¶
type PuntRedirect struct { RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` Nh ip_types.Address `binapi:"address,name=nh" json:"nh,omitempty"` }
PuntRedirect defines type 'punt_redirect'.
type PuntRedirectV2 ¶
type PuntRedirectV2 struct { RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index,default=4294967295" json:"rx_sw_if_index,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` NPaths uint32 `binapi:"u32,name=n_paths" json:"-"` Paths []fib_types.FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"` }
PuntRedirectV2 defines type 'punt_redirect_v2'.
type RPCService ¶
type RPCService interface { AddDelIPPuntRedirectV2(ctx context.Context, in *AddDelIPPuntRedirectV2) (*AddDelIPPuntRedirectV2Reply, error) IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error) IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error) IPAddressDump(ctx context.Context, in *IPAddressDump) (RPCService_IPAddressDumpClient, error) IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error) IPContainerProxyDump(ctx context.Context, in *IPContainerProxyDump) (RPCService_IPContainerProxyDumpClient, error) IPDump(ctx context.Context, in *IPDump) (RPCService_IPDumpClient, error) IPLocalReassEnableDisable(ctx context.Context, in *IPLocalReassEnableDisable) (*IPLocalReassEnableDisableReply, error) IPLocalReassGet(ctx context.Context, in *IPLocalReassGet) (*IPLocalReassGetReply, error) IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error) IPMrouteDump(ctx context.Context, in *IPMrouteDump) (RPCService_IPMrouteDumpClient, error) IPMtableDump(ctx context.Context, in *IPMtableDump) (RPCService_IPMtableDumpClient, error) IPPathMtuGet(ctx context.Context, in *IPPathMtuGet) (RPCService_IPPathMtuGetClient, error) IPPathMtuReplaceBegin(ctx context.Context, in *IPPathMtuReplaceBegin) (*IPPathMtuReplaceBeginReply, error) IPPathMtuReplaceEnd(ctx context.Context, in *IPPathMtuReplaceEnd) (*IPPathMtuReplaceEndReply, error) IPPathMtuUpdate(ctx context.Context, in *IPPathMtuUpdate) (*IPPathMtuUpdateReply, error) IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error) IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error) IPPuntRedirectDump(ctx context.Context, in *IPPuntRedirectDump) (RPCService_IPPuntRedirectDumpClient, error) IPPuntRedirectV2Dump(ctx context.Context, in *IPPuntRedirectV2Dump) (RPCService_IPPuntRedirectV2DumpClient, error) IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error) IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error) IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error) IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error) IPRouteAddDelV2(ctx context.Context, in *IPRouteAddDelV2) (*IPRouteAddDelV2Reply, error) IPRouteDump(ctx context.Context, in *IPRouteDump) (RPCService_IPRouteDumpClient, error) IPRouteLookup(ctx context.Context, in *IPRouteLookup) (*IPRouteLookupReply, error) IPRouteLookupV2(ctx context.Context, in *IPRouteLookupV2) (*IPRouteLookupV2Reply, error) IPRouteV2Dump(ctx context.Context, in *IPRouteV2Dump) (RPCService_IPRouteV2DumpClient, error) IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error) IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error) IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error) IPTableAllocate(ctx context.Context, in *IPTableAllocate) (*IPTableAllocateReply, error) IPTableDump(ctx context.Context, in *IPTableDump) (RPCService_IPTableDumpClient, error) IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error) IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error) IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error) IPUnnumberedDump(ctx context.Context, in *IPUnnumberedDump) (RPCService_IPUnnumberedDumpClient, error) MfibSignalDump(ctx context.Context, in *MfibSignalDump) (RPCService_MfibSignalDumpClient, error) SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error) SetIPFlowHashRouterID(ctx context.Context, in *SetIPFlowHashRouterID) (*SetIPFlowHashRouterIDReply, error) SetIPFlowHashV2(ctx context.Context, in *SetIPFlowHashV2) (*SetIPFlowHashV2Reply, error) SetIPFlowHashV3(ctx context.Context, in *SetIPFlowHashV3) (*SetIPFlowHashV3Reply, error) SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error) SwInterfaceIP6GetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6GetLinkLocalAddress) (*SwInterfaceIP6GetLinkLocalAddressReply, error) SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error) }
RPCService defines RPC service ip.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_IPAddressDumpClient ¶
type RPCService_IPAddressDumpClient interface { Recv() (*IPAddressDetails, error) api.Stream }
type RPCService_IPContainerProxyDumpClient ¶
type RPCService_IPContainerProxyDumpClient interface { Recv() (*IPContainerProxyDetails, error) api.Stream }
type RPCService_IPDumpClient ¶
type RPCService_IPMrouteDumpClient ¶
type RPCService_IPMrouteDumpClient interface { Recv() (*IPMrouteDetails, error) api.Stream }
type RPCService_IPMtableDumpClient ¶
type RPCService_IPMtableDumpClient interface { Recv() (*IPMtableDetails, error) api.Stream }
type RPCService_IPPathMtuGetClient ¶
type RPCService_IPPathMtuGetClient interface { Recv() (*IPPathMtuDetails, *IPPathMtuGetReply, error) api.Stream }
type RPCService_IPPuntRedirectDumpClient ¶
type RPCService_IPPuntRedirectDumpClient interface { Recv() (*IPPuntRedirectDetails, error) api.Stream }
type RPCService_IPPuntRedirectV2DumpClient ¶
type RPCService_IPPuntRedirectV2DumpClient interface { Recv() (*IPPuntRedirectV2Details, error) api.Stream }
type RPCService_IPRouteDumpClient ¶
type RPCService_IPRouteDumpClient interface { Recv() (*IPRouteDetails, error) api.Stream }
type RPCService_IPRouteV2DumpClient ¶
type RPCService_IPRouteV2DumpClient interface { Recv() (*IPRouteV2Details, error) api.Stream }
type RPCService_IPTableDumpClient ¶
type RPCService_IPTableDumpClient interface { Recv() (*IPTableDetails, error) api.Stream }
type RPCService_IPUnnumberedDumpClient ¶
type RPCService_IPUnnumberedDumpClient interface { Recv() (*IPUnnumberedDetails, error) api.Stream }
type RPCService_MfibSignalDumpClient ¶
type RPCService_MfibSignalDumpClient interface { Recv() (*MfibSignalDetails, error) api.Stream }
type SetIPFlowHash ¶
type SetIPFlowHash struct { VrfID uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` Src bool `binapi:"bool,name=src" json:"src,omitempty"` Dst bool `binapi:"bool,name=dst" json:"dst,omitempty"` Sport bool `binapi:"bool,name=sport" json:"sport,omitempty"` Dport bool `binapi:"bool,name=dport" json:"dport,omitempty"` Proto bool `binapi:"bool,name=proto" json:"proto,omitempty"` Reverse bool `binapi:"bool,name=reverse" json:"reverse,omitempty"` Symmetric bool `binapi:"bool,name=symmetric" json:"symmetric,omitempty"` }
Set the ip flow hash config for a fib request
- vrf_id - vrf/fib id
- is_ipv6 - if non-zero the fib is ip6, else ip4
- src - if non-zero include src in flow hash
- dst - if non-zero include dst in flow hash
- sport - if non-zero include sport in flow hash
- dport - if non-zero include dport in flow hash
- proto -if non-zero include proto in flow hash
- reverse - if non-zero include reverse in flow hash
- symmetric - if non-zero include symmetry in flow hash
SetIPFlowHash defines message 'set_ip_flow_hash'. Deprecated: the message will be removed in the future versions
func (*SetIPFlowHash) GetCrcString ¶
func (*SetIPFlowHash) GetCrcString() string
func (*SetIPFlowHash) GetMessageName ¶
func (*SetIPFlowHash) GetMessageName() string
func (*SetIPFlowHash) GetMessageType ¶
func (*SetIPFlowHash) GetMessageType() api.MessageType
func (*SetIPFlowHash) Reset ¶
func (m *SetIPFlowHash) Reset()
func (*SetIPFlowHash) Size ¶
func (m *SetIPFlowHash) Size() (size int)
func (*SetIPFlowHash) Unmarshal ¶
func (m *SetIPFlowHash) Unmarshal(b []byte) error
type SetIPFlowHashReply ¶
type SetIPFlowHashReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SetIPFlowHashReply defines message 'set_ip_flow_hash_reply'. Deprecated: the message will be removed in the future versions
func (*SetIPFlowHashReply) GetCrcString ¶
func (*SetIPFlowHashReply) GetCrcString() string
func (*SetIPFlowHashReply) GetMessageName ¶
func (*SetIPFlowHashReply) GetMessageName() string
func (*SetIPFlowHashReply) GetMessageType ¶
func (*SetIPFlowHashReply) GetMessageType() api.MessageType
func (*SetIPFlowHashReply) Reset ¶
func (m *SetIPFlowHashReply) Reset()
func (*SetIPFlowHashReply) Size ¶
func (m *SetIPFlowHashReply) Size() (size int)
func (*SetIPFlowHashReply) Unmarshal ¶
func (m *SetIPFlowHashReply) Unmarshal(b []byte) error
type SetIPFlowHashRouterID ¶
type SetIPFlowHashRouterID struct {
RouterID uint32 `binapi:"u32,name=router_id" json:"router_id,omitempty"`
}
Set the ip flow hash router ID
- router_id - The ID of the router. Mixed into the hash. Used to prevent polarisation across a network, since each router is assumed to have a different ID
SetIPFlowHashRouterID defines message 'set_ip_flow_hash_router_id'.
func (*SetIPFlowHashRouterID) GetCrcString ¶
func (*SetIPFlowHashRouterID) GetCrcString() string
func (*SetIPFlowHashRouterID) GetMessageName ¶
func (*SetIPFlowHashRouterID) GetMessageName() string
func (*SetIPFlowHashRouterID) GetMessageType ¶
func (*SetIPFlowHashRouterID) GetMessageType() api.MessageType
func (*SetIPFlowHashRouterID) Marshal ¶
func (m *SetIPFlowHashRouterID) Marshal(b []byte) ([]byte, error)
func (*SetIPFlowHashRouterID) Reset ¶
func (m *SetIPFlowHashRouterID) Reset()
func (*SetIPFlowHashRouterID) Size ¶
func (m *SetIPFlowHashRouterID) Size() (size int)
func (*SetIPFlowHashRouterID) Unmarshal ¶
func (m *SetIPFlowHashRouterID) Unmarshal(b []byte) error
type SetIPFlowHashRouterIDReply ¶
type SetIPFlowHashRouterIDReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SetIPFlowHashRouterIDReply defines message 'set_ip_flow_hash_router_id_reply'.
func (*SetIPFlowHashRouterIDReply) GetCrcString ¶
func (*SetIPFlowHashRouterIDReply) GetCrcString() string
func (*SetIPFlowHashRouterIDReply) GetMessageName ¶
func (*SetIPFlowHashRouterIDReply) GetMessageName() string
func (*SetIPFlowHashRouterIDReply) GetMessageType ¶
func (*SetIPFlowHashRouterIDReply) GetMessageType() api.MessageType
func (*SetIPFlowHashRouterIDReply) Marshal ¶
func (m *SetIPFlowHashRouterIDReply) Marshal(b []byte) ([]byte, error)
func (*SetIPFlowHashRouterIDReply) Reset ¶
func (m *SetIPFlowHashRouterIDReply) Reset()
func (*SetIPFlowHashRouterIDReply) Size ¶
func (m *SetIPFlowHashRouterIDReply) Size() (size int)
func (*SetIPFlowHashRouterIDReply) Unmarshal ¶
func (m *SetIPFlowHashRouterIDReply) Unmarshal(b []byte) error
type SetIPFlowHashV2 ¶
type SetIPFlowHashV2 struct { TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` FlowHashConfig IPFlowHashConfig `binapi:"ip_flow_hash_config,name=flow_hash_config" json:"flow_hash_config,omitempty"` }
@brief flow hash settings for an IP table
- src - include src in flow hash
- dst - include dst in flow hash
- sport - include sport in flow hash
- dport - include dport in flow hash
- proto - include proto in flow hash
- reverse - include reverse in flow hash
- symmetric - include symmetry in flow hash
- flowlabel - include flowlabel in flow hash
SetIPFlowHashV2 defines message 'set_ip_flow_hash_v2'.
func (*SetIPFlowHashV2) GetCrcString ¶
func (*SetIPFlowHashV2) GetCrcString() string
func (*SetIPFlowHashV2) GetMessageName ¶
func (*SetIPFlowHashV2) GetMessageName() string
func (*SetIPFlowHashV2) GetMessageType ¶
func (*SetIPFlowHashV2) GetMessageType() api.MessageType
func (*SetIPFlowHashV2) Reset ¶
func (m *SetIPFlowHashV2) Reset()
func (*SetIPFlowHashV2) Size ¶
func (m *SetIPFlowHashV2) Size() (size int)
func (*SetIPFlowHashV2) Unmarshal ¶
func (m *SetIPFlowHashV2) Unmarshal(b []byte) error
type SetIPFlowHashV2Reply ¶
type SetIPFlowHashV2Reply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SetIPFlowHashV2Reply defines message 'set_ip_flow_hash_v2_reply'.
func (*SetIPFlowHashV2Reply) GetCrcString ¶
func (*SetIPFlowHashV2Reply) GetCrcString() string
func (*SetIPFlowHashV2Reply) GetMessageName ¶
func (*SetIPFlowHashV2Reply) GetMessageName() string
func (*SetIPFlowHashV2Reply) GetMessageType ¶
func (*SetIPFlowHashV2Reply) GetMessageType() api.MessageType
func (*SetIPFlowHashV2Reply) Marshal ¶
func (m *SetIPFlowHashV2Reply) Marshal(b []byte) ([]byte, error)
func (*SetIPFlowHashV2Reply) Reset ¶
func (m *SetIPFlowHashV2Reply) Reset()
func (*SetIPFlowHashV2Reply) Size ¶
func (m *SetIPFlowHashV2Reply) Size() (size int)
func (*SetIPFlowHashV2Reply) Unmarshal ¶
func (m *SetIPFlowHashV2Reply) Unmarshal(b []byte) error
type SetIPFlowHashV3 ¶ added in v0.8.0
type SetIPFlowHashV3 struct { TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` FlowHashConfig IPFlowHashConfigV2 `binapi:"ip_flow_hash_config_v2,name=flow_hash_config" json:"flow_hash_config,omitempty"` }
@brief flow hash settings for an IP table
- src - include src in flow hash
- dst - include dst in flow hash
- sport - include sport in flow hash
- dport - include dport in flow hash
- proto - include proto in flow hash
- reverse - include reverse in flow hash
- symmetric - include symmetry in flow hash
- flowlabel - include flowlabel in flow hash
- gtpv1teid - include gtpv1teid in flow hash
SetIPFlowHashV3 defines message 'set_ip_flow_hash_v3'. InProgress: the message form may change in the future versions
func (*SetIPFlowHashV3) GetCrcString ¶ added in v0.8.0
func (*SetIPFlowHashV3) GetCrcString() string
func (*SetIPFlowHashV3) GetMessageName ¶ added in v0.8.0
func (*SetIPFlowHashV3) GetMessageName() string
func (*SetIPFlowHashV3) GetMessageType ¶ added in v0.8.0
func (*SetIPFlowHashV3) GetMessageType() api.MessageType
func (*SetIPFlowHashV3) Marshal ¶ added in v0.8.0
func (m *SetIPFlowHashV3) Marshal(b []byte) ([]byte, error)
func (*SetIPFlowHashV3) Reset ¶ added in v0.8.0
func (m *SetIPFlowHashV3) Reset()
func (*SetIPFlowHashV3) Size ¶ added in v0.8.0
func (m *SetIPFlowHashV3) Size() (size int)
func (*SetIPFlowHashV3) Unmarshal ¶ added in v0.8.0
func (m *SetIPFlowHashV3) Unmarshal(b []byte) error
type SetIPFlowHashV3Reply ¶ added in v0.8.0
type SetIPFlowHashV3Reply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SetIPFlowHashV3Reply defines message 'set_ip_flow_hash_v3_reply'. InProgress: the message form may change in the future versions
func (*SetIPFlowHashV3Reply) GetCrcString ¶ added in v0.8.0
func (*SetIPFlowHashV3Reply) GetCrcString() string
func (*SetIPFlowHashV3Reply) GetMessageName ¶ added in v0.8.0
func (*SetIPFlowHashV3Reply) GetMessageName() string
func (*SetIPFlowHashV3Reply) GetMessageType ¶ added in v0.8.0
func (*SetIPFlowHashV3Reply) GetMessageType() api.MessageType
func (*SetIPFlowHashV3Reply) Marshal ¶ added in v0.8.0
func (m *SetIPFlowHashV3Reply) Marshal(b []byte) ([]byte, error)
func (*SetIPFlowHashV3Reply) Reset ¶ added in v0.8.0
func (m *SetIPFlowHashV3Reply) Reset()
func (*SetIPFlowHashV3Reply) Size ¶ added in v0.8.0
func (m *SetIPFlowHashV3Reply) Size() (size int)
func (*SetIPFlowHashV3Reply) Unmarshal ¶ added in v0.8.0
func (m *SetIPFlowHashV3Reply) 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"` }
IPv6 interface enable / disable request
- sw_if_index - interface used to reach neighbor
- enable - if non-zero enable ip6 on interface, else disable
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) GetMessageType() api.MessageType
func (*SwInterfaceIP6EnableDisableReply) Marshal ¶
func (m *SwInterfaceIP6EnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceIP6EnableDisableReply) Reset ¶
func (m *SwInterfaceIP6EnableDisableReply) Reset()
func (*SwInterfaceIP6EnableDisableReply) Size ¶
func (m *SwInterfaceIP6EnableDisableReply) Size() (size int)
func (*SwInterfaceIP6EnableDisableReply) Unmarshal ¶
func (m *SwInterfaceIP6EnableDisableReply) Unmarshal(b []byte) error
type SwInterfaceIP6GetLinkLocalAddress ¶
type SwInterfaceIP6GetLinkLocalAddress struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
IPv6 get link local address on interface request
- sw_if_index - interface to set link local on
SwInterfaceIP6GetLinkLocalAddress defines message 'sw_interface_ip6_get_link_local_address'.
func (*SwInterfaceIP6GetLinkLocalAddress) GetCrcString ¶
func (*SwInterfaceIP6GetLinkLocalAddress) GetCrcString() string
func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageName ¶
func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageName() string
func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageType ¶
func (*SwInterfaceIP6GetLinkLocalAddress) GetMessageType() api.MessageType
func (*SwInterfaceIP6GetLinkLocalAddress) Marshal ¶
func (m *SwInterfaceIP6GetLinkLocalAddress) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceIP6GetLinkLocalAddress) Reset ¶
func (m *SwInterfaceIP6GetLinkLocalAddress) Reset()
func (*SwInterfaceIP6GetLinkLocalAddress) Size ¶
func (m *SwInterfaceIP6GetLinkLocalAddress) Size() (size int)
func (*SwInterfaceIP6GetLinkLocalAddress) Unmarshal ¶
func (m *SwInterfaceIP6GetLinkLocalAddress) Unmarshal(b []byte) error
type SwInterfaceIP6GetLinkLocalAddressReply ¶
type SwInterfaceIP6GetLinkLocalAddressReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` IP ip_types.IP6Address `binapi:"ip6_address,name=ip" json:"ip,omitempty"` }
IPv6 link local address detail
- ip - the link local address
SwInterfaceIP6GetLinkLocalAddressReply defines message 'sw_interface_ip6_get_link_local_address_reply'.
func (*SwInterfaceIP6GetLinkLocalAddressReply) GetCrcString ¶
func (*SwInterfaceIP6GetLinkLocalAddressReply) GetCrcString() string
func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageName ¶
func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageName() string
func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageType ¶
func (*SwInterfaceIP6GetLinkLocalAddressReply) GetMessageType() api.MessageType
func (*SwInterfaceIP6GetLinkLocalAddressReply) Marshal ¶
func (m *SwInterfaceIP6GetLinkLocalAddressReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceIP6GetLinkLocalAddressReply) Reset ¶
func (m *SwInterfaceIP6GetLinkLocalAddressReply) Reset()
func (*SwInterfaceIP6GetLinkLocalAddressReply) Size ¶
func (m *SwInterfaceIP6GetLinkLocalAddressReply) Size() (size int)
func (*SwInterfaceIP6GetLinkLocalAddressReply) Unmarshal ¶
func (m *SwInterfaceIP6GetLinkLocalAddressReply) 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"` }
IPv6 set link local address on interface request
- sw_if_index - interface to set link local on
- ip - the new link local address
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) GetMessageType() api.MessageType
func (*SwInterfaceIP6SetLinkLocalAddress) Marshal ¶
func (m *SwInterfaceIP6SetLinkLocalAddress) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceIP6SetLinkLocalAddress) Reset ¶
func (m *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) GetCrcString() string
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName ¶
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName() string
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType ¶
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType
func (*SwInterfaceIP6SetLinkLocalAddressReply) Marshal ¶
func (m *SwInterfaceIP6SetLinkLocalAddressReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceIP6SetLinkLocalAddressReply) Reset ¶
func (m *SwInterfaceIP6SetLinkLocalAddressReply) Reset()
func (*SwInterfaceIP6SetLinkLocalAddressReply) Size ¶
func (m *SwInterfaceIP6SetLinkLocalAddressReply) Size() (size int)
func (*SwInterfaceIP6SetLinkLocalAddressReply) Unmarshal ¶
func (m *SwInterfaceIP6SetLinkLocalAddressReply) Unmarshal(b []byte) error