Documentation
¶
Overview ¶
Package ip contains generated bindings for API file ip.api.
Contents:
7 aliases 15 enums 14 structs 1 union 60 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type FibMplsLabel
- type FibPath
- type FibPathFlags
- type FibPathNh
- type FibPathNhProto
- type FibPathType
- type IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- 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 IPDscp
- type IPDump
- type IPEcn
- 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 IPProto
- 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 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 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 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 IPSourceCheckInterfaceAddDel
- func (*IPSourceCheckInterfaceAddDel) GetCrcString() string
- func (*IPSourceCheckInterfaceAddDel) GetMessageName() string
- func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType
- func (m *IPSourceCheckInterfaceAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPSourceCheckInterfaceAddDel) Reset()
- func (m *IPSourceCheckInterfaceAddDel) Size() (size int)
- func (m *IPSourceCheckInterfaceAddDel) Unmarshal(b []byte) error
- type IPSourceCheckInterfaceAddDelReply
- func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string
- func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string
- func (*IPSourceCheckInterfaceAddDelReply) GetMessageType() api.MessageType
- func (m *IPSourceCheckInterfaceAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPSourceCheckInterfaceAddDelReply) Reset()
- func (m *IPSourceCheckInterfaceAddDelReply) Size() (size int)
- func (m *IPSourceCheckInterfaceAddDelReply) 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 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 IfStatusFlags
- type IfType
- type InterfaceIndex
- 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 LinkDuplex
- type MacAddress
- type MfibItfFlags
- type MfibPath
- 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 Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type PuntRedirect
- type RPCService
- type RPCService_IPAddressDumpClient
- type RPCService_IPContainerProxyDumpClient
- type RPCService_IPDumpClient
- type RPCService_IPMrouteDumpClient
- type RPCService_IPMtableDumpClient
- type RPCService_IPPuntRedirectDumpClient
- type RPCService_IPRouteDumpClient
- type RPCService_IPTableDumpClient
- type RPCService_IPUnnumberedDumpClient
- type RPCService_MfibSignalDumpClient
- type RxMode
- 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 SubIfFlags
- 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 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.0.1" VersionCrc = 0xfc3fea46 )
Variables ¶
var ( AddressFamily_name = map[uint32]string{ 0: "ADDRESS_IP4", 1: "ADDRESS_IP6", } AddressFamily_value = map[string]uint32{ "ADDRESS_IP4": 0, "ADDRESS_IP6": 1, } )
var ( FibPathFlags_name = map[uint32]string{ 0: "FIB_API_PATH_FLAG_NONE", 1: "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED", 2: "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST", 4: "FIB_API_PATH_FLAG_POP_PW_CW", } FibPathFlags_value = map[string]uint32{ "FIB_API_PATH_FLAG_NONE": 0, "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED": 1, "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST": 2, "FIB_API_PATH_FLAG_POP_PW_CW": 4, } )
var ( FibPathNhProto_name = map[uint32]string{ 0: "FIB_API_PATH_NH_PROTO_IP4", 1: "FIB_API_PATH_NH_PROTO_IP6", 2: "FIB_API_PATH_NH_PROTO_MPLS", 3: "FIB_API_PATH_NH_PROTO_ETHERNET", 4: "FIB_API_PATH_NH_PROTO_BIER", } FibPathNhProto_value = map[string]uint32{ "FIB_API_PATH_NH_PROTO_IP4": 0, "FIB_API_PATH_NH_PROTO_IP6": 1, "FIB_API_PATH_NH_PROTO_MPLS": 2, "FIB_API_PATH_NH_PROTO_ETHERNET": 3, "FIB_API_PATH_NH_PROTO_BIER": 4, } )
var ( FibPathType_name = map[uint32]string{ 0: "FIB_API_PATH_TYPE_NORMAL", 1: "FIB_API_PATH_TYPE_LOCAL", 2: "FIB_API_PATH_TYPE_DROP", 3: "FIB_API_PATH_TYPE_UDP_ENCAP", 4: "FIB_API_PATH_TYPE_BIER_IMP", 5: "FIB_API_PATH_TYPE_ICMP_UNREACH", 6: "FIB_API_PATH_TYPE_ICMP_PROHIBIT", 7: "FIB_API_PATH_TYPE_SOURCE_LOOKUP", 8: "FIB_API_PATH_TYPE_DVR", 9: "FIB_API_PATH_TYPE_INTERFACE_RX", 10: "FIB_API_PATH_TYPE_CLASSIFY", } FibPathType_value = map[string]uint32{ "FIB_API_PATH_TYPE_NORMAL": 0, "FIB_API_PATH_TYPE_LOCAL": 1, "FIB_API_PATH_TYPE_DROP": 2, "FIB_API_PATH_TYPE_UDP_ENCAP": 3, "FIB_API_PATH_TYPE_BIER_IMP": 4, "FIB_API_PATH_TYPE_ICMP_UNREACH": 5, "FIB_API_PATH_TYPE_ICMP_PROHIBIT": 6, "FIB_API_PATH_TYPE_SOURCE_LOOKUP": 7, "FIB_API_PATH_TYPE_DVR": 8, "FIB_API_PATH_TYPE_INTERFACE_RX": 9, "FIB_API_PATH_TYPE_CLASSIFY": 10, } )
var ( IfStatusFlags_name = map[uint32]string{ 1: "IF_STATUS_API_FLAG_ADMIN_UP", 2: "IF_STATUS_API_FLAG_LINK_UP", } IfStatusFlags_value = map[string]uint32{ "IF_STATUS_API_FLAG_ADMIN_UP": 1, "IF_STATUS_API_FLAG_LINK_UP": 2, } )
var ( IfType_name = map[uint32]string{ 1: "IF_API_TYPE_HARDWARE", 2: "IF_API_TYPE_SUB", 3: "IF_API_TYPE_P2P", 4: "IF_API_TYPE_PIPE", } IfType_value = map[string]uint32{ "IF_API_TYPE_HARDWARE": 1, "IF_API_TYPE_SUB": 2, "IF_API_TYPE_P2P": 3, "IF_API_TYPE_PIPE": 4, } )
var ( IPDscp_name = map[uint8]string{ 0: "IP_API_DSCP_CS0", 8: "IP_API_DSCP_CS1", 10: "IP_API_DSCP_AF11", 12: "IP_API_DSCP_AF12", 14: "IP_API_DSCP_AF13", 16: "IP_API_DSCP_CS2", 18: "IP_API_DSCP_AF21", 20: "IP_API_DSCP_AF22", 22: "IP_API_DSCP_AF23", 24: "IP_API_DSCP_CS3", 26: "IP_API_DSCP_AF31", 28: "IP_API_DSCP_AF32", 30: "IP_API_DSCP_AF33", 32: "IP_API_DSCP_CS4", 34: "IP_API_DSCP_AF41", 36: "IP_API_DSCP_AF42", 38: "IP_API_DSCP_AF43", 40: "IP_API_DSCP_CS5", 46: "IP_API_DSCP_EF", 48: "IP_API_DSCP_CS6", 50: "IP_API_DSCP_CS7", } IPDscp_value = map[string]uint8{ "IP_API_DSCP_CS0": 0, "IP_API_DSCP_CS1": 8, "IP_API_DSCP_AF11": 10, "IP_API_DSCP_AF12": 12, "IP_API_DSCP_AF13": 14, "IP_API_DSCP_CS2": 16, "IP_API_DSCP_AF21": 18, "IP_API_DSCP_AF22": 20, "IP_API_DSCP_AF23": 22, "IP_API_DSCP_CS3": 24, "IP_API_DSCP_AF31": 26, "IP_API_DSCP_AF32": 28, "IP_API_DSCP_AF33": 30, "IP_API_DSCP_CS4": 32, "IP_API_DSCP_AF41": 34, "IP_API_DSCP_AF42": 36, "IP_API_DSCP_AF43": 38, "IP_API_DSCP_CS5": 40, "IP_API_DSCP_EF": 46, "IP_API_DSCP_CS6": 48, "IP_API_DSCP_CS7": 50, } )
var ( IPEcn_name = map[uint8]string{ 0: "IP_API_ECN_NONE", 1: "IP_API_ECN_ECT0", 2: "IP_API_ECN_ECT1", 3: "IP_API_ECN_CE", } IPEcn_value = map[string]uint8{ "IP_API_ECN_NONE": 0, "IP_API_ECN_ECT0": 1, "IP_API_ECN_ECT1": 2, "IP_API_ECN_CE": 3, } )
var ( IPProto_name = map[uint32]string{ 0: "IP_API_PROTO_HOPOPT", 1: "IP_API_PROTO_ICMP", 2: "IP_API_PROTO_IGMP", 6: "IP_API_PROTO_TCP", 17: "IP_API_PROTO_UDP", 47: "IP_API_PROTO_GRE", 50: "IP_API_PROTO_AH", 51: "IP_API_PROTO_ESP", 88: "IP_API_PROTO_EIGRP", 89: "IP_API_PROTO_OSPF", 132: "IP_API_PROTO_SCTP", 255: "IP_API_PROTO_RESERVED", } IPProto_value = map[string]uint32{ "IP_API_PROTO_HOPOPT": 0, "IP_API_PROTO_ICMP": 1, "IP_API_PROTO_IGMP": 2, "IP_API_PROTO_TCP": 6, "IP_API_PROTO_UDP": 17, "IP_API_PROTO_GRE": 47, "IP_API_PROTO_AH": 50, "IP_API_PROTO_ESP": 51, "IP_API_PROTO_EIGRP": 88, "IP_API_PROTO_OSPF": 89, "IP_API_PROTO_SCTP": 132, "IP_API_PROTO_RESERVED": 255, } )
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 ( LinkDuplex_name = map[uint32]string{ 0: "LINK_DUPLEX_API_UNKNOWN", 1: "LINK_DUPLEX_API_HALF", 2: "LINK_DUPLEX_API_FULL", } LinkDuplex_value = map[string]uint32{ "LINK_DUPLEX_API_UNKNOWN": 0, "LINK_DUPLEX_API_HALF": 1, "LINK_DUPLEX_API_FULL": 2, } )
var ( MfibItfFlags_name = map[uint32]string{ 0: "MFIB_API_ITF_FLAG_NONE", 1: "MFIB_API_ITF_FLAG_NEGATE_SIGNAL", 2: "MFIB_API_ITF_FLAG_ACCEPT", 4: "MFIB_API_ITF_FLAG_FORWARD", 8: "MFIB_API_ITF_FLAG_SIGNAL_PRESENT", 16: "MFIB_API_ITF_FLAG_DONT_PRESERVE", } MfibItfFlags_value = map[string]uint32{ "MFIB_API_ITF_FLAG_NONE": 0, "MFIB_API_ITF_FLAG_NEGATE_SIGNAL": 1, "MFIB_API_ITF_FLAG_ACCEPT": 2, "MFIB_API_ITF_FLAG_FORWARD": 4, "MFIB_API_ITF_FLAG_SIGNAL_PRESENT": 8, "MFIB_API_ITF_FLAG_DONT_PRESERVE": 16, } )
var ( MtuProto_name = map[uint32]string{ 1: "MTU_PROTO_API_L3", 2: "MTU_PROTO_API_IP4", 3: "MTU_PROTO_API_IP6", 4: "MTU_PROTO_API_MPLS", 5: "MTU_PROTO_API_N", } MtuProto_value = map[string]uint32{ "MTU_PROTO_API_L3": 1, "MTU_PROTO_API_IP4": 2, "MTU_PROTO_API_IP6": 3, "MTU_PROTO_API_MPLS": 4, "MTU_PROTO_API_N": 5, } )
var ( RxMode_name = map[uint32]string{ 0: "RX_MODE_API_UNKNOWN", 1: "RX_MODE_API_POLLING", 2: "RX_MODE_API_INTERRUPT", 3: "RX_MODE_API_ADAPTIVE", 4: "RX_MODE_API_DEFAULT", } RxMode_value = map[string]uint32{ "RX_MODE_API_UNKNOWN": 0, "RX_MODE_API_POLLING": 1, "RX_MODE_API_INTERRUPT": 2, "RX_MODE_API_ADAPTIVE": 3, "RX_MODE_API_DEFAULT": 4, } )
var ( SubIfFlags_name = map[uint32]string{ 1: "SUB_IF_API_FLAG_NO_TAGS", 2: "SUB_IF_API_FLAG_ONE_TAG", 4: "SUB_IF_API_FLAG_TWO_TAGS", 8: "SUB_IF_API_FLAG_DOT1AD", 16: "SUB_IF_API_FLAG_EXACT_MATCH", 32: "SUB_IF_API_FLAG_DEFAULT", 64: "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY", 128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY", 254: "SUB_IF_API_FLAG_MASK_VNET", 256: "SUB_IF_API_FLAG_DOT1AH", } SubIfFlags_value = map[string]uint32{ "SUB_IF_API_FLAG_NO_TAGS": 1, "SUB_IF_API_FLAG_ONE_TAG": 2, "SUB_IF_API_FLAG_TWO_TAGS": 4, "SUB_IF_API_FLAG_DOT1AD": 8, "SUB_IF_API_FLAG_EXACT_MATCH": 16, "SUB_IF_API_FLAG_DEFAULT": 32, "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64, "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128, "SUB_IF_API_FLAG_MASK_VNET": 254, "SUB_IF_API_FLAG_DOT1AH": 256, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type Address ¶
type Address struct {
Af AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
Un AddressUnion `binapi:"address_union,name=un" json:"un,omitempty"`
}
Address defines type 'address'.
func ParseAddress ¶
func (*Address) MarshalText ¶
func (*Address) UnmarshalText ¶
type AddressFamily ¶
type AddressFamily uint32
AddressFamily defines enum 'address_family'.
const ( ADDRESS_IP4 AddressFamily = 0 ADDRESS_IP6 AddressFamily = 1 )
func (AddressFamily) String ¶
func (x AddressFamily) String() string
type AddressUnion ¶
type AddressUnion struct {
// IP4 *IP4Address
// IP6 *IP6Address
XXX_UnionData [16]byte
}
AddressUnion defines union 'address_union'.
func AddressUnionIP4 ¶
func AddressUnionIP4(a IP4Address) (u AddressUnion)
func AddressUnionIP6 ¶
func AddressUnionIP6(a IP6Address) (u AddressUnion)
func (*AddressUnion) GetIP4 ¶
func (u *AddressUnion) GetIP4() (a IP4Address)
func (*AddressUnion) GetIP6 ¶
func (u *AddressUnion) GetIP6() (a IP6Address)
func (*AddressUnion) SetIP4 ¶
func (u *AddressUnion) SetIP4(a IP4Address)
func (*AddressUnion) SetIP6 ¶
func (u *AddressUnion) SetIP6(a IP6Address)
type AddressWithPrefix ¶
type AddressWithPrefix Prefix
AddressWithPrefix defines alias 'address_with_prefix'.
func ParseAddressWithPrefix ¶
func ParseAddressWithPrefix(s string) (AddressWithPrefix, error)
func (*AddressWithPrefix) MarshalText ¶
func (x *AddressWithPrefix) MarshalText() ([]byte, error)
func (AddressWithPrefix) String ¶
func (x AddressWithPrefix) String() string
func (*AddressWithPrefix) UnmarshalText ¶
func (x *AddressWithPrefix) UnmarshalText(text []byte) error
type FibMplsLabel ¶
type FibMplsLabel struct {
IsUniform uint8 `binapi:"u8,name=is_uniform" json:"is_uniform,omitempty"`
Label uint32 `binapi:"u32,name=label" json:"label,omitempty"`
TTL uint8 `binapi:"u8,name=ttl" json:"ttl,omitempty"`
Exp uint8 `binapi:"u8,name=exp" json:"exp,omitempty"`
}
FibMplsLabel defines type 'fib_mpls_label'.
type FibPath ¶
type FibPath struct {
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
RpfID uint32 `binapi:"u32,name=rpf_id" json:"rpf_id,omitempty"`
Weight uint8 `binapi:"u8,name=weight" json:"weight,omitempty"`
Preference uint8 `binapi:"u8,name=preference" json:"preference,omitempty"`
Type FibPathType `binapi:"fib_path_type,name=type" json:"type,omitempty"`
Flags FibPathFlags `binapi:"fib_path_flags,name=flags" json:"flags,omitempty"`
Proto FibPathNhProto `binapi:"fib_path_nh_proto,name=proto" json:"proto,omitempty"`
Nh FibPathNh `binapi:"fib_path_nh,name=nh" json:"nh,omitempty"`
NLabels uint8 `binapi:"u8,name=n_labels" json:"n_labels,omitempty"`
LabelStack [16]FibMplsLabel `binapi:"fib_mpls_label[16],name=label_stack" json:"label_stack,omitempty"`
}
FibPath defines type 'fib_path'.
type FibPathFlags ¶
type FibPathFlags uint32
FibPathFlags defines enum 'fib_path_flags'.
const ( FIB_API_PATH_FLAG_NONE FibPathFlags = 0 FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED FibPathFlags = 1 FIB_API_PATH_FLAG_RESOLVE_VIA_HOST FibPathFlags = 2 FIB_API_PATH_FLAG_POP_PW_CW FibPathFlags = 4 )
func (FibPathFlags) String ¶
func (x FibPathFlags) String() string
type FibPathNh ¶
type FibPathNh struct {
Address AddressUnion `binapi:"address_union,name=address" json:"address,omitempty"`
ViaLabel uint32 `binapi:"u32,name=via_label" json:"via_label,omitempty"`
ObjID uint32 `binapi:"u32,name=obj_id" json:"obj_id,omitempty"`
ClassifyTableIndex uint32 `binapi:"u32,name=classify_table_index" json:"classify_table_index,omitempty"`
}
FibPathNh defines type 'fib_path_nh'.
type FibPathNhProto ¶
type FibPathNhProto uint32
FibPathNhProto defines enum 'fib_path_nh_proto'.
const ( FIB_API_PATH_NH_PROTO_IP4 FibPathNhProto = 0 FIB_API_PATH_NH_PROTO_IP6 FibPathNhProto = 1 FIB_API_PATH_NH_PROTO_MPLS FibPathNhProto = 2 FIB_API_PATH_NH_PROTO_ETHERNET FibPathNhProto = 3 FIB_API_PATH_NH_PROTO_BIER FibPathNhProto = 4 )
func (FibPathNhProto) String ¶
func (x FibPathNhProto) String() string
type FibPathType ¶
type FibPathType uint32
FibPathType defines enum 'fib_path_type'.
const ( FIB_API_PATH_TYPE_NORMAL FibPathType = 0 FIB_API_PATH_TYPE_LOCAL FibPathType = 1 FIB_API_PATH_TYPE_DROP FibPathType = 2 FIB_API_PATH_TYPE_UDP_ENCAP FibPathType = 3 FIB_API_PATH_TYPE_BIER_IMP FibPathType = 4 FIB_API_PATH_TYPE_ICMP_UNREACH FibPathType = 5 FIB_API_PATH_TYPE_ICMP_PROHIBIT FibPathType = 6 FIB_API_PATH_TYPE_SOURCE_LOOKUP FibPathType = 7 FIB_API_PATH_TYPE_DVR FibPathType = 8 FIB_API_PATH_TYPE_INTERFACE_RX FibPathType = 9 FIB_API_PATH_TYPE_CLASSIFY FibPathType = 10 )
func (FibPathType) String ¶
func (x FibPathType) String() string
type IP4Address ¶
type IP4Address [4]uint8
IP4Address defines alias 'ip4_address'.
func ParseIP4Address ¶
func ParseIP4Address(s string) (IP4Address, error)
func (*IP4Address) MarshalText ¶
func (x *IP4Address) MarshalText() ([]byte, error)
func (IP4Address) String ¶
func (x IP4Address) String() string
func (IP4Address) ToIP ¶
func (x IP4Address) ToIP() net.IP
func (*IP4Address) UnmarshalText ¶
func (x *IP4Address) UnmarshalText(text []byte) error
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix IP4Prefix
IP4AddressWithPrefix defines alias 'ip4_address_with_prefix'.
type IP4Prefix ¶
type IP4Prefix struct {
Address IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"`
Len uint8 `binapi:"u8,name=len" json:"len,omitempty"`
}
IP4Prefix defines type 'ip4_prefix'.
func ParseIP4Prefix ¶
func (*IP4Prefix) MarshalText ¶
func (*IP4Prefix) UnmarshalText ¶
type IP6Address ¶
type IP6Address [16]uint8
IP6Address defines alias 'ip6_address'.
func ParseIP6Address ¶
func ParseIP6Address(s string) (IP6Address, error)
func (*IP6Address) MarshalText ¶
func (x *IP6Address) MarshalText() ([]byte, error)
func (IP6Address) String ¶
func (x IP6Address) String() string
func (IP6Address) ToIP ¶
func (x IP6Address) ToIP() net.IP
func (*IP6Address) UnmarshalText ¶
func (x *IP6Address) UnmarshalText(text []byte) error
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix IP6Prefix
IP6AddressWithPrefix defines alias 'ip6_address_with_prefix'.
type IP6Prefix ¶
type IP6Prefix struct {
Address IP6Address `binapi:"ip6_address,name=address" json:"address,omitempty"`
Len uint8 `binapi:"u8,name=len" json:"len,omitempty"`
}
IP6Prefix defines type 'ip6_prefix'.
func ParseIP6Prefix ¶
func (*IP6Prefix) MarshalText ¶
func (*IP6Prefix) UnmarshalText ¶
type IPAddressDetails ¶
type IPAddressDetails struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
Prefix AddressWithPrefix `binapi:"address_with_prefix,name=prefix" json:"prefix,omitempty"`
}
IPAddressDetails defines message 'ip_address_details'.
func (*IPAddressDetails) GetCrcString ¶
func (*IPAddressDetails) GetCrcString() string
func (*IPAddressDetails) GetMessageName ¶
func (*IPAddressDetails) GetMessageName() string
func (*IPAddressDetails) GetMessageType ¶
func (*IPAddressDetails) GetMessageType() api.MessageType
func (*IPAddressDetails) Reset ¶
func (m *IPAddressDetails) Reset()
func (*IPAddressDetails) Size ¶
func (m *IPAddressDetails) Size() (size int)
func (*IPAddressDetails) Unmarshal ¶
func (m *IPAddressDetails) Unmarshal(b []byte) error
type IPAddressDump ¶
type IPAddressDump struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}
IPAddressDump defines message 'ip_address_dump'.
func (*IPAddressDump) GetCrcString ¶
func (*IPAddressDump) GetCrcString() string
func (*IPAddressDump) GetMessageName ¶
func (*IPAddressDump) GetMessageName() string
func (*IPAddressDump) GetMessageType ¶
func (*IPAddressDump) GetMessageType() api.MessageType
func (*IPAddressDump) Reset ¶
func (m *IPAddressDump) Reset()
func (*IPAddressDump) Size ¶
func (m *IPAddressDump) Size() (size int)
func (*IPAddressDump) Unmarshal ¶
func (m *IPAddressDump) Unmarshal(b []byte) error
type IPContainerProxyAddDel ¶
type IPContainerProxyAddDel struct {
Pfx Prefix `binapi:"prefix,name=pfx" json:"pfx,omitempty"`
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}
IPContainerProxyAddDel defines message 'ip_container_proxy_add_del'.
func (*IPContainerProxyAddDel) GetCrcString ¶
func (*IPContainerProxyAddDel) GetCrcString() string
func (*IPContainerProxyAddDel) GetMessageName ¶
func (*IPContainerProxyAddDel) GetMessageName() string
func (*IPContainerProxyAddDel) GetMessageType ¶
func (*IPContainerProxyAddDel) GetMessageType() api.MessageType
func (*IPContainerProxyAddDel) Marshal ¶
func (m *IPContainerProxyAddDel) Marshal(b []byte) ([]byte, error)
func (*IPContainerProxyAddDel) Reset ¶
func (m *IPContainerProxyAddDel) Reset()
func (*IPContainerProxyAddDel) Size ¶
func (m *IPContainerProxyAddDel) Size() (size int)
func (*IPContainerProxyAddDel) Unmarshal ¶
func (m *IPContainerProxyAddDel) Unmarshal(b []byte) error
type IPContainerProxyAddDelReply ¶
type IPContainerProxyAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPContainerProxyAddDelReply defines message 'ip_container_proxy_add_del_reply'.
func (*IPContainerProxyAddDelReply) GetCrcString ¶
func (*IPContainerProxyAddDelReply) GetCrcString() string
func (*IPContainerProxyAddDelReply) GetMessageName ¶
func (*IPContainerProxyAddDelReply) GetMessageName() string
func (*IPContainerProxyAddDelReply) GetMessageType ¶
func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType
func (*IPContainerProxyAddDelReply) Marshal ¶
func (m *IPContainerProxyAddDelReply) Marshal(b []byte) ([]byte, error)
func (*IPContainerProxyAddDelReply) Reset ¶
func (m *IPContainerProxyAddDelReply) Reset()
func (*IPContainerProxyAddDelReply) Size ¶
func (m *IPContainerProxyAddDelReply) Size() (size int)
func (*IPContainerProxyAddDelReply) Unmarshal ¶
func (m *IPContainerProxyAddDelReply) Unmarshal(b []byte) error
type IPContainerProxyDetails ¶
type IPContainerProxyDetails struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
Prefix Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
}
IPContainerProxyDetails defines message 'ip_container_proxy_details'.
func (*IPContainerProxyDetails) GetCrcString ¶
func (*IPContainerProxyDetails) GetCrcString() string
func (*IPContainerProxyDetails) GetMessageName ¶
func (*IPContainerProxyDetails) GetMessageName() string
func (*IPContainerProxyDetails) GetMessageType ¶
func (*IPContainerProxyDetails) GetMessageType() api.MessageType
func (*IPContainerProxyDetails) Marshal ¶
func (m *IPContainerProxyDetails) Marshal(b []byte) ([]byte, error)
func (*IPContainerProxyDetails) Reset ¶
func (m *IPContainerProxyDetails) Reset()
func (*IPContainerProxyDetails) Size ¶
func (m *IPContainerProxyDetails) Size() (size int)
func (*IPContainerProxyDetails) Unmarshal ¶
func (m *IPContainerProxyDetails) Unmarshal(b []byte) error
type IPContainerProxyDump ¶
type IPContainerProxyDump struct{}
IPContainerProxyDump defines message 'ip_container_proxy_dump'.
func (*IPContainerProxyDump) GetCrcString ¶
func (*IPContainerProxyDump) GetCrcString() string
func (*IPContainerProxyDump) GetMessageName ¶
func (*IPContainerProxyDump) GetMessageName() string
func (*IPContainerProxyDump) GetMessageType ¶
func (*IPContainerProxyDump) GetMessageType() api.MessageType
func (*IPContainerProxyDump) Marshal ¶
func (m *IPContainerProxyDump) Marshal(b []byte) ([]byte, error)
func (*IPContainerProxyDump) Reset ¶
func (m *IPContainerProxyDump) Reset()
func (*IPContainerProxyDump) Size ¶
func (m *IPContainerProxyDump) Size() (size int)
func (*IPContainerProxyDump) Unmarshal ¶
func (m *IPContainerProxyDump) Unmarshal(b []byte) error
type IPDetails ¶
type IPDetails struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}
IPDetails defines message 'ip_details'.
func (*IPDetails) GetCrcString ¶
func (*IPDetails) GetMessageName ¶
func (*IPDetails) GetMessageType ¶
func (*IPDetails) GetMessageType() api.MessageType
type IPDscp ¶
type IPDscp uint8
IPDscp defines enum 'ip_dscp'.
const ( IP_API_DSCP_CS0 IPDscp = 0 IP_API_DSCP_CS1 IPDscp = 8 IP_API_DSCP_AF11 IPDscp = 10 IP_API_DSCP_AF12 IPDscp = 12 IP_API_DSCP_AF13 IPDscp = 14 IP_API_DSCP_CS2 IPDscp = 16 IP_API_DSCP_AF21 IPDscp = 18 IP_API_DSCP_AF22 IPDscp = 20 IP_API_DSCP_AF23 IPDscp = 22 IP_API_DSCP_CS3 IPDscp = 24 IP_API_DSCP_AF31 IPDscp = 26 IP_API_DSCP_AF32 IPDscp = 28 IP_API_DSCP_AF33 IPDscp = 30 IP_API_DSCP_CS4 IPDscp = 32 IP_API_DSCP_AF41 IPDscp = 34 IP_API_DSCP_AF42 IPDscp = 36 IP_API_DSCP_AF43 IPDscp = 38 IP_API_DSCP_CS5 IPDscp = 40 IP_API_DSCP_EF IPDscp = 46 IP_API_DSCP_CS6 IPDscp = 48 IP_API_DSCP_CS7 IPDscp = 50 )
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 IPMroute ¶
type IPMroute struct {
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
EntryFlags uint32 `binapi:"u32,name=entry_flags" json:"entry_flags,omitempty"`
RpfID uint32 `binapi:"u32,name=rpf_id" json:"rpf_id,omitempty"`
Prefix Mprefix `binapi:"mprefix,name=prefix" json:"prefix,omitempty"`
NPaths uint8 `binapi:"u8,name=n_paths" json:"-"`
Paths []MfibPath `binapi:"mfib_path[n_paths],name=paths" json:"paths,omitempty"`
}
IPMroute defines type 'ip_mroute'.
type IPMrouteAddDel ¶
type IPMrouteAddDel struct {
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
IsMultipath bool `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"`
Route IPMroute `binapi:"ip_mroute,name=route" json:"route,omitempty"`
}
IPMrouteAddDel defines message 'ip_mroute_add_del'.
func (*IPMrouteAddDel) GetCrcString ¶
func (*IPMrouteAddDel) GetCrcString() string
func (*IPMrouteAddDel) GetMessageName ¶
func (*IPMrouteAddDel) GetMessageName() string
func (*IPMrouteAddDel) GetMessageType ¶
func (*IPMrouteAddDel) GetMessageType() api.MessageType
func (*IPMrouteAddDel) Reset ¶
func (m *IPMrouteAddDel) Reset()
func (*IPMrouteAddDel) Size ¶
func (m *IPMrouteAddDel) Size() (size int)
func (*IPMrouteAddDel) Unmarshal ¶
func (m *IPMrouteAddDel) Unmarshal(b []byte) error
type IPMrouteAddDelReply ¶
type IPMrouteAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"`
}
IPMrouteAddDelReply defines message 'ip_mroute_add_del_reply'.
func (*IPMrouteAddDelReply) GetCrcString ¶
func (*IPMrouteAddDelReply) GetCrcString() string
func (*IPMrouteAddDelReply) GetMessageName ¶
func (*IPMrouteAddDelReply) GetMessageName() string
func (*IPMrouteAddDelReply) GetMessageType ¶
func (*IPMrouteAddDelReply) GetMessageType() api.MessageType
func (*IPMrouteAddDelReply) Marshal ¶
func (m *IPMrouteAddDelReply) Marshal(b []byte) ([]byte, error)
func (*IPMrouteAddDelReply) Reset ¶
func (m *IPMrouteAddDelReply) Reset()
func (*IPMrouteAddDelReply) Size ¶
func (m *IPMrouteAddDelReply) Size() (size int)
func (*IPMrouteAddDelReply) Unmarshal ¶
func (m *IPMrouteAddDelReply) Unmarshal(b []byte) error
type IPMrouteDetails ¶
type IPMrouteDetails struct {
Route IPMroute `binapi:"ip_mroute,name=route" json:"route,omitempty"`
}
IPMrouteDetails defines message 'ip_mroute_details'.
func (*IPMrouteDetails) GetCrcString ¶
func (*IPMrouteDetails) GetCrcString() string
func (*IPMrouteDetails) GetMessageName ¶
func (*IPMrouteDetails) GetMessageName() string
func (*IPMrouteDetails) GetMessageType ¶
func (*IPMrouteDetails) GetMessageType() api.MessageType
func (*IPMrouteDetails) Reset ¶
func (m *IPMrouteDetails) Reset()
func (*IPMrouteDetails) Size ¶
func (m *IPMrouteDetails) Size() (size int)
func (*IPMrouteDetails) Unmarshal ¶
func (m *IPMrouteDetails) Unmarshal(b []byte) error
type IPMrouteDump ¶
type IPMrouteDump struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IPMrouteDump defines message 'ip_mroute_dump'.
func (*IPMrouteDump) GetCrcString ¶
func (*IPMrouteDump) GetCrcString() string
func (*IPMrouteDump) GetMessageName ¶
func (*IPMrouteDump) GetMessageName() string
func (*IPMrouteDump) GetMessageType ¶
func (*IPMrouteDump) GetMessageType() api.MessageType
func (*IPMrouteDump) 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{}
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 IPProto ¶
type IPProto uint32
IPProto defines enum 'ip_proto'.
const ( IP_API_PROTO_HOPOPT IPProto = 0 IP_API_PROTO_ICMP IPProto = 1 IP_API_PROTO_IGMP IPProto = 2 IP_API_PROTO_TCP IPProto = 6 IP_API_PROTO_UDP IPProto = 17 IP_API_PROTO_GRE IPProto = 47 IP_API_PROTO_AH IPProto = 50 IP_API_PROTO_ESP IPProto = 51 IP_API_PROTO_EIGRP IPProto = 88 IP_API_PROTO_OSPF IPProto = 89 IP_API_PROTO_SCTP IPProto = 132 IP_API_PROTO_RESERVED IPProto = 255 )
type IPPuntPolice ¶
type IPPuntPolice struct {
PolicerIndex uint32 `binapi:"u32,name=policer_index" json:"policer_index,omitempty"`
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
IsIP6 bool `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
}
IPPuntPolice defines message 'ip_punt_police'.
func (*IPPuntPolice) GetCrcString ¶
func (*IPPuntPolice) GetCrcString() string
func (*IPPuntPolice) GetMessageName ¶
func (*IPPuntPolice) GetMessageName() string
func (*IPPuntPolice) GetMessageType ¶
func (*IPPuntPolice) GetMessageType() api.MessageType
func (*IPPuntPolice) 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"`
}
IPPuntRedirect defines message 'ip_punt_redirect'.
func (*IPPuntRedirect) GetCrcString ¶
func (*IPPuntRedirect) GetCrcString() string
func (*IPPuntRedirect) GetMessageName ¶
func (*IPPuntRedirect) GetMessageName() string
func (*IPPuntRedirect) GetMessageType ¶
func (*IPPuntRedirect) GetMessageType() api.MessageType
func (*IPPuntRedirect) Reset ¶
func (m *IPPuntRedirect) Reset()
func (*IPPuntRedirect) Size ¶
func (m *IPPuntRedirect) Size() (size int)
func (*IPPuntRedirect) Unmarshal ¶
func (m *IPPuntRedirect) Unmarshal(b []byte) error
type IPPuntRedirectDetails ¶
type IPPuntRedirectDetails struct {
Punt PuntRedirect `binapi:"punt_redirect,name=punt" json:"punt,omitempty"`
}
IPPuntRedirectDetails defines message 'ip_punt_redirect_details'.
func (*IPPuntRedirectDetails) GetCrcString ¶
func (*IPPuntRedirectDetails) GetCrcString() string
func (*IPPuntRedirectDetails) GetMessageName ¶
func (*IPPuntRedirectDetails) GetMessageName() string
func (*IPPuntRedirectDetails) GetMessageType ¶
func (*IPPuntRedirectDetails) GetMessageType() api.MessageType
func (*IPPuntRedirectDetails) Marshal ¶
func (m *IPPuntRedirectDetails) Marshal(b []byte) ([]byte, error)
func (*IPPuntRedirectDetails) Reset ¶
func (m *IPPuntRedirectDetails) Reset()
func (*IPPuntRedirectDetails) Size ¶
func (m *IPPuntRedirectDetails) Size() (size int)
func (*IPPuntRedirectDetails) Unmarshal ¶
func (m *IPPuntRedirectDetails) Unmarshal(b []byte) error
type IPPuntRedirectDump ¶
type IPPuntRedirectDump struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}
IPPuntRedirectDump defines message 'ip_punt_redirect_dump'.
func (*IPPuntRedirectDump) GetCrcString ¶
func (*IPPuntRedirectDump) GetCrcString() string
func (*IPPuntRedirectDump) GetMessageName ¶
func (*IPPuntRedirectDump) GetMessageName() string
func (*IPPuntRedirectDump) GetMessageType ¶
func (*IPPuntRedirectDump) GetMessageType() api.MessageType
func (*IPPuntRedirectDump) Reset ¶
func (m *IPPuntRedirectDump) Reset()
func (*IPPuntRedirectDump) Size ¶
func (m *IPPuntRedirectDump) Size() (size int)
func (*IPPuntRedirectDump) Unmarshal ¶
func (m *IPPuntRedirectDump) Unmarshal(b []byte) error
type IPPuntRedirectReply ¶
type IPPuntRedirectReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPPuntRedirectReply defines message 'ip_punt_redirect_reply'.
func (*IPPuntRedirectReply) GetCrcString ¶
func (*IPPuntRedirectReply) GetCrcString() string
func (*IPPuntRedirectReply) GetMessageName ¶
func (*IPPuntRedirectReply) GetMessageName() string
func (*IPPuntRedirectReply) GetMessageType ¶
func (*IPPuntRedirectReply) GetMessageType() api.MessageType
func (*IPPuntRedirectReply) Marshal ¶
func (m *IPPuntRedirectReply) Marshal(b []byte) ([]byte, error)
func (*IPPuntRedirectReply) Reset ¶
func (m *IPPuntRedirectReply) Reset()
func (*IPPuntRedirectReply) Size ¶
func (m *IPPuntRedirectReply) Size() (size int)
func (*IPPuntRedirectReply) Unmarshal ¶
func (m *IPPuntRedirectReply) Unmarshal(b []byte) error
type IPReassType ¶
type IPReassType uint32
IPReassType defines enum 'ip_reass_type'.
const ( IP_REASS_TYPE_FULL IPReassType = 0 IP_REASS_TYPE_SHALLOW_VIRTUAL IPReassType = 1 )
func (IPReassType) String ¶
func (x IPReassType) String() string
type IPReassemblyEnableDisable ¶
type IPReassemblyEnableDisable struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
EnableIP4 bool `binapi:"bool,name=enable_ip4" json:"enable_ip4,omitempty"`
EnableIP6 bool `binapi:"bool,name=enable_ip6" json:"enable_ip6,omitempty"`
Type IPReassType `binapi:"ip_reass_type,name=type" json:"type,omitempty"`
}
IPReassemblyEnableDisable defines message 'ip_reassembly_enable_disable'.
func (*IPReassemblyEnableDisable) GetCrcString ¶
func (*IPReassemblyEnableDisable) GetCrcString() string
func (*IPReassemblyEnableDisable) GetMessageName ¶
func (*IPReassemblyEnableDisable) GetMessageName() string
func (*IPReassemblyEnableDisable) GetMessageType ¶
func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType
func (*IPReassemblyEnableDisable) Marshal ¶
func (m *IPReassemblyEnableDisable) Marshal(b []byte) ([]byte, error)
func (*IPReassemblyEnableDisable) Reset ¶
func (m *IPReassemblyEnableDisable) Reset()
func (*IPReassemblyEnableDisable) Size ¶
func (m *IPReassemblyEnableDisable) Size() (size int)
func (*IPReassemblyEnableDisable) Unmarshal ¶
func (m *IPReassemblyEnableDisable) Unmarshal(b []byte) error
type IPReassemblyEnableDisableReply ¶
type IPReassemblyEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPReassemblyEnableDisableReply defines message 'ip_reassembly_enable_disable_reply'.
func (*IPReassemblyEnableDisableReply) GetCrcString ¶
func (*IPReassemblyEnableDisableReply) GetCrcString() string
func (*IPReassemblyEnableDisableReply) GetMessageName ¶
func (*IPReassemblyEnableDisableReply) GetMessageName() string
func (*IPReassemblyEnableDisableReply) GetMessageType ¶
func (*IPReassemblyEnableDisableReply) 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 Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
NPaths uint8 `binapi:"u8,name=n_paths" json:"-"`
Paths []FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"`
}
IPRoute defines type 'ip_route'.
type IPRouteAddDel ¶
type IPRouteAddDel struct {
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
IsMultipath bool `binapi:"bool,name=is_multipath" json:"is_multipath,omitempty"`
Route IPRoute `binapi:"ip_route,name=route" json:"route,omitempty"`
}
IPRouteAddDel defines message 'ip_route_add_del'.
func (*IPRouteAddDel) GetCrcString ¶
func (*IPRouteAddDel) GetCrcString() string
func (*IPRouteAddDel) GetMessageName ¶
func (*IPRouteAddDel) GetMessageName() string
func (*IPRouteAddDel) GetMessageType ¶
func (*IPRouteAddDel) GetMessageType() api.MessageType
func (*IPRouteAddDel) 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 IPRouteDetails ¶
type IPRouteDetails struct {
Route IPRoute `binapi:"ip_route,name=route" json:"route,omitempty"`
}
IPRouteDetails defines message 'ip_route_details'.
func (*IPRouteDetails) GetCrcString ¶
func (*IPRouteDetails) GetCrcString() string
func (*IPRouteDetails) GetMessageName ¶
func (*IPRouteDetails) GetMessageName() string
func (*IPRouteDetails) GetMessageType ¶
func (*IPRouteDetails) GetMessageType() api.MessageType
func (*IPRouteDetails) Reset ¶
func (m *IPRouteDetails) Reset()
func (*IPRouteDetails) Size ¶
func (m *IPRouteDetails) Size() (size int)
func (*IPRouteDetails) Unmarshal ¶
func (m *IPRouteDetails) Unmarshal(b []byte) error
type IPRouteDump ¶
type IPRouteDump struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IPRouteDump defines message 'ip_route_dump'.
func (*IPRouteDump) GetCrcString ¶
func (*IPRouteDump) GetCrcString() string
func (*IPRouteDump) GetMessageName ¶
func (*IPRouteDump) GetMessageName() string
func (*IPRouteDump) GetMessageType ¶
func (*IPRouteDump) GetMessageType() api.MessageType
func (*IPRouteDump) Reset ¶
func (m *IPRouteDump) Reset()
func (*IPRouteDump) Size ¶
func (m *IPRouteDump) Size() (size int)
func (*IPRouteDump) Unmarshal ¶
func (m *IPRouteDump) Unmarshal(b []byte) error
type IPSourceAndPortRangeCheckAddDel ¶
type IPSourceAndPortRangeCheckAddDel struct {
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
Prefix Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
NumberOfRanges uint8 `binapi:"u8,name=number_of_ranges" json:"number_of_ranges,omitempty"`
LowPorts []uint16 `binapi:"u16[32],name=low_ports" json:"low_ports,omitempty"`
HighPorts []uint16 `binapi:"u16[32],name=high_ports" json:"high_ports,omitempty"`
VrfID uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
}
IPSourceAndPortRangeCheckAddDel defines message 'ip_source_and_port_range_check_add_del'.
func (*IPSourceAndPortRangeCheckAddDel) GetCrcString ¶
func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string
func (*IPSourceAndPortRangeCheckAddDel) GetMessageName ¶
func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string
func (*IPSourceAndPortRangeCheckAddDel) GetMessageType ¶
func (*IPSourceAndPortRangeCheckAddDel) 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
TCPInVrfID uint32 `binapi:"u32,name=tcp_in_vrf_id" json:"tcp_in_vrf_id,omitempty"`
TCPOutVrfID uint32 `binapi:"u32,name=tcp_out_vrf_id" json:"tcp_out_vrf_id,omitempty"`
UDPInVrfID uint32 `binapi:"u32,name=udp_in_vrf_id" json:"udp_in_vrf_id,omitempty"`
UDPOutVrfID uint32 `binapi:"u32,name=udp_out_vrf_id" json:"udp_out_vrf_id,omitempty"`
}
IPSourceAndPortRangeCheckInterfaceAddDel defines message 'ip_source_and_port_range_check_interface_add_del'.
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString ¶
func (*IPSourceAndPortRangeCheckInterfaceAddDel) 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 IPSourceCheckInterfaceAddDel ¶
type IPSourceCheckInterfaceAddDel struct {
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
Loose bool `binapi:"bool,name=loose" json:"loose,omitempty"`
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
IPSourceCheckInterfaceAddDel defines message 'ip_source_check_interface_add_del'.
func (*IPSourceCheckInterfaceAddDel) GetCrcString ¶
func (*IPSourceCheckInterfaceAddDel) GetCrcString() string
func (*IPSourceCheckInterfaceAddDel) GetMessageName ¶
func (*IPSourceCheckInterfaceAddDel) GetMessageName() string
func (*IPSourceCheckInterfaceAddDel) GetMessageType ¶
func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType
func (*IPSourceCheckInterfaceAddDel) Marshal ¶
func (m *IPSourceCheckInterfaceAddDel) Marshal(b []byte) ([]byte, error)
func (*IPSourceCheckInterfaceAddDel) Reset ¶
func (m *IPSourceCheckInterfaceAddDel) Reset()
func (*IPSourceCheckInterfaceAddDel) Size ¶
func (m *IPSourceCheckInterfaceAddDel) Size() (size int)
func (*IPSourceCheckInterfaceAddDel) Unmarshal ¶
func (m *IPSourceCheckInterfaceAddDel) Unmarshal(b []byte) error
type IPSourceCheckInterfaceAddDelReply ¶
type IPSourceCheckInterfaceAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPSourceCheckInterfaceAddDelReply defines message 'ip_source_check_interface_add_del_reply'.
func (*IPSourceCheckInterfaceAddDelReply) GetCrcString ¶
func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string
func (*IPSourceCheckInterfaceAddDelReply) GetMessageName ¶
func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string
func (*IPSourceCheckInterfaceAddDelReply) GetMessageType ¶
func (*IPSourceCheckInterfaceAddDelReply) GetMessageType() api.MessageType
func (*IPSourceCheckInterfaceAddDelReply) Marshal ¶
func (m *IPSourceCheckInterfaceAddDelReply) Marshal(b []byte) ([]byte, error)
func (*IPSourceCheckInterfaceAddDelReply) Reset ¶
func (m *IPSourceCheckInterfaceAddDelReply) Reset()
func (*IPSourceCheckInterfaceAddDelReply) Size ¶
func (m *IPSourceCheckInterfaceAddDelReply) Size() (size int)
func (*IPSourceCheckInterfaceAddDelReply) Unmarshal ¶
func (m *IPSourceCheckInterfaceAddDelReply) Unmarshal(b []byte) error
type IPTable ¶
type IPTable struct {
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
IsIP6 bool `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
Name string `binapi:"string[64],name=name" json:"name,omitempty"`
}
IPTable defines type 'ip_table'.
type IPTableAddDel ¶
type IPTableAddDel struct {
IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IPTableAddDel defines message 'ip_table_add_del'.
func (*IPTableAddDel) GetCrcString ¶
func (*IPTableAddDel) GetCrcString() string
func (*IPTableAddDel) GetMessageName ¶
func (*IPTableAddDel) GetMessageName() string
func (*IPTableAddDel) GetMessageType ¶
func (*IPTableAddDel) GetMessageType() api.MessageType
func (*IPTableAddDel) 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 IPTableDetails ¶
type IPTableDetails struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IPTableDetails defines message 'ip_table_details'.
func (*IPTableDetails) GetCrcString ¶
func (*IPTableDetails) GetCrcString() string
func (*IPTableDetails) GetMessageName ¶
func (*IPTableDetails) GetMessageName() string
func (*IPTableDetails) GetMessageType ¶
func (*IPTableDetails) GetMessageType() api.MessageType
func (*IPTableDetails) Reset ¶
func (m *IPTableDetails) Reset()
func (*IPTableDetails) Size ¶
func (m *IPTableDetails) Size() (size int)
func (*IPTableDetails) Unmarshal ¶
func (m *IPTableDetails) Unmarshal(b []byte) error
type IPTableDump ¶
type IPTableDump struct{}
IPTableDump defines message 'ip_table_dump'.
func (*IPTableDump) GetCrcString ¶
func (*IPTableDump) GetCrcString() string
func (*IPTableDump) GetMessageName ¶
func (*IPTableDump) GetMessageName() string
func (*IPTableDump) GetMessageType ¶
func (*IPTableDump) GetMessageType() api.MessageType
func (*IPTableDump) Reset ¶
func (m *IPTableDump) Reset()
func (*IPTableDump) Size ¶
func (m *IPTableDump) Size() (size int)
func (*IPTableDump) Unmarshal ¶
func (m *IPTableDump) Unmarshal(b []byte) error
type IPTableFlush ¶
type IPTableFlush struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IPTableFlush defines message 'ip_table_flush'.
func (*IPTableFlush) GetCrcString ¶
func (*IPTableFlush) GetCrcString() string
func (*IPTableFlush) GetMessageName ¶
func (*IPTableFlush) GetMessageName() string
func (*IPTableFlush) GetMessageType ¶
func (*IPTableFlush) GetMessageType() api.MessageType
func (*IPTableFlush) 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"`
}
IPTableReplaceBegin defines message 'ip_table_replace_begin'.
func (*IPTableReplaceBegin) GetCrcString ¶
func (*IPTableReplaceBegin) GetCrcString() string
func (*IPTableReplaceBegin) GetMessageName ¶
func (*IPTableReplaceBegin) GetMessageName() string
func (*IPTableReplaceBegin) GetMessageType ¶
func (*IPTableReplaceBegin) GetMessageType() api.MessageType
func (*IPTableReplaceBegin) Marshal ¶
func (m *IPTableReplaceBegin) Marshal(b []byte) ([]byte, error)
func (*IPTableReplaceBegin) Reset ¶
func (m *IPTableReplaceBegin) Reset()
func (*IPTableReplaceBegin) Size ¶
func (m *IPTableReplaceBegin) Size() (size int)
func (*IPTableReplaceBegin) Unmarshal ¶
func (m *IPTableReplaceBegin) Unmarshal(b []byte) error
type IPTableReplaceBeginReply ¶
type IPTableReplaceBeginReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPTableReplaceBeginReply defines message 'ip_table_replace_begin_reply'.
func (*IPTableReplaceBeginReply) GetCrcString ¶
func (*IPTableReplaceBeginReply) GetCrcString() string
func (*IPTableReplaceBeginReply) GetMessageName ¶
func (*IPTableReplaceBeginReply) GetMessageName() string
func (*IPTableReplaceBeginReply) GetMessageType ¶
func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType
func (*IPTableReplaceBeginReply) Marshal ¶
func (m *IPTableReplaceBeginReply) Marshal(b []byte) ([]byte, error)
func (*IPTableReplaceBeginReply) Reset ¶
func (m *IPTableReplaceBeginReply) Reset()
func (*IPTableReplaceBeginReply) Size ¶
func (m *IPTableReplaceBeginReply) Size() (size int)
func (*IPTableReplaceBeginReply) Unmarshal ¶
func (m *IPTableReplaceBeginReply) Unmarshal(b []byte) error
type IPTableReplaceEnd ¶
type IPTableReplaceEnd struct {
Table IPTable `binapi:"ip_table,name=table" json:"table,omitempty"`
}
IPTableReplaceEnd defines message 'ip_table_replace_end'.
func (*IPTableReplaceEnd) GetCrcString ¶
func (*IPTableReplaceEnd) GetCrcString() string
func (*IPTableReplaceEnd) GetMessageName ¶
func (*IPTableReplaceEnd) GetMessageName() string
func (*IPTableReplaceEnd) GetMessageType ¶
func (*IPTableReplaceEnd) GetMessageType() api.MessageType
func (*IPTableReplaceEnd) Reset ¶
func (m *IPTableReplaceEnd) Reset()
func (*IPTableReplaceEnd) Size ¶
func (m *IPTableReplaceEnd) Size() (size int)
func (*IPTableReplaceEnd) Unmarshal ¶
func (m *IPTableReplaceEnd) Unmarshal(b []byte) error
type IPTableReplaceEndReply ¶
type IPTableReplaceEndReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPTableReplaceEndReply defines message 'ip_table_replace_end_reply'.
func (*IPTableReplaceEndReply) GetCrcString ¶
func (*IPTableReplaceEndReply) GetCrcString() string
func (*IPTableReplaceEndReply) GetMessageName ¶
func (*IPTableReplaceEndReply) GetMessageName() string
func (*IPTableReplaceEndReply) GetMessageType ¶
func (*IPTableReplaceEndReply) GetMessageType() api.MessageType
func (*IPTableReplaceEndReply) Marshal ¶
func (m *IPTableReplaceEndReply) Marshal(b []byte) ([]byte, error)
func (*IPTableReplaceEndReply) Reset ¶
func (m *IPTableReplaceEndReply) Reset()
func (*IPTableReplaceEndReply) Size ¶
func (m *IPTableReplaceEndReply) Size() (size int)
func (*IPTableReplaceEndReply) Unmarshal ¶
func (m *IPTableReplaceEndReply) Unmarshal(b []byte) error
type IPUnnumberedDetails ¶
type IPUnnumberedDetails struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
IPSwIfIndex InterfaceIndex `binapi:"interface_index,name=ip_sw_if_index" json:"ip_sw_if_index,omitempty"`
}
IPUnnumberedDetails defines message 'ip_unnumbered_details'.
func (*IPUnnumberedDetails) GetCrcString ¶
func (*IPUnnumberedDetails) GetCrcString() string
func (*IPUnnumberedDetails) GetMessageName ¶
func (*IPUnnumberedDetails) GetMessageName() string
func (*IPUnnumberedDetails) GetMessageType ¶
func (*IPUnnumberedDetails) GetMessageType() api.MessageType
func (*IPUnnumberedDetails) Marshal ¶
func (m *IPUnnumberedDetails) Marshal(b []byte) ([]byte, error)
func (*IPUnnumberedDetails) Reset ¶
func (m *IPUnnumberedDetails) Reset()
func (*IPUnnumberedDetails) Size ¶
func (m *IPUnnumberedDetails) Size() (size int)
func (*IPUnnumberedDetails) Unmarshal ¶
func (m *IPUnnumberedDetails) Unmarshal(b []byte) error
type IPUnnumberedDump ¶
type IPUnnumberedDump struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
IPUnnumberedDump defines message 'ip_unnumbered_dump'.
func (*IPUnnumberedDump) GetCrcString ¶
func (*IPUnnumberedDump) GetCrcString() string
func (*IPUnnumberedDump) GetMessageName ¶
func (*IPUnnumberedDump) GetMessageName() string
func (*IPUnnumberedDump) GetMessageType ¶
func (*IPUnnumberedDump) GetMessageType() api.MessageType
func (*IPUnnumberedDump) Reset ¶
func (m *IPUnnumberedDump) Reset()
func (*IPUnnumberedDump) Size ¶
func (m *IPUnnumberedDump) Size() (size int)
func (*IPUnnumberedDump) Unmarshal ¶
func (m *IPUnnumberedDump) Unmarshal(b []byte) error
type IfStatusFlags ¶
type IfStatusFlags uint32
IfStatusFlags defines enum 'if_status_flags'.
const ( IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1 IF_STATUS_API_FLAG_LINK_UP IfStatusFlags = 2 )
func (IfStatusFlags) String ¶
func (x IfStatusFlags) String() string
type IoamDisable ¶
type IoamDisable struct {
ID uint16 `binapi:"u16,name=id" json:"id,omitempty"`
}
IoamDisable defines message 'ioam_disable'.
func (*IoamDisable) GetCrcString ¶
func (*IoamDisable) GetCrcString() string
func (*IoamDisable) GetMessageName ¶
func (*IoamDisable) GetMessageName() string
func (*IoamDisable) GetMessageType ¶
func (*IoamDisable) GetMessageType() api.MessageType
func (*IoamDisable) 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"`
}
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 LinkDuplex ¶
type LinkDuplex uint32
LinkDuplex defines enum 'link_duplex'.
const ( LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0 LINK_DUPLEX_API_HALF LinkDuplex = 1 LINK_DUPLEX_API_FULL LinkDuplex = 2 )
func (LinkDuplex) String ¶
func (x LinkDuplex) String() string
type MacAddress ¶
type MacAddress [6]uint8
MacAddress defines alias 'mac_address'.
func ParseMacAddress ¶
func ParseMacAddress(s string) (MacAddress, error)
func (*MacAddress) MarshalText ¶
func (x *MacAddress) MarshalText() ([]byte, error)
func (MacAddress) String ¶
func (x MacAddress) String() string
func (MacAddress) ToMAC ¶
func (x MacAddress) ToMAC() net.HardwareAddr
func (*MacAddress) UnmarshalText ¶
func (x *MacAddress) UnmarshalText(text []byte) error
type MfibItfFlags ¶
type MfibItfFlags uint32
MfibItfFlags defines enum 'mfib_itf_flags'.
const ( MFIB_API_ITF_FLAG_NONE MfibItfFlags = 0 MFIB_API_ITF_FLAG_NEGATE_SIGNAL MfibItfFlags = 1 MFIB_API_ITF_FLAG_ACCEPT MfibItfFlags = 2 MFIB_API_ITF_FLAG_FORWARD MfibItfFlags = 4 MFIB_API_ITF_FLAG_SIGNAL_PRESENT MfibItfFlags = 8 MFIB_API_ITF_FLAG_DONT_PRESERVE MfibItfFlags = 16 )
func (MfibItfFlags) String ¶
func (x MfibItfFlags) String() string
type MfibPath ¶
type MfibPath struct {
ItfFlags MfibItfFlags `binapi:"mfib_itf_flags,name=itf_flags" json:"itf_flags,omitempty"`
Path FibPath `binapi:"fib_path,name=path" json:"path,omitempty"`
}
MfibPath defines type 'mfib_path'.
type MfibSignalDetails ¶
type MfibSignalDetails struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
Prefix Mprefix `binapi:"mprefix,name=prefix" json:"prefix,omitempty"`
IPPacketLen uint16 `binapi:"u16,name=ip_packet_len" json:"ip_packet_len,omitempty"`
IPPacketData []byte `binapi:"u8[256],name=ip_packet_data" json:"ip_packet_data,omitempty"`
}
MfibSignalDetails defines message 'mfib_signal_details'.
func (*MfibSignalDetails) GetCrcString ¶
func (*MfibSignalDetails) GetCrcString() string
func (*MfibSignalDetails) GetMessageName ¶
func (*MfibSignalDetails) GetMessageName() string
func (*MfibSignalDetails) GetMessageType ¶
func (*MfibSignalDetails) GetMessageType() api.MessageType
func (*MfibSignalDetails) 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 Mprefix ¶
type Mprefix struct {
Af AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
GrpAddressLength uint16 `binapi:"u16,name=grp_address_length" json:"grp_address_length,omitempty"`
GrpAddress AddressUnion `binapi:"address_union,name=grp_address" json:"grp_address,omitempty"`
SrcAddress AddressUnion `binapi:"address_union,name=src_address" json:"src_address,omitempty"`
}
Mprefix defines type 'mprefix'.
type Prefix ¶
type Prefix struct {
Address Address `binapi:"address,name=address" json:"address,omitempty"`
Len uint8 `binapi:"u8,name=len" json:"len,omitempty"`
}
Prefix defines type 'prefix'.
func ParsePrefix ¶
func (*Prefix) MarshalText ¶
func (*Prefix) UnmarshalText ¶
type PrefixMatcher ¶
type PrefixMatcher struct {
Le uint8 `binapi:"u8,name=le" json:"le,omitempty"`
Ge uint8 `binapi:"u8,name=ge" json:"ge,omitempty"`
}
PrefixMatcher defines type 'prefix_matcher'.
type PuntRedirect ¶
type PuntRedirect struct {
RxSwIfIndex InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"`
TxSwIfIndex InterfaceIndex `binapi:"interface_index,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"`
Nh Address `binapi:"address,name=nh" json:"nh,omitempty"`
}
PuntRedirect defines type 'punt_redirect'.
type RPCService ¶
type RPCService interface {
IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
IPAddressDump(ctx context.Context, in *IPAddressDump) (RPCService_IPAddressDumpClient, error)
IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
IPContainerProxyDump(ctx context.Context, in *IPContainerProxyDump) (RPCService_IPContainerProxyDumpClient, error)
IPDump(ctx context.Context, in *IPDump) (RPCService_IPDumpClient, error)
IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error)
IPMrouteDump(ctx context.Context, in *IPMrouteDump) (RPCService_IPMrouteDumpClient, error)
IPMtableDump(ctx context.Context, in *IPMtableDump) (RPCService_IPMtableDumpClient, error)
IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error)
IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error)
IPPuntRedirectDump(ctx context.Context, in *IPPuntRedirectDump) (RPCService_IPPuntRedirectDumpClient, error)
IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error)
IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error)
IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error)
IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error)
IPRouteDump(ctx context.Context, in *IPRouteDump) (RPCService_IPRouteDumpClient, error)
IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error)
IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error)
IPTableDump(ctx context.Context, in *IPTableDump) (RPCService_IPTableDumpClient, error)
IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error)
IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error)
IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error)
IPUnnumberedDump(ctx context.Context, in *IPUnnumberedDump) (RPCService_IPUnnumberedDumpClient, error)
MfibSignalDump(ctx context.Context, in *MfibSignalDump) (RPCService_MfibSignalDumpClient, error)
SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error)
SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error)
SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error)
}
RPCService defines RPC service ip.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_IPAddressDumpClient ¶
type RPCService_IPAddressDumpClient interface {
Recv() (*IPAddressDetails, error)
api.Stream
}
type RPCService_IPContainerProxyDumpClient ¶
type RPCService_IPContainerProxyDumpClient interface {
Recv() (*IPContainerProxyDetails, error)
api.Stream
}
type RPCService_IPDumpClient ¶
type RPCService_IPMrouteDumpClient ¶
type RPCService_IPMrouteDumpClient interface {
Recv() (*IPMrouteDetails, error)
api.Stream
}
type RPCService_IPMtableDumpClient ¶
type RPCService_IPMtableDumpClient interface {
Recv() (*IPMtableDetails, error)
api.Stream
}
type RPCService_IPPuntRedirectDumpClient ¶
type RPCService_IPPuntRedirectDumpClient interface {
Recv() (*IPPuntRedirectDetails, error)
api.Stream
}
type RPCService_IPRouteDumpClient ¶
type RPCService_IPRouteDumpClient interface {
Recv() (*IPRouteDetails, error)
api.Stream
}
type RPCService_IPTableDumpClient ¶
type RPCService_IPTableDumpClient interface {
Recv() (*IPTableDetails, error)
api.Stream
}
type RPCService_IPUnnumberedDumpClient ¶
type RPCService_IPUnnumberedDumpClient interface {
Recv() (*IPUnnumberedDetails, error)
api.Stream
}
type RPCService_MfibSignalDumpClient ¶
type RPCService_MfibSignalDumpClient interface {
Recv() (*MfibSignalDetails, error)
api.Stream
}
type SetIPFlowHash ¶
type SetIPFlowHash struct {
VrfID uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
Src bool `binapi:"bool,name=src" json:"src,omitempty"`
Dst bool `binapi:"bool,name=dst" json:"dst,omitempty"`
Sport bool `binapi:"bool,name=sport" json:"sport,omitempty"`
Dport bool `binapi:"bool,name=dport" json:"dport,omitempty"`
Proto bool `binapi:"bool,name=proto" json:"proto,omitempty"`
Reverse bool `binapi:"bool,name=reverse" json:"reverse,omitempty"`
Symmetric bool `binapi:"bool,name=symmetric" json:"symmetric,omitempty"`
}
SetIPFlowHash defines message 'set_ip_flow_hash'.
func (*SetIPFlowHash) GetCrcString ¶
func (*SetIPFlowHash) GetCrcString() string
func (*SetIPFlowHash) GetMessageName ¶
func (*SetIPFlowHash) GetMessageName() string
func (*SetIPFlowHash) GetMessageType ¶
func (*SetIPFlowHash) GetMessageType() api.MessageType
func (*SetIPFlowHash) Reset ¶
func (m *SetIPFlowHash) Reset()
func (*SetIPFlowHash) Size ¶
func (m *SetIPFlowHash) Size() (size int)
func (*SetIPFlowHash) Unmarshal ¶
func (m *SetIPFlowHash) Unmarshal(b []byte) error
type SetIPFlowHashReply ¶
type SetIPFlowHashReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SetIPFlowHashReply defines message 'set_ip_flow_hash_reply'.
func (*SetIPFlowHashReply) GetCrcString ¶
func (*SetIPFlowHashReply) GetCrcString() string
func (*SetIPFlowHashReply) GetMessageName ¶
func (*SetIPFlowHashReply) GetMessageName() string
func (*SetIPFlowHashReply) GetMessageType ¶
func (*SetIPFlowHashReply) GetMessageType() api.MessageType
func (*SetIPFlowHashReply) Reset ¶
func (m *SetIPFlowHashReply) Reset()
func (*SetIPFlowHashReply) Size ¶
func (m *SetIPFlowHashReply) Size() (size int)
func (*SetIPFlowHashReply) Unmarshal ¶
func (m *SetIPFlowHashReply) Unmarshal(b []byte) error
type SubIfFlags ¶
type SubIfFlags uint32
SubIfFlags defines enum 'sub_if_flags'.
const ( SUB_IF_API_FLAG_NO_TAGS SubIfFlags = 1 SUB_IF_API_FLAG_ONE_TAG SubIfFlags = 2 SUB_IF_API_FLAG_TWO_TAGS SubIfFlags = 4 SUB_IF_API_FLAG_DOT1AD SubIfFlags = 8 SUB_IF_API_FLAG_EXACT_MATCH SubIfFlags = 16 SUB_IF_API_FLAG_DEFAULT SubIfFlags = 32 SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64 SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128 SUB_IF_API_FLAG_MASK_VNET SubIfFlags = 254 SUB_IF_API_FLAG_DOT1AH SubIfFlags = 256 )
func (SubIfFlags) String ¶
func (x SubIfFlags) String() string
type SwInterfaceIP6EnableDisable ¶
type SwInterfaceIP6EnableDisable struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
}
SwInterfaceIP6EnableDisable defines message 'sw_interface_ip6_enable_disable'.
func (*SwInterfaceIP6EnableDisable) GetCrcString ¶
func (*SwInterfaceIP6EnableDisable) GetCrcString() string
func (*SwInterfaceIP6EnableDisable) GetMessageName ¶
func (*SwInterfaceIP6EnableDisable) GetMessageName() string
func (*SwInterfaceIP6EnableDisable) GetMessageType ¶
func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType
func (*SwInterfaceIP6EnableDisable) Marshal ¶
func (m *SwInterfaceIP6EnableDisable) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceIP6EnableDisable) Reset ¶
func (m *SwInterfaceIP6EnableDisable) Reset()
func (*SwInterfaceIP6EnableDisable) Size ¶
func (m *SwInterfaceIP6EnableDisable) Size() (size int)
func (*SwInterfaceIP6EnableDisable) Unmarshal ¶
func (m *SwInterfaceIP6EnableDisable) Unmarshal(b []byte) error
type SwInterfaceIP6EnableDisableReply ¶
type SwInterfaceIP6EnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceIP6EnableDisableReply defines message 'sw_interface_ip6_enable_disable_reply'.
func (*SwInterfaceIP6EnableDisableReply) GetCrcString ¶
func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string
func (*SwInterfaceIP6EnableDisableReply) GetMessageName ¶
func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string
func (*SwInterfaceIP6EnableDisableReply) GetMessageType ¶
func (*SwInterfaceIP6EnableDisableReply) 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 SwInterfaceIP6SetLinkLocalAddress ¶
type SwInterfaceIP6SetLinkLocalAddress struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
IP IP6Address `binapi:"ip6_address,name=ip" json:"ip,omitempty"`
}
SwInterfaceIP6SetLinkLocalAddress defines message 'sw_interface_ip6_set_link_local_address'.
func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString ¶
func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName ¶
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType ¶
func (*SwInterfaceIP6SetLinkLocalAddress) 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