Documentation ¶
Overview ¶
Package l2 contains generated bindings for API file l2.api.
Contents:
7 aliases 12 enums 9 structs 1 union 54 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type BdFlags
- type BdIPMac
- type BdIPMacAddDel
- func (*BdIPMacAddDel) GetCrcString() string
- func (*BdIPMacAddDel) GetMessageName() string
- func (*BdIPMacAddDel) GetMessageType() api.MessageType
- func (m *BdIPMacAddDel) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacAddDel) Reset()
- func (m *BdIPMacAddDel) Size() (size int)
- func (m *BdIPMacAddDel) Unmarshal(b []byte) error
- type BdIPMacAddDelReply
- func (*BdIPMacAddDelReply) GetCrcString() string
- func (*BdIPMacAddDelReply) GetMessageName() string
- func (*BdIPMacAddDelReply) GetMessageType() api.MessageType
- func (m *BdIPMacAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacAddDelReply) Reset()
- func (m *BdIPMacAddDelReply) Size() (size int)
- func (m *BdIPMacAddDelReply) Unmarshal(b []byte) error
- type BdIPMacDetails
- func (*BdIPMacDetails) GetCrcString() string
- func (*BdIPMacDetails) GetMessageName() string
- func (*BdIPMacDetails) GetMessageType() api.MessageType
- func (m *BdIPMacDetails) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacDetails) Reset()
- func (m *BdIPMacDetails) Size() (size int)
- func (m *BdIPMacDetails) Unmarshal(b []byte) error
- type BdIPMacDump
- func (*BdIPMacDump) GetCrcString() string
- func (*BdIPMacDump) GetMessageName() string
- func (*BdIPMacDump) GetMessageType() api.MessageType
- func (m *BdIPMacDump) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacDump) Reset()
- func (m *BdIPMacDump) Size() (size int)
- func (m *BdIPMacDump) Unmarshal(b []byte) error
- type BdIPMacFlush
- func (*BdIPMacFlush) GetCrcString() string
- func (*BdIPMacFlush) GetMessageName() string
- func (*BdIPMacFlush) GetMessageType() api.MessageType
- func (m *BdIPMacFlush) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacFlush) Reset()
- func (m *BdIPMacFlush) Size() (size int)
- func (m *BdIPMacFlush) Unmarshal(b []byte) error
- type BdIPMacFlushReply
- func (*BdIPMacFlushReply) GetCrcString() string
- func (*BdIPMacFlushReply) GetMessageName() string
- func (*BdIPMacFlushReply) GetMessageType() api.MessageType
- func (m *BdIPMacFlushReply) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacFlushReply) Reset()
- func (m *BdIPMacFlushReply) Size() (size int)
- func (m *BdIPMacFlushReply) Unmarshal(b []byte) error
- type BridgeDomainAddDel
- func (*BridgeDomainAddDel) GetCrcString() string
- func (*BridgeDomainAddDel) GetMessageName() string
- func (*BridgeDomainAddDel) GetMessageType() api.MessageType
- func (m *BridgeDomainAddDel) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainAddDel) Reset()
- func (m *BridgeDomainAddDel) Size() (size int)
- func (m *BridgeDomainAddDel) Unmarshal(b []byte) error
- type BridgeDomainAddDelReply
- func (*BridgeDomainAddDelReply) GetCrcString() string
- func (*BridgeDomainAddDelReply) GetMessageName() string
- func (*BridgeDomainAddDelReply) GetMessageType() api.MessageType
- func (m *BridgeDomainAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainAddDelReply) Reset()
- func (m *BridgeDomainAddDelReply) Size() (size int)
- func (m *BridgeDomainAddDelReply) Unmarshal(b []byte) error
- type BridgeDomainDetails
- func (*BridgeDomainDetails) GetCrcString() string
- func (*BridgeDomainDetails) GetMessageName() string
- func (*BridgeDomainDetails) GetMessageType() api.MessageType
- func (m *BridgeDomainDetails) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainDetails) Reset()
- func (m *BridgeDomainDetails) Size() (size int)
- func (m *BridgeDomainDetails) Unmarshal(b []byte) error
- type BridgeDomainDump
- func (*BridgeDomainDump) GetCrcString() string
- func (*BridgeDomainDump) GetMessageName() string
- func (*BridgeDomainDump) GetMessageType() api.MessageType
- func (m *BridgeDomainDump) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainDump) Reset()
- func (m *BridgeDomainDump) Size() (size int)
- func (m *BridgeDomainDump) Unmarshal(b []byte) error
- type BridgeDomainSetMacAge
- func (*BridgeDomainSetMacAge) GetCrcString() string
- func (*BridgeDomainSetMacAge) GetMessageName() string
- func (*BridgeDomainSetMacAge) GetMessageType() api.MessageType
- func (m *BridgeDomainSetMacAge) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetMacAge) Reset()
- func (m *BridgeDomainSetMacAge) Size() (size int)
- func (m *BridgeDomainSetMacAge) Unmarshal(b []byte) error
- type BridgeDomainSetMacAgeReply
- func (*BridgeDomainSetMacAgeReply) GetCrcString() string
- func (*BridgeDomainSetMacAgeReply) GetMessageName() string
- func (*BridgeDomainSetMacAgeReply) GetMessageType() api.MessageType
- func (m *BridgeDomainSetMacAgeReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetMacAgeReply) Reset()
- func (m *BridgeDomainSetMacAgeReply) Size() (size int)
- func (m *BridgeDomainSetMacAgeReply) Unmarshal(b []byte) error
- type BridgeDomainSwIf
- type BridgeFlags
- func (*BridgeFlags) GetCrcString() string
- func (*BridgeFlags) GetMessageName() string
- func (*BridgeFlags) GetMessageType() api.MessageType
- func (m *BridgeFlags) Marshal(b []byte) ([]byte, error)
- func (m *BridgeFlags) Reset()
- func (m *BridgeFlags) Size() (size int)
- func (m *BridgeFlags) Unmarshal(b []byte) error
- type BridgeFlagsReply
- func (*BridgeFlagsReply) GetCrcString() string
- func (*BridgeFlagsReply) GetMessageName() string
- func (*BridgeFlagsReply) GetMessageType() api.MessageType
- func (m *BridgeFlagsReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeFlagsReply) Reset()
- func (m *BridgeFlagsReply) Size() (size int)
- func (m *BridgeFlagsReply) Unmarshal(b []byte) error
- type BviCreate
- type BviCreateReply
- func (*BviCreateReply) GetCrcString() string
- func (*BviCreateReply) GetMessageName() string
- func (*BviCreateReply) GetMessageType() api.MessageType
- func (m *BviCreateReply) Marshal(b []byte) ([]byte, error)
- func (m *BviCreateReply) Reset()
- func (m *BviCreateReply) Size() (size int)
- func (m *BviCreateReply) Unmarshal(b []byte) error
- type BviDelete
- type BviDeleteReply
- func (*BviDeleteReply) GetCrcString() string
- func (*BviDeleteReply) GetMessageName() string
- func (*BviDeleteReply) GetMessageType() api.MessageType
- func (m *BviDeleteReply) Marshal(b []byte) ([]byte, error)
- func (m *BviDeleteReply) Reset()
- func (m *BviDeleteReply) Size() (size int)
- func (m *BviDeleteReply) Unmarshal(b []byte) error
- type IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- type IPDscp
- type IPEcn
- type IPProto
- type IfStatusFlags
- type IfType
- type InterfaceIndex
- type L2ArpTermEvent
- func (*L2ArpTermEvent) GetCrcString() string
- func (*L2ArpTermEvent) GetMessageName() string
- func (*L2ArpTermEvent) GetMessageType() api.MessageType
- func (m *L2ArpTermEvent) Marshal(b []byte) ([]byte, error)
- func (m *L2ArpTermEvent) Reset()
- func (m *L2ArpTermEvent) Size() (size int)
- func (m *L2ArpTermEvent) Unmarshal(b []byte) error
- type L2FibClearTable
- func (*L2FibClearTable) GetCrcString() string
- func (*L2FibClearTable) GetMessageName() string
- func (*L2FibClearTable) GetMessageType() api.MessageType
- func (m *L2FibClearTable) Marshal(b []byte) ([]byte, error)
- func (m *L2FibClearTable) Reset()
- func (m *L2FibClearTable) Size() (size int)
- func (m *L2FibClearTable) Unmarshal(b []byte) error
- type L2FibClearTableReply
- func (*L2FibClearTableReply) GetCrcString() string
- func (*L2FibClearTableReply) GetMessageName() string
- func (*L2FibClearTableReply) GetMessageType() api.MessageType
- func (m *L2FibClearTableReply) Marshal(b []byte) ([]byte, error)
- func (m *L2FibClearTableReply) Reset()
- func (m *L2FibClearTableReply) Size() (size int)
- func (m *L2FibClearTableReply) Unmarshal(b []byte) error
- type L2FibTableDetails
- func (*L2FibTableDetails) GetCrcString() string
- func (*L2FibTableDetails) GetMessageName() string
- func (*L2FibTableDetails) GetMessageType() api.MessageType
- func (m *L2FibTableDetails) Marshal(b []byte) ([]byte, error)
- func (m *L2FibTableDetails) Reset()
- func (m *L2FibTableDetails) Size() (size int)
- func (m *L2FibTableDetails) Unmarshal(b []byte) error
- type L2FibTableDump
- func (*L2FibTableDump) GetCrcString() string
- func (*L2FibTableDump) GetMessageName() string
- func (*L2FibTableDump) GetMessageType() api.MessageType
- func (m *L2FibTableDump) Marshal(b []byte) ([]byte, error)
- func (m *L2FibTableDump) Reset()
- func (m *L2FibTableDump) Size() (size int)
- func (m *L2FibTableDump) Unmarshal(b []byte) error
- type L2Flags
- type L2FlagsReply
- func (*L2FlagsReply) GetCrcString() string
- func (*L2FlagsReply) GetMessageName() string
- func (*L2FlagsReply) GetMessageType() api.MessageType
- func (m *L2FlagsReply) Marshal(b []byte) ([]byte, error)
- func (m *L2FlagsReply) Reset()
- func (m *L2FlagsReply) Size() (size int)
- func (m *L2FlagsReply) Unmarshal(b []byte) error
- type L2InterfaceEfpFilter
- func (*L2InterfaceEfpFilter) GetCrcString() string
- func (*L2InterfaceEfpFilter) GetMessageName() string
- func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType
- func (m *L2InterfaceEfpFilter) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceEfpFilter) Reset()
- func (m *L2InterfaceEfpFilter) Size() (size int)
- func (m *L2InterfaceEfpFilter) Unmarshal(b []byte) error
- type L2InterfaceEfpFilterReply
- func (*L2InterfaceEfpFilterReply) GetCrcString() string
- func (*L2InterfaceEfpFilterReply) GetMessageName() string
- func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType
- func (m *L2InterfaceEfpFilterReply) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceEfpFilterReply) Reset()
- func (m *L2InterfaceEfpFilterReply) Size() (size int)
- func (m *L2InterfaceEfpFilterReply) Unmarshal(b []byte) error
- type L2InterfacePbbTagRewrite
- func (*L2InterfacePbbTagRewrite) GetCrcString() string
- func (*L2InterfacePbbTagRewrite) GetMessageName() string
- func (*L2InterfacePbbTagRewrite) GetMessageType() api.MessageType
- func (m *L2InterfacePbbTagRewrite) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfacePbbTagRewrite) Reset()
- func (m *L2InterfacePbbTagRewrite) Size() (size int)
- func (m *L2InterfacePbbTagRewrite) Unmarshal(b []byte) error
- type L2InterfacePbbTagRewriteReply
- func (*L2InterfacePbbTagRewriteReply) GetCrcString() string
- func (*L2InterfacePbbTagRewriteReply) GetMessageName() string
- func (*L2InterfacePbbTagRewriteReply) GetMessageType() api.MessageType
- func (m *L2InterfacePbbTagRewriteReply) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfacePbbTagRewriteReply) Reset()
- func (m *L2InterfacePbbTagRewriteReply) Size() (size int)
- func (m *L2InterfacePbbTagRewriteReply) Unmarshal(b []byte) error
- type L2InterfaceVlanTagRewrite
- func (*L2InterfaceVlanTagRewrite) GetCrcString() string
- func (*L2InterfaceVlanTagRewrite) GetMessageName() string
- func (*L2InterfaceVlanTagRewrite) GetMessageType() api.MessageType
- func (m *L2InterfaceVlanTagRewrite) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceVlanTagRewrite) Reset()
- func (m *L2InterfaceVlanTagRewrite) Size() (size int)
- func (m *L2InterfaceVlanTagRewrite) Unmarshal(b []byte) error
- type L2InterfaceVlanTagRewriteReply
- func (*L2InterfaceVlanTagRewriteReply) GetCrcString() string
- func (*L2InterfaceVlanTagRewriteReply) GetMessageName() string
- func (*L2InterfaceVlanTagRewriteReply) GetMessageType() api.MessageType
- func (m *L2InterfaceVlanTagRewriteReply) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceVlanTagRewriteReply) Reset()
- func (m *L2InterfaceVlanTagRewriteReply) Size() (size int)
- func (m *L2InterfaceVlanTagRewriteReply) Unmarshal(b []byte) error
- type L2MacsEvent
- func (*L2MacsEvent) GetCrcString() string
- func (*L2MacsEvent) GetMessageName() string
- func (*L2MacsEvent) GetMessageType() api.MessageType
- func (m *L2MacsEvent) Marshal(b []byte) ([]byte, error)
- func (m *L2MacsEvent) Reset()
- func (m *L2MacsEvent) Size() (size int)
- func (m *L2MacsEvent) Unmarshal(b []byte) error
- type L2PatchAddDel
- func (*L2PatchAddDel) GetCrcString() string
- func (*L2PatchAddDel) GetMessageName() string
- func (*L2PatchAddDel) GetMessageType() api.MessageType
- func (m *L2PatchAddDel) Marshal(b []byte) ([]byte, error)
- func (m *L2PatchAddDel) Reset()
- func (m *L2PatchAddDel) Size() (size int)
- func (m *L2PatchAddDel) Unmarshal(b []byte) error
- type L2PatchAddDelReply
- func (*L2PatchAddDelReply) GetCrcString() string
- func (*L2PatchAddDelReply) GetMessageName() string
- func (*L2PatchAddDelReply) GetMessageType() api.MessageType
- func (m *L2PatchAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *L2PatchAddDelReply) Reset()
- func (m *L2PatchAddDelReply) Size() (size int)
- func (m *L2PatchAddDelReply) Unmarshal(b []byte) error
- type L2PortType
- type L2XconnectDetails
- func (*L2XconnectDetails) GetCrcString() string
- func (*L2XconnectDetails) GetMessageName() string
- func (*L2XconnectDetails) GetMessageType() api.MessageType
- func (m *L2XconnectDetails) Marshal(b []byte) ([]byte, error)
- func (m *L2XconnectDetails) Reset()
- func (m *L2XconnectDetails) Size() (size int)
- func (m *L2XconnectDetails) Unmarshal(b []byte) error
- type L2XconnectDump
- func (*L2XconnectDump) GetCrcString() string
- func (*L2XconnectDump) GetMessageName() string
- func (*L2XconnectDump) GetMessageType() api.MessageType
- func (m *L2XconnectDump) Marshal(b []byte) ([]byte, error)
- func (m *L2XconnectDump) Reset()
- func (m *L2XconnectDump) Size() (size int)
- func (m *L2XconnectDump) Unmarshal(b []byte) error
- type L2fibAddDel
- func (*L2fibAddDel) GetCrcString() string
- func (*L2fibAddDel) GetMessageName() string
- func (*L2fibAddDel) GetMessageType() api.MessageType
- func (m *L2fibAddDel) Marshal(b []byte) ([]byte, error)
- func (m *L2fibAddDel) Reset()
- func (m *L2fibAddDel) Size() (size int)
- func (m *L2fibAddDel) Unmarshal(b []byte) error
- type L2fibAddDelReply
- func (*L2fibAddDelReply) GetCrcString() string
- func (*L2fibAddDelReply) GetMessageName() string
- func (*L2fibAddDelReply) GetMessageType() api.MessageType
- func (m *L2fibAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibAddDelReply) Reset()
- func (m *L2fibAddDelReply) Size() (size int)
- func (m *L2fibAddDelReply) Unmarshal(b []byte) error
- type L2fibFlushAll
- func (*L2fibFlushAll) GetCrcString() string
- func (*L2fibFlushAll) GetMessageName() string
- func (*L2fibFlushAll) GetMessageType() api.MessageType
- func (m *L2fibFlushAll) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushAll) Reset()
- func (m *L2fibFlushAll) Size() (size int)
- func (m *L2fibFlushAll) Unmarshal(b []byte) error
- type L2fibFlushAllReply
- func (*L2fibFlushAllReply) GetCrcString() string
- func (*L2fibFlushAllReply) GetMessageName() string
- func (*L2fibFlushAllReply) GetMessageType() api.MessageType
- func (m *L2fibFlushAllReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushAllReply) Reset()
- func (m *L2fibFlushAllReply) Size() (size int)
- func (m *L2fibFlushAllReply) Unmarshal(b []byte) error
- type L2fibFlushBd
- func (*L2fibFlushBd) GetCrcString() string
- func (*L2fibFlushBd) GetMessageName() string
- func (*L2fibFlushBd) GetMessageType() api.MessageType
- func (m *L2fibFlushBd) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushBd) Reset()
- func (m *L2fibFlushBd) Size() (size int)
- func (m *L2fibFlushBd) Unmarshal(b []byte) error
- type L2fibFlushBdReply
- func (*L2fibFlushBdReply) GetCrcString() string
- func (*L2fibFlushBdReply) GetMessageName() string
- func (*L2fibFlushBdReply) GetMessageType() api.MessageType
- func (m *L2fibFlushBdReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushBdReply) Reset()
- func (m *L2fibFlushBdReply) Size() (size int)
- func (m *L2fibFlushBdReply) Unmarshal(b []byte) error
- type L2fibFlushInt
- func (*L2fibFlushInt) GetCrcString() string
- func (*L2fibFlushInt) GetMessageName() string
- func (*L2fibFlushInt) GetMessageType() api.MessageType
- func (m *L2fibFlushInt) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushInt) Reset()
- func (m *L2fibFlushInt) Size() (size int)
- func (m *L2fibFlushInt) Unmarshal(b []byte) error
- type L2fibFlushIntReply
- func (*L2fibFlushIntReply) GetCrcString() string
- func (*L2fibFlushIntReply) GetMessageName() string
- func (*L2fibFlushIntReply) GetMessageType() api.MessageType
- func (m *L2fibFlushIntReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushIntReply) Reset()
- func (m *L2fibFlushIntReply) Size() (size int)
- func (m *L2fibFlushIntReply) Unmarshal(b []byte) error
- type LinkDuplex
- type MacAddress
- type MacEntry
- type Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type RPCService
- type RPCService_BdIPMacDumpClient
- type RPCService_BridgeDomainDumpClient
- type RPCService_L2FibTableDumpClient
- type RPCService_L2XconnectDumpClient
- type RxMode
- type SubIfFlags
- type SwInterfaceSetL2Bridge
- func (*SwInterfaceSetL2Bridge) GetCrcString() string
- func (*SwInterfaceSetL2Bridge) GetMessageName() string
- func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2Bridge) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2Bridge) Reset()
- func (m *SwInterfaceSetL2Bridge) Size() (size int)
- func (m *SwInterfaceSetL2Bridge) Unmarshal(b []byte) error
- type SwInterfaceSetL2BridgeReply
- func (*SwInterfaceSetL2BridgeReply) GetCrcString() string
- func (*SwInterfaceSetL2BridgeReply) GetMessageName() string
- func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2BridgeReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2BridgeReply) Reset()
- func (m *SwInterfaceSetL2BridgeReply) Size() (size int)
- func (m *SwInterfaceSetL2BridgeReply) Unmarshal(b []byte) error
- type SwInterfaceSetL2Xconnect
- func (*SwInterfaceSetL2Xconnect) GetCrcString() string
- func (*SwInterfaceSetL2Xconnect) GetMessageName() string
- func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2Xconnect) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2Xconnect) Reset()
- func (m *SwInterfaceSetL2Xconnect) Size() (size int)
- func (m *SwInterfaceSetL2Xconnect) Unmarshal(b []byte) error
- type SwInterfaceSetL2XconnectReply
- func (*SwInterfaceSetL2XconnectReply) GetCrcString() string
- func (*SwInterfaceSetL2XconnectReply) GetMessageName() string
- func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2XconnectReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2XconnectReply) Reset()
- func (m *SwInterfaceSetL2XconnectReply) Size() (size int)
- func (m *SwInterfaceSetL2XconnectReply) Unmarshal(b []byte) error
- type SwInterfaceSetVpath
- func (*SwInterfaceSetVpath) GetCrcString() string
- func (*SwInterfaceSetVpath) GetMessageName() string
- func (*SwInterfaceSetVpath) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVpath) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVpath) Reset()
- func (m *SwInterfaceSetVpath) Size() (size int)
- func (m *SwInterfaceSetVpath) Unmarshal(b []byte) error
- type SwInterfaceSetVpathReply
- func (*SwInterfaceSetVpathReply) GetCrcString() string
- func (*SwInterfaceSetVpathReply) GetMessageName() string
- func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVpathReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVpathReply) Reset()
- func (m *SwInterfaceSetVpathReply) Size() (size int)
- func (m *SwInterfaceSetVpathReply) Unmarshal(b []byte) error
- type WantL2ArpTermEvents
- func (*WantL2ArpTermEvents) GetCrcString() string
- func (*WantL2ArpTermEvents) GetMessageName() string
- func (*WantL2ArpTermEvents) GetMessageType() api.MessageType
- func (m *WantL2ArpTermEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantL2ArpTermEvents) Reset()
- func (m *WantL2ArpTermEvents) Size() (size int)
- func (m *WantL2ArpTermEvents) Unmarshal(b []byte) error
- type WantL2ArpTermEventsReply
- func (*WantL2ArpTermEventsReply) GetCrcString() string
- func (*WantL2ArpTermEventsReply) GetMessageName() string
- func (*WantL2ArpTermEventsReply) GetMessageType() api.MessageType
- func (m *WantL2ArpTermEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantL2ArpTermEventsReply) Reset()
- func (m *WantL2ArpTermEventsReply) Size() (size int)
- func (m *WantL2ArpTermEventsReply) Unmarshal(b []byte) error
- type WantL2MacsEvents
- func (*WantL2MacsEvents) GetCrcString() string
- func (*WantL2MacsEvents) GetMessageName() string
- func (*WantL2MacsEvents) GetMessageType() api.MessageType
- func (m *WantL2MacsEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantL2MacsEvents) Reset()
- func (m *WantL2MacsEvents) Size() (size int)
- func (m *WantL2MacsEvents) Unmarshal(b []byte) error
- type WantL2MacsEventsReply
- func (*WantL2MacsEventsReply) GetCrcString() string
- func (*WantL2MacsEventsReply) GetMessageName() string
- func (*WantL2MacsEventsReply) GetMessageType() api.MessageType
- func (m *WantL2MacsEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantL2MacsEventsReply) Reset()
- func (m *WantL2MacsEventsReply) Size() (size int)
- func (m *WantL2MacsEventsReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "l2" APIVersion = "2.2.2" VersionCrc = 0x2e148df3 )
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 ( BdFlags_name = map[uint32]string{ 0: "BRIDGE_API_FLAG_NONE", 1: "BRIDGE_API_FLAG_LEARN", 2: "BRIDGE_API_FLAG_FWD", 4: "BRIDGE_API_FLAG_FLOOD", 8: "BRIDGE_API_FLAG_UU_FLOOD", 16: "BRIDGE_API_FLAG_ARP_TERM", 32: "BRIDGE_API_FLAG_ARP_UFWD", } BdFlags_value = map[string]uint32{ "BRIDGE_API_FLAG_NONE": 0, "BRIDGE_API_FLAG_LEARN": 1, "BRIDGE_API_FLAG_FWD": 2, "BRIDGE_API_FLAG_FLOOD": 4, "BRIDGE_API_FLAG_UU_FLOOD": 8, "BRIDGE_API_FLAG_ARP_TERM": 16, "BRIDGE_API_FLAG_ARP_UFWD": 32, } )
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 ( L2PortType_name = map[uint32]string{ 0: "L2_API_PORT_TYPE_NORMAL", 1: "L2_API_PORT_TYPE_BVI", 2: "L2_API_PORT_TYPE_UU_FWD", } L2PortType_value = map[string]uint32{ "L2_API_PORT_TYPE_NORMAL": 0, "L2_API_PORT_TYPE_BVI": 1, "L2_API_PORT_TYPE_UU_FWD": 2, } )
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 ( 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 BdIPMac ¶
type BdIPMac struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` IP Address `binapi:"address,name=ip" json:"ip,omitempty"` Mac MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` }
BdIPMac defines type 'bd_ip_mac'.
type BdIPMacAddDel ¶
type BdIPMacAddDel struct { IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"` Entry BdIPMac `binapi:"bd_ip_mac,name=entry" json:"entry,omitempty"` }
BdIPMacAddDel defines message 'bd_ip_mac_add_del'.
func (*BdIPMacAddDel) GetCrcString ¶
func (*BdIPMacAddDel) GetCrcString() string
func (*BdIPMacAddDel) GetMessageName ¶
func (*BdIPMacAddDel) GetMessageName() string
func (*BdIPMacAddDel) GetMessageType ¶
func (*BdIPMacAddDel) GetMessageType() api.MessageType
func (*BdIPMacAddDel) Reset ¶
func (m *BdIPMacAddDel) Reset()
func (*BdIPMacAddDel) Size ¶
func (m *BdIPMacAddDel) Size() (size int)
func (*BdIPMacAddDel) Unmarshal ¶
func (m *BdIPMacAddDel) Unmarshal(b []byte) error
type BdIPMacAddDelReply ¶
type BdIPMacAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BdIPMacAddDelReply defines message 'bd_ip_mac_add_del_reply'.
func (*BdIPMacAddDelReply) GetCrcString ¶
func (*BdIPMacAddDelReply) GetCrcString() string
func (*BdIPMacAddDelReply) GetMessageName ¶
func (*BdIPMacAddDelReply) GetMessageName() string
func (*BdIPMacAddDelReply) GetMessageType ¶
func (*BdIPMacAddDelReply) GetMessageType() api.MessageType
func (*BdIPMacAddDelReply) Reset ¶
func (m *BdIPMacAddDelReply) Reset()
func (*BdIPMacAddDelReply) Size ¶
func (m *BdIPMacAddDelReply) Size() (size int)
func (*BdIPMacAddDelReply) Unmarshal ¶
func (m *BdIPMacAddDelReply) Unmarshal(b []byte) error
type BdIPMacDetails ¶
type BdIPMacDetails struct {
Entry BdIPMac `binapi:"bd_ip_mac,name=entry" json:"entry,omitempty"`
}
BdIPMacDetails defines message 'bd_ip_mac_details'.
func (*BdIPMacDetails) GetCrcString ¶
func (*BdIPMacDetails) GetCrcString() string
func (*BdIPMacDetails) GetMessageName ¶
func (*BdIPMacDetails) GetMessageName() string
func (*BdIPMacDetails) GetMessageType ¶
func (*BdIPMacDetails) GetMessageType() api.MessageType
func (*BdIPMacDetails) Reset ¶
func (m *BdIPMacDetails) Reset()
func (*BdIPMacDetails) Size ¶
func (m *BdIPMacDetails) Size() (size int)
func (*BdIPMacDetails) Unmarshal ¶
func (m *BdIPMacDetails) Unmarshal(b []byte) error
type BdIPMacDump ¶
type BdIPMacDump struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
BdIPMacDump defines message 'bd_ip_mac_dump'.
func (*BdIPMacDump) GetCrcString ¶
func (*BdIPMacDump) GetCrcString() string
func (*BdIPMacDump) GetMessageName ¶
func (*BdIPMacDump) GetMessageName() string
func (*BdIPMacDump) GetMessageType ¶
func (*BdIPMacDump) GetMessageType() api.MessageType
func (*BdIPMacDump) Reset ¶
func (m *BdIPMacDump) Reset()
func (*BdIPMacDump) Size ¶
func (m *BdIPMacDump) Size() (size int)
func (*BdIPMacDump) Unmarshal ¶
func (m *BdIPMacDump) Unmarshal(b []byte) error
type BdIPMacFlush ¶
type BdIPMacFlush struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
BdIPMacFlush defines message 'bd_ip_mac_flush'.
func (*BdIPMacFlush) GetCrcString ¶
func (*BdIPMacFlush) GetCrcString() string
func (*BdIPMacFlush) GetMessageName ¶
func (*BdIPMacFlush) GetMessageName() string
func (*BdIPMacFlush) GetMessageType ¶
func (*BdIPMacFlush) GetMessageType() api.MessageType
func (*BdIPMacFlush) Reset ¶
func (m *BdIPMacFlush) Reset()
func (*BdIPMacFlush) Size ¶
func (m *BdIPMacFlush) Size() (size int)
func (*BdIPMacFlush) Unmarshal ¶
func (m *BdIPMacFlush) Unmarshal(b []byte) error
type BdIPMacFlushReply ¶
type BdIPMacFlushReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BdIPMacFlushReply defines message 'bd_ip_mac_flush_reply'.
func (*BdIPMacFlushReply) GetCrcString ¶
func (*BdIPMacFlushReply) GetCrcString() string
func (*BdIPMacFlushReply) GetMessageName ¶
func (*BdIPMacFlushReply) GetMessageName() string
func (*BdIPMacFlushReply) GetMessageType ¶
func (*BdIPMacFlushReply) GetMessageType() api.MessageType
func (*BdIPMacFlushReply) Reset ¶
func (m *BdIPMacFlushReply) Reset()
func (*BdIPMacFlushReply) Size ¶
func (m *BdIPMacFlushReply) Size() (size int)
func (*BdIPMacFlushReply) Unmarshal ¶
func (m *BdIPMacFlushReply) Unmarshal(b []byte) error
type BridgeDomainAddDel ¶
type BridgeDomainAddDel struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Flood uint8 `binapi:"u8,name=flood" json:"flood,omitempty"` UuFlood uint8 `binapi:"u8,name=uu_flood" json:"uu_flood,omitempty"` Forward uint8 `binapi:"u8,name=forward" json:"forward,omitempty"` Learn uint8 `binapi:"u8,name=learn" json:"learn,omitempty"` ArpTerm uint8 `binapi:"u8,name=arp_term" json:"arp_term,omitempty"` ArpUfwd uint8 `binapi:"u8,name=arp_ufwd" json:"arp_ufwd,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` BdTag []byte `binapi:"u8[64],name=bd_tag" json:"bd_tag,omitempty"` IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"` }
BridgeDomainAddDel defines message 'bridge_domain_add_del'.
func (*BridgeDomainAddDel) GetCrcString ¶
func (*BridgeDomainAddDel) GetCrcString() string
func (*BridgeDomainAddDel) GetMessageName ¶
func (*BridgeDomainAddDel) GetMessageName() string
func (*BridgeDomainAddDel) GetMessageType ¶
func (*BridgeDomainAddDel) GetMessageType() api.MessageType
func (*BridgeDomainAddDel) Reset ¶
func (m *BridgeDomainAddDel) Reset()
func (*BridgeDomainAddDel) Size ¶
func (m *BridgeDomainAddDel) Size() (size int)
func (*BridgeDomainAddDel) Unmarshal ¶
func (m *BridgeDomainAddDel) Unmarshal(b []byte) error
type BridgeDomainAddDelReply ¶
type BridgeDomainAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BridgeDomainAddDelReply defines message 'bridge_domain_add_del_reply'.
func (*BridgeDomainAddDelReply) GetCrcString ¶
func (*BridgeDomainAddDelReply) GetCrcString() string
func (*BridgeDomainAddDelReply) GetMessageName ¶
func (*BridgeDomainAddDelReply) GetMessageName() string
func (*BridgeDomainAddDelReply) GetMessageType ¶
func (*BridgeDomainAddDelReply) GetMessageType() api.MessageType
func (*BridgeDomainAddDelReply) Marshal ¶
func (m *BridgeDomainAddDelReply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainAddDelReply) Reset ¶
func (m *BridgeDomainAddDelReply) Reset()
func (*BridgeDomainAddDelReply) Size ¶
func (m *BridgeDomainAddDelReply) Size() (size int)
func (*BridgeDomainAddDelReply) Unmarshal ¶
func (m *BridgeDomainAddDelReply) Unmarshal(b []byte) error
type BridgeDomainDetails ¶
type BridgeDomainDetails struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Flood uint8 `binapi:"u8,name=flood" json:"flood,omitempty"` UuFlood uint8 `binapi:"u8,name=uu_flood" json:"uu_flood,omitempty"` Forward uint8 `binapi:"u8,name=forward" json:"forward,omitempty"` Learn uint8 `binapi:"u8,name=learn" json:"learn,omitempty"` ArpTerm uint8 `binapi:"u8,name=arp_term" json:"arp_term,omitempty"` ArpUfwd uint8 `binapi:"u8,name=arp_ufwd" json:"arp_ufwd,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` BdTag []byte `binapi:"u8[64],name=bd_tag" json:"bd_tag,omitempty"` BviSwIfIndex uint32 `binapi:"u32,name=bvi_sw_if_index" json:"bvi_sw_if_index,omitempty"` UuFwdSwIfIndex uint32 `binapi:"u32,name=uu_fwd_sw_if_index" json:"uu_fwd_sw_if_index,omitempty"` NSwIfs uint32 `binapi:"u32,name=n_sw_ifs" json:"-"` SwIfDetails []BridgeDomainSwIf `binapi:"bridge_domain_sw_if[n_sw_ifs],name=sw_if_details" json:"sw_if_details,omitempty"` }
BridgeDomainDetails defines message 'bridge_domain_details'.
func (*BridgeDomainDetails) GetCrcString ¶
func (*BridgeDomainDetails) GetCrcString() string
func (*BridgeDomainDetails) GetMessageName ¶
func (*BridgeDomainDetails) GetMessageName() string
func (*BridgeDomainDetails) GetMessageType ¶
func (*BridgeDomainDetails) GetMessageType() api.MessageType
func (*BridgeDomainDetails) Marshal ¶
func (m *BridgeDomainDetails) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainDetails) Reset ¶
func (m *BridgeDomainDetails) Reset()
func (*BridgeDomainDetails) Size ¶
func (m *BridgeDomainDetails) Size() (size int)
func (*BridgeDomainDetails) Unmarshal ¶
func (m *BridgeDomainDetails) Unmarshal(b []byte) error
type BridgeDomainDump ¶
type BridgeDomainDump struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
BridgeDomainDump defines message 'bridge_domain_dump'.
func (*BridgeDomainDump) GetCrcString ¶
func (*BridgeDomainDump) GetCrcString() string
func (*BridgeDomainDump) GetMessageName ¶
func (*BridgeDomainDump) GetMessageName() string
func (*BridgeDomainDump) GetMessageType ¶
func (*BridgeDomainDump) GetMessageType() api.MessageType
func (*BridgeDomainDump) Reset ¶
func (m *BridgeDomainDump) Reset()
func (*BridgeDomainDump) Size ¶
func (m *BridgeDomainDump) Size() (size int)
func (*BridgeDomainDump) Unmarshal ¶
func (m *BridgeDomainDump) Unmarshal(b []byte) error
type BridgeDomainSetMacAge ¶
type BridgeDomainSetMacAge struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` }
BridgeDomainSetMacAge defines message 'bridge_domain_set_mac_age'.
func (*BridgeDomainSetMacAge) GetCrcString ¶
func (*BridgeDomainSetMacAge) GetCrcString() string
func (*BridgeDomainSetMacAge) GetMessageName ¶
func (*BridgeDomainSetMacAge) GetMessageName() string
func (*BridgeDomainSetMacAge) GetMessageType ¶
func (*BridgeDomainSetMacAge) GetMessageType() api.MessageType
func (*BridgeDomainSetMacAge) Marshal ¶
func (m *BridgeDomainSetMacAge) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetMacAge) Reset ¶
func (m *BridgeDomainSetMacAge) Reset()
func (*BridgeDomainSetMacAge) Size ¶
func (m *BridgeDomainSetMacAge) Size() (size int)
func (*BridgeDomainSetMacAge) Unmarshal ¶
func (m *BridgeDomainSetMacAge) Unmarshal(b []byte) error
type BridgeDomainSetMacAgeReply ¶
type BridgeDomainSetMacAgeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BridgeDomainSetMacAgeReply defines message 'bridge_domain_set_mac_age_reply'.
func (*BridgeDomainSetMacAgeReply) GetCrcString ¶
func (*BridgeDomainSetMacAgeReply) GetCrcString() string
func (*BridgeDomainSetMacAgeReply) GetMessageName ¶
func (*BridgeDomainSetMacAgeReply) GetMessageName() string
func (*BridgeDomainSetMacAgeReply) GetMessageType ¶
func (*BridgeDomainSetMacAgeReply) GetMessageType() api.MessageType
func (*BridgeDomainSetMacAgeReply) Marshal ¶
func (m *BridgeDomainSetMacAgeReply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetMacAgeReply) Reset ¶
func (m *BridgeDomainSetMacAgeReply) Reset()
func (*BridgeDomainSetMacAgeReply) Size ¶
func (m *BridgeDomainSetMacAgeReply) Size() (size int)
func (*BridgeDomainSetMacAgeReply) Unmarshal ¶
func (m *BridgeDomainSetMacAgeReply) Unmarshal(b []byte) error
type BridgeDomainSwIf ¶
type BridgeDomainSwIf struct { Context uint32 `binapi:"u32,name=context" json:"context,omitempty"` SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` Shg uint8 `binapi:"u8,name=shg" json:"shg,omitempty"` }
BridgeDomainSwIf defines type 'bridge_domain_sw_if'.
type BridgeFlags ¶
type BridgeFlags struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` IsSet uint8 `binapi:"u8,name=is_set" json:"is_set,omitempty"` Flags BdFlags `binapi:"bd_flags,name=flags" json:"flags,omitempty"` }
BridgeFlags defines message 'bridge_flags'.
func (*BridgeFlags) GetCrcString ¶
func (*BridgeFlags) GetCrcString() string
func (*BridgeFlags) GetMessageName ¶
func (*BridgeFlags) GetMessageName() string
func (*BridgeFlags) GetMessageType ¶
func (*BridgeFlags) GetMessageType() api.MessageType
func (*BridgeFlags) Reset ¶
func (m *BridgeFlags) Reset()
func (*BridgeFlags) Size ¶
func (m *BridgeFlags) Size() (size int)
func (*BridgeFlags) Unmarshal ¶
func (m *BridgeFlags) Unmarshal(b []byte) error
type BridgeFlagsReply ¶
type BridgeFlagsReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ResultingFeatureBitmap uint32 `binapi:"u32,name=resulting_feature_bitmap" json:"resulting_feature_bitmap,omitempty"` }
BridgeFlagsReply defines message 'bridge_flags_reply'.
func (*BridgeFlagsReply) GetCrcString ¶
func (*BridgeFlagsReply) GetCrcString() string
func (*BridgeFlagsReply) GetMessageName ¶
func (*BridgeFlagsReply) GetMessageName() string
func (*BridgeFlagsReply) GetMessageType ¶
func (*BridgeFlagsReply) GetMessageType() api.MessageType
func (*BridgeFlagsReply) Reset ¶
func (m *BridgeFlagsReply) Reset()
func (*BridgeFlagsReply) Size ¶
func (m *BridgeFlagsReply) Size() (size int)
func (*BridgeFlagsReply) Unmarshal ¶
func (m *BridgeFlagsReply) Unmarshal(b []byte) error
type BviCreate ¶
type BviCreate struct { Mac MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` UserInstance uint32 `binapi:"u32,name=user_instance" json:"user_instance,omitempty"` }
BviCreate defines message 'bvi_create'.
func (*BviCreate) GetCrcString ¶
func (*BviCreate) GetMessageName ¶
func (*BviCreate) GetMessageType ¶
func (*BviCreate) GetMessageType() api.MessageType
type BviCreateReply ¶
type BviCreateReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` }
BviCreateReply defines message 'bvi_create_reply'.
func (*BviCreateReply) GetCrcString ¶
func (*BviCreateReply) GetCrcString() string
func (*BviCreateReply) GetMessageName ¶
func (*BviCreateReply) GetMessageName() string
func (*BviCreateReply) GetMessageType ¶
func (*BviCreateReply) GetMessageType() api.MessageType
func (*BviCreateReply) Reset ¶
func (m *BviCreateReply) Reset()
func (*BviCreateReply) Size ¶
func (m *BviCreateReply) Size() (size int)
func (*BviCreateReply) Unmarshal ¶
func (m *BviCreateReply) Unmarshal(b []byte) error
type BviDelete ¶
type BviDelete struct {
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
}
BviDelete defines message 'bvi_delete'.
func (*BviDelete) GetCrcString ¶
func (*BviDelete) GetMessageName ¶
func (*BviDelete) GetMessageType ¶
func (*BviDelete) GetMessageType() api.MessageType
type BviDeleteReply ¶
type BviDeleteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BviDeleteReply defines message 'bvi_delete_reply'.
func (*BviDeleteReply) GetCrcString ¶
func (*BviDeleteReply) GetCrcString() string
func (*BviDeleteReply) GetMessageName ¶
func (*BviDeleteReply) GetMessageName() string
func (*BviDeleteReply) GetMessageType ¶
func (*BviDeleteReply) GetMessageType() api.MessageType
func (*BviDeleteReply) Reset ¶
func (m *BviDeleteReply) Reset()
func (*BviDeleteReply) Size ¶
func (m *BviDeleteReply) Size() (size int)
func (*BviDeleteReply) Unmarshal ¶
func (m *BviDeleteReply) Unmarshal(b []byte) error
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 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 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 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 L2ArpTermEvent ¶
type L2ArpTermEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` IP Address `binapi:"address,name=ip" json:"ip,omitempty"` SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Mac MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` }
L2ArpTermEvent defines message 'l2_arp_term_event'.
func (*L2ArpTermEvent) GetCrcString ¶
func (*L2ArpTermEvent) GetCrcString() string
func (*L2ArpTermEvent) GetMessageName ¶
func (*L2ArpTermEvent) GetMessageName() string
func (*L2ArpTermEvent) GetMessageType ¶
func (*L2ArpTermEvent) GetMessageType() api.MessageType
func (*L2ArpTermEvent) Reset ¶
func (m *L2ArpTermEvent) Reset()
func (*L2ArpTermEvent) Size ¶
func (m *L2ArpTermEvent) Size() (size int)
func (*L2ArpTermEvent) Unmarshal ¶
func (m *L2ArpTermEvent) Unmarshal(b []byte) error
type L2FibClearTable ¶
type L2FibClearTable struct{}
L2FibClearTable defines message 'l2_fib_clear_table'.
func (*L2FibClearTable) GetCrcString ¶
func (*L2FibClearTable) GetCrcString() string
func (*L2FibClearTable) GetMessageName ¶
func (*L2FibClearTable) GetMessageName() string
func (*L2FibClearTable) GetMessageType ¶
func (*L2FibClearTable) GetMessageType() api.MessageType
func (*L2FibClearTable) Reset ¶
func (m *L2FibClearTable) Reset()
func (*L2FibClearTable) Size ¶
func (m *L2FibClearTable) Size() (size int)
func (*L2FibClearTable) Unmarshal ¶
func (m *L2FibClearTable) Unmarshal(b []byte) error
type L2FibClearTableReply ¶
type L2FibClearTableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2FibClearTableReply defines message 'l2_fib_clear_table_reply'.
func (*L2FibClearTableReply) GetCrcString ¶
func (*L2FibClearTableReply) GetCrcString() string
func (*L2FibClearTableReply) GetMessageName ¶
func (*L2FibClearTableReply) GetMessageName() string
func (*L2FibClearTableReply) GetMessageType ¶
func (*L2FibClearTableReply) GetMessageType() api.MessageType
func (*L2FibClearTableReply) Marshal ¶
func (m *L2FibClearTableReply) Marshal(b []byte) ([]byte, error)
func (*L2FibClearTableReply) Reset ¶
func (m *L2FibClearTableReply) Reset()
func (*L2FibClearTableReply) Size ¶
func (m *L2FibClearTableReply) Size() (size int)
func (*L2FibClearTableReply) Unmarshal ¶
func (m *L2FibClearTableReply) Unmarshal(b []byte) error
type L2FibTableDetails ¶
type L2FibTableDetails struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Mac []byte `binapi:"u8[6],name=mac" json:"mac,omitempty"` SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` StaticMac uint8 `binapi:"u8,name=static_mac" json:"static_mac,omitempty"` FilterMac uint8 `binapi:"u8,name=filter_mac" json:"filter_mac,omitempty"` BviMac uint8 `binapi:"u8,name=bvi_mac" json:"bvi_mac,omitempty"` }
L2FibTableDetails defines message 'l2_fib_table_details'.
func (*L2FibTableDetails) GetCrcString ¶
func (*L2FibTableDetails) GetCrcString() string
func (*L2FibTableDetails) GetMessageName ¶
func (*L2FibTableDetails) GetMessageName() string
func (*L2FibTableDetails) GetMessageType ¶
func (*L2FibTableDetails) GetMessageType() api.MessageType
func (*L2FibTableDetails) Reset ¶
func (m *L2FibTableDetails) Reset()
func (*L2FibTableDetails) Size ¶
func (m *L2FibTableDetails) Size() (size int)
func (*L2FibTableDetails) Unmarshal ¶
func (m *L2FibTableDetails) Unmarshal(b []byte) error
type L2FibTableDump ¶
type L2FibTableDump struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
L2FibTableDump defines message 'l2_fib_table_dump'.
func (*L2FibTableDump) GetCrcString ¶
func (*L2FibTableDump) GetCrcString() string
func (*L2FibTableDump) GetMessageName ¶
func (*L2FibTableDump) GetMessageName() string
func (*L2FibTableDump) GetMessageType ¶
func (*L2FibTableDump) GetMessageType() api.MessageType
func (*L2FibTableDump) Reset ¶
func (m *L2FibTableDump) Reset()
func (*L2FibTableDump) Size ¶
func (m *L2FibTableDump) Size() (size int)
func (*L2FibTableDump) Unmarshal ¶
func (m *L2FibTableDump) Unmarshal(b []byte) error
type L2Flags ¶
type L2Flags struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` IsSet uint8 `binapi:"u8,name=is_set" json:"is_set,omitempty"` FeatureBitmap uint32 `binapi:"u32,name=feature_bitmap" json:"feature_bitmap,omitempty"` }
L2Flags defines message 'l2_flags'.
func (*L2Flags) GetCrcString ¶
func (*L2Flags) GetMessageName ¶
func (*L2Flags) GetMessageType ¶
func (*L2Flags) GetMessageType() api.MessageType
type L2FlagsReply ¶
type L2FlagsReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ResultingFeatureBitmap uint32 `binapi:"u32,name=resulting_feature_bitmap" json:"resulting_feature_bitmap,omitempty"` }
L2FlagsReply defines message 'l2_flags_reply'.
func (*L2FlagsReply) GetCrcString ¶
func (*L2FlagsReply) GetCrcString() string
func (*L2FlagsReply) GetMessageName ¶
func (*L2FlagsReply) GetMessageName() string
func (*L2FlagsReply) GetMessageType ¶
func (*L2FlagsReply) GetMessageType() api.MessageType
func (*L2FlagsReply) Reset ¶
func (m *L2FlagsReply) Reset()
func (*L2FlagsReply) Size ¶
func (m *L2FlagsReply) Size() (size int)
func (*L2FlagsReply) Unmarshal ¶
func (m *L2FlagsReply) Unmarshal(b []byte) error
type L2InterfaceEfpFilter ¶
type L2InterfaceEfpFilter struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` EnableDisable uint8 `binapi:"u8,name=enable_disable" json:"enable_disable,omitempty"` }
L2InterfaceEfpFilter defines message 'l2_interface_efp_filter'.
func (*L2InterfaceEfpFilter) GetCrcString ¶
func (*L2InterfaceEfpFilter) GetCrcString() string
func (*L2InterfaceEfpFilter) GetMessageName ¶
func (*L2InterfaceEfpFilter) GetMessageName() string
func (*L2InterfaceEfpFilter) GetMessageType ¶
func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType
func (*L2InterfaceEfpFilter) Marshal ¶
func (m *L2InterfaceEfpFilter) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceEfpFilter) Reset ¶
func (m *L2InterfaceEfpFilter) Reset()
func (*L2InterfaceEfpFilter) Size ¶
func (m *L2InterfaceEfpFilter) Size() (size int)
func (*L2InterfaceEfpFilter) Unmarshal ¶
func (m *L2InterfaceEfpFilter) Unmarshal(b []byte) error
type L2InterfaceEfpFilterReply ¶
type L2InterfaceEfpFilterReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2InterfaceEfpFilterReply defines message 'l2_interface_efp_filter_reply'.
func (*L2InterfaceEfpFilterReply) GetCrcString ¶
func (*L2InterfaceEfpFilterReply) GetCrcString() string
func (*L2InterfaceEfpFilterReply) GetMessageName ¶
func (*L2InterfaceEfpFilterReply) GetMessageName() string
func (*L2InterfaceEfpFilterReply) GetMessageType ¶
func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType
func (*L2InterfaceEfpFilterReply) Marshal ¶
func (m *L2InterfaceEfpFilterReply) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceEfpFilterReply) Reset ¶
func (m *L2InterfaceEfpFilterReply) Reset()
func (*L2InterfaceEfpFilterReply) Size ¶
func (m *L2InterfaceEfpFilterReply) Size() (size int)
func (*L2InterfaceEfpFilterReply) Unmarshal ¶
func (m *L2InterfaceEfpFilterReply) Unmarshal(b []byte) error
type L2InterfacePbbTagRewrite ¶
type L2InterfacePbbTagRewrite struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` VtrOp uint32 `binapi:"u32,name=vtr_op" json:"vtr_op,omitempty"` OuterTag uint16 `binapi:"u16,name=outer_tag" json:"outer_tag,omitempty"` BDmac []byte `binapi:"u8[6],name=b_dmac" json:"b_dmac,omitempty"` BSmac []byte `binapi:"u8[6],name=b_smac" json:"b_smac,omitempty"` BVlanid uint16 `binapi:"u16,name=b_vlanid" json:"b_vlanid,omitempty"` ISid uint32 `binapi:"u32,name=i_sid" json:"i_sid,omitempty"` }
L2InterfacePbbTagRewrite defines message 'l2_interface_pbb_tag_rewrite'.
func (*L2InterfacePbbTagRewrite) GetCrcString ¶
func (*L2InterfacePbbTagRewrite) GetCrcString() string
func (*L2InterfacePbbTagRewrite) GetMessageName ¶
func (*L2InterfacePbbTagRewrite) GetMessageName() string
func (*L2InterfacePbbTagRewrite) GetMessageType ¶
func (*L2InterfacePbbTagRewrite) GetMessageType() api.MessageType
func (*L2InterfacePbbTagRewrite) Marshal ¶
func (m *L2InterfacePbbTagRewrite) Marshal(b []byte) ([]byte, error)
func (*L2InterfacePbbTagRewrite) Reset ¶
func (m *L2InterfacePbbTagRewrite) Reset()
func (*L2InterfacePbbTagRewrite) Size ¶
func (m *L2InterfacePbbTagRewrite) Size() (size int)
func (*L2InterfacePbbTagRewrite) Unmarshal ¶
func (m *L2InterfacePbbTagRewrite) Unmarshal(b []byte) error
type L2InterfacePbbTagRewriteReply ¶
type L2InterfacePbbTagRewriteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2InterfacePbbTagRewriteReply defines message 'l2_interface_pbb_tag_rewrite_reply'.
func (*L2InterfacePbbTagRewriteReply) GetCrcString ¶
func (*L2InterfacePbbTagRewriteReply) GetCrcString() string
func (*L2InterfacePbbTagRewriteReply) GetMessageName ¶
func (*L2InterfacePbbTagRewriteReply) GetMessageName() string
func (*L2InterfacePbbTagRewriteReply) GetMessageType ¶
func (*L2InterfacePbbTagRewriteReply) GetMessageType() api.MessageType
func (*L2InterfacePbbTagRewriteReply) Marshal ¶
func (m *L2InterfacePbbTagRewriteReply) Marshal(b []byte) ([]byte, error)
func (*L2InterfacePbbTagRewriteReply) Reset ¶
func (m *L2InterfacePbbTagRewriteReply) Reset()
func (*L2InterfacePbbTagRewriteReply) Size ¶
func (m *L2InterfacePbbTagRewriteReply) Size() (size int)
func (*L2InterfacePbbTagRewriteReply) Unmarshal ¶
func (m *L2InterfacePbbTagRewriteReply) Unmarshal(b []byte) error
type L2InterfaceVlanTagRewrite ¶
type L2InterfaceVlanTagRewrite struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` VtrOp uint32 `binapi:"u32,name=vtr_op" json:"vtr_op,omitempty"` PushDot1q uint32 `binapi:"u32,name=push_dot1q" json:"push_dot1q,omitempty"` Tag1 uint32 `binapi:"u32,name=tag1" json:"tag1,omitempty"` Tag2 uint32 `binapi:"u32,name=tag2" json:"tag2,omitempty"` }
L2InterfaceVlanTagRewrite defines message 'l2_interface_vlan_tag_rewrite'.
func (*L2InterfaceVlanTagRewrite) GetCrcString ¶
func (*L2InterfaceVlanTagRewrite) GetCrcString() string
func (*L2InterfaceVlanTagRewrite) GetMessageName ¶
func (*L2InterfaceVlanTagRewrite) GetMessageName() string
func (*L2InterfaceVlanTagRewrite) GetMessageType ¶
func (*L2InterfaceVlanTagRewrite) GetMessageType() api.MessageType
func (*L2InterfaceVlanTagRewrite) Marshal ¶
func (m *L2InterfaceVlanTagRewrite) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceVlanTagRewrite) Reset ¶
func (m *L2InterfaceVlanTagRewrite) Reset()
func (*L2InterfaceVlanTagRewrite) Size ¶
func (m *L2InterfaceVlanTagRewrite) Size() (size int)
func (*L2InterfaceVlanTagRewrite) Unmarshal ¶
func (m *L2InterfaceVlanTagRewrite) Unmarshal(b []byte) error
type L2InterfaceVlanTagRewriteReply ¶
type L2InterfaceVlanTagRewriteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2InterfaceVlanTagRewriteReply defines message 'l2_interface_vlan_tag_rewrite_reply'.
func (*L2InterfaceVlanTagRewriteReply) GetCrcString ¶
func (*L2InterfaceVlanTagRewriteReply) GetCrcString() string
func (*L2InterfaceVlanTagRewriteReply) GetMessageName ¶
func (*L2InterfaceVlanTagRewriteReply) GetMessageName() string
func (*L2InterfaceVlanTagRewriteReply) GetMessageType ¶
func (*L2InterfaceVlanTagRewriteReply) GetMessageType() api.MessageType
func (*L2InterfaceVlanTagRewriteReply) Marshal ¶
func (m *L2InterfaceVlanTagRewriteReply) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceVlanTagRewriteReply) Reset ¶
func (m *L2InterfaceVlanTagRewriteReply) Reset()
func (*L2InterfaceVlanTagRewriteReply) Size ¶
func (m *L2InterfaceVlanTagRewriteReply) Size() (size int)
func (*L2InterfaceVlanTagRewriteReply) Unmarshal ¶
func (m *L2InterfaceVlanTagRewriteReply) Unmarshal(b []byte) error
type L2MacsEvent ¶
type L2MacsEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` NMacs uint32 `binapi:"u32,name=n_macs" json:"-"` Mac []MacEntry `binapi:"mac_entry[n_macs],name=mac" json:"mac,omitempty"` }
L2MacsEvent defines message 'l2_macs_event'.
func (*L2MacsEvent) GetCrcString ¶
func (*L2MacsEvent) GetCrcString() string
func (*L2MacsEvent) GetMessageName ¶
func (*L2MacsEvent) GetMessageName() string
func (*L2MacsEvent) GetMessageType ¶
func (*L2MacsEvent) GetMessageType() api.MessageType
func (*L2MacsEvent) Reset ¶
func (m *L2MacsEvent) Reset()
func (*L2MacsEvent) Size ¶
func (m *L2MacsEvent) Size() (size int)
func (*L2MacsEvent) Unmarshal ¶
func (m *L2MacsEvent) Unmarshal(b []byte) error
type L2PatchAddDel ¶
type L2PatchAddDel struct { RxSwIfIndex uint32 `binapi:"u32,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex uint32 `binapi:"u32,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"` }
L2PatchAddDel defines message 'l2_patch_add_del'.
func (*L2PatchAddDel) GetCrcString ¶
func (*L2PatchAddDel) GetCrcString() string
func (*L2PatchAddDel) GetMessageName ¶
func (*L2PatchAddDel) GetMessageName() string
func (*L2PatchAddDel) GetMessageType ¶
func (*L2PatchAddDel) GetMessageType() api.MessageType
func (*L2PatchAddDel) Reset ¶
func (m *L2PatchAddDel) Reset()
func (*L2PatchAddDel) Size ¶
func (m *L2PatchAddDel) Size() (size int)
func (*L2PatchAddDel) Unmarshal ¶
func (m *L2PatchAddDel) Unmarshal(b []byte) error
type L2PatchAddDelReply ¶
type L2PatchAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2PatchAddDelReply defines message 'l2_patch_add_del_reply'.
func (*L2PatchAddDelReply) GetCrcString ¶
func (*L2PatchAddDelReply) GetCrcString() string
func (*L2PatchAddDelReply) GetMessageName ¶
func (*L2PatchAddDelReply) GetMessageName() string
func (*L2PatchAddDelReply) GetMessageType ¶
func (*L2PatchAddDelReply) GetMessageType() api.MessageType
func (*L2PatchAddDelReply) Reset ¶
func (m *L2PatchAddDelReply) Reset()
func (*L2PatchAddDelReply) Size ¶
func (m *L2PatchAddDelReply) Size() (size int)
func (*L2PatchAddDelReply) Unmarshal ¶
func (m *L2PatchAddDelReply) Unmarshal(b []byte) error
type L2PortType ¶
type L2PortType uint32
L2PortType defines enum 'l2_port_type'.
const ( L2_API_PORT_TYPE_NORMAL L2PortType = 0 L2_API_PORT_TYPE_BVI L2PortType = 1 L2_API_PORT_TYPE_UU_FWD L2PortType = 2 )
func (L2PortType) String ¶
func (x L2PortType) String() string
type L2XconnectDetails ¶
type L2XconnectDetails struct { RxSwIfIndex uint32 `binapi:"u32,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex uint32 `binapi:"u32,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` }
L2XconnectDetails defines message 'l2_xconnect_details'.
func (*L2XconnectDetails) GetCrcString ¶
func (*L2XconnectDetails) GetCrcString() string
func (*L2XconnectDetails) GetMessageName ¶
func (*L2XconnectDetails) GetMessageName() string
func (*L2XconnectDetails) GetMessageType ¶
func (*L2XconnectDetails) GetMessageType() api.MessageType
func (*L2XconnectDetails) Reset ¶
func (m *L2XconnectDetails) Reset()
func (*L2XconnectDetails) Size ¶
func (m *L2XconnectDetails) Size() (size int)
func (*L2XconnectDetails) Unmarshal ¶
func (m *L2XconnectDetails) Unmarshal(b []byte) error
type L2XconnectDump ¶
type L2XconnectDump struct{}
L2XconnectDump defines message 'l2_xconnect_dump'.
func (*L2XconnectDump) GetCrcString ¶
func (*L2XconnectDump) GetCrcString() string
func (*L2XconnectDump) GetMessageName ¶
func (*L2XconnectDump) GetMessageName() string
func (*L2XconnectDump) GetMessageType ¶
func (*L2XconnectDump) GetMessageType() api.MessageType
func (*L2XconnectDump) Reset ¶
func (m *L2XconnectDump) Reset()
func (*L2XconnectDump) Size ¶
func (m *L2XconnectDump) Size() (size int)
func (*L2XconnectDump) Unmarshal ¶
func (m *L2XconnectDump) Unmarshal(b []byte) error
type L2fibAddDel ¶
type L2fibAddDel struct { Mac []byte `binapi:"u8[6],name=mac" json:"mac,omitempty"` BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"` StaticMac uint8 `binapi:"u8,name=static_mac" json:"static_mac,omitempty"` FilterMac uint8 `binapi:"u8,name=filter_mac" json:"filter_mac,omitempty"` BviMac uint8 `binapi:"u8,name=bvi_mac" json:"bvi_mac,omitempty"` }
L2fibAddDel defines message 'l2fib_add_del'.
func (*L2fibAddDel) GetCrcString ¶
func (*L2fibAddDel) GetCrcString() string
func (*L2fibAddDel) GetMessageName ¶
func (*L2fibAddDel) GetMessageName() string
func (*L2fibAddDel) GetMessageType ¶
func (*L2fibAddDel) GetMessageType() api.MessageType
func (*L2fibAddDel) Reset ¶
func (m *L2fibAddDel) Reset()
func (*L2fibAddDel) Size ¶
func (m *L2fibAddDel) Size() (size int)
func (*L2fibAddDel) Unmarshal ¶
func (m *L2fibAddDel) Unmarshal(b []byte) error
type L2fibAddDelReply ¶
type L2fibAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibAddDelReply defines message 'l2fib_add_del_reply'.
func (*L2fibAddDelReply) GetCrcString ¶
func (*L2fibAddDelReply) GetCrcString() string
func (*L2fibAddDelReply) GetMessageName ¶
func (*L2fibAddDelReply) GetMessageName() string
func (*L2fibAddDelReply) GetMessageType ¶
func (*L2fibAddDelReply) GetMessageType() api.MessageType
func (*L2fibAddDelReply) Reset ¶
func (m *L2fibAddDelReply) Reset()
func (*L2fibAddDelReply) Size ¶
func (m *L2fibAddDelReply) Size() (size int)
func (*L2fibAddDelReply) Unmarshal ¶
func (m *L2fibAddDelReply) Unmarshal(b []byte) error
type L2fibFlushAll ¶
type L2fibFlushAll struct{}
L2fibFlushAll defines message 'l2fib_flush_all'.
func (*L2fibFlushAll) GetCrcString ¶
func (*L2fibFlushAll) GetCrcString() string
func (*L2fibFlushAll) GetMessageName ¶
func (*L2fibFlushAll) GetMessageName() string
func (*L2fibFlushAll) GetMessageType ¶
func (*L2fibFlushAll) GetMessageType() api.MessageType
func (*L2fibFlushAll) Reset ¶
func (m *L2fibFlushAll) Reset()
func (*L2fibFlushAll) Size ¶
func (m *L2fibFlushAll) Size() (size int)
func (*L2fibFlushAll) Unmarshal ¶
func (m *L2fibFlushAll) Unmarshal(b []byte) error
type L2fibFlushAllReply ¶
type L2fibFlushAllReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibFlushAllReply defines message 'l2fib_flush_all_reply'.
func (*L2fibFlushAllReply) GetCrcString ¶
func (*L2fibFlushAllReply) GetCrcString() string
func (*L2fibFlushAllReply) GetMessageName ¶
func (*L2fibFlushAllReply) GetMessageName() string
func (*L2fibFlushAllReply) GetMessageType ¶
func (*L2fibFlushAllReply) GetMessageType() api.MessageType
func (*L2fibFlushAllReply) Reset ¶
func (m *L2fibFlushAllReply) Reset()
func (*L2fibFlushAllReply) Size ¶
func (m *L2fibFlushAllReply) Size() (size int)
func (*L2fibFlushAllReply) Unmarshal ¶
func (m *L2fibFlushAllReply) Unmarshal(b []byte) error
type L2fibFlushBd ¶
type L2fibFlushBd struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
L2fibFlushBd defines message 'l2fib_flush_bd'.
func (*L2fibFlushBd) GetCrcString ¶
func (*L2fibFlushBd) GetCrcString() string
func (*L2fibFlushBd) GetMessageName ¶
func (*L2fibFlushBd) GetMessageName() string
func (*L2fibFlushBd) GetMessageType ¶
func (*L2fibFlushBd) GetMessageType() api.MessageType
func (*L2fibFlushBd) Reset ¶
func (m *L2fibFlushBd) Reset()
func (*L2fibFlushBd) Size ¶
func (m *L2fibFlushBd) Size() (size int)
func (*L2fibFlushBd) Unmarshal ¶
func (m *L2fibFlushBd) Unmarshal(b []byte) error
type L2fibFlushBdReply ¶
type L2fibFlushBdReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibFlushBdReply defines message 'l2fib_flush_bd_reply'.
func (*L2fibFlushBdReply) GetCrcString ¶
func (*L2fibFlushBdReply) GetCrcString() string
func (*L2fibFlushBdReply) GetMessageName ¶
func (*L2fibFlushBdReply) GetMessageName() string
func (*L2fibFlushBdReply) GetMessageType ¶
func (*L2fibFlushBdReply) GetMessageType() api.MessageType
func (*L2fibFlushBdReply) Reset ¶
func (m *L2fibFlushBdReply) Reset()
func (*L2fibFlushBdReply) Size ¶
func (m *L2fibFlushBdReply) Size() (size int)
func (*L2fibFlushBdReply) Unmarshal ¶
func (m *L2fibFlushBdReply) Unmarshal(b []byte) error
type L2fibFlushInt ¶
type L2fibFlushInt struct {
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
}
L2fibFlushInt defines message 'l2fib_flush_int'.
func (*L2fibFlushInt) GetCrcString ¶
func (*L2fibFlushInt) GetCrcString() string
func (*L2fibFlushInt) GetMessageName ¶
func (*L2fibFlushInt) GetMessageName() string
func (*L2fibFlushInt) GetMessageType ¶
func (*L2fibFlushInt) GetMessageType() api.MessageType
func (*L2fibFlushInt) Reset ¶
func (m *L2fibFlushInt) Reset()
func (*L2fibFlushInt) Size ¶
func (m *L2fibFlushInt) Size() (size int)
func (*L2fibFlushInt) Unmarshal ¶
func (m *L2fibFlushInt) Unmarshal(b []byte) error
type L2fibFlushIntReply ¶
type L2fibFlushIntReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibFlushIntReply defines message 'l2fib_flush_int_reply'.
func (*L2fibFlushIntReply) GetCrcString ¶
func (*L2fibFlushIntReply) GetCrcString() string
func (*L2fibFlushIntReply) GetMessageName ¶
func (*L2fibFlushIntReply) GetMessageName() string
func (*L2fibFlushIntReply) GetMessageType ¶
func (*L2fibFlushIntReply) GetMessageType() api.MessageType
func (*L2fibFlushIntReply) Reset ¶
func (m *L2fibFlushIntReply) Reset()
func (*L2fibFlushIntReply) Size ¶
func (m *L2fibFlushIntReply) Size() (size int)
func (*L2fibFlushIntReply) Unmarshal ¶
func (m *L2fibFlushIntReply) 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 MacEntry ¶
type MacEntry struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` MacAddr []byte `binapi:"u8[6],name=mac_addr" json:"mac_addr,omitempty"` Action uint8 `binapi:"u8,name=action" json:"action,omitempty"` Flags uint8 `binapi:"u8,name=flags" json:"flags,omitempty"` }
MacEntry defines type 'mac_entry'.
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 RPCService ¶
type RPCService interface { BdIPMacAddDel(ctx context.Context, in *BdIPMacAddDel) (*BdIPMacAddDelReply, error) BdIPMacDump(ctx context.Context, in *BdIPMacDump) (RPCService_BdIPMacDumpClient, error) BdIPMacFlush(ctx context.Context, in *BdIPMacFlush) (*BdIPMacFlushReply, error) BridgeDomainAddDel(ctx context.Context, in *BridgeDomainAddDel) (*BridgeDomainAddDelReply, error) BridgeDomainDump(ctx context.Context, in *BridgeDomainDump) (RPCService_BridgeDomainDumpClient, error) BridgeDomainSetMacAge(ctx context.Context, in *BridgeDomainSetMacAge) (*BridgeDomainSetMacAgeReply, error) BridgeFlags(ctx context.Context, in *BridgeFlags) (*BridgeFlagsReply, error) BviCreate(ctx context.Context, in *BviCreate) (*BviCreateReply, error) BviDelete(ctx context.Context, in *BviDelete) (*BviDeleteReply, error) L2FibClearTable(ctx context.Context, in *L2FibClearTable) (*L2FibClearTableReply, error) L2FibTableDump(ctx context.Context, in *L2FibTableDump) (RPCService_L2FibTableDumpClient, error) L2Flags(ctx context.Context, in *L2Flags) (*L2FlagsReply, error) L2InterfaceEfpFilter(ctx context.Context, in *L2InterfaceEfpFilter) (*L2InterfaceEfpFilterReply, error) L2InterfacePbbTagRewrite(ctx context.Context, in *L2InterfacePbbTagRewrite) (*L2InterfacePbbTagRewriteReply, error) L2InterfaceVlanTagRewrite(ctx context.Context, in *L2InterfaceVlanTagRewrite) (*L2InterfaceVlanTagRewriteReply, error) L2PatchAddDel(ctx context.Context, in *L2PatchAddDel) (*L2PatchAddDelReply, error) L2XconnectDump(ctx context.Context, in *L2XconnectDump) (RPCService_L2XconnectDumpClient, error) L2fibAddDel(ctx context.Context, in *L2fibAddDel) (*L2fibAddDelReply, error) L2fibFlushAll(ctx context.Context, in *L2fibFlushAll) (*L2fibFlushAllReply, error) L2fibFlushBd(ctx context.Context, in *L2fibFlushBd) (*L2fibFlushBdReply, error) L2fibFlushInt(ctx context.Context, in *L2fibFlushInt) (*L2fibFlushIntReply, error) SwInterfaceSetL2Bridge(ctx context.Context, in *SwInterfaceSetL2Bridge) (*SwInterfaceSetL2BridgeReply, error) SwInterfaceSetL2Xconnect(ctx context.Context, in *SwInterfaceSetL2Xconnect) (*SwInterfaceSetL2XconnectReply, error) SwInterfaceSetVpath(ctx context.Context, in *SwInterfaceSetVpath) (*SwInterfaceSetVpathReply, error) WantL2ArpTermEvents(ctx context.Context, in *WantL2ArpTermEvents) (*WantL2ArpTermEventsReply, error) WantL2MacsEvents(ctx context.Context, in *WantL2MacsEvents) (*WantL2MacsEventsReply, error) }
RPCService defines RPC service l2.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_BdIPMacDumpClient ¶
type RPCService_BdIPMacDumpClient interface { Recv() (*BdIPMacDetails, error) api.Stream }
type RPCService_BridgeDomainDumpClient ¶
type RPCService_BridgeDomainDumpClient interface { Recv() (*BridgeDomainDetails, error) api.Stream }
type RPCService_L2FibTableDumpClient ¶
type RPCService_L2FibTableDumpClient interface { Recv() (*L2FibTableDetails, error) api.Stream }
type RPCService_L2XconnectDumpClient ¶
type RPCService_L2XconnectDumpClient interface { Recv() (*L2XconnectDetails, error) api.Stream }
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 SwInterfaceSetL2Bridge ¶
type SwInterfaceSetL2Bridge struct { RxSwIfIndex uint32 `binapi:"u32,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` PortType L2PortType `binapi:"l2_port_type,name=port_type" json:"port_type,omitempty"` Shg uint8 `binapi:"u8,name=shg" json:"shg,omitempty"` Enable uint8 `binapi:"u8,name=enable" json:"enable,omitempty"` }
SwInterfaceSetL2Bridge defines message 'sw_interface_set_l2_bridge'.
func (*SwInterfaceSetL2Bridge) GetCrcString ¶
func (*SwInterfaceSetL2Bridge) GetCrcString() string
func (*SwInterfaceSetL2Bridge) GetMessageName ¶
func (*SwInterfaceSetL2Bridge) GetMessageName() string
func (*SwInterfaceSetL2Bridge) GetMessageType ¶
func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType
func (*SwInterfaceSetL2Bridge) Marshal ¶
func (m *SwInterfaceSetL2Bridge) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2Bridge) Reset ¶
func (m *SwInterfaceSetL2Bridge) Reset()
func (*SwInterfaceSetL2Bridge) Size ¶
func (m *SwInterfaceSetL2Bridge) Size() (size int)
func (*SwInterfaceSetL2Bridge) Unmarshal ¶
func (m *SwInterfaceSetL2Bridge) Unmarshal(b []byte) error
type SwInterfaceSetL2BridgeReply ¶
type SwInterfaceSetL2BridgeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetL2BridgeReply defines message 'sw_interface_set_l2_bridge_reply'.
func (*SwInterfaceSetL2BridgeReply) GetCrcString ¶
func (*SwInterfaceSetL2BridgeReply) GetCrcString() string
func (*SwInterfaceSetL2BridgeReply) GetMessageName ¶
func (*SwInterfaceSetL2BridgeReply) GetMessageName() string
func (*SwInterfaceSetL2BridgeReply) GetMessageType ¶
func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType
func (*SwInterfaceSetL2BridgeReply) Marshal ¶
func (m *SwInterfaceSetL2BridgeReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2BridgeReply) Reset ¶
func (m *SwInterfaceSetL2BridgeReply) Reset()
func (*SwInterfaceSetL2BridgeReply) Size ¶
func (m *SwInterfaceSetL2BridgeReply) Size() (size int)
func (*SwInterfaceSetL2BridgeReply) Unmarshal ¶
func (m *SwInterfaceSetL2BridgeReply) Unmarshal(b []byte) error
type SwInterfaceSetL2Xconnect ¶
type SwInterfaceSetL2Xconnect struct { RxSwIfIndex uint32 `binapi:"u32,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex uint32 `binapi:"u32,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` Enable uint8 `binapi:"u8,name=enable" json:"enable,omitempty"` }
SwInterfaceSetL2Xconnect defines message 'sw_interface_set_l2_xconnect'.
func (*SwInterfaceSetL2Xconnect) GetCrcString ¶
func (*SwInterfaceSetL2Xconnect) GetCrcString() string
func (*SwInterfaceSetL2Xconnect) GetMessageName ¶
func (*SwInterfaceSetL2Xconnect) GetMessageName() string
func (*SwInterfaceSetL2Xconnect) GetMessageType ¶
func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType
func (*SwInterfaceSetL2Xconnect) Marshal ¶
func (m *SwInterfaceSetL2Xconnect) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2Xconnect) Reset ¶
func (m *SwInterfaceSetL2Xconnect) Reset()
func (*SwInterfaceSetL2Xconnect) Size ¶
func (m *SwInterfaceSetL2Xconnect) Size() (size int)
func (*SwInterfaceSetL2Xconnect) Unmarshal ¶
func (m *SwInterfaceSetL2Xconnect) Unmarshal(b []byte) error
type SwInterfaceSetL2XconnectReply ¶
type SwInterfaceSetL2XconnectReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetL2XconnectReply defines message 'sw_interface_set_l2_xconnect_reply'.
func (*SwInterfaceSetL2XconnectReply) GetCrcString ¶
func (*SwInterfaceSetL2XconnectReply) GetCrcString() string
func (*SwInterfaceSetL2XconnectReply) GetMessageName ¶
func (*SwInterfaceSetL2XconnectReply) GetMessageName() string
func (*SwInterfaceSetL2XconnectReply) GetMessageType ¶
func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType
func (*SwInterfaceSetL2XconnectReply) Marshal ¶
func (m *SwInterfaceSetL2XconnectReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2XconnectReply) Reset ¶
func (m *SwInterfaceSetL2XconnectReply) Reset()
func (*SwInterfaceSetL2XconnectReply) Size ¶
func (m *SwInterfaceSetL2XconnectReply) Size() (size int)
func (*SwInterfaceSetL2XconnectReply) Unmarshal ¶
func (m *SwInterfaceSetL2XconnectReply) Unmarshal(b []byte) error
type SwInterfaceSetVpath ¶
type SwInterfaceSetVpath struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` Enable uint8 `binapi:"u8,name=enable" json:"enable,omitempty"` }
SwInterfaceSetVpath defines message 'sw_interface_set_vpath'.
func (*SwInterfaceSetVpath) GetCrcString ¶
func (*SwInterfaceSetVpath) GetCrcString() string
func (*SwInterfaceSetVpath) GetMessageName ¶
func (*SwInterfaceSetVpath) GetMessageName() string
func (*SwInterfaceSetVpath) GetMessageType ¶
func (*SwInterfaceSetVpath) GetMessageType() api.MessageType
func (*SwInterfaceSetVpath) Marshal ¶
func (m *SwInterfaceSetVpath) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetVpath) Reset ¶
func (m *SwInterfaceSetVpath) Reset()
func (*SwInterfaceSetVpath) Size ¶
func (m *SwInterfaceSetVpath) Size() (size int)
func (*SwInterfaceSetVpath) Unmarshal ¶
func (m *SwInterfaceSetVpath) Unmarshal(b []byte) error
type SwInterfaceSetVpathReply ¶
type SwInterfaceSetVpathReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetVpathReply defines message 'sw_interface_set_vpath_reply'.
func (*SwInterfaceSetVpathReply) GetCrcString ¶
func (*SwInterfaceSetVpathReply) GetCrcString() string
func (*SwInterfaceSetVpathReply) GetMessageName ¶
func (*SwInterfaceSetVpathReply) GetMessageName() string
func (*SwInterfaceSetVpathReply) GetMessageType ¶
func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType
func (*SwInterfaceSetVpathReply) Marshal ¶
func (m *SwInterfaceSetVpathReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetVpathReply) Reset ¶
func (m *SwInterfaceSetVpathReply) Reset()
func (*SwInterfaceSetVpathReply) Size ¶
func (m *SwInterfaceSetVpathReply) Size() (size int)
func (*SwInterfaceSetVpathReply) Unmarshal ¶
func (m *SwInterfaceSetVpathReply) Unmarshal(b []byte) error
type WantL2ArpTermEvents ¶
type WantL2ArpTermEvents struct { Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
WantL2ArpTermEvents defines message 'want_l2_arp_term_events'.
func (*WantL2ArpTermEvents) GetCrcString ¶
func (*WantL2ArpTermEvents) GetCrcString() string
func (*WantL2ArpTermEvents) GetMessageName ¶
func (*WantL2ArpTermEvents) GetMessageName() string
func (*WantL2ArpTermEvents) GetMessageType ¶
func (*WantL2ArpTermEvents) GetMessageType() api.MessageType
func (*WantL2ArpTermEvents) Marshal ¶
func (m *WantL2ArpTermEvents) Marshal(b []byte) ([]byte, error)
func (*WantL2ArpTermEvents) Reset ¶
func (m *WantL2ArpTermEvents) Reset()
func (*WantL2ArpTermEvents) Size ¶
func (m *WantL2ArpTermEvents) Size() (size int)
func (*WantL2ArpTermEvents) Unmarshal ¶
func (m *WantL2ArpTermEvents) Unmarshal(b []byte) error
type WantL2ArpTermEventsReply ¶
type WantL2ArpTermEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantL2ArpTermEventsReply defines message 'want_l2_arp_term_events_reply'.
func (*WantL2ArpTermEventsReply) GetCrcString ¶
func (*WantL2ArpTermEventsReply) GetCrcString() string
func (*WantL2ArpTermEventsReply) GetMessageName ¶
func (*WantL2ArpTermEventsReply) GetMessageName() string
func (*WantL2ArpTermEventsReply) GetMessageType ¶
func (*WantL2ArpTermEventsReply) GetMessageType() api.MessageType
func (*WantL2ArpTermEventsReply) Marshal ¶
func (m *WantL2ArpTermEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantL2ArpTermEventsReply) Reset ¶
func (m *WantL2ArpTermEventsReply) Reset()
func (*WantL2ArpTermEventsReply) Size ¶
func (m *WantL2ArpTermEventsReply) Size() (size int)
func (*WantL2ArpTermEventsReply) Unmarshal ¶
func (m *WantL2ArpTermEventsReply) Unmarshal(b []byte) error
type WantL2MacsEvents ¶
type WantL2MacsEvents struct { LearnLimit uint32 `binapi:"u32,name=learn_limit" json:"learn_limit,omitempty"` ScanDelay uint8 `binapi:"u8,name=scan_delay" json:"scan_delay,omitempty"` MaxMacsInEvent uint8 `binapi:"u8,name=max_macs_in_event" json:"max_macs_in_event,omitempty"` EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
WantL2MacsEvents defines message 'want_l2_macs_events'.
func (*WantL2MacsEvents) GetCrcString ¶
func (*WantL2MacsEvents) GetCrcString() string
func (*WantL2MacsEvents) GetMessageName ¶
func (*WantL2MacsEvents) GetMessageName() string
func (*WantL2MacsEvents) GetMessageType ¶
func (*WantL2MacsEvents) GetMessageType() api.MessageType
func (*WantL2MacsEvents) Reset ¶
func (m *WantL2MacsEvents) Reset()
func (*WantL2MacsEvents) Size ¶
func (m *WantL2MacsEvents) Size() (size int)
func (*WantL2MacsEvents) Unmarshal ¶
func (m *WantL2MacsEvents) Unmarshal(b []byte) error
type WantL2MacsEventsReply ¶
type WantL2MacsEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantL2MacsEventsReply defines message 'want_l2_macs_events_reply'.
func (*WantL2MacsEventsReply) GetCrcString ¶
func (*WantL2MacsEventsReply) GetCrcString() string
func (*WantL2MacsEventsReply) GetMessageName ¶
func (*WantL2MacsEventsReply) GetMessageName() string
func (*WantL2MacsEventsReply) GetMessageType ¶
func (*WantL2MacsEventsReply) GetMessageType() api.MessageType
func (*WantL2MacsEventsReply) Marshal ¶
func (m *WantL2MacsEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantL2MacsEventsReply) Reset ¶
func (m *WantL2MacsEventsReply) Reset()
func (*WantL2MacsEventsReply) Size ¶
func (m *WantL2MacsEventsReply) Size() (size int)
func (*WantL2MacsEventsReply) Unmarshal ¶
func (m *WantL2MacsEventsReply) Unmarshal(b []byte) error