Documentation ¶
Overview ¶
Automatically generated by Packet Go code generator.
Index ¶
- func IsAction(p packet.Packet) bool
- func IsActionDlDstAddr(p Action) bool
- func IsActionDlSrcAddr(p Action) bool
- func IsActionEnqueue(p Action) bool
- func IsActionNwDstAddr(p Action) bool
- func IsActionNwSrcAddr(p Action) bool
- func IsActionNwTos(p Action) bool
- func IsActionOutput(p Action) bool
- func IsActionTpDstPort(p Action) bool
- func IsActionTpSrcPort(p Action) bool
- func IsActionVendorHeader(p Action) bool
- func IsActionVlanPcp(p Action) bool
- func IsActionVlanVid(p Action) bool
- func IsAggregateStatsReply(p StatsReply) bool
- func IsAggregateStatsRequest(p StatsRequest) bool
- func IsDescStats(p StatsReply) bool
- func IsEchoReply(p Header10) bool
- func IsEchoRequest(p Header10) bool
- func IsErrorMsg(p Header10) bool
- func IsFeaturesReply(p Header10) bool
- func IsFeaturesRequest(p Header10) bool
- func IsFlowMod(p Header10) bool
- func IsFlowRemoved(p Header10) bool
- func IsFlowStats(p packet.Packet) bool
- func IsFlowStatsReply(p StatsReply) bool
- func IsFlowStatsRequest(p StatsRequest) bool
- func IsGetConfigRequest(p Header10) bool
- func IsHeader10(p of.Header) bool
- func IsHello(p of.Hello) bool
- func IsMatch(p packet.Packet) bool
- func IsPacketIn(p Header10) bool
- func IsPacketOut(p Header10) bool
- func IsPacketQueue(p packet.Packet) bool
- func IsPhysicalPort(p packet.Packet) bool
- func IsPortMod(p Header10) bool
- func IsPortStats(p StatsReply) bool
- func IsPortStatsRequest(p StatsRequest) bool
- func IsPortStatus(p Header10) bool
- func IsQueueGetConfigReply(p Header10) bool
- func IsQueueGetConfigRequest(p Header10) bool
- func IsQueuePropHeader(p packet.Packet) bool
- func IsQueuePropMinRate(p QueuePropHeader) bool
- func IsQueueStats(p StatsReply) bool
- func IsQueueStatsRequest(p StatsRequest) bool
- func IsStatsReply(p Header10) bool
- func IsStatsRequest(p Header10) bool
- func IsSwitchGetConfigReply(p Header10) bool
- func IsSwitchSetConfig(p Header10) bool
- func IsTableStats(p StatsReply) bool
- func IsVendorHeader(p Header10) bool
- type Action
- func (this Action) Clone() (Action, error)
- func (this *Action) Init()
- func (this Action) Len() uint16
- func (this Action) LenOffset() int
- func (this *Action) SetLen(l uint16)
- func (this *Action) SetType(t uint16)
- func (this Action) Size() int
- func (this Action) Type() uint16
- func (this Action) TypeOffset() int
- type ActionConn
- type ActionDlDstAddr
- func (this ActionDlDstAddr) Clone() (ActionDlDstAddr, error)
- func (this ActionDlDstAddr) DlAddr() [6]uint8
- func (this ActionDlDstAddr) DlAddrOffset() int
- func (this *ActionDlDstAddr) Init()
- func (this ActionDlDstAddr) Pad() [6]uint8
- func (this ActionDlDstAddr) PadOffset() int
- func (this *ActionDlDstAddr) SetDlAddr(d [6]uint8)
- func (this *ActionDlDstAddr) SetPad(p [6]uint8)
- func (this ActionDlDstAddr) Size() int
- type ActionDlDstAddrConn
- func (c *ActionDlDstAddrConn) Flush() error
- func (c *ActionDlDstAddrConn) ReadActionDlDstAddr() (ActionDlDstAddr, error)
- func (c *ActionDlDstAddrConn) ReadActionDlDstAddrs(pkts []ActionDlDstAddr) (int, error)
- func (c *ActionDlDstAddrConn) WriteActionDlDstAddr(pkt ActionDlDstAddr) error
- func (c *ActionDlDstAddrConn) WriteActionDlDstAddrs(pkts []ActionDlDstAddr) error
- type ActionDlSrcAddr
- func (this ActionDlSrcAddr) Clone() (ActionDlSrcAddr, error)
- func (this ActionDlSrcAddr) DlAddr() [6]uint8
- func (this ActionDlSrcAddr) DlAddrOffset() int
- func (this *ActionDlSrcAddr) Init()
- func (this ActionDlSrcAddr) Pad() [6]uint8
- func (this ActionDlSrcAddr) PadOffset() int
- func (this *ActionDlSrcAddr) SetDlAddr(d [6]uint8)
- func (this *ActionDlSrcAddr) SetPad(p [6]uint8)
- func (this ActionDlSrcAddr) Size() int
- type ActionDlSrcAddrConn
- func (c *ActionDlSrcAddrConn) Flush() error
- func (c *ActionDlSrcAddrConn) ReadActionDlSrcAddr() (ActionDlSrcAddr, error)
- func (c *ActionDlSrcAddrConn) ReadActionDlSrcAddrs(pkts []ActionDlSrcAddr) (int, error)
- func (c *ActionDlSrcAddrConn) WriteActionDlSrcAddr(pkt ActionDlSrcAddr) error
- func (c *ActionDlSrcAddrConn) WriteActionDlSrcAddrs(pkts []ActionDlSrcAddr) error
- type ActionEnqueue
- func (this ActionEnqueue) Clone() (ActionEnqueue, error)
- func (this *ActionEnqueue) Init()
- func (this ActionEnqueue) Pad() [6]uint8
- func (this ActionEnqueue) PadOffset() int
- func (this ActionEnqueue) Port() uint16
- func (this ActionEnqueue) PortOffset() int
- func (this ActionEnqueue) QueueId() uint32
- func (this ActionEnqueue) QueueIdOffset() int
- func (this *ActionEnqueue) SetPad(p [6]uint8)
- func (this *ActionEnqueue) SetPort(p uint16)
- func (this *ActionEnqueue) SetQueueId(q uint32)
- func (this ActionEnqueue) Size() int
- type ActionEnqueueConn
- func (c *ActionEnqueueConn) Flush() error
- func (c *ActionEnqueueConn) ReadActionEnqueue() (ActionEnqueue, error)
- func (c *ActionEnqueueConn) ReadActionEnqueues(pkts []ActionEnqueue) (int, error)
- func (c *ActionEnqueueConn) WriteActionEnqueue(pkt ActionEnqueue) error
- func (c *ActionEnqueueConn) WriteActionEnqueues(pkts []ActionEnqueue) error
- type ActionNwDstAddr
- type ActionNwDstAddrConn
- func (c *ActionNwDstAddrConn) Flush() error
- func (c *ActionNwDstAddrConn) ReadActionNwDstAddr() (ActionNwDstAddr, error)
- func (c *ActionNwDstAddrConn) ReadActionNwDstAddrs(pkts []ActionNwDstAddr) (int, error)
- func (c *ActionNwDstAddrConn) WriteActionNwDstAddr(pkt ActionNwDstAddr) error
- func (c *ActionNwDstAddrConn) WriteActionNwDstAddrs(pkts []ActionNwDstAddr) error
- type ActionNwSrcAddr
- type ActionNwSrcAddrConn
- func (c *ActionNwSrcAddrConn) Flush() error
- func (c *ActionNwSrcAddrConn) ReadActionNwSrcAddr() (ActionNwSrcAddr, error)
- func (c *ActionNwSrcAddrConn) ReadActionNwSrcAddrs(pkts []ActionNwSrcAddr) (int, error)
- func (c *ActionNwSrcAddrConn) WriteActionNwSrcAddr(pkt ActionNwSrcAddr) error
- func (c *ActionNwSrcAddrConn) WriteActionNwSrcAddrs(pkts []ActionNwSrcAddr) error
- type ActionNwTos
- func (this ActionNwTos) Clone() (ActionNwTos, error)
- func (this *ActionNwTos) Init()
- func (this ActionNwTos) NwTos() uint8
- func (this ActionNwTos) NwTosOffset() int
- func (this ActionNwTos) Pad() [3]uint8
- func (this ActionNwTos) PadOffset() int
- func (this *ActionNwTos) SetNwTos(n uint8)
- func (this *ActionNwTos) SetPad(p [3]uint8)
- func (this ActionNwTos) Size() int
- type ActionNwTosConn
- func (c *ActionNwTosConn) Flush() error
- func (c *ActionNwTosConn) ReadActionNwTos() (ActionNwTos, error)
- func (c *ActionNwTosConn) ReadActionNwToss(pkts []ActionNwTos) (int, error)
- func (c *ActionNwTosConn) WriteActionNwTos(pkt ActionNwTos) error
- func (c *ActionNwTosConn) WriteActionNwToss(pkts []ActionNwTos) error
- type ActionOutput
- func (this ActionOutput) Clone() (ActionOutput, error)
- func (this *ActionOutput) Init()
- func (this ActionOutput) MaxLen() uint16
- func (this ActionOutput) MaxLenOffset() int
- func (this ActionOutput) Port() uint16
- func (this ActionOutput) PortOffset() int
- func (this *ActionOutput) SetMaxLen(m uint16)
- func (this *ActionOutput) SetPort(p uint16)
- func (this ActionOutput) Size() int
- type ActionOutputConn
- func (c *ActionOutputConn) Flush() error
- func (c *ActionOutputConn) ReadActionOutput() (ActionOutput, error)
- func (c *ActionOutputConn) ReadActionOutputs(pkts []ActionOutput) (int, error)
- func (c *ActionOutputConn) WriteActionOutput(pkt ActionOutput) error
- func (c *ActionOutputConn) WriteActionOutputs(pkts []ActionOutput) error
- type ActionTpDstPort
- func (this ActionTpDstPort) Clone() (ActionTpDstPort, error)
- func (this *ActionTpDstPort) Init()
- func (this ActionTpDstPort) Pad() [2]uint8
- func (this ActionTpDstPort) PadOffset() int
- func (this *ActionTpDstPort) SetPad(p [2]uint8)
- func (this *ActionTpDstPort) SetTpPort(t uint16)
- func (this ActionTpDstPort) Size() int
- func (this ActionTpDstPort) TpPort() uint16
- func (this ActionTpDstPort) TpPortOffset() int
- type ActionTpDstPortConn
- func (c *ActionTpDstPortConn) Flush() error
- func (c *ActionTpDstPortConn) ReadActionTpDstPort() (ActionTpDstPort, error)
- func (c *ActionTpDstPortConn) ReadActionTpDstPorts(pkts []ActionTpDstPort) (int, error)
- func (c *ActionTpDstPortConn) WriteActionTpDstPort(pkt ActionTpDstPort) error
- func (c *ActionTpDstPortConn) WriteActionTpDstPorts(pkts []ActionTpDstPort) error
- type ActionTpSrcPort
- func (this ActionTpSrcPort) Clone() (ActionTpSrcPort, error)
- func (this *ActionTpSrcPort) Init()
- func (this ActionTpSrcPort) Pad() [2]uint8
- func (this ActionTpSrcPort) PadOffset() int
- func (this *ActionTpSrcPort) SetPad(p [2]uint8)
- func (this *ActionTpSrcPort) SetTpPort(t uint16)
- func (this ActionTpSrcPort) Size() int
- func (this ActionTpSrcPort) TpPort() uint16
- func (this ActionTpSrcPort) TpPortOffset() int
- type ActionTpSrcPortConn
- func (c *ActionTpSrcPortConn) Flush() error
- func (c *ActionTpSrcPortConn) ReadActionTpSrcPort() (ActionTpSrcPort, error)
- func (c *ActionTpSrcPortConn) ReadActionTpSrcPorts(pkts []ActionTpSrcPort) (int, error)
- func (c *ActionTpSrcPortConn) WriteActionTpSrcPort(pkt ActionTpSrcPort) error
- func (c *ActionTpSrcPortConn) WriteActionTpSrcPorts(pkts []ActionTpSrcPort) error
- type ActionType
- type ActionVendorHeader
- type ActionVendorHeaderConn
- func (c *ActionVendorHeaderConn) Flush() error
- func (c *ActionVendorHeaderConn) ReadActionVendorHeader() (ActionVendorHeader, error)
- func (c *ActionVendorHeaderConn) ReadActionVendorHeaders(pkts []ActionVendorHeader) (int, error)
- func (c *ActionVendorHeaderConn) WriteActionVendorHeader(pkt ActionVendorHeader) error
- func (c *ActionVendorHeaderConn) WriteActionVendorHeaders(pkts []ActionVendorHeader) error
- type ActionVlanPcp
- func (this ActionVlanPcp) Clone() (ActionVlanPcp, error)
- func (this *ActionVlanPcp) Init()
- func (this ActionVlanPcp) Pad() [3]uint8
- func (this ActionVlanPcp) PadOffset() int
- func (this *ActionVlanPcp) SetPad(p [3]uint8)
- func (this *ActionVlanPcp) SetVlanPcp(v uint8)
- func (this ActionVlanPcp) Size() int
- func (this ActionVlanPcp) VlanPcp() uint8
- func (this ActionVlanPcp) VlanPcpOffset() int
- type ActionVlanPcpConn
- func (c *ActionVlanPcpConn) Flush() error
- func (c *ActionVlanPcpConn) ReadActionVlanPcp() (ActionVlanPcp, error)
- func (c *ActionVlanPcpConn) ReadActionVlanPcps(pkts []ActionVlanPcp) (int, error)
- func (c *ActionVlanPcpConn) WriteActionVlanPcp(pkt ActionVlanPcp) error
- func (c *ActionVlanPcpConn) WriteActionVlanPcps(pkts []ActionVlanPcp) error
- type ActionVlanVid
- func (this ActionVlanVid) Clone() (ActionVlanVid, error)
- func (this *ActionVlanVid) Init()
- func (this ActionVlanVid) Pad() [2]uint8
- func (this ActionVlanVid) PadOffset() int
- func (this *ActionVlanVid) SetPad(p [2]uint8)
- func (this *ActionVlanVid) SetVlanVid(v uint16)
- func (this ActionVlanVid) Size() int
- func (this ActionVlanVid) VlanVid() uint16
- func (this ActionVlanVid) VlanVidOffset() int
- type ActionVlanVidConn
- func (c *ActionVlanVidConn) Flush() error
- func (c *ActionVlanVidConn) ReadActionVlanVid() (ActionVlanVid, error)
- func (c *ActionVlanVidConn) ReadActionVlanVids(pkts []ActionVlanVid) (int, error)
- func (c *ActionVlanVidConn) WriteActionVlanVid(pkt ActionVlanVid) error
- func (c *ActionVlanVidConn) WriteActionVlanVids(pkts []ActionVlanVid) error
- type AggregateStatsReply
- func (this AggregateStatsReply) ByteCount() uint64
- func (this AggregateStatsReply) ByteCountOffset() int
- func (this AggregateStatsReply) Clone() (AggregateStatsReply, error)
- func (this AggregateStatsReply) FlowCount() uint32
- func (this AggregateStatsReply) FlowCountOffset() int
- func (this *AggregateStatsReply) Init()
- func (this AggregateStatsReply) PacketCount() uint64
- func (this AggregateStatsReply) PacketCountOffset() int
- func (this AggregateStatsReply) Pad() [4]uint8
- func (this AggregateStatsReply) PadOffset() int
- func (this *AggregateStatsReply) SetByteCount(b uint64)
- func (this *AggregateStatsReply) SetFlowCount(f uint32)
- func (this *AggregateStatsReply) SetPacketCount(p uint64)
- func (this *AggregateStatsReply) SetPad(p [4]uint8)
- func (this AggregateStatsReply) Size() int
- type AggregateStatsReplyConn
- func (c *AggregateStatsReplyConn) Flush() error
- func (c *AggregateStatsReplyConn) ReadAggregateStatsReply() (AggregateStatsReply, error)
- func (c *AggregateStatsReplyConn) ReadAggregateStatsReplys(pkts []AggregateStatsReply) (int, error)
- func (c *AggregateStatsReplyConn) WriteAggregateStatsReply(pkt AggregateStatsReply) error
- func (c *AggregateStatsReplyConn) WriteAggregateStatsReplys(pkts []AggregateStatsReply) error
- type AggregateStatsRequest
- func (this AggregateStatsRequest) Clone() (AggregateStatsRequest, error)
- func (this *AggregateStatsRequest) Init()
- func (this AggregateStatsRequest) Match() Match
- func (this AggregateStatsRequest) MatchOffset() int
- func (this AggregateStatsRequest) OutPort() uint16
- func (this AggregateStatsRequest) OutPortOffset() int
- func (this AggregateStatsRequest) Pad() uint8
- func (this AggregateStatsRequest) PadOffset() int
- func (this *AggregateStatsRequest) SetMatch(m Match)
- func (this *AggregateStatsRequest) SetOutPort(o uint16)
- func (this *AggregateStatsRequest) SetPad(p uint8)
- func (this *AggregateStatsRequest) SetTableId(t uint8)
- func (this AggregateStatsRequest) Size() int
- func (this AggregateStatsRequest) TableId() uint8
- func (this AggregateStatsRequest) TableIdOffset() int
- type AggregateStatsRequestConn
- func (c *AggregateStatsRequestConn) Flush() error
- func (c *AggregateStatsRequestConn) ReadAggregateStatsRequest() (AggregateStatsRequest, error)
- func (c *AggregateStatsRequestConn) ReadAggregateStatsRequests(pkts []AggregateStatsRequest) (int, error)
- func (c *AggregateStatsRequestConn) WriteAggregateStatsRequest(pkt AggregateStatsRequest) error
- func (c *AggregateStatsRequestConn) WriteAggregateStatsRequests(pkts []AggregateStatsRequest) error
- type BadActionCode
- type BadRequestCode
- type Capabilities
- type ConfigFlags
- type DescStats
- func (this DescStats) Clone() (DescStats, error)
- func (this DescStats) DpDesc() [256]byte
- func (this DescStats) DpDescOffset() int
- func (this DescStats) HwDesc() [256]byte
- func (this DescStats) HwDescOffset() int
- func (this *DescStats) Init()
- func (this DescStats) MfrDesc() [256]byte
- func (this DescStats) MfrDescOffset() int
- func (this DescStats) SerialNum() [32]byte
- func (this DescStats) SerialNumOffset() int
- func (this *DescStats) SetDpDesc(d [256]byte)
- func (this *DescStats) SetHwDesc(h [256]byte)
- func (this *DescStats) SetMfrDesc(m [256]byte)
- func (this *DescStats) SetSerialNum(s [32]byte)
- func (this *DescStats) SetSwDesc(s [256]byte)
- func (this DescStats) Size() int
- func (this DescStats) SwDesc() [256]byte
- func (this DescStats) SwDescOffset() int
- type DescStatsConn
- type DescStatsConstants
- type EchoReply
- type EchoReplyConn
- type EchoRequest
- type EchoRequestConn
- func (c *EchoRequestConn) Flush() error
- func (c *EchoRequestConn) ReadEchoRequest() (EchoRequest, error)
- func (c *EchoRequestConn) ReadEchoRequests(pkts []EchoRequest) (int, error)
- func (c *EchoRequestConn) WriteEchoRequest(pkt EchoRequest) error
- func (c *EchoRequestConn) WriteEchoRequests(pkts []EchoRequest) error
- type ErrorMsg
- func (this *ErrorMsg) AddData(d uint8)
- func (this ErrorMsg) Clone() (ErrorMsg, error)
- func (this ErrorMsg) Code() uint16
- func (this ErrorMsg) CodeOffset() int
- func (this ErrorMsg) Data() []uint8
- func (this ErrorMsg) DataOffset() int
- func (this ErrorMsg) DataSize() int
- func (this ErrorMsg) ErrType() uint16
- func (this ErrorMsg) ErrTypeOffset() int
- func (this *ErrorMsg) Init()
- func (this *ErrorMsg) SetCode(c uint16)
- func (this *ErrorMsg) SetErrType(e uint16)
- func (this ErrorMsg) Size() int
- type ErrorMsgConn
- type ErrorType
- type FeaturesReply
- func (this FeaturesReply) Actions() uint32
- func (this FeaturesReply) ActionsOffset() int
- func (this *FeaturesReply) AddPorts(p PhysicalPort)
- func (this FeaturesReply) Capabilities() uint32
- func (this FeaturesReply) CapabilitiesOffset() int
- func (this FeaturesReply) Clone() (FeaturesReply, error)
- func (this FeaturesReply) DatapathId() uint64
- func (this FeaturesReply) DatapathIdOffset() int
- func (this *FeaturesReply) Init()
- func (this FeaturesReply) NBuffers() uint32
- func (this FeaturesReply) NBuffersOffset() int
- func (this FeaturesReply) NTables() uint8
- func (this FeaturesReply) NTablesOffset() int
- func (this FeaturesReply) Pad() [3]uint8
- func (this FeaturesReply) PadOffset() int
- func (this FeaturesReply) Ports() []PhysicalPort
- func (this FeaturesReply) PortsOffset() int
- func (this FeaturesReply) PortsSize() int
- func (this *FeaturesReply) SetActions(a uint32)
- func (this *FeaturesReply) SetCapabilities(c uint32)
- func (this *FeaturesReply) SetDatapathId(d uint64)
- func (this *FeaturesReply) SetNBuffers(n uint32)
- func (this *FeaturesReply) SetNTables(n uint8)
- func (this *FeaturesReply) SetPad(p [3]uint8)
- func (this FeaturesReply) Size() int
- type FeaturesReplyConn
- func (c *FeaturesReplyConn) Flush() error
- func (c *FeaturesReplyConn) ReadFeaturesReply() (FeaturesReply, error)
- func (c *FeaturesReplyConn) ReadFeaturesReplys(pkts []FeaturesReply) (int, error)
- func (c *FeaturesReplyConn) WriteFeaturesReply(pkt FeaturesReply) error
- func (c *FeaturesReplyConn) WriteFeaturesReplys(pkts []FeaturesReply) error
- type FeaturesRequest
- type FeaturesRequestConn
- func (c *FeaturesRequestConn) Flush() error
- func (c *FeaturesRequestConn) ReadFeaturesRequest() (FeaturesRequest, error)
- func (c *FeaturesRequestConn) ReadFeaturesRequests(pkts []FeaturesRequest) (int, error)
- func (c *FeaturesRequestConn) WriteFeaturesRequest(pkt FeaturesRequest) error
- func (c *FeaturesRequestConn) WriteFeaturesRequests(pkts []FeaturesRequest) error
- type FlowMod
- func (this FlowMod) Actions() []Action
- func (this FlowMod) ActionsOffset() int
- func (this FlowMod) ActionsSize() int
- func (this *FlowMod) AddActions(a Action)
- func (this FlowMod) BufferId() uint32
- func (this FlowMod) BufferIdOffset() int
- func (this FlowMod) Clone() (FlowMod, error)
- func (this FlowMod) Command() uint16
- func (this FlowMod) CommandOffset() int
- func (this FlowMod) Cookie() uint64
- func (this FlowMod) CookieOffset() int
- func (this FlowMod) Flags() uint16
- func (this FlowMod) FlagsOffset() int
- func (this FlowMod) HardTimeout() uint16
- func (this FlowMod) HardTimeoutOffset() int
- func (this FlowMod) IdleTimeout() uint16
- func (this FlowMod) IdleTimeoutOffset() int
- func (this *FlowMod) Init()
- func (this FlowMod) Match() Match
- func (this FlowMod) MatchOffset() int
- func (this FlowMod) OutPort() uint16
- func (this FlowMod) OutPortOffset() int
- func (this FlowMod) Priority() uint16
- func (this FlowMod) PriorityOffset() int
- func (this *FlowMod) SetBufferId(b uint32)
- func (this *FlowMod) SetCommand(c uint16)
- func (this *FlowMod) SetCookie(c uint64)
- func (this *FlowMod) SetFlags(f uint16)
- func (this *FlowMod) SetHardTimeout(h uint16)
- func (this *FlowMod) SetIdleTimeout(i uint16)
- func (this *FlowMod) SetMatch(m Match)
- func (this *FlowMod) SetOutPort(o uint16)
- func (this *FlowMod) SetPriority(p uint16)
- func (this FlowMod) Size() int
- type FlowModCommand
- type FlowModConn
- type FlowModFlags
- type FlowRemoved
- func (this FlowRemoved) ByteCount() uint64
- func (this FlowRemoved) ByteCountOffset() int
- func (this FlowRemoved) Clone() (FlowRemoved, error)
- func (this FlowRemoved) Cookie() uint64
- func (this FlowRemoved) CookieOffset() int
- func (this FlowRemoved) DurationNsec() uint32
- func (this FlowRemoved) DurationNsecOffset() int
- func (this FlowRemoved) DurationSec() uint32
- func (this FlowRemoved) DurationSecOffset() int
- func (this FlowRemoved) IdleTimeout() uint16
- func (this FlowRemoved) IdleTimeoutOffset() int
- func (this *FlowRemoved) Init()
- func (this FlowRemoved) Match() Match
- func (this FlowRemoved) MatchOffset() int
- func (this FlowRemoved) PacketCount() uint64
- func (this FlowRemoved) PacketCountOffset() int
- func (this FlowRemoved) Pad() [1]uint8
- func (this FlowRemoved) Pad2() [2]uint8
- func (this FlowRemoved) Pad2Offset() int
- func (this FlowRemoved) PadOffset() int
- func (this FlowRemoved) Priority() uint16
- func (this FlowRemoved) PriorityOffset() int
- func (this FlowRemoved) Reason() uint8
- func (this FlowRemoved) ReasonOffset() int
- func (this *FlowRemoved) SetByteCount(b uint64)
- func (this *FlowRemoved) SetCookie(c uint64)
- func (this *FlowRemoved) SetDurationNsec(d uint32)
- func (this *FlowRemoved) SetDurationSec(d uint32)
- func (this *FlowRemoved) SetIdleTimeout(i uint16)
- func (this *FlowRemoved) SetMatch(m Match)
- func (this *FlowRemoved) SetPacketCount(p uint64)
- func (this *FlowRemoved) SetPad(p [1]uint8)
- func (this *FlowRemoved) SetPad2(p [2]uint8)
- func (this *FlowRemoved) SetPriority(p uint16)
- func (this *FlowRemoved) SetReason(r uint8)
- func (this FlowRemoved) Size() int
- type FlowRemovedConn
- func (c *FlowRemovedConn) Flush() error
- func (c *FlowRemovedConn) ReadFlowRemoved() (FlowRemoved, error)
- func (c *FlowRemovedConn) ReadFlowRemoveds(pkts []FlowRemoved) (int, error)
- func (c *FlowRemovedConn) WriteFlowRemoved(pkt FlowRemoved) error
- func (c *FlowRemovedConn) WriteFlowRemoveds(pkts []FlowRemoved) error
- type FlowRemovedReason
- type FlowStats
- func (this FlowStats) Actions() []Action
- func (this FlowStats) ActionsOffset() int
- func (this FlowStats) ActionsSize() int
- func (this *FlowStats) AddActions(a Action)
- func (this FlowStats) ByteCount() uint64
- func (this FlowStats) ByteCountOffset() int
- func (this FlowStats) Clone() (FlowStats, error)
- func (this FlowStats) Cookie() uint64
- func (this FlowStats) CookieOffset() int
- func (this FlowStats) DurationNsec() uint32
- func (this FlowStats) DurationNsecOffset() int
- func (this FlowStats) DurationSec() uint32
- func (this FlowStats) DurationSecOffset() int
- func (this FlowStats) HardTimeout() uint16
- func (this FlowStats) HardTimeoutOffset() int
- func (this FlowStats) IdleTimeout() uint16
- func (this FlowStats) IdleTimeoutOffset() int
- func (this *FlowStats) Init()
- func (this FlowStats) Length() uint16
- func (this FlowStats) LengthOffset() int
- func (this FlowStats) Match() Match
- func (this FlowStats) MatchOffset() int
- func (this FlowStats) PacketCount() uint64
- func (this FlowStats) PacketCountOffset() int
- func (this FlowStats) Pad() uint8
- func (this FlowStats) Pad2() [6]uint8
- func (this FlowStats) Pad2Offset() int
- func (this FlowStats) PadOffset() int
- func (this FlowStats) Priority() uint16
- func (this FlowStats) PriorityOffset() int
- func (this *FlowStats) SetByteCount(b uint64)
- func (this *FlowStats) SetCookie(c uint64)
- func (this *FlowStats) SetDurationNsec(d uint32)
- func (this *FlowStats) SetDurationSec(d uint32)
- func (this *FlowStats) SetHardTimeout(h uint16)
- func (this *FlowStats) SetIdleTimeout(i uint16)
- func (this *FlowStats) SetLength(l uint16)
- func (this *FlowStats) SetMatch(m Match)
- func (this *FlowStats) SetPacketCount(p uint64)
- func (this *FlowStats) SetPad(p uint8)
- func (this *FlowStats) SetPad2(p [6]uint8)
- func (this *FlowStats) SetPriority(p uint16)
- func (this *FlowStats) SetTableId(t uint8)
- func (this FlowStats) Size() int
- func (this FlowStats) TableId() uint8
- func (this FlowStats) TableIdOffset() int
- type FlowStatsConn
- type FlowStatsReply
- func (this *FlowStatsReply) AddFlowStats(f FlowStats)
- func (this FlowStatsReply) Clone() (FlowStatsReply, error)
- func (this FlowStatsReply) FlowStats() []FlowStats
- func (this FlowStatsReply) FlowStatsOffset() int
- func (this FlowStatsReply) FlowStatsSize() int
- func (this *FlowStatsReply) Init()
- func (this FlowStatsReply) Size() int
- type FlowStatsReplyConn
- func (c *FlowStatsReplyConn) Flush() error
- func (c *FlowStatsReplyConn) ReadFlowStatsReply() (FlowStatsReply, error)
- func (c *FlowStatsReplyConn) ReadFlowStatsReplys(pkts []FlowStatsReply) (int, error)
- func (c *FlowStatsReplyConn) WriteFlowStatsReply(pkt FlowStatsReply) error
- func (c *FlowStatsReplyConn) WriteFlowStatsReplys(pkts []FlowStatsReply) error
- type FlowStatsRequest
- func (this FlowStatsRequest) Clone() (FlowStatsRequest, error)
- func (this *FlowStatsRequest) Init()
- func (this FlowStatsRequest) Match() Match
- func (this FlowStatsRequest) MatchOffset() int
- func (this FlowStatsRequest) OutPort() uint16
- func (this FlowStatsRequest) OutPortOffset() int
- func (this FlowStatsRequest) Pad() uint8
- func (this FlowStatsRequest) PadOffset() int
- func (this *FlowStatsRequest) SetMatch(m Match)
- func (this *FlowStatsRequest) SetOutPort(o uint16)
- func (this *FlowStatsRequest) SetPad(p uint8)
- func (this *FlowStatsRequest) SetTableId(t uint8)
- func (this FlowStatsRequest) Size() int
- func (this FlowStatsRequest) TableId() uint8
- func (this FlowStatsRequest) TableIdOffset() int
- type FlowStatsRequestConn
- func (c *FlowStatsRequestConn) Flush() error
- func (c *FlowStatsRequestConn) ReadFlowStatsRequest() (FlowStatsRequest, error)
- func (c *FlowStatsRequestConn) ReadFlowStatsRequests(pkts []FlowStatsRequest) (int, error)
- func (c *FlowStatsRequestConn) WriteFlowStatsRequest(pkt FlowStatsRequest) error
- func (c *FlowStatsRequestConn) WriteFlowStatsRequests(pkts []FlowStatsRequest) error
- type FlowWildcards
- type Flow_modFailedCode
- type GetConfigRequest
- type GetConfigRequestConn
- func (c *GetConfigRequestConn) Flush() error
- func (c *GetConfigRequestConn) ReadGetConfigRequest() (GetConfigRequest, error)
- func (c *GetConfigRequestConn) ReadGetConfigRequests(pkts []GetConfigRequest) (int, error)
- func (c *GetConfigRequestConn) WriteGetConfigRequest(pkt GetConfigRequest) error
- func (c *GetConfigRequestConn) WriteGetConfigRequests(pkts []GetConfigRequest) error
- type Header10
- type Header10Conn
- type Hello
- type HelloConn
- type HelloFailedCode
- type Match
- func (this Match) Clone() (Match, error)
- func (this Match) DlDst() [6]uint8
- func (this Match) DlDstOffset() int
- func (this Match) DlSrc() [6]uint8
- func (this Match) DlSrcOffset() int
- func (this Match) DlType() uint16
- func (this Match) DlTypeOffset() int
- func (this Match) DlVlan() uint16
- func (this Match) DlVlanOffset() int
- func (this Match) DlVlanPcp() uint8
- func (this Match) DlVlanPcpOffset() int
- func (this Match) InPort() uint16
- func (this Match) InPortOffset() int
- func (this *Match) Init()
- func (this Match) NwDst() uint32
- func (this Match) NwDstOffset() int
- func (this Match) NwProto() uint8
- func (this Match) NwProtoOffset() int
- func (this Match) NwSrc() uint32
- func (this Match) NwSrcOffset() int
- func (this Match) NwTos() uint8
- func (this Match) NwTosOffset() int
- func (this Match) Pad1() [1]uint8
- func (this Match) Pad1Offset() int
- func (this Match) Pad2() [2]uint8
- func (this Match) Pad2Offset() int
- func (this *Match) SetDlDst(d [6]uint8)
- func (this *Match) SetDlSrc(d [6]uint8)
- func (this *Match) SetDlType(d uint16)
- func (this *Match) SetDlVlan(d uint16)
- func (this *Match) SetDlVlanPcp(d uint8)
- func (this *Match) SetInPort(i uint16)
- func (this *Match) SetNwDst(n uint32)
- func (this *Match) SetNwProto(n uint8)
- func (this *Match) SetNwSrc(n uint32)
- func (this *Match) SetNwTos(n uint8)
- func (this *Match) SetPad1(p [1]uint8)
- func (this *Match) SetPad2(p [2]uint8)
- func (this *Match) SetTpDst(t uint16)
- func (this *Match) SetTpSrc(t uint16)
- func (this *Match) SetWildcards(w uint32)
- func (this Match) Size() int
- func (this Match) TpDst() uint16
- func (this Match) TpDstOffset() int
- func (this Match) TpSrc() uint16
- func (this Match) TpSrcOffset() int
- func (this Match) Wildcards() uint32
- func (this Match) WildcardsOffset() int
- type MatchConn
- type PacketIn
- func (this *PacketIn) AddData(d uint8)
- func (this PacketIn) BufferId() uint32
- func (this PacketIn) BufferIdOffset() int
- func (this PacketIn) Clone() (PacketIn, error)
- func (this PacketIn) Data() []uint8
- func (this PacketIn) DataOffset() int
- func (this PacketIn) DataSize() int
- func (this PacketIn) InPort() uint16
- func (this PacketIn) InPortOffset() int
- func (this *PacketIn) Init()
- func (this PacketIn) Pad() uint8
- func (this PacketIn) PadOffset() int
- func (this PacketIn) Reason() uint8
- func (this PacketIn) ReasonOffset() int
- func (this *PacketIn) SetBufferId(b uint32)
- func (this *PacketIn) SetInPort(i uint16)
- func (this *PacketIn) SetPad(p uint8)
- func (this *PacketIn) SetReason(r uint8)
- func (this *PacketIn) SetTotalLen(t uint16)
- func (this PacketIn) Size() int
- func (this PacketIn) TotalLen() uint16
- func (this PacketIn) TotalLenOffset() int
- type PacketInConn
- type PacketInReason
- type PacketOut
- func (this PacketOut) Actions() []Action
- func (this PacketOut) ActionsLen() uint16
- func (this PacketOut) ActionsLenOffset() int
- func (this PacketOut) ActionsOffset() int
- func (this PacketOut) ActionsSize() int
- func (this *PacketOut) AddActions(a Action)
- func (this *PacketOut) AddData(d uint8)
- func (this PacketOut) BufferId() uint32
- func (this PacketOut) BufferIdOffset() int
- func (this PacketOut) Clone() (PacketOut, error)
- func (this PacketOut) Data() []uint8
- func (this PacketOut) DataOffset() int
- func (this PacketOut) DataSize() int
- func (this PacketOut) InPort() uint16
- func (this PacketOut) InPortOffset() int
- func (this *PacketOut) Init()
- func (this *PacketOut) SetActionsLen(a uint16)
- func (this *PacketOut) SetBufferId(b uint32)
- func (this *PacketOut) SetInPort(i uint16)
- func (this PacketOut) Size() int
- type PacketOutConn
- type PacketQueue
- func (this *PacketQueue) AddProperties(p QueuePropHeader)
- func (this PacketQueue) Clone() (PacketQueue, error)
- func (this *PacketQueue) Init()
- func (this PacketQueue) Len() uint16
- func (this PacketQueue) LenOffset() int
- func (this PacketQueue) Pad() [2]uint8
- func (this PacketQueue) PadOffset() int
- func (this PacketQueue) Properties() []QueuePropHeader
- func (this PacketQueue) PropertiesOffset() int
- func (this PacketQueue) PropertiesSize() int
- func (this PacketQueue) QueueId() uint32
- func (this PacketQueue) QueueIdOffset() int
- func (this *PacketQueue) SetLen(l uint16)
- func (this *PacketQueue) SetPad(p [2]uint8)
- func (this *PacketQueue) SetQueueId(q uint32)
- func (this PacketQueue) Size() int
- type PacketQueueConn
- func (c *PacketQueueConn) Flush() error
- func (c *PacketQueueConn) ReadPacketQueue() (PacketQueue, error)
- func (c *PacketQueueConn) ReadPacketQueues(pkts []PacketQueue) (int, error)
- func (c *PacketQueueConn) WritePacketQueue(pkt PacketQueue) error
- func (c *PacketQueueConn) WritePacketQueues(pkts []PacketQueue) error
- type PhysicalPort
- func (this PhysicalPort) Advertised() uint32
- func (this PhysicalPort) AdvertisedOffset() int
- func (this PhysicalPort) Clone() (PhysicalPort, error)
- func (this PhysicalPort) Config() uint32
- func (this PhysicalPort) ConfigOffset() int
- func (this PhysicalPort) Curr() uint32
- func (this PhysicalPort) CurrOffset() int
- func (this PhysicalPort) HwAddr() [6]uint8
- func (this PhysicalPort) HwAddrOffset() int
- func (this *PhysicalPort) Init()
- func (this PhysicalPort) Name() [16]byte
- func (this PhysicalPort) NameOffset() int
- func (this PhysicalPort) Peer() uint32
- func (this PhysicalPort) PeerOffset() int
- func (this PhysicalPort) PortNo() uint16
- func (this PhysicalPort) PortNoOffset() int
- func (this *PhysicalPort) SetAdvertised(a uint32)
- func (this *PhysicalPort) SetConfig(c uint32)
- func (this *PhysicalPort) SetCurr(c uint32)
- func (this *PhysicalPort) SetHwAddr(h [6]uint8)
- func (this *PhysicalPort) SetName(n [16]byte)
- func (this *PhysicalPort) SetPeer(p uint32)
- func (this *PhysicalPort) SetPortNo(p uint16)
- func (this *PhysicalPort) SetState(s uint32)
- func (this *PhysicalPort) SetSupported(s uint32)
- func (this PhysicalPort) Size() int
- func (this PhysicalPort) State() uint32
- func (this PhysicalPort) StateOffset() int
- func (this PhysicalPort) Supported() uint32
- func (this PhysicalPort) SupportedOffset() int
- type PhysicalPortConn
- func (c *PhysicalPortConn) Flush() error
- func (c *PhysicalPortConn) ReadPhysicalPort() (PhysicalPort, error)
- func (c *PhysicalPortConn) ReadPhysicalPorts(pkts []PhysicalPort) (int, error)
- func (c *PhysicalPortConn) WritePhysicalPort(pkt PhysicalPort) error
- func (c *PhysicalPortConn) WritePhysicalPorts(pkts []PhysicalPort) error
- type PortConfig
- type PortFeatures
- type PortMod
- func (this PortMod) Advertise() uint32
- func (this PortMod) AdvertiseOffset() int
- func (this PortMod) Clone() (PortMod, error)
- func (this PortMod) Config() uint32
- func (this PortMod) ConfigOffset() int
- func (this PortMod) HwAddr() [6]uint8
- func (this PortMod) HwAddrOffset() int
- func (this *PortMod) Init()
- func (this PortMod) Mask() uint32
- func (this PortMod) MaskOffset() int
- func (this PortMod) Pad() [4]uint8
- func (this PortMod) PadOffset() int
- func (this PortMod) PortNo() uint16
- func (this PortMod) PortNoOffset() int
- func (this *PortMod) SetAdvertise(a uint32)
- func (this *PortMod) SetConfig(c uint32)
- func (this *PortMod) SetHwAddr(h [6]uint8)
- func (this *PortMod) SetMask(m uint32)
- func (this *PortMod) SetPad(p [4]uint8)
- func (this *PortMod) SetPortNo(p uint16)
- func (this PortMod) Size() int
- type PortModConn
- type PortReason
- type PortState
- type PortStats
- func (this PortStats) Clone() (PortStats, error)
- func (this PortStats) Collisions() uint64
- func (this PortStats) CollisionsOffset() int
- func (this *PortStats) Init()
- func (this PortStats) Pad() [6]uint8
- func (this PortStats) PadOffset() int
- func (this PortStats) PortNo() uint16
- func (this PortStats) PortNoOffset() int
- func (this PortStats) RxBytes() uint64
- func (this PortStats) RxBytesOffset() int
- func (this PortStats) RxCrcErr() uint64
- func (this PortStats) RxCrcErrOffset() int
- func (this PortStats) RxDropped() uint64
- func (this PortStats) RxDroppedOffset() int
- func (this PortStats) RxErrors() uint64
- func (this PortStats) RxErrorsOffset() int
- func (this PortStats) RxFrameErr() uint64
- func (this PortStats) RxFrameErrOffset() int
- func (this PortStats) RxOverErr() uint64
- func (this PortStats) RxOverErrOffset() int
- func (this PortStats) RxPackets() uint64
- func (this PortStats) RxPacketsOffset() int
- func (this *PortStats) SetCollisions(c uint64)
- func (this *PortStats) SetPad(p [6]uint8)
- func (this *PortStats) SetPortNo(p uint16)
- func (this *PortStats) SetRxBytes(r uint64)
- func (this *PortStats) SetRxCrcErr(r uint64)
- func (this *PortStats) SetRxDropped(r uint64)
- func (this *PortStats) SetRxErrors(r uint64)
- func (this *PortStats) SetRxFrameErr(r uint64)
- func (this *PortStats) SetRxOverErr(r uint64)
- func (this *PortStats) SetRxPackets(r uint64)
- func (this *PortStats) SetTxBytes(t uint64)
- func (this *PortStats) SetTxDropped(t uint64)
- func (this *PortStats) SetTxErrors(t uint64)
- func (this *PortStats) SetTxPackets(t uint64)
- func (this PortStats) Size() int
- func (this PortStats) TxBytes() uint64
- func (this PortStats) TxBytesOffset() int
- func (this PortStats) TxDropped() uint64
- func (this PortStats) TxDroppedOffset() int
- func (this PortStats) TxErrors() uint64
- func (this PortStats) TxErrorsOffset() int
- func (this PortStats) TxPackets() uint64
- func (this PortStats) TxPacketsOffset() int
- type PortStatsConn
- type PortStatsRequest
- func (this PortStatsRequest) Clone() (PortStatsRequest, error)
- func (this *PortStatsRequest) Init()
- func (this PortStatsRequest) Pad() [6]uint8
- func (this PortStatsRequest) PadOffset() int
- func (this PortStatsRequest) PortNo() uint16
- func (this PortStatsRequest) PortNoOffset() int
- func (this *PortStatsRequest) SetPad(p [6]uint8)
- func (this *PortStatsRequest) SetPortNo(p uint16)
- func (this PortStatsRequest) Size() int
- type PortStatsRequestConn
- func (c *PortStatsRequestConn) Flush() error
- func (c *PortStatsRequestConn) ReadPortStatsRequest() (PortStatsRequest, error)
- func (c *PortStatsRequestConn) ReadPortStatsRequests(pkts []PortStatsRequest) (int, error)
- func (c *PortStatsRequestConn) WritePortStatsRequest(pkt PortStatsRequest) error
- func (c *PortStatsRequestConn) WritePortStatsRequests(pkts []PortStatsRequest) error
- type PortStatus
- func (this PortStatus) Clone() (PortStatus, error)
- func (this PortStatus) Desc() PhysicalPort
- func (this PortStatus) DescOffset() int
- func (this *PortStatus) Init()
- func (this PortStatus) Pad() [7]uint8
- func (this PortStatus) PadOffset() int
- func (this PortStatus) Reason() uint8
- func (this PortStatus) ReasonOffset() int
- func (this *PortStatus) SetDesc(d PhysicalPort)
- func (this *PortStatus) SetPad(p [7]uint8)
- func (this *PortStatus) SetReason(r uint8)
- func (this PortStatus) Size() int
- type PortStatusConn
- func (c *PortStatusConn) Flush() error
- func (c *PortStatusConn) ReadPortStatus() (PortStatus, error)
- func (c *PortStatusConn) ReadPortStatuss(pkts []PortStatus) (int, error)
- func (c *PortStatusConn) WritePortStatus(pkt PortStatus) error
- func (c *PortStatusConn) WritePortStatuss(pkts []PortStatus) error
- type Port_modFailedCode
- type Ports
- type QueueGetConfigReply
- func (this *QueueGetConfigReply) AddQueues(q PacketQueue)
- func (this QueueGetConfigReply) Clone() (QueueGetConfigReply, error)
- func (this *QueueGetConfigReply) Init()
- func (this QueueGetConfigReply) Pad() [6]uint8
- func (this QueueGetConfigReply) PadOffset() int
- func (this QueueGetConfigReply) Port() uint16
- func (this QueueGetConfigReply) PortOffset() int
- func (this QueueGetConfigReply) Queues() []PacketQueue
- func (this QueueGetConfigReply) QueuesOffset() int
- func (this QueueGetConfigReply) QueuesSize() int
- func (this *QueueGetConfigReply) SetPad(p [6]uint8)
- func (this *QueueGetConfigReply) SetPort(p uint16)
- func (this QueueGetConfigReply) Size() int
- type QueueGetConfigReplyConn
- func (c *QueueGetConfigReplyConn) Flush() error
- func (c *QueueGetConfigReplyConn) ReadQueueGetConfigReply() (QueueGetConfigReply, error)
- func (c *QueueGetConfigReplyConn) ReadQueueGetConfigReplys(pkts []QueueGetConfigReply) (int, error)
- func (c *QueueGetConfigReplyConn) WriteQueueGetConfigReply(pkt QueueGetConfigReply) error
- func (c *QueueGetConfigReplyConn) WriteQueueGetConfigReplys(pkts []QueueGetConfigReply) error
- type QueueGetConfigRequest
- func (this *QueueGetConfigRequest) AddPad(p uint8)
- func (this QueueGetConfigRequest) Clone() (QueueGetConfigRequest, error)
- func (this *QueueGetConfigRequest) Init()
- func (this QueueGetConfigRequest) Pad() []uint8
- func (this QueueGetConfigRequest) PadOffset() int
- func (this QueueGetConfigRequest) PadSize() int
- func (this QueueGetConfigRequest) Port() uint16
- func (this QueueGetConfigRequest) PortOffset() int
- func (this *QueueGetConfigRequest) SetPort(p uint16)
- func (this QueueGetConfigRequest) Size() int
- type QueueGetConfigRequestConn
- func (c *QueueGetConfigRequestConn) Flush() error
- func (c *QueueGetConfigRequestConn) ReadQueueGetConfigRequest() (QueueGetConfigRequest, error)
- func (c *QueueGetConfigRequestConn) ReadQueueGetConfigRequests(pkts []QueueGetConfigRequest) (int, error)
- func (c *QueueGetConfigRequestConn) WriteQueueGetConfigRequest(pkt QueueGetConfigRequest) error
- func (c *QueueGetConfigRequestConn) WriteQueueGetConfigRequests(pkts []QueueGetConfigRequest) error
- type QueueOpFailedCode
- type QueuePropHeader
- func (this QueuePropHeader) Clone() (QueuePropHeader, error)
- func (this *QueuePropHeader) Init()
- func (this QueuePropHeader) Len() uint16
- func (this QueuePropHeader) LenOffset() int
- func (this QueuePropHeader) Pad() [4]uint8
- func (this QueuePropHeader) PadOffset() int
- func (this QueuePropHeader) Property() uint16
- func (this QueuePropHeader) PropertyOffset() int
- func (this *QueuePropHeader) SetLen(l uint16)
- func (this *QueuePropHeader) SetPad(p [4]uint8)
- func (this *QueuePropHeader) SetProperty(p uint16)
- func (this QueuePropHeader) Size() int
- type QueuePropHeaderConn
- func (c *QueuePropHeaderConn) Flush() error
- func (c *QueuePropHeaderConn) ReadQueuePropHeader() (QueuePropHeader, error)
- func (c *QueuePropHeaderConn) ReadQueuePropHeaders(pkts []QueuePropHeader) (int, error)
- func (c *QueuePropHeaderConn) WriteQueuePropHeader(pkt QueuePropHeader) error
- func (c *QueuePropHeaderConn) WriteQueuePropHeaders(pkts []QueuePropHeader) error
- type QueuePropMinRate
- func (this QueuePropMinRate) Clone() (QueuePropMinRate, error)
- func (this *QueuePropMinRate) Init()
- func (this QueuePropMinRate) Pad() [6]uint8
- func (this QueuePropMinRate) PadOffset() int
- func (this QueuePropMinRate) Rate() uint16
- func (this QueuePropMinRate) RateOffset() int
- func (this *QueuePropMinRate) SetPad(p [6]uint8)
- func (this *QueuePropMinRate) SetRate(r uint16)
- func (this QueuePropMinRate) Size() int
- type QueuePropMinRateConn
- func (c *QueuePropMinRateConn) Flush() error
- func (c *QueuePropMinRateConn) ReadQueuePropMinRate() (QueuePropMinRate, error)
- func (c *QueuePropMinRateConn) ReadQueuePropMinRates(pkts []QueuePropMinRate) (int, error)
- func (c *QueuePropMinRateConn) WriteQueuePropMinRate(pkt QueuePropMinRate) error
- func (c *QueuePropMinRateConn) WriteQueuePropMinRates(pkts []QueuePropMinRate) error
- type QueueProperties
- type QueueStats
- func (this QueueStats) Clone() (QueueStats, error)
- func (this *QueueStats) Init()
- func (this QueueStats) Pad() [2]uint8
- func (this QueueStats) PadOffset() int
- func (this QueueStats) PortNo() uint16
- func (this QueueStats) PortNoOffset() int
- func (this QueueStats) QueueId() uint32
- func (this QueueStats) QueueIdOffset() int
- func (this *QueueStats) SetPad(p [2]uint8)
- func (this *QueueStats) SetPortNo(p uint16)
- func (this *QueueStats) SetQueueId(q uint32)
- func (this *QueueStats) SetTxBytes(t uint64)
- func (this *QueueStats) SetTxErrors(t uint64)
- func (this *QueueStats) SetTxPackets(t uint64)
- func (this QueueStats) Size() int
- func (this QueueStats) TxBytes() uint64
- func (this QueueStats) TxBytesOffset() int
- func (this QueueStats) TxErrors() uint64
- func (this QueueStats) TxErrorsOffset() int
- func (this QueueStats) TxPackets() uint64
- func (this QueueStats) TxPacketsOffset() int
- type QueueStatsConn
- func (c *QueueStatsConn) Flush() error
- func (c *QueueStatsConn) ReadQueueStats() (QueueStats, error)
- func (c *QueueStatsConn) ReadQueueStatss(pkts []QueueStats) (int, error)
- func (c *QueueStatsConn) WriteQueueStats(pkt QueueStats) error
- func (c *QueueStatsConn) WriteQueueStatss(pkts []QueueStats) error
- type QueueStatsRequest
- func (this QueueStatsRequest) Clone() (QueueStatsRequest, error)
- func (this *QueueStatsRequest) Init()
- func (this QueueStatsRequest) Pad() [2]uint8
- func (this QueueStatsRequest) PadOffset() int
- func (this QueueStatsRequest) PortNo() uint16
- func (this QueueStatsRequest) PortNoOffset() int
- func (this QueueStatsRequest) QueueId() uint32
- func (this QueueStatsRequest) QueueIdOffset() int
- func (this *QueueStatsRequest) SetPad(p [2]uint8)
- func (this *QueueStatsRequest) SetPortNo(p uint16)
- func (this *QueueStatsRequest) SetQueueId(q uint32)
- func (this QueueStatsRequest) Size() int
- type QueueStatsRequestConn
- func (c *QueueStatsRequestConn) Flush() error
- func (c *QueueStatsRequestConn) ReadQueueStatsRequest() (QueueStatsRequest, error)
- func (c *QueueStatsRequestConn) ReadQueueStatsRequests(pkts []QueueStatsRequest) (int, error)
- func (c *QueueStatsRequestConn) WriteQueueStatsRequest(pkt QueueStatsRequest) error
- func (c *QueueStatsRequestConn) WriteQueueStatsRequests(pkts []QueueStatsRequest) error
- type StatsReply
- func (this StatsReply) Clone() (StatsReply, error)
- func (this StatsReply) Flags() uint16
- func (this StatsReply) FlagsOffset() int
- func (this *StatsReply) Init()
- func (this *StatsReply) SetFlags(f uint16)
- func (this *StatsReply) SetStatsType(s uint16)
- func (this StatsReply) Size() int
- func (this StatsReply) StatsType() uint16
- func (this StatsReply) StatsTypeOffset() int
- type StatsReplyConn
- func (c *StatsReplyConn) Flush() error
- func (c *StatsReplyConn) ReadStatsReply() (StatsReply, error)
- func (c *StatsReplyConn) ReadStatsReplys(pkts []StatsReply) (int, error)
- func (c *StatsReplyConn) WriteStatsReply(pkt StatsReply) error
- func (c *StatsReplyConn) WriteStatsReplys(pkts []StatsReply) error
- type StatsReplyFlags
- type StatsRequest
- func (this StatsRequest) Clone() (StatsRequest, error)
- func (this StatsRequest) Flags() uint16
- func (this StatsRequest) FlagsOffset() int
- func (this *StatsRequest) Init()
- func (this *StatsRequest) SetFlags(f uint16)
- func (this *StatsRequest) SetStatsType(s uint16)
- func (this StatsRequest) Size() int
- func (this StatsRequest) StatsType() uint16
- func (this StatsRequest) StatsTypeOffset() int
- type StatsRequestConn
- func (c *StatsRequestConn) Flush() error
- func (c *StatsRequestConn) ReadStatsRequest() (StatsRequest, error)
- func (c *StatsRequestConn) ReadStatsRequests(pkts []StatsRequest) (int, error)
- func (c *StatsRequestConn) WriteStatsRequest(pkt StatsRequest) error
- func (c *StatsRequestConn) WriteStatsRequests(pkts []StatsRequest) error
- type StatsTypes
- type SwitchGetConfigReply
- func (this SwitchGetConfigReply) Clone() (SwitchGetConfigReply, error)
- func (this SwitchGetConfigReply) Flags() uint16
- func (this SwitchGetConfigReply) FlagsOffset() int
- func (this *SwitchGetConfigReply) Init()
- func (this SwitchGetConfigReply) MissSendLen() uint16
- func (this SwitchGetConfigReply) MissSendLenOffset() int
- func (this *SwitchGetConfigReply) SetFlags(f uint16)
- func (this *SwitchGetConfigReply) SetMissSendLen(m uint16)
- func (this SwitchGetConfigReply) Size() int
- type SwitchGetConfigReplyConn
- func (c *SwitchGetConfigReplyConn) Flush() error
- func (c *SwitchGetConfigReplyConn) ReadSwitchGetConfigReply() (SwitchGetConfigReply, error)
- func (c *SwitchGetConfigReplyConn) ReadSwitchGetConfigReplys(pkts []SwitchGetConfigReply) (int, error)
- func (c *SwitchGetConfigReplyConn) WriteSwitchGetConfigReply(pkt SwitchGetConfigReply) error
- func (c *SwitchGetConfigReplyConn) WriteSwitchGetConfigReplys(pkts []SwitchGetConfigReply) error
- type SwitchSetConfig
- func (this SwitchSetConfig) Clone() (SwitchSetConfig, error)
- func (this SwitchSetConfig) Flags() uint16
- func (this SwitchSetConfig) FlagsOffset() int
- func (this *SwitchSetConfig) Init()
- func (this SwitchSetConfig) MissSendLen() uint16
- func (this SwitchSetConfig) MissSendLenOffset() int
- func (this *SwitchSetConfig) SetFlags(f uint16)
- func (this *SwitchSetConfig) SetMissSendLen(m uint16)
- func (this SwitchSetConfig) Size() int
- type SwitchSetConfigConn
- func (c *SwitchSetConfigConn) Flush() error
- func (c *SwitchSetConfigConn) ReadSwitchSetConfig() (SwitchSetConfig, error)
- func (c *SwitchSetConfigConn) ReadSwitchSetConfigs(pkts []SwitchSetConfig) (int, error)
- func (c *SwitchSetConfigConn) WriteSwitchSetConfig(pkt SwitchSetConfig) error
- func (c *SwitchSetConfigConn) WriteSwitchSetConfigs(pkts []SwitchSetConfig) error
- type TableStats
- func (this TableStats) ActiveCount() uint32
- func (this TableStats) ActiveCountOffset() int
- func (this TableStats) Clone() (TableStats, error)
- func (this *TableStats) Init()
- func (this TableStats) LookupCount() uint64
- func (this TableStats) LookupCountOffset() int
- func (this TableStats) MatchedCount() uint64
- func (this TableStats) MatchedCountOffset() int
- func (this TableStats) MaxEntries() uint32
- func (this TableStats) MaxEntriesOffset() int
- func (this TableStats) Name() [32]byte
- func (this TableStats) NameOffset() int
- func (this TableStats) Pad() [3]uint8
- func (this TableStats) PadOffset() int
- func (this *TableStats) SetActiveCount(a uint32)
- func (this *TableStats) SetLookupCount(l uint64)
- func (this *TableStats) SetMatchedCount(m uint64)
- func (this *TableStats) SetMaxEntries(m uint32)
- func (this *TableStats) SetName(n [32]byte)
- func (this *TableStats) SetPad(p [3]uint8)
- func (this *TableStats) SetTableId(t uint8)
- func (this *TableStats) SetWildcards(w uint32)
- func (this TableStats) Size() int
- func (this TableStats) TableId() uint8
- func (this TableStats) TableIdOffset() int
- func (this TableStats) Wildcards() uint32
- func (this TableStats) WildcardsOffset() int
- type TableStatsConn
- func (c *TableStatsConn) Flush() error
- func (c *TableStatsConn) ReadTableStats() (TableStats, error)
- func (c *TableStatsConn) ReadTableStatss(pkts []TableStats) (int, error)
- func (c *TableStatsConn) WriteTableStats(pkt TableStats) error
- func (c *TableStatsConn) WriteTableStatss(pkts []TableStats) error
- type Type
- type VendorHeader
- type VendorHeaderConn
- func (c *VendorHeaderConn) Flush() error
- func (c *VendorHeaderConn) ReadVendorHeader() (VendorHeader, error)
- func (c *VendorHeaderConn) ReadVendorHeaders(pkts []VendorHeader) (int, error)
- func (c *VendorHeaderConn) WriteVendorHeader(pkt VendorHeader) error
- func (c *VendorHeaderConn) WriteVendorHeaders(pkts []VendorHeader) error
- type VlanIds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsActionDlDstAddr ¶
func IsActionDlSrcAddr ¶
func IsActionEnqueue ¶
func IsActionNwDstAddr ¶
func IsActionNwSrcAddr ¶
func IsActionNwTos ¶
func IsActionOutput ¶
func IsActionTpDstPort ¶
func IsActionTpSrcPort ¶
func IsActionVendorHeader ¶
func IsActionVlanPcp ¶
func IsActionVlanVid ¶
func IsAggregateStatsReply ¶
func IsAggregateStatsReply(p StatsReply) bool
func IsAggregateStatsRequest ¶
func IsAggregateStatsRequest(p StatsRequest) bool
func IsDescStats ¶
func IsDescStats(p StatsReply) bool
func IsEchoReply ¶
func IsEchoRequest ¶
func IsErrorMsg ¶
func IsFeaturesReply ¶
func IsFeaturesRequest ¶
func IsFlowRemoved ¶
func IsFlowStats ¶
func IsFlowStatsReply ¶
func IsFlowStatsReply(p StatsReply) bool
func IsFlowStatsRequest ¶
func IsFlowStatsRequest(p StatsRequest) bool
func IsGetConfigRequest ¶
func IsHeader10 ¶
func IsPacketIn ¶
func IsPacketOut ¶
func IsPacketQueue ¶
func IsPhysicalPort ¶
func IsPortStats ¶
func IsPortStats(p StatsReply) bool
func IsPortStatsRequest ¶
func IsPortStatsRequest(p StatsRequest) bool
func IsPortStatus ¶
func IsQueueGetConfigReply ¶
func IsQueueGetConfigRequest ¶
func IsQueuePropHeader ¶
func IsQueuePropMinRate ¶
func IsQueuePropMinRate(p QueuePropHeader) bool
func IsQueueStats ¶
func IsQueueStats(p StatsReply) bool
func IsQueueStatsRequest ¶
func IsQueueStatsRequest(p StatsRequest) bool
func IsStatsReply ¶
func IsStatsRequest ¶
func IsSwitchGetConfigReply ¶
func IsSwitchSetConfig ¶
func IsTableStats ¶
func IsTableStats(p StatsReply) bool
func IsVendorHeader ¶
Types ¶
type ActionConn ¶
func NewActionConn ¶
func NewActionConn(c net.Conn) ActionConn
func (*ActionConn) Flush ¶
func (c *ActionConn) Flush() error
func (*ActionConn) ReadAction ¶
func (c *ActionConn) ReadAction() (Action, error)
func (*ActionConn) ReadActions ¶
func (c *ActionConn) ReadActions(pkts []Action) (int, error)
func (*ActionConn) WriteAction ¶
func (c *ActionConn) WriteAction(pkt Action) error
func (*ActionConn) WriteActions ¶
func (c *ActionConn) WriteActions(pkts []Action) error
type ActionDlDstAddr ¶
type ActionDlDstAddr struct {
Action
}
func NewActionDlDstAddr ¶
func NewActionDlDstAddr() ActionDlDstAddr
func NewActionDlDstAddrWithBuf ¶
func NewActionDlDstAddrWithBuf(b []byte) ActionDlDstAddr
func ToActionDlDstAddr ¶
func ToActionDlDstAddr(p Action) (ActionDlDstAddr, error)
func (ActionDlDstAddr) Clone ¶
func (this ActionDlDstAddr) Clone() (ActionDlDstAddr, error)
func (ActionDlDstAddr) DlAddr ¶
func (this ActionDlDstAddr) DlAddr() [6]uint8
func (ActionDlDstAddr) DlAddrOffset ¶
func (this ActionDlDstAddr) DlAddrOffset() int
func (*ActionDlDstAddr) Init ¶
func (this *ActionDlDstAddr) Init()
func (ActionDlDstAddr) Pad ¶
func (this ActionDlDstAddr) Pad() [6]uint8
func (ActionDlDstAddr) PadOffset ¶
func (this ActionDlDstAddr) PadOffset() int
func (*ActionDlDstAddr) SetDlAddr ¶
func (this *ActionDlDstAddr) SetDlAddr(d [6]uint8)
func (*ActionDlDstAddr) SetPad ¶
func (this *ActionDlDstAddr) SetPad(p [6]uint8)
func (ActionDlDstAddr) Size ¶
func (this ActionDlDstAddr) Size() int
type ActionDlDstAddrConn ¶
func NewActionDlDstAddrConn ¶
func NewActionDlDstAddrConn(c net.Conn) ActionDlDstAddrConn
func (*ActionDlDstAddrConn) Flush ¶
func (c *ActionDlDstAddrConn) Flush() error
func (*ActionDlDstAddrConn) ReadActionDlDstAddr ¶
func (c *ActionDlDstAddrConn) ReadActionDlDstAddr() (ActionDlDstAddr, error)
func (*ActionDlDstAddrConn) ReadActionDlDstAddrs ¶
func (c *ActionDlDstAddrConn) ReadActionDlDstAddrs(pkts []ActionDlDstAddr) (int, error)
func (*ActionDlDstAddrConn) WriteActionDlDstAddr ¶
func (c *ActionDlDstAddrConn) WriteActionDlDstAddr(pkt ActionDlDstAddr) error
func (*ActionDlDstAddrConn) WriteActionDlDstAddrs ¶
func (c *ActionDlDstAddrConn) WriteActionDlDstAddrs(pkts []ActionDlDstAddr) error
type ActionDlSrcAddr ¶
type ActionDlSrcAddr struct {
Action
}
func NewActionDlSrcAddr ¶
func NewActionDlSrcAddr() ActionDlSrcAddr
func NewActionDlSrcAddrWithBuf ¶
func NewActionDlSrcAddrWithBuf(b []byte) ActionDlSrcAddr
func ToActionDlSrcAddr ¶
func ToActionDlSrcAddr(p Action) (ActionDlSrcAddr, error)
func (ActionDlSrcAddr) Clone ¶
func (this ActionDlSrcAddr) Clone() (ActionDlSrcAddr, error)
func (ActionDlSrcAddr) DlAddr ¶
func (this ActionDlSrcAddr) DlAddr() [6]uint8
func (ActionDlSrcAddr) DlAddrOffset ¶
func (this ActionDlSrcAddr) DlAddrOffset() int
func (*ActionDlSrcAddr) Init ¶
func (this *ActionDlSrcAddr) Init()
func (ActionDlSrcAddr) Pad ¶
func (this ActionDlSrcAddr) Pad() [6]uint8
func (ActionDlSrcAddr) PadOffset ¶
func (this ActionDlSrcAddr) PadOffset() int
func (*ActionDlSrcAddr) SetDlAddr ¶
func (this *ActionDlSrcAddr) SetDlAddr(d [6]uint8)
func (*ActionDlSrcAddr) SetPad ¶
func (this *ActionDlSrcAddr) SetPad(p [6]uint8)
func (ActionDlSrcAddr) Size ¶
func (this ActionDlSrcAddr) Size() int
type ActionDlSrcAddrConn ¶
func NewActionDlSrcAddrConn ¶
func NewActionDlSrcAddrConn(c net.Conn) ActionDlSrcAddrConn
func (*ActionDlSrcAddrConn) Flush ¶
func (c *ActionDlSrcAddrConn) Flush() error
func (*ActionDlSrcAddrConn) ReadActionDlSrcAddr ¶
func (c *ActionDlSrcAddrConn) ReadActionDlSrcAddr() (ActionDlSrcAddr, error)
func (*ActionDlSrcAddrConn) ReadActionDlSrcAddrs ¶
func (c *ActionDlSrcAddrConn) ReadActionDlSrcAddrs(pkts []ActionDlSrcAddr) (int, error)
func (*ActionDlSrcAddrConn) WriteActionDlSrcAddr ¶
func (c *ActionDlSrcAddrConn) WriteActionDlSrcAddr(pkt ActionDlSrcAddr) error
func (*ActionDlSrcAddrConn) WriteActionDlSrcAddrs ¶
func (c *ActionDlSrcAddrConn) WriteActionDlSrcAddrs(pkts []ActionDlSrcAddr) error
type ActionEnqueue ¶
type ActionEnqueue struct {
Action
}
func NewActionEnqueue ¶
func NewActionEnqueue() ActionEnqueue
func NewActionEnqueueWithBuf ¶
func NewActionEnqueueWithBuf(b []byte) ActionEnqueue
func ToActionEnqueue ¶
func ToActionEnqueue(p Action) (ActionEnqueue, error)
func (ActionEnqueue) Clone ¶
func (this ActionEnqueue) Clone() (ActionEnqueue, error)
func (*ActionEnqueue) Init ¶
func (this *ActionEnqueue) Init()
func (ActionEnqueue) Pad ¶
func (this ActionEnqueue) Pad() [6]uint8
func (ActionEnqueue) PadOffset ¶
func (this ActionEnqueue) PadOffset() int
func (ActionEnqueue) Port ¶
func (this ActionEnqueue) Port() uint16
func (ActionEnqueue) PortOffset ¶
func (this ActionEnqueue) PortOffset() int
func (ActionEnqueue) QueueId ¶
func (this ActionEnqueue) QueueId() uint32
func (ActionEnqueue) QueueIdOffset ¶
func (this ActionEnqueue) QueueIdOffset() int
func (*ActionEnqueue) SetPad ¶
func (this *ActionEnqueue) SetPad(p [6]uint8)
func (*ActionEnqueue) SetPort ¶
func (this *ActionEnqueue) SetPort(p uint16)
func (*ActionEnqueue) SetQueueId ¶
func (this *ActionEnqueue) SetQueueId(q uint32)
func (ActionEnqueue) Size ¶
func (this ActionEnqueue) Size() int
type ActionEnqueueConn ¶
func NewActionEnqueueConn ¶
func NewActionEnqueueConn(c net.Conn) ActionEnqueueConn
func (*ActionEnqueueConn) Flush ¶
func (c *ActionEnqueueConn) Flush() error
func (*ActionEnqueueConn) ReadActionEnqueue ¶
func (c *ActionEnqueueConn) ReadActionEnqueue() (ActionEnqueue, error)
func (*ActionEnqueueConn) ReadActionEnqueues ¶
func (c *ActionEnqueueConn) ReadActionEnqueues(pkts []ActionEnqueue) (int, error)
func (*ActionEnqueueConn) WriteActionEnqueue ¶
func (c *ActionEnqueueConn) WriteActionEnqueue(pkt ActionEnqueue) error
func (*ActionEnqueueConn) WriteActionEnqueues ¶
func (c *ActionEnqueueConn) WriteActionEnqueues(pkts []ActionEnqueue) error
type ActionNwDstAddr ¶
type ActionNwDstAddr struct {
Action
}
func NewActionNwDstAddr ¶
func NewActionNwDstAddr() ActionNwDstAddr
func NewActionNwDstAddrWithBuf ¶
func NewActionNwDstAddrWithBuf(b []byte) ActionNwDstAddr
func ToActionNwDstAddr ¶
func ToActionNwDstAddr(p Action) (ActionNwDstAddr, error)
func (ActionNwDstAddr) Clone ¶
func (this ActionNwDstAddr) Clone() (ActionNwDstAddr, error)
func (*ActionNwDstAddr) Init ¶
func (this *ActionNwDstAddr) Init()
func (ActionNwDstAddr) NwAddr ¶
func (this ActionNwDstAddr) NwAddr() uint32
func (ActionNwDstAddr) NwAddrOffset ¶
func (this ActionNwDstAddr) NwAddrOffset() int
func (*ActionNwDstAddr) SetNwAddr ¶
func (this *ActionNwDstAddr) SetNwAddr(n uint32)
func (ActionNwDstAddr) Size ¶
func (this ActionNwDstAddr) Size() int
type ActionNwDstAddrConn ¶
func NewActionNwDstAddrConn ¶
func NewActionNwDstAddrConn(c net.Conn) ActionNwDstAddrConn
func (*ActionNwDstAddrConn) Flush ¶
func (c *ActionNwDstAddrConn) Flush() error
func (*ActionNwDstAddrConn) ReadActionNwDstAddr ¶
func (c *ActionNwDstAddrConn) ReadActionNwDstAddr() (ActionNwDstAddr, error)
func (*ActionNwDstAddrConn) ReadActionNwDstAddrs ¶
func (c *ActionNwDstAddrConn) ReadActionNwDstAddrs(pkts []ActionNwDstAddr) (int, error)
func (*ActionNwDstAddrConn) WriteActionNwDstAddr ¶
func (c *ActionNwDstAddrConn) WriteActionNwDstAddr(pkt ActionNwDstAddr) error
func (*ActionNwDstAddrConn) WriteActionNwDstAddrs ¶
func (c *ActionNwDstAddrConn) WriteActionNwDstAddrs(pkts []ActionNwDstAddr) error
type ActionNwSrcAddr ¶
type ActionNwSrcAddr struct {
Action
}
func NewActionNwSrcAddr ¶
func NewActionNwSrcAddr() ActionNwSrcAddr
func NewActionNwSrcAddrWithBuf ¶
func NewActionNwSrcAddrWithBuf(b []byte) ActionNwSrcAddr
func ToActionNwSrcAddr ¶
func ToActionNwSrcAddr(p Action) (ActionNwSrcAddr, error)
func (ActionNwSrcAddr) Clone ¶
func (this ActionNwSrcAddr) Clone() (ActionNwSrcAddr, error)
func (*ActionNwSrcAddr) Init ¶
func (this *ActionNwSrcAddr) Init()
func (ActionNwSrcAddr) NwAddr ¶
func (this ActionNwSrcAddr) NwAddr() uint32
func (ActionNwSrcAddr) NwAddrOffset ¶
func (this ActionNwSrcAddr) NwAddrOffset() int
func (*ActionNwSrcAddr) SetNwAddr ¶
func (this *ActionNwSrcAddr) SetNwAddr(n uint32)
func (ActionNwSrcAddr) Size ¶
func (this ActionNwSrcAddr) Size() int
type ActionNwSrcAddrConn ¶
func NewActionNwSrcAddrConn ¶
func NewActionNwSrcAddrConn(c net.Conn) ActionNwSrcAddrConn
func (*ActionNwSrcAddrConn) Flush ¶
func (c *ActionNwSrcAddrConn) Flush() error
func (*ActionNwSrcAddrConn) ReadActionNwSrcAddr ¶
func (c *ActionNwSrcAddrConn) ReadActionNwSrcAddr() (ActionNwSrcAddr, error)
func (*ActionNwSrcAddrConn) ReadActionNwSrcAddrs ¶
func (c *ActionNwSrcAddrConn) ReadActionNwSrcAddrs(pkts []ActionNwSrcAddr) (int, error)
func (*ActionNwSrcAddrConn) WriteActionNwSrcAddr ¶
func (c *ActionNwSrcAddrConn) WriteActionNwSrcAddr(pkt ActionNwSrcAddr) error
func (*ActionNwSrcAddrConn) WriteActionNwSrcAddrs ¶
func (c *ActionNwSrcAddrConn) WriteActionNwSrcAddrs(pkts []ActionNwSrcAddr) error
type ActionNwTos ¶
type ActionNwTos struct {
Action
}
func NewActionNwTos ¶
func NewActionNwTos() ActionNwTos
func NewActionNwTosWithBuf ¶
func NewActionNwTosWithBuf(b []byte) ActionNwTos
func ToActionNwTos ¶
func ToActionNwTos(p Action) (ActionNwTos, error)
func (ActionNwTos) Clone ¶
func (this ActionNwTos) Clone() (ActionNwTos, error)
func (*ActionNwTos) Init ¶
func (this *ActionNwTos) Init()
func (ActionNwTos) NwTos ¶
func (this ActionNwTos) NwTos() uint8
func (ActionNwTos) NwTosOffset ¶
func (this ActionNwTos) NwTosOffset() int
func (ActionNwTos) Pad ¶
func (this ActionNwTos) Pad() [3]uint8
func (ActionNwTos) PadOffset ¶
func (this ActionNwTos) PadOffset() int
func (*ActionNwTos) SetNwTos ¶
func (this *ActionNwTos) SetNwTos(n uint8)
func (*ActionNwTos) SetPad ¶
func (this *ActionNwTos) SetPad(p [3]uint8)
func (ActionNwTos) Size ¶
func (this ActionNwTos) Size() int
type ActionNwTosConn ¶
func NewActionNwTosConn ¶
func NewActionNwTosConn(c net.Conn) ActionNwTosConn
func (*ActionNwTosConn) Flush ¶
func (c *ActionNwTosConn) Flush() error
func (*ActionNwTosConn) ReadActionNwTos ¶
func (c *ActionNwTosConn) ReadActionNwTos() (ActionNwTos, error)
func (*ActionNwTosConn) ReadActionNwToss ¶
func (c *ActionNwTosConn) ReadActionNwToss(pkts []ActionNwTos) (int, error)
func (*ActionNwTosConn) WriteActionNwTos ¶
func (c *ActionNwTosConn) WriteActionNwTos(pkt ActionNwTos) error
func (*ActionNwTosConn) WriteActionNwToss ¶
func (c *ActionNwTosConn) WriteActionNwToss(pkts []ActionNwTos) error
type ActionOutput ¶
type ActionOutput struct {
Action
}
func NewActionOutput ¶
func NewActionOutput() ActionOutput
func NewActionOutputWithBuf ¶
func NewActionOutputWithBuf(b []byte) ActionOutput
func ToActionOutput ¶
func ToActionOutput(p Action) (ActionOutput, error)
func (ActionOutput) Clone ¶
func (this ActionOutput) Clone() (ActionOutput, error)
func (*ActionOutput) Init ¶
func (this *ActionOutput) Init()
func (ActionOutput) MaxLen ¶
func (this ActionOutput) MaxLen() uint16
func (ActionOutput) MaxLenOffset ¶
func (this ActionOutput) MaxLenOffset() int
func (ActionOutput) Port ¶
func (this ActionOutput) Port() uint16
func (ActionOutput) PortOffset ¶
func (this ActionOutput) PortOffset() int
func (*ActionOutput) SetMaxLen ¶
func (this *ActionOutput) SetMaxLen(m uint16)
func (*ActionOutput) SetPort ¶
func (this *ActionOutput) SetPort(p uint16)
func (ActionOutput) Size ¶
func (this ActionOutput) Size() int
type ActionOutputConn ¶
func NewActionOutputConn ¶
func NewActionOutputConn(c net.Conn) ActionOutputConn
func (*ActionOutputConn) Flush ¶
func (c *ActionOutputConn) Flush() error
func (*ActionOutputConn) ReadActionOutput ¶
func (c *ActionOutputConn) ReadActionOutput() (ActionOutput, error)
func (*ActionOutputConn) ReadActionOutputs ¶
func (c *ActionOutputConn) ReadActionOutputs(pkts []ActionOutput) (int, error)
func (*ActionOutputConn) WriteActionOutput ¶
func (c *ActionOutputConn) WriteActionOutput(pkt ActionOutput) error
func (*ActionOutputConn) WriteActionOutputs ¶
func (c *ActionOutputConn) WriteActionOutputs(pkts []ActionOutput) error
type ActionTpDstPort ¶
type ActionTpDstPort struct {
Action
}
func NewActionTpDstPort ¶
func NewActionTpDstPort() ActionTpDstPort
func NewActionTpDstPortWithBuf ¶
func NewActionTpDstPortWithBuf(b []byte) ActionTpDstPort
func ToActionTpDstPort ¶
func ToActionTpDstPort(p Action) (ActionTpDstPort, error)
func (ActionTpDstPort) Clone ¶
func (this ActionTpDstPort) Clone() (ActionTpDstPort, error)
func (*ActionTpDstPort) Init ¶
func (this *ActionTpDstPort) Init()
func (ActionTpDstPort) Pad ¶
func (this ActionTpDstPort) Pad() [2]uint8
func (ActionTpDstPort) PadOffset ¶
func (this ActionTpDstPort) PadOffset() int
func (*ActionTpDstPort) SetPad ¶
func (this *ActionTpDstPort) SetPad(p [2]uint8)
func (*ActionTpDstPort) SetTpPort ¶
func (this *ActionTpDstPort) SetTpPort(t uint16)
func (ActionTpDstPort) Size ¶
func (this ActionTpDstPort) Size() int
func (ActionTpDstPort) TpPort ¶
func (this ActionTpDstPort) TpPort() uint16
func (ActionTpDstPort) TpPortOffset ¶
func (this ActionTpDstPort) TpPortOffset() int
type ActionTpDstPortConn ¶
func NewActionTpDstPortConn ¶
func NewActionTpDstPortConn(c net.Conn) ActionTpDstPortConn
func (*ActionTpDstPortConn) Flush ¶
func (c *ActionTpDstPortConn) Flush() error
func (*ActionTpDstPortConn) ReadActionTpDstPort ¶
func (c *ActionTpDstPortConn) ReadActionTpDstPort() (ActionTpDstPort, error)
func (*ActionTpDstPortConn) ReadActionTpDstPorts ¶
func (c *ActionTpDstPortConn) ReadActionTpDstPorts(pkts []ActionTpDstPort) (int, error)
func (*ActionTpDstPortConn) WriteActionTpDstPort ¶
func (c *ActionTpDstPortConn) WriteActionTpDstPort(pkt ActionTpDstPort) error
func (*ActionTpDstPortConn) WriteActionTpDstPorts ¶
func (c *ActionTpDstPortConn) WriteActionTpDstPorts(pkts []ActionTpDstPort) error
type ActionTpSrcPort ¶
type ActionTpSrcPort struct {
Action
}
func NewActionTpSrcPort ¶
func NewActionTpSrcPort() ActionTpSrcPort
func NewActionTpSrcPortWithBuf ¶
func NewActionTpSrcPortWithBuf(b []byte) ActionTpSrcPort
func ToActionTpSrcPort ¶
func ToActionTpSrcPort(p Action) (ActionTpSrcPort, error)
func (ActionTpSrcPort) Clone ¶
func (this ActionTpSrcPort) Clone() (ActionTpSrcPort, error)
func (*ActionTpSrcPort) Init ¶
func (this *ActionTpSrcPort) Init()
func (ActionTpSrcPort) Pad ¶
func (this ActionTpSrcPort) Pad() [2]uint8
func (ActionTpSrcPort) PadOffset ¶
func (this ActionTpSrcPort) PadOffset() int
func (*ActionTpSrcPort) SetPad ¶
func (this *ActionTpSrcPort) SetPad(p [2]uint8)
func (*ActionTpSrcPort) SetTpPort ¶
func (this *ActionTpSrcPort) SetTpPort(t uint16)
func (ActionTpSrcPort) Size ¶
func (this ActionTpSrcPort) Size() int
func (ActionTpSrcPort) TpPort ¶
func (this ActionTpSrcPort) TpPort() uint16
func (ActionTpSrcPort) TpPortOffset ¶
func (this ActionTpSrcPort) TpPortOffset() int
type ActionTpSrcPortConn ¶
func NewActionTpSrcPortConn ¶
func NewActionTpSrcPortConn(c net.Conn) ActionTpSrcPortConn
func (*ActionTpSrcPortConn) Flush ¶
func (c *ActionTpSrcPortConn) Flush() error
func (*ActionTpSrcPortConn) ReadActionTpSrcPort ¶
func (c *ActionTpSrcPortConn) ReadActionTpSrcPort() (ActionTpSrcPort, error)
func (*ActionTpSrcPortConn) ReadActionTpSrcPorts ¶
func (c *ActionTpSrcPortConn) ReadActionTpSrcPorts(pkts []ActionTpSrcPort) (int, error)
func (*ActionTpSrcPortConn) WriteActionTpSrcPort ¶
func (c *ActionTpSrcPortConn) WriteActionTpSrcPort(pkt ActionTpSrcPort) error
func (*ActionTpSrcPortConn) WriteActionTpSrcPorts ¶
func (c *ActionTpSrcPortConn) WriteActionTpSrcPorts(pkts []ActionTpSrcPort) error
type ActionType ¶
type ActionType int
const ( PAT_OUTPUT ActionType = 0 PAT_SET_VLAN_VID ActionType = 1 PAT_SET_VLAN_PCP ActionType = 2 PAT_STRIP_VLAN ActionType = 3 PAT_SET_DL_SRC ActionType = 4 PAT_SET_DL_DST ActionType = 5 PAT_SET_NW_SRC ActionType = 6 PAT_SET_NW_DST ActionType = 7 PAT_SET_NW_TOS ActionType = 8 PAT_SET_TP_SRC ActionType = 9 PAT_SET_TP_DST ActionType = 10 PAT_ENQUEUE ActionType = 11 PAT_VENDOR ActionType = 65535 )
type ActionVendorHeader ¶
type ActionVendorHeader struct {
Action
}
func NewActionVendorHeader ¶
func NewActionVendorHeader() ActionVendorHeader
func NewActionVendorHeaderWithBuf ¶
func NewActionVendorHeaderWithBuf(b []byte) ActionVendorHeader
func ToActionVendorHeader ¶
func ToActionVendorHeader(p Action) (ActionVendorHeader, error)
func (ActionVendorHeader) Clone ¶
func (this ActionVendorHeader) Clone() (ActionVendorHeader, error)
func (*ActionVendorHeader) Init ¶
func (this *ActionVendorHeader) Init()
func (*ActionVendorHeader) SetVendor ¶
func (this *ActionVendorHeader) SetVendor(v uint32)
func (ActionVendorHeader) Size ¶
func (this ActionVendorHeader) Size() int
func (ActionVendorHeader) Vendor ¶
func (this ActionVendorHeader) Vendor() uint32
func (ActionVendorHeader) VendorOffset ¶
func (this ActionVendorHeader) VendorOffset() int
type ActionVendorHeaderConn ¶
func NewActionVendorHeaderConn ¶
func NewActionVendorHeaderConn(c net.Conn) ActionVendorHeaderConn
func (*ActionVendorHeaderConn) Flush ¶
func (c *ActionVendorHeaderConn) Flush() error
func (*ActionVendorHeaderConn) ReadActionVendorHeader ¶
func (c *ActionVendorHeaderConn) ReadActionVendorHeader() (ActionVendorHeader, error)
func (*ActionVendorHeaderConn) ReadActionVendorHeaders ¶
func (c *ActionVendorHeaderConn) ReadActionVendorHeaders(pkts []ActionVendorHeader) (int, error)
func (*ActionVendorHeaderConn) WriteActionVendorHeader ¶
func (c *ActionVendorHeaderConn) WriteActionVendorHeader(pkt ActionVendorHeader) error
func (*ActionVendorHeaderConn) WriteActionVendorHeaders ¶
func (c *ActionVendorHeaderConn) WriteActionVendorHeaders(pkts []ActionVendorHeader) error
type ActionVlanPcp ¶
type ActionVlanPcp struct {
Action
}
func NewActionVlanPcp ¶
func NewActionVlanPcp() ActionVlanPcp
func NewActionVlanPcpWithBuf ¶
func NewActionVlanPcpWithBuf(b []byte) ActionVlanPcp
func ToActionVlanPcp ¶
func ToActionVlanPcp(p Action) (ActionVlanPcp, error)
func (ActionVlanPcp) Clone ¶
func (this ActionVlanPcp) Clone() (ActionVlanPcp, error)
func (*ActionVlanPcp) Init ¶
func (this *ActionVlanPcp) Init()
func (ActionVlanPcp) Pad ¶
func (this ActionVlanPcp) Pad() [3]uint8
func (ActionVlanPcp) PadOffset ¶
func (this ActionVlanPcp) PadOffset() int
func (*ActionVlanPcp) SetPad ¶
func (this *ActionVlanPcp) SetPad(p [3]uint8)
func (*ActionVlanPcp) SetVlanPcp ¶
func (this *ActionVlanPcp) SetVlanPcp(v uint8)
func (ActionVlanPcp) Size ¶
func (this ActionVlanPcp) Size() int
func (ActionVlanPcp) VlanPcp ¶
func (this ActionVlanPcp) VlanPcp() uint8
func (ActionVlanPcp) VlanPcpOffset ¶
func (this ActionVlanPcp) VlanPcpOffset() int
type ActionVlanPcpConn ¶
func NewActionVlanPcpConn ¶
func NewActionVlanPcpConn(c net.Conn) ActionVlanPcpConn
func (*ActionVlanPcpConn) Flush ¶
func (c *ActionVlanPcpConn) Flush() error
func (*ActionVlanPcpConn) ReadActionVlanPcp ¶
func (c *ActionVlanPcpConn) ReadActionVlanPcp() (ActionVlanPcp, error)
func (*ActionVlanPcpConn) ReadActionVlanPcps ¶
func (c *ActionVlanPcpConn) ReadActionVlanPcps(pkts []ActionVlanPcp) (int, error)
func (*ActionVlanPcpConn) WriteActionVlanPcp ¶
func (c *ActionVlanPcpConn) WriteActionVlanPcp(pkt ActionVlanPcp) error
func (*ActionVlanPcpConn) WriteActionVlanPcps ¶
func (c *ActionVlanPcpConn) WriteActionVlanPcps(pkts []ActionVlanPcp) error
type ActionVlanVid ¶
type ActionVlanVid struct {
Action
}
func NewActionVlanVid ¶
func NewActionVlanVid() ActionVlanVid
func NewActionVlanVidWithBuf ¶
func NewActionVlanVidWithBuf(b []byte) ActionVlanVid
func ToActionVlanVid ¶
func ToActionVlanVid(p Action) (ActionVlanVid, error)
func (ActionVlanVid) Clone ¶
func (this ActionVlanVid) Clone() (ActionVlanVid, error)
func (*ActionVlanVid) Init ¶
func (this *ActionVlanVid) Init()
func (ActionVlanVid) Pad ¶
func (this ActionVlanVid) Pad() [2]uint8
func (ActionVlanVid) PadOffset ¶
func (this ActionVlanVid) PadOffset() int
func (*ActionVlanVid) SetPad ¶
func (this *ActionVlanVid) SetPad(p [2]uint8)
func (*ActionVlanVid) SetVlanVid ¶
func (this *ActionVlanVid) SetVlanVid(v uint16)
func (ActionVlanVid) Size ¶
func (this ActionVlanVid) Size() int
func (ActionVlanVid) VlanVid ¶
func (this ActionVlanVid) VlanVid() uint16
func (ActionVlanVid) VlanVidOffset ¶
func (this ActionVlanVid) VlanVidOffset() int
type ActionVlanVidConn ¶
func NewActionVlanVidConn ¶
func NewActionVlanVidConn(c net.Conn) ActionVlanVidConn
func (*ActionVlanVidConn) Flush ¶
func (c *ActionVlanVidConn) Flush() error
func (*ActionVlanVidConn) ReadActionVlanVid ¶
func (c *ActionVlanVidConn) ReadActionVlanVid() (ActionVlanVid, error)
func (*ActionVlanVidConn) ReadActionVlanVids ¶
func (c *ActionVlanVidConn) ReadActionVlanVids(pkts []ActionVlanVid) (int, error)
func (*ActionVlanVidConn) WriteActionVlanVid ¶
func (c *ActionVlanVidConn) WriteActionVlanVid(pkt ActionVlanVid) error
func (*ActionVlanVidConn) WriteActionVlanVids ¶
func (c *ActionVlanVidConn) WriteActionVlanVids(pkts []ActionVlanVid) error
type AggregateStatsReply ¶
type AggregateStatsReply struct {
StatsReply
}
func NewAggregateStatsReply ¶
func NewAggregateStatsReply() AggregateStatsReply
func NewAggregateStatsReplyWithBuf ¶
func NewAggregateStatsReplyWithBuf(b []byte) AggregateStatsReply
func ToAggregateStatsReply ¶
func ToAggregateStatsReply(p StatsReply) (AggregateStatsReply, error)
func (AggregateStatsReply) ByteCount ¶
func (this AggregateStatsReply) ByteCount() uint64
func (AggregateStatsReply) ByteCountOffset ¶
func (this AggregateStatsReply) ByteCountOffset() int
func (AggregateStatsReply) Clone ¶
func (this AggregateStatsReply) Clone() (AggregateStatsReply, error)
func (AggregateStatsReply) FlowCount ¶
func (this AggregateStatsReply) FlowCount() uint32
func (AggregateStatsReply) FlowCountOffset ¶
func (this AggregateStatsReply) FlowCountOffset() int
func (*AggregateStatsReply) Init ¶
func (this *AggregateStatsReply) Init()
func (AggregateStatsReply) PacketCount ¶
func (this AggregateStatsReply) PacketCount() uint64
func (AggregateStatsReply) PacketCountOffset ¶
func (this AggregateStatsReply) PacketCountOffset() int
func (AggregateStatsReply) Pad ¶
func (this AggregateStatsReply) Pad() [4]uint8
func (AggregateStatsReply) PadOffset ¶
func (this AggregateStatsReply) PadOffset() int
func (*AggregateStatsReply) SetByteCount ¶
func (this *AggregateStatsReply) SetByteCount(b uint64)
func (*AggregateStatsReply) SetFlowCount ¶
func (this *AggregateStatsReply) SetFlowCount(f uint32)
func (*AggregateStatsReply) SetPacketCount ¶
func (this *AggregateStatsReply) SetPacketCount(p uint64)
func (*AggregateStatsReply) SetPad ¶
func (this *AggregateStatsReply) SetPad(p [4]uint8)
func (AggregateStatsReply) Size ¶
func (this AggregateStatsReply) Size() int
type AggregateStatsReplyConn ¶
func NewAggregateStatsReplyConn ¶
func NewAggregateStatsReplyConn(c net.Conn) AggregateStatsReplyConn
func (*AggregateStatsReplyConn) Flush ¶
func (c *AggregateStatsReplyConn) Flush() error
func (*AggregateStatsReplyConn) ReadAggregateStatsReply ¶
func (c *AggregateStatsReplyConn) ReadAggregateStatsReply() (AggregateStatsReply, error)
func (*AggregateStatsReplyConn) ReadAggregateStatsReplys ¶
func (c *AggregateStatsReplyConn) ReadAggregateStatsReplys(pkts []AggregateStatsReply) (int, error)
func (*AggregateStatsReplyConn) WriteAggregateStatsReply ¶
func (c *AggregateStatsReplyConn) WriteAggregateStatsReply(pkt AggregateStatsReply) error
func (*AggregateStatsReplyConn) WriteAggregateStatsReplys ¶
func (c *AggregateStatsReplyConn) WriteAggregateStatsReplys(pkts []AggregateStatsReply) error
type AggregateStatsRequest ¶
type AggregateStatsRequest struct {
StatsRequest
}
func NewAggregateStatsRequest ¶
func NewAggregateStatsRequest() AggregateStatsRequest
func NewAggregateStatsRequestWithBuf ¶
func NewAggregateStatsRequestWithBuf(b []byte) AggregateStatsRequest
func ToAggregateStatsRequest ¶
func ToAggregateStatsRequest(p StatsRequest) (AggregateStatsRequest, error)
func (AggregateStatsRequest) Clone ¶
func (this AggregateStatsRequest) Clone() (AggregateStatsRequest, error)
func (*AggregateStatsRequest) Init ¶
func (this *AggregateStatsRequest) Init()
func (AggregateStatsRequest) Match ¶
func (this AggregateStatsRequest) Match() Match
func (AggregateStatsRequest) MatchOffset ¶
func (this AggregateStatsRequest) MatchOffset() int
func (AggregateStatsRequest) OutPort ¶
func (this AggregateStatsRequest) OutPort() uint16
func (AggregateStatsRequest) OutPortOffset ¶
func (this AggregateStatsRequest) OutPortOffset() int
func (AggregateStatsRequest) Pad ¶
func (this AggregateStatsRequest) Pad() uint8
func (AggregateStatsRequest) PadOffset ¶
func (this AggregateStatsRequest) PadOffset() int
func (*AggregateStatsRequest) SetMatch ¶
func (this *AggregateStatsRequest) SetMatch(m Match)
func (*AggregateStatsRequest) SetOutPort ¶
func (this *AggregateStatsRequest) SetOutPort(o uint16)
func (*AggregateStatsRequest) SetPad ¶
func (this *AggregateStatsRequest) SetPad(p uint8)
func (*AggregateStatsRequest) SetTableId ¶
func (this *AggregateStatsRequest) SetTableId(t uint8)
func (AggregateStatsRequest) Size ¶
func (this AggregateStatsRequest) Size() int
func (AggregateStatsRequest) TableId ¶
func (this AggregateStatsRequest) TableId() uint8
func (AggregateStatsRequest) TableIdOffset ¶
func (this AggregateStatsRequest) TableIdOffset() int
type AggregateStatsRequestConn ¶
func NewAggregateStatsRequestConn ¶
func NewAggregateStatsRequestConn(c net.Conn) AggregateStatsRequestConn
func (*AggregateStatsRequestConn) Flush ¶
func (c *AggregateStatsRequestConn) Flush() error
func (*AggregateStatsRequestConn) ReadAggregateStatsRequest ¶
func (c *AggregateStatsRequestConn) ReadAggregateStatsRequest() (AggregateStatsRequest, error)
func (*AggregateStatsRequestConn) ReadAggregateStatsRequests ¶
func (c *AggregateStatsRequestConn) ReadAggregateStatsRequests(pkts []AggregateStatsRequest) (int, error)
func (*AggregateStatsRequestConn) WriteAggregateStatsRequest ¶
func (c *AggregateStatsRequestConn) WriteAggregateStatsRequest(pkt AggregateStatsRequest) error
func (*AggregateStatsRequestConn) WriteAggregateStatsRequests ¶
func (c *AggregateStatsRequestConn) WriteAggregateStatsRequests(pkts []AggregateStatsRequest) error
type BadActionCode ¶
type BadActionCode int
const ( PBAC_BAD_TYPE BadActionCode = 0 PBAC_BAD_LEN BadActionCode = 1 PBAC_BAD_VENDOR BadActionCode = 2 PBAC_BAD_VENDOR_TYPE BadActionCode = 3 PBAC_BAD_OUT_PORT BadActionCode = 4 PBAC_BAD_ARGUMENT BadActionCode = 5 PBAC_EPERM BadActionCode = 6 PBAC_TOO_MANY BadActionCode = 7 PBAC_BAD_QUEUE BadActionCode = 8 )
type BadRequestCode ¶
type BadRequestCode int
const ( PBRC_BAD_VERSION BadRequestCode = 0 PBRC_BAD_TYPE BadRequestCode = 1 PBRC_BAD_STAT BadRequestCode = 2 PBRC_BAD_VENDOR BadRequestCode = 3 PBRC_BAD_SUBTYPE BadRequestCode = 4 PBRC_EPERM BadRequestCode = 5 PBRC_BAD_LEN BadRequestCode = 6 PBRC_BUFFER_EMPTY BadRequestCode = 7 PBRC_BUFFER_UNKNOWN BadRequestCode = 8 )
type Capabilities ¶
type Capabilities int
const ( PC_FLOW_STATS Capabilities = 1 PC_TABLE_STATS Capabilities = 2 PC_PORT_STATS Capabilities = 4 PC_STP Capabilities = 8 PC_RESERVED Capabilities = 16 PC_IP_REASM Capabilities = 32 PC_QUEUE_STATS Capabilities = 64 PC_ARP_MATCH_IP Capabilities = 128 )
type ConfigFlags ¶
type ConfigFlags int
const ( PC_FRAG_NORMAL ConfigFlags = 0 PC_FRAG_DROP ConfigFlags = 1 PC_FRAG_REASM ConfigFlags = 2 PC_FRAG_MASK ConfigFlags = 3 )
type DescStats ¶
type DescStats struct {
StatsReply
}
func NewDescStats ¶
func NewDescStats() DescStats
func NewDescStatsWithBuf ¶
func ToDescStats ¶
func ToDescStats(p StatsReply) (DescStats, error)
func (DescStats) DpDescOffset ¶
func (DescStats) HwDescOffset ¶
func (DescStats) MfrDescOffset ¶
func (DescStats) SerialNumOffset ¶
func (*DescStats) SetMfrDesc ¶
func (*DescStats) SetSerialNum ¶
func (DescStats) SwDescOffset ¶
type DescStatsConn ¶
func NewDescStatsConn ¶
func NewDescStatsConn(c net.Conn) DescStatsConn
func (*DescStatsConn) Flush ¶
func (c *DescStatsConn) Flush() error
func (*DescStatsConn) ReadDescStats ¶
func (c *DescStatsConn) ReadDescStats() (DescStats, error)
func (*DescStatsConn) ReadDescStatss ¶
func (c *DescStatsConn) ReadDescStatss(pkts []DescStats) (int, error)
func (*DescStatsConn) WriteDescStats ¶
func (c *DescStatsConn) WriteDescStats(pkt DescStats) error
func (*DescStatsConn) WriteDescStatss ¶
func (c *DescStatsConn) WriteDescStatss(pkts []DescStats) error
type DescStatsConstants ¶
type DescStatsConstants int
const ( SERIAL_NUM_LEN DescStatsConstants = 32 DESC_STR_LEN DescStatsConstants = 256 )
type EchoReply ¶
type EchoReply struct {
Header10
}
func NewEchoReply ¶
func NewEchoReply() EchoReply
func NewEchoReplyWithBuf ¶
func ToEchoReply ¶
type EchoReplyConn ¶
func NewEchoReplyConn ¶
func NewEchoReplyConn(c net.Conn) EchoReplyConn
func (*EchoReplyConn) Flush ¶
func (c *EchoReplyConn) Flush() error
func (*EchoReplyConn) ReadEchoReply ¶
func (c *EchoReplyConn) ReadEchoReply() (EchoReply, error)
func (*EchoReplyConn) ReadEchoReplys ¶
func (c *EchoReplyConn) ReadEchoReplys(pkts []EchoReply) (int, error)
func (*EchoReplyConn) WriteEchoReply ¶
func (c *EchoReplyConn) WriteEchoReply(pkt EchoReply) error
func (*EchoReplyConn) WriteEchoReplys ¶
func (c *EchoReplyConn) WriteEchoReplys(pkts []EchoReply) error
type EchoRequest ¶
type EchoRequest struct {
Header10
}
func NewEchoRequest ¶
func NewEchoRequest() EchoRequest
func NewEchoRequestWithBuf ¶
func NewEchoRequestWithBuf(b []byte) EchoRequest
func ToEchoRequest ¶
func ToEchoRequest(p Header10) (EchoRequest, error)
func (EchoRequest) Clone ¶
func (this EchoRequest) Clone() (EchoRequest, error)
func (*EchoRequest) Init ¶
func (this *EchoRequest) Init()
func (EchoRequest) Size ¶
func (this EchoRequest) Size() int
type EchoRequestConn ¶
func NewEchoRequestConn ¶
func NewEchoRequestConn(c net.Conn) EchoRequestConn
func (*EchoRequestConn) Flush ¶
func (c *EchoRequestConn) Flush() error
func (*EchoRequestConn) ReadEchoRequest ¶
func (c *EchoRequestConn) ReadEchoRequest() (EchoRequest, error)
func (*EchoRequestConn) ReadEchoRequests ¶
func (c *EchoRequestConn) ReadEchoRequests(pkts []EchoRequest) (int, error)
func (*EchoRequestConn) WriteEchoRequest ¶
func (c *EchoRequestConn) WriteEchoRequest(pkt EchoRequest) error
func (*EchoRequestConn) WriteEchoRequests ¶
func (c *EchoRequestConn) WriteEchoRequests(pkts []EchoRequest) error
type ErrorMsg ¶
type ErrorMsg struct {
Header10
}
func NewErrorMsg ¶
func NewErrorMsg() ErrorMsg
func NewErrorMsgWithBuf ¶
func ToErrorMsg ¶
func (ErrorMsg) CodeOffset ¶
func (ErrorMsg) DataOffset ¶
func (ErrorMsg) ErrTypeOffset ¶
func (*ErrorMsg) SetErrType ¶
type ErrorMsgConn ¶
func NewErrorMsgConn ¶
func NewErrorMsgConn(c net.Conn) ErrorMsgConn
func (*ErrorMsgConn) Flush ¶
func (c *ErrorMsgConn) Flush() error
func (*ErrorMsgConn) ReadErrorMsg ¶
func (c *ErrorMsgConn) ReadErrorMsg() (ErrorMsg, error)
func (*ErrorMsgConn) ReadErrorMsgs ¶
func (c *ErrorMsgConn) ReadErrorMsgs(pkts []ErrorMsg) (int, error)
func (*ErrorMsgConn) WriteErrorMsg ¶
func (c *ErrorMsgConn) WriteErrorMsg(pkt ErrorMsg) error
func (*ErrorMsgConn) WriteErrorMsgs ¶
func (c *ErrorMsgConn) WriteErrorMsgs(pkts []ErrorMsg) error
type FeaturesReply ¶
type FeaturesReply struct {
Header10
}
func NewFeaturesReply ¶
func NewFeaturesReply() FeaturesReply
func NewFeaturesReplyWithBuf ¶
func NewFeaturesReplyWithBuf(b []byte) FeaturesReply
func ToFeaturesReply ¶
func ToFeaturesReply(p Header10) (FeaturesReply, error)
func (FeaturesReply) Actions ¶
func (this FeaturesReply) Actions() uint32
func (FeaturesReply) ActionsOffset ¶
func (this FeaturesReply) ActionsOffset() int
func (*FeaturesReply) AddPorts ¶
func (this *FeaturesReply) AddPorts(p PhysicalPort)
func (FeaturesReply) Capabilities ¶
func (this FeaturesReply) Capabilities() uint32
func (FeaturesReply) CapabilitiesOffset ¶
func (this FeaturesReply) CapabilitiesOffset() int
func (FeaturesReply) Clone ¶
func (this FeaturesReply) Clone() (FeaturesReply, error)
func (FeaturesReply) DatapathId ¶
func (this FeaturesReply) DatapathId() uint64
func (FeaturesReply) DatapathIdOffset ¶
func (this FeaturesReply) DatapathIdOffset() int
func (*FeaturesReply) Init ¶
func (this *FeaturesReply) Init()
func (FeaturesReply) NBuffers ¶
func (this FeaturesReply) NBuffers() uint32
func (FeaturesReply) NBuffersOffset ¶
func (this FeaturesReply) NBuffersOffset() int
func (FeaturesReply) NTables ¶
func (this FeaturesReply) NTables() uint8
func (FeaturesReply) NTablesOffset ¶
func (this FeaturesReply) NTablesOffset() int
func (FeaturesReply) Pad ¶
func (this FeaturesReply) Pad() [3]uint8
func (FeaturesReply) PadOffset ¶
func (this FeaturesReply) PadOffset() int
func (FeaturesReply) Ports ¶
func (this FeaturesReply) Ports() []PhysicalPort
func (FeaturesReply) PortsOffset ¶
func (this FeaturesReply) PortsOffset() int
func (FeaturesReply) PortsSize ¶
func (this FeaturesReply) PortsSize() int
func (*FeaturesReply) SetActions ¶
func (this *FeaturesReply) SetActions(a uint32)
func (*FeaturesReply) SetCapabilities ¶
func (this *FeaturesReply) SetCapabilities(c uint32)
func (*FeaturesReply) SetDatapathId ¶
func (this *FeaturesReply) SetDatapathId(d uint64)
func (*FeaturesReply) SetNBuffers ¶
func (this *FeaturesReply) SetNBuffers(n uint32)
func (*FeaturesReply) SetNTables ¶
func (this *FeaturesReply) SetNTables(n uint8)
func (*FeaturesReply) SetPad ¶
func (this *FeaturesReply) SetPad(p [3]uint8)
func (FeaturesReply) Size ¶
func (this FeaturesReply) Size() int
type FeaturesReplyConn ¶
func NewFeaturesReplyConn ¶
func NewFeaturesReplyConn(c net.Conn) FeaturesReplyConn
func (*FeaturesReplyConn) Flush ¶
func (c *FeaturesReplyConn) Flush() error
func (*FeaturesReplyConn) ReadFeaturesReply ¶
func (c *FeaturesReplyConn) ReadFeaturesReply() (FeaturesReply, error)
func (*FeaturesReplyConn) ReadFeaturesReplys ¶
func (c *FeaturesReplyConn) ReadFeaturesReplys(pkts []FeaturesReply) (int, error)
func (*FeaturesReplyConn) WriteFeaturesReply ¶
func (c *FeaturesReplyConn) WriteFeaturesReply(pkt FeaturesReply) error
func (*FeaturesReplyConn) WriteFeaturesReplys ¶
func (c *FeaturesReplyConn) WriteFeaturesReplys(pkts []FeaturesReply) error
type FeaturesRequest ¶
type FeaturesRequest struct {
Header10
}
func NewFeaturesRequest ¶
func NewFeaturesRequest() FeaturesRequest
func NewFeaturesRequestWithBuf ¶
func NewFeaturesRequestWithBuf(b []byte) FeaturesRequest
func ToFeaturesRequest ¶
func ToFeaturesRequest(p Header10) (FeaturesRequest, error)
func (FeaturesRequest) Clone ¶
func (this FeaturesRequest) Clone() (FeaturesRequest, error)
func (*FeaturesRequest) Init ¶
func (this *FeaturesRequest) Init()
func (FeaturesRequest) Size ¶
func (this FeaturesRequest) Size() int
type FeaturesRequestConn ¶
func NewFeaturesRequestConn ¶
func NewFeaturesRequestConn(c net.Conn) FeaturesRequestConn
func (*FeaturesRequestConn) Flush ¶
func (c *FeaturesRequestConn) Flush() error
func (*FeaturesRequestConn) ReadFeaturesRequest ¶
func (c *FeaturesRequestConn) ReadFeaturesRequest() (FeaturesRequest, error)
func (*FeaturesRequestConn) ReadFeaturesRequests ¶
func (c *FeaturesRequestConn) ReadFeaturesRequests(pkts []FeaturesRequest) (int, error)
func (*FeaturesRequestConn) WriteFeaturesRequest ¶
func (c *FeaturesRequestConn) WriteFeaturesRequest(pkt FeaturesRequest) error
func (*FeaturesRequestConn) WriteFeaturesRequests ¶
func (c *FeaturesRequestConn) WriteFeaturesRequests(pkts []FeaturesRequest) error
type FlowMod ¶
type FlowMod struct {
Header10
}
func NewFlowMod ¶
func NewFlowMod() FlowMod
func NewFlowModWithBuf ¶
func (FlowMod) ActionsOffset ¶
func (FlowMod) ActionsSize ¶
func (*FlowMod) AddActions ¶
func (FlowMod) BufferIdOffset ¶
func (FlowMod) CommandOffset ¶
func (FlowMod) CookieOffset ¶
func (FlowMod) FlagsOffset ¶
func (FlowMod) HardTimeout ¶
func (FlowMod) HardTimeoutOffset ¶
func (FlowMod) IdleTimeout ¶
func (FlowMod) IdleTimeoutOffset ¶
func (FlowMod) MatchOffset ¶
func (FlowMod) OutPortOffset ¶
func (FlowMod) PriorityOffset ¶
func (*FlowMod) SetBufferId ¶
func (*FlowMod) SetCommand ¶
func (*FlowMod) SetHardTimeout ¶
func (*FlowMod) SetIdleTimeout ¶
func (*FlowMod) SetOutPort ¶
func (*FlowMod) SetPriority ¶
type FlowModCommand ¶
type FlowModCommand int
const ( PFC_ADD FlowModCommand = 0 PFC_MODIFY FlowModCommand = 1 PFC_MODIFY_STRICT FlowModCommand = 2 PFC_DELETE FlowModCommand = 3 PFC_DELETE_STRICT FlowModCommand = 4 )
type FlowModConn ¶
func NewFlowModConn ¶
func NewFlowModConn(c net.Conn) FlowModConn
func (*FlowModConn) Flush ¶
func (c *FlowModConn) Flush() error
func (*FlowModConn) ReadFlowMod ¶
func (c *FlowModConn) ReadFlowMod() (FlowMod, error)
func (*FlowModConn) ReadFlowMods ¶
func (c *FlowModConn) ReadFlowMods(pkts []FlowMod) (int, error)
func (*FlowModConn) WriteFlowMod ¶
func (c *FlowModConn) WriteFlowMod(pkt FlowMod) error
func (*FlowModConn) WriteFlowMods ¶
func (c *FlowModConn) WriteFlowMods(pkts []FlowMod) error
type FlowModFlags ¶
type FlowModFlags int
const ( PFF_SEND_FLOW_REM FlowModFlags = 1 PFF_CHECK_OVERLAP FlowModFlags = 2 PFF_EMERG FlowModFlags = 4 )
type FlowRemoved ¶
type FlowRemoved struct {
Header10
}
func NewFlowRemoved ¶
func NewFlowRemoved() FlowRemoved
func NewFlowRemovedWithBuf ¶
func NewFlowRemovedWithBuf(b []byte) FlowRemoved
func ToFlowRemoved ¶
func ToFlowRemoved(p Header10) (FlowRemoved, error)
func (FlowRemoved) ByteCount ¶
func (this FlowRemoved) ByteCount() uint64
func (FlowRemoved) ByteCountOffset ¶
func (this FlowRemoved) ByteCountOffset() int
func (FlowRemoved) Clone ¶
func (this FlowRemoved) Clone() (FlowRemoved, error)
func (FlowRemoved) Cookie ¶
func (this FlowRemoved) Cookie() uint64
func (FlowRemoved) CookieOffset ¶
func (this FlowRemoved) CookieOffset() int
func (FlowRemoved) DurationNsec ¶
func (this FlowRemoved) DurationNsec() uint32
func (FlowRemoved) DurationNsecOffset ¶
func (this FlowRemoved) DurationNsecOffset() int
func (FlowRemoved) DurationSec ¶
func (this FlowRemoved) DurationSec() uint32
func (FlowRemoved) DurationSecOffset ¶
func (this FlowRemoved) DurationSecOffset() int
func (FlowRemoved) IdleTimeout ¶
func (this FlowRemoved) IdleTimeout() uint16
func (FlowRemoved) IdleTimeoutOffset ¶
func (this FlowRemoved) IdleTimeoutOffset() int
func (*FlowRemoved) Init ¶
func (this *FlowRemoved) Init()
func (FlowRemoved) Match ¶
func (this FlowRemoved) Match() Match
func (FlowRemoved) MatchOffset ¶
func (this FlowRemoved) MatchOffset() int
func (FlowRemoved) PacketCount ¶
func (this FlowRemoved) PacketCount() uint64
func (FlowRemoved) PacketCountOffset ¶
func (this FlowRemoved) PacketCountOffset() int
func (FlowRemoved) Pad ¶
func (this FlowRemoved) Pad() [1]uint8
func (FlowRemoved) Pad2 ¶
func (this FlowRemoved) Pad2() [2]uint8
func (FlowRemoved) Pad2Offset ¶
func (this FlowRemoved) Pad2Offset() int
func (FlowRemoved) PadOffset ¶
func (this FlowRemoved) PadOffset() int
func (FlowRemoved) Priority ¶
func (this FlowRemoved) Priority() uint16
func (FlowRemoved) PriorityOffset ¶
func (this FlowRemoved) PriorityOffset() int
func (FlowRemoved) Reason ¶
func (this FlowRemoved) Reason() uint8
func (FlowRemoved) ReasonOffset ¶
func (this FlowRemoved) ReasonOffset() int
func (*FlowRemoved) SetByteCount ¶
func (this *FlowRemoved) SetByteCount(b uint64)
func (*FlowRemoved) SetCookie ¶
func (this *FlowRemoved) SetCookie(c uint64)
func (*FlowRemoved) SetDurationNsec ¶
func (this *FlowRemoved) SetDurationNsec(d uint32)
func (*FlowRemoved) SetDurationSec ¶
func (this *FlowRemoved) SetDurationSec(d uint32)
func (*FlowRemoved) SetIdleTimeout ¶
func (this *FlowRemoved) SetIdleTimeout(i uint16)
func (*FlowRemoved) SetMatch ¶
func (this *FlowRemoved) SetMatch(m Match)
func (*FlowRemoved) SetPacketCount ¶
func (this *FlowRemoved) SetPacketCount(p uint64)
func (*FlowRemoved) SetPad ¶
func (this *FlowRemoved) SetPad(p [1]uint8)
func (*FlowRemoved) SetPad2 ¶
func (this *FlowRemoved) SetPad2(p [2]uint8)
func (*FlowRemoved) SetPriority ¶
func (this *FlowRemoved) SetPriority(p uint16)
func (*FlowRemoved) SetReason ¶
func (this *FlowRemoved) SetReason(r uint8)
func (FlowRemoved) Size ¶
func (this FlowRemoved) Size() int
type FlowRemovedConn ¶
func NewFlowRemovedConn ¶
func NewFlowRemovedConn(c net.Conn) FlowRemovedConn
func (*FlowRemovedConn) Flush ¶
func (c *FlowRemovedConn) Flush() error
func (*FlowRemovedConn) ReadFlowRemoved ¶
func (c *FlowRemovedConn) ReadFlowRemoved() (FlowRemoved, error)
func (*FlowRemovedConn) ReadFlowRemoveds ¶
func (c *FlowRemovedConn) ReadFlowRemoveds(pkts []FlowRemoved) (int, error)
func (*FlowRemovedConn) WriteFlowRemoved ¶
func (c *FlowRemovedConn) WriteFlowRemoved(pkt FlowRemoved) error
func (*FlowRemovedConn) WriteFlowRemoveds ¶
func (c *FlowRemovedConn) WriteFlowRemoveds(pkts []FlowRemoved) error
type FlowRemovedReason ¶
type FlowRemovedReason int
const ( PRR_IDLE_TIMEOUT FlowRemovedReason = 0 PRR_HARD_TIMEOUT FlowRemovedReason = 1 PRR_DELETE FlowRemovedReason = 2 )
type FlowStats ¶
func NewFlowStats ¶
func NewFlowStats() FlowStats
func NewFlowStatsWithBuf ¶
func (FlowStats) ActionsOffset ¶
func (FlowStats) ActionsSize ¶
func (*FlowStats) AddActions ¶
func (FlowStats) ByteCountOffset ¶
func (FlowStats) CookieOffset ¶
func (FlowStats) DurationNsec ¶
func (FlowStats) DurationNsecOffset ¶
func (FlowStats) DurationSec ¶
func (FlowStats) DurationSecOffset ¶
func (FlowStats) HardTimeout ¶
func (FlowStats) HardTimeoutOffset ¶
func (FlowStats) IdleTimeout ¶
func (FlowStats) IdleTimeoutOffset ¶
func (FlowStats) LengthOffset ¶
func (FlowStats) MatchOffset ¶
func (FlowStats) PacketCount ¶
func (FlowStats) PacketCountOffset ¶
func (FlowStats) Pad2Offset ¶
func (FlowStats) PriorityOffset ¶
func (*FlowStats) SetByteCount ¶
func (*FlowStats) SetDurationNsec ¶
func (*FlowStats) SetDurationSec ¶
func (*FlowStats) SetHardTimeout ¶
func (*FlowStats) SetIdleTimeout ¶
func (*FlowStats) SetPacketCount ¶
func (*FlowStats) SetPriority ¶
func (*FlowStats) SetTableId ¶
func (FlowStats) TableIdOffset ¶
type FlowStatsConn ¶
func NewFlowStatsConn ¶
func NewFlowStatsConn(c net.Conn) FlowStatsConn
func (*FlowStatsConn) Flush ¶
func (c *FlowStatsConn) Flush() error
func (*FlowStatsConn) ReadFlowStats ¶
func (c *FlowStatsConn) ReadFlowStats() (FlowStats, error)
func (*FlowStatsConn) ReadFlowStatss ¶
func (c *FlowStatsConn) ReadFlowStatss(pkts []FlowStats) (int, error)
func (*FlowStatsConn) WriteFlowStats ¶
func (c *FlowStatsConn) WriteFlowStats(pkt FlowStats) error
func (*FlowStatsConn) WriteFlowStatss ¶
func (c *FlowStatsConn) WriteFlowStatss(pkts []FlowStats) error
type FlowStatsReply ¶
type FlowStatsReply struct {
StatsReply
}
func NewFlowStatsReply ¶
func NewFlowStatsReply() FlowStatsReply
func NewFlowStatsReplyWithBuf ¶
func NewFlowStatsReplyWithBuf(b []byte) FlowStatsReply
func ToFlowStatsReply ¶
func ToFlowStatsReply(p StatsReply) (FlowStatsReply, error)
func (*FlowStatsReply) AddFlowStats ¶
func (this *FlowStatsReply) AddFlowStats(f FlowStats)
func (FlowStatsReply) Clone ¶
func (this FlowStatsReply) Clone() (FlowStatsReply, error)
func (FlowStatsReply) FlowStats ¶
func (this FlowStatsReply) FlowStats() []FlowStats
func (FlowStatsReply) FlowStatsOffset ¶
func (this FlowStatsReply) FlowStatsOffset() int
func (FlowStatsReply) FlowStatsSize ¶
func (this FlowStatsReply) FlowStatsSize() int
func (*FlowStatsReply) Init ¶
func (this *FlowStatsReply) Init()
func (FlowStatsReply) Size ¶
func (this FlowStatsReply) Size() int
type FlowStatsReplyConn ¶
func NewFlowStatsReplyConn ¶
func NewFlowStatsReplyConn(c net.Conn) FlowStatsReplyConn
func (*FlowStatsReplyConn) Flush ¶
func (c *FlowStatsReplyConn) Flush() error
func (*FlowStatsReplyConn) ReadFlowStatsReply ¶
func (c *FlowStatsReplyConn) ReadFlowStatsReply() (FlowStatsReply, error)
func (*FlowStatsReplyConn) ReadFlowStatsReplys ¶
func (c *FlowStatsReplyConn) ReadFlowStatsReplys(pkts []FlowStatsReply) (int, error)
func (*FlowStatsReplyConn) WriteFlowStatsReply ¶
func (c *FlowStatsReplyConn) WriteFlowStatsReply(pkt FlowStatsReply) error
func (*FlowStatsReplyConn) WriteFlowStatsReplys ¶
func (c *FlowStatsReplyConn) WriteFlowStatsReplys(pkts []FlowStatsReply) error
type FlowStatsRequest ¶
type FlowStatsRequest struct {
StatsRequest
}
func NewFlowStatsRequest ¶
func NewFlowStatsRequest() FlowStatsRequest
func NewFlowStatsRequestWithBuf ¶
func NewFlowStatsRequestWithBuf(b []byte) FlowStatsRequest
func ToFlowStatsRequest ¶
func ToFlowStatsRequest(p StatsRequest) (FlowStatsRequest, error)
func (FlowStatsRequest) Clone ¶
func (this FlowStatsRequest) Clone() (FlowStatsRequest, error)
func (*FlowStatsRequest) Init ¶
func (this *FlowStatsRequest) Init()
func (FlowStatsRequest) Match ¶
func (this FlowStatsRequest) Match() Match
func (FlowStatsRequest) MatchOffset ¶
func (this FlowStatsRequest) MatchOffset() int
func (FlowStatsRequest) OutPort ¶
func (this FlowStatsRequest) OutPort() uint16
func (FlowStatsRequest) OutPortOffset ¶
func (this FlowStatsRequest) OutPortOffset() int
func (FlowStatsRequest) Pad ¶
func (this FlowStatsRequest) Pad() uint8
func (FlowStatsRequest) PadOffset ¶
func (this FlowStatsRequest) PadOffset() int
func (*FlowStatsRequest) SetMatch ¶
func (this *FlowStatsRequest) SetMatch(m Match)
func (*FlowStatsRequest) SetOutPort ¶
func (this *FlowStatsRequest) SetOutPort(o uint16)
func (*FlowStatsRequest) SetPad ¶
func (this *FlowStatsRequest) SetPad(p uint8)
func (*FlowStatsRequest) SetTableId ¶
func (this *FlowStatsRequest) SetTableId(t uint8)
func (FlowStatsRequest) Size ¶
func (this FlowStatsRequest) Size() int
func (FlowStatsRequest) TableId ¶
func (this FlowStatsRequest) TableId() uint8
func (FlowStatsRequest) TableIdOffset ¶
func (this FlowStatsRequest) TableIdOffset() int
type FlowStatsRequestConn ¶
func NewFlowStatsRequestConn ¶
func NewFlowStatsRequestConn(c net.Conn) FlowStatsRequestConn
func (*FlowStatsRequestConn) Flush ¶
func (c *FlowStatsRequestConn) Flush() error
func (*FlowStatsRequestConn) ReadFlowStatsRequest ¶
func (c *FlowStatsRequestConn) ReadFlowStatsRequest() (FlowStatsRequest, error)
func (*FlowStatsRequestConn) ReadFlowStatsRequests ¶
func (c *FlowStatsRequestConn) ReadFlowStatsRequests(pkts []FlowStatsRequest) (int, error)
func (*FlowStatsRequestConn) WriteFlowStatsRequest ¶
func (c *FlowStatsRequestConn) WriteFlowStatsRequest(pkt FlowStatsRequest) error
func (*FlowStatsRequestConn) WriteFlowStatsRequests ¶
func (c *FlowStatsRequestConn) WriteFlowStatsRequests(pkts []FlowStatsRequest) error
type FlowWildcards ¶
type FlowWildcards int
const ( PFW_IN_PORT FlowWildcards = 1 PFW_DL_VLAN FlowWildcards = 2 PFW_DL_SRC FlowWildcards = 4 PFW_DL_DST FlowWildcards = 8 PFW_DL_TYPE FlowWildcards = 16 PFW_NW_PROTO FlowWildcards = 32 PFW_TP_SRC FlowWildcards = 64 PFW_TP_DST FlowWildcards = 128 PFW_NW_SRC_SHIFT FlowWildcards = 8 PFW_NW_SRC_BITS FlowWildcards = 6 PFW_NW_SRC_MASK FlowWildcards = 16128 PFW_NW_SRC_ALL FlowWildcards = 8192 PFW_NW_DST_SHIFT FlowWildcards = 14 PFW_NW_DST_BITS FlowWildcards = 6 PFW_NW_DST_MASK FlowWildcards = 1032192 PFW_NW_DST_ALL FlowWildcards = 524288 PFW_DL_VLAN_PCP FlowWildcards = 1048576 PFW_NW_TOS FlowWildcards = 2097152 PFW_ALL FlowWildcards = 4194303 )
type Flow_modFailedCode ¶
type Flow_modFailedCode int
const ( PFMFC_ALL_TABLES_FULL Flow_modFailedCode = 0 PFMFC_OVERLAP Flow_modFailedCode = 1 PFMFC_EPERM Flow_modFailedCode = 2 PFMFC_BAD_EMERG_TIMEOUT Flow_modFailedCode = 3 PFMFC_BAD_COMMAND Flow_modFailedCode = 4 PFMFC_UNSUPPORTED Flow_modFailedCode = 5 )
type GetConfigRequest ¶
type GetConfigRequest struct {
Header10
}
func NewGetConfigRequest ¶
func NewGetConfigRequest() GetConfigRequest
func NewGetConfigRequestWithBuf ¶
func NewGetConfigRequestWithBuf(b []byte) GetConfigRequest
func ToGetConfigRequest ¶
func ToGetConfigRequest(p Header10) (GetConfigRequest, error)
func (GetConfigRequest) Clone ¶
func (this GetConfigRequest) Clone() (GetConfigRequest, error)
func (*GetConfigRequest) Init ¶
func (this *GetConfigRequest) Init()
func (GetConfigRequest) Size ¶
func (this GetConfigRequest) Size() int
type GetConfigRequestConn ¶
func NewGetConfigRequestConn ¶
func NewGetConfigRequestConn(c net.Conn) GetConfigRequestConn
func (*GetConfigRequestConn) Flush ¶
func (c *GetConfigRequestConn) Flush() error
func (*GetConfigRequestConn) ReadGetConfigRequest ¶
func (c *GetConfigRequestConn) ReadGetConfigRequest() (GetConfigRequest, error)
func (*GetConfigRequestConn) ReadGetConfigRequests ¶
func (c *GetConfigRequestConn) ReadGetConfigRequests(pkts []GetConfigRequest) (int, error)
func (*GetConfigRequestConn) WriteGetConfigRequest ¶
func (c *GetConfigRequestConn) WriteGetConfigRequest(pkt GetConfigRequest) error
func (*GetConfigRequestConn) WriteGetConfigRequests ¶
func (c *GetConfigRequestConn) WriteGetConfigRequests(pkts []GetConfigRequest) error
type Header10Conn ¶
func NewHeader10Conn ¶
func NewHeader10Conn(c net.Conn) Header10Conn
func (*Header10Conn) Flush ¶
func (c *Header10Conn) Flush() error
func (*Header10Conn) ReadHeader10 ¶
func (c *Header10Conn) ReadHeader10() (Header10, error)
func (*Header10Conn) ReadHeader10s ¶
func (c *Header10Conn) ReadHeader10s(pkts []Header10) (int, error)
func (*Header10Conn) WriteHeader10 ¶
func (c *Header10Conn) WriteHeader10(pkt Header10) error
func (*Header10Conn) WriteHeader10s ¶
func (c *Header10Conn) WriteHeader10s(pkts []Header10) error
type Hello ¶
func NewHelloWithBuf ¶
type HelloFailedCode ¶
type HelloFailedCode int
const ( PHFC_INCOMPATIBLE HelloFailedCode = 0 PHFC_EPERM HelloFailedCode = 1 )
type Match ¶
func NewMatchWithBuf ¶
func (Match) DlDstOffset ¶
func (Match) DlSrcOffset ¶
func (Match) DlTypeOffset ¶
func (Match) DlVlanOffset ¶
func (Match) DlVlanPcpOffset ¶
func (Match) InPortOffset ¶
func (Match) NwDstOffset ¶
func (Match) NwProtoOffset ¶
func (Match) NwSrcOffset ¶
func (Match) NwTosOffset ¶
func (Match) Pad1Offset ¶
func (Match) Pad2Offset ¶
func (*Match) SetDlVlanPcp ¶
func (*Match) SetNwProto ¶
func (*Match) SetWildcards ¶
func (Match) TpDstOffset ¶
func (Match) TpSrcOffset ¶
func (Match) WildcardsOffset ¶
type PacketIn ¶
type PacketIn struct {
Header10
}
func NewPacketIn ¶
func NewPacketIn() PacketIn
func NewPacketInWithBuf ¶
func ToPacketIn ¶
func (PacketIn) BufferIdOffset ¶
func (PacketIn) DataOffset ¶
func (PacketIn) InPortOffset ¶
func (PacketIn) ReasonOffset ¶
func (*PacketIn) SetBufferId ¶
func (*PacketIn) SetTotalLen ¶
func (PacketIn) TotalLenOffset ¶
type PacketInConn ¶
func NewPacketInConn ¶
func NewPacketInConn(c net.Conn) PacketInConn
func (*PacketInConn) Flush ¶
func (c *PacketInConn) Flush() error
func (*PacketInConn) ReadPacketIn ¶
func (c *PacketInConn) ReadPacketIn() (PacketIn, error)
func (*PacketInConn) ReadPacketIns ¶
func (c *PacketInConn) ReadPacketIns(pkts []PacketIn) (int, error)
func (*PacketInConn) WritePacketIn ¶
func (c *PacketInConn) WritePacketIn(pkt PacketIn) error
func (*PacketInConn) WritePacketIns ¶
func (c *PacketInConn) WritePacketIns(pkts []PacketIn) error
type PacketInReason ¶
type PacketInReason int
const ( PR_NO_MATCH PacketInReason = 0 PR_ACTION PacketInReason = 1 )
type PacketOut ¶
type PacketOut struct {
Header10
}
func NewPacketOut ¶
func NewPacketOut() PacketOut
func NewPacketOutWithBuf ¶
func ToPacketOut ¶
func (PacketOut) ActionsLen ¶
func (PacketOut) ActionsLenOffset ¶
func (PacketOut) ActionsOffset ¶
func (PacketOut) ActionsSize ¶
func (*PacketOut) AddActions ¶
func (PacketOut) BufferIdOffset ¶
func (PacketOut) DataOffset ¶
func (PacketOut) InPortOffset ¶
func (*PacketOut) SetActionsLen ¶
func (*PacketOut) SetBufferId ¶
type PacketOutConn ¶
func NewPacketOutConn ¶
func NewPacketOutConn(c net.Conn) PacketOutConn
func (*PacketOutConn) Flush ¶
func (c *PacketOutConn) Flush() error
func (*PacketOutConn) ReadPacketOut ¶
func (c *PacketOutConn) ReadPacketOut() (PacketOut, error)
func (*PacketOutConn) ReadPacketOuts ¶
func (c *PacketOutConn) ReadPacketOuts(pkts []PacketOut) (int, error)
func (*PacketOutConn) WritePacketOut ¶
func (c *PacketOutConn) WritePacketOut(pkt PacketOut) error
func (*PacketOutConn) WritePacketOuts ¶
func (c *PacketOutConn) WritePacketOuts(pkts []PacketOut) error
type PacketQueue ¶
func NewPacketQueue ¶
func NewPacketQueue() PacketQueue
func NewPacketQueueWithBuf ¶
func NewPacketQueueWithBuf(b []byte) PacketQueue
func ToPacketQueue ¶
func ToPacketQueue(p packet.Packet) (PacketQueue, error)
func (*PacketQueue) AddProperties ¶
func (this *PacketQueue) AddProperties(p QueuePropHeader)
func (PacketQueue) Clone ¶
func (this PacketQueue) Clone() (PacketQueue, error)
func (*PacketQueue) Init ¶
func (this *PacketQueue) Init()
func (PacketQueue) Len ¶
func (this PacketQueue) Len() uint16
func (PacketQueue) LenOffset ¶
func (this PacketQueue) LenOffset() int
func (PacketQueue) Pad ¶
func (this PacketQueue) Pad() [2]uint8
func (PacketQueue) PadOffset ¶
func (this PacketQueue) PadOffset() int
func (PacketQueue) Properties ¶
func (this PacketQueue) Properties() []QueuePropHeader
func (PacketQueue) PropertiesOffset ¶
func (this PacketQueue) PropertiesOffset() int
func (PacketQueue) PropertiesSize ¶
func (this PacketQueue) PropertiesSize() int
func (PacketQueue) QueueId ¶
func (this PacketQueue) QueueId() uint32
func (PacketQueue) QueueIdOffset ¶
func (this PacketQueue) QueueIdOffset() int
func (*PacketQueue) SetLen ¶
func (this *PacketQueue) SetLen(l uint16)
func (*PacketQueue) SetPad ¶
func (this *PacketQueue) SetPad(p [2]uint8)
func (*PacketQueue) SetQueueId ¶
func (this *PacketQueue) SetQueueId(q uint32)
func (PacketQueue) Size ¶
func (this PacketQueue) Size() int
type PacketQueueConn ¶
func NewPacketQueueConn ¶
func NewPacketQueueConn(c net.Conn) PacketQueueConn
func (*PacketQueueConn) Flush ¶
func (c *PacketQueueConn) Flush() error
func (*PacketQueueConn) ReadPacketQueue ¶
func (c *PacketQueueConn) ReadPacketQueue() (PacketQueue, error)
func (*PacketQueueConn) ReadPacketQueues ¶
func (c *PacketQueueConn) ReadPacketQueues(pkts []PacketQueue) (int, error)
func (*PacketQueueConn) WritePacketQueue ¶
func (c *PacketQueueConn) WritePacketQueue(pkt PacketQueue) error
func (*PacketQueueConn) WritePacketQueues ¶
func (c *PacketQueueConn) WritePacketQueues(pkts []PacketQueue) error
type PhysicalPort ¶
func NewPhysicalPort ¶
func NewPhysicalPort() PhysicalPort
func NewPhysicalPortWithBuf ¶
func NewPhysicalPortWithBuf(b []byte) PhysicalPort
func ToPhysicalPort ¶
func ToPhysicalPort(p packet.Packet) (PhysicalPort, error)
func (PhysicalPort) Advertised ¶
func (this PhysicalPort) Advertised() uint32
func (PhysicalPort) AdvertisedOffset ¶
func (this PhysicalPort) AdvertisedOffset() int
func (PhysicalPort) Clone ¶
func (this PhysicalPort) Clone() (PhysicalPort, error)
func (PhysicalPort) Config ¶
func (this PhysicalPort) Config() uint32
func (PhysicalPort) ConfigOffset ¶
func (this PhysicalPort) ConfigOffset() int
func (PhysicalPort) Curr ¶
func (this PhysicalPort) Curr() uint32
func (PhysicalPort) CurrOffset ¶
func (this PhysicalPort) CurrOffset() int
func (PhysicalPort) HwAddr ¶
func (this PhysicalPort) HwAddr() [6]uint8
func (PhysicalPort) HwAddrOffset ¶
func (this PhysicalPort) HwAddrOffset() int
func (*PhysicalPort) Init ¶
func (this *PhysicalPort) Init()
func (PhysicalPort) Name ¶
func (this PhysicalPort) Name() [16]byte
func (PhysicalPort) NameOffset ¶
func (this PhysicalPort) NameOffset() int
func (PhysicalPort) Peer ¶
func (this PhysicalPort) Peer() uint32
func (PhysicalPort) PeerOffset ¶
func (this PhysicalPort) PeerOffset() int
func (PhysicalPort) PortNo ¶
func (this PhysicalPort) PortNo() uint16
func (PhysicalPort) PortNoOffset ¶
func (this PhysicalPort) PortNoOffset() int
func (*PhysicalPort) SetAdvertised ¶
func (this *PhysicalPort) SetAdvertised(a uint32)
func (*PhysicalPort) SetConfig ¶
func (this *PhysicalPort) SetConfig(c uint32)
func (*PhysicalPort) SetCurr ¶
func (this *PhysicalPort) SetCurr(c uint32)
func (*PhysicalPort) SetHwAddr ¶
func (this *PhysicalPort) SetHwAddr(h [6]uint8)
func (*PhysicalPort) SetName ¶
func (this *PhysicalPort) SetName(n [16]byte)
func (*PhysicalPort) SetPeer ¶
func (this *PhysicalPort) SetPeer(p uint32)
func (*PhysicalPort) SetPortNo ¶
func (this *PhysicalPort) SetPortNo(p uint16)
func (*PhysicalPort) SetState ¶
func (this *PhysicalPort) SetState(s uint32)
func (*PhysicalPort) SetSupported ¶
func (this *PhysicalPort) SetSupported(s uint32)
func (PhysicalPort) Size ¶
func (this PhysicalPort) Size() int
func (PhysicalPort) State ¶
func (this PhysicalPort) State() uint32
func (PhysicalPort) StateOffset ¶
func (this PhysicalPort) StateOffset() int
func (PhysicalPort) Supported ¶
func (this PhysicalPort) Supported() uint32
func (PhysicalPort) SupportedOffset ¶
func (this PhysicalPort) SupportedOffset() int
type PhysicalPortConn ¶
func NewPhysicalPortConn ¶
func NewPhysicalPortConn(c net.Conn) PhysicalPortConn
func (*PhysicalPortConn) Flush ¶
func (c *PhysicalPortConn) Flush() error
func (*PhysicalPortConn) ReadPhysicalPort ¶
func (c *PhysicalPortConn) ReadPhysicalPort() (PhysicalPort, error)
func (*PhysicalPortConn) ReadPhysicalPorts ¶
func (c *PhysicalPortConn) ReadPhysicalPorts(pkts []PhysicalPort) (int, error)
func (*PhysicalPortConn) WritePhysicalPort ¶
func (c *PhysicalPortConn) WritePhysicalPort(pkt PhysicalPort) error
func (*PhysicalPortConn) WritePhysicalPorts ¶
func (c *PhysicalPortConn) WritePhysicalPorts(pkts []PhysicalPort) error
type PortConfig ¶
type PortConfig int
const ( PPC_PORT_DOWN PortConfig = 1 PPC_NO_STP PortConfig = 2 PPC_NO_RECV PortConfig = 4 PPC_NO_RECV_STP PortConfig = 8 PPC_NO_FLOOD PortConfig = 16 PPC_NO_FWD PortConfig = 32 PPC_NO_PACKET_IN PortConfig = 64 )
type PortFeatures ¶
type PortFeatures int
const ( PPF_10MB_HD PortFeatures = 0 PPF_10MB_FD PortFeatures = 2 PPF_100MB_HD PortFeatures = 4 PPF_100MB_FD PortFeatures = 8 PPF_1GB_HD PortFeatures = 16 PPF_1GB_FD PortFeatures = 32 PPF_10GB_FD PortFeatures = 64 PPF_COPPER PortFeatures = 128 PPF_FIBER PortFeatures = 256 PPF_AUTONEG PortFeatures = 512 PPF_PAUSE PortFeatures = 1024 PPF_PAUSE_ASYM PortFeatures = 2048 )
type PortMod ¶
type PortMod struct {
Header10
}
func NewPortMod ¶
func NewPortMod() PortMod
func NewPortModWithBuf ¶
func (PortMod) AdvertiseOffset ¶
func (PortMod) ConfigOffset ¶
func (PortMod) HwAddrOffset ¶
func (PortMod) MaskOffset ¶
func (PortMod) PortNoOffset ¶
func (*PortMod) SetAdvertise ¶
type PortModConn ¶
func NewPortModConn ¶
func NewPortModConn(c net.Conn) PortModConn
func (*PortModConn) Flush ¶
func (c *PortModConn) Flush() error
func (*PortModConn) ReadPortMod ¶
func (c *PortModConn) ReadPortMod() (PortMod, error)
func (*PortModConn) ReadPortMods ¶
func (c *PortModConn) ReadPortMods(pkts []PortMod) (int, error)
func (*PortModConn) WritePortMod ¶
func (c *PortModConn) WritePortMod(pkt PortMod) error
func (*PortModConn) WritePortMods ¶
func (c *PortModConn) WritePortMods(pkts []PortMod) error
type PortReason ¶
type PortReason int
const ( PPR_ADD PortReason = 0 PPR_DELETE PortReason = 1 PPR_MODIFY PortReason = 2 )
type PortStats ¶
type PortStats struct {
StatsReply
}
func NewPortStats ¶
func NewPortStats() PortStats
func NewPortStatsWithBuf ¶
func ToPortStats ¶
func ToPortStats(p StatsReply) (PortStats, error)
func (PortStats) Collisions ¶
func (PortStats) CollisionsOffset ¶
func (PortStats) PortNoOffset ¶
func (PortStats) RxBytesOffset ¶
func (PortStats) RxCrcErrOffset ¶
func (PortStats) RxDroppedOffset ¶
func (PortStats) RxErrorsOffset ¶
func (PortStats) RxFrameErr ¶
func (PortStats) RxFrameErrOffset ¶
func (PortStats) RxOverErrOffset ¶
func (PortStats) RxPacketsOffset ¶
func (*PortStats) SetCollisions ¶
func (*PortStats) SetRxBytes ¶
func (*PortStats) SetRxCrcErr ¶
func (*PortStats) SetRxDropped ¶
func (*PortStats) SetRxErrors ¶
func (*PortStats) SetRxFrameErr ¶
func (*PortStats) SetRxOverErr ¶
func (*PortStats) SetRxPackets ¶
func (*PortStats) SetTxBytes ¶
func (*PortStats) SetTxDropped ¶
func (*PortStats) SetTxErrors ¶
func (*PortStats) SetTxPackets ¶
func (PortStats) TxBytesOffset ¶
func (PortStats) TxDroppedOffset ¶
func (PortStats) TxErrorsOffset ¶
func (PortStats) TxPacketsOffset ¶
type PortStatsConn ¶
func NewPortStatsConn ¶
func NewPortStatsConn(c net.Conn) PortStatsConn
func (*PortStatsConn) Flush ¶
func (c *PortStatsConn) Flush() error
func (*PortStatsConn) ReadPortStats ¶
func (c *PortStatsConn) ReadPortStats() (PortStats, error)
func (*PortStatsConn) ReadPortStatss ¶
func (c *PortStatsConn) ReadPortStatss(pkts []PortStats) (int, error)
func (*PortStatsConn) WritePortStats ¶
func (c *PortStatsConn) WritePortStats(pkt PortStats) error
func (*PortStatsConn) WritePortStatss ¶
func (c *PortStatsConn) WritePortStatss(pkts []PortStats) error
type PortStatsRequest ¶
type PortStatsRequest struct {
StatsRequest
}
func NewPortStatsRequest ¶
func NewPortStatsRequest() PortStatsRequest
func NewPortStatsRequestWithBuf ¶
func NewPortStatsRequestWithBuf(b []byte) PortStatsRequest
func ToPortStatsRequest ¶
func ToPortStatsRequest(p StatsRequest) (PortStatsRequest, error)
func (PortStatsRequest) Clone ¶
func (this PortStatsRequest) Clone() (PortStatsRequest, error)
func (*PortStatsRequest) Init ¶
func (this *PortStatsRequest) Init()
func (PortStatsRequest) Pad ¶
func (this PortStatsRequest) Pad() [6]uint8
func (PortStatsRequest) PadOffset ¶
func (this PortStatsRequest) PadOffset() int
func (PortStatsRequest) PortNo ¶
func (this PortStatsRequest) PortNo() uint16
func (PortStatsRequest) PortNoOffset ¶
func (this PortStatsRequest) PortNoOffset() int
func (*PortStatsRequest) SetPad ¶
func (this *PortStatsRequest) SetPad(p [6]uint8)
func (*PortStatsRequest) SetPortNo ¶
func (this *PortStatsRequest) SetPortNo(p uint16)
func (PortStatsRequest) Size ¶
func (this PortStatsRequest) Size() int
type PortStatsRequestConn ¶
func NewPortStatsRequestConn ¶
func NewPortStatsRequestConn(c net.Conn) PortStatsRequestConn
func (*PortStatsRequestConn) Flush ¶
func (c *PortStatsRequestConn) Flush() error
func (*PortStatsRequestConn) ReadPortStatsRequest ¶
func (c *PortStatsRequestConn) ReadPortStatsRequest() (PortStatsRequest, error)
func (*PortStatsRequestConn) ReadPortStatsRequests ¶
func (c *PortStatsRequestConn) ReadPortStatsRequests(pkts []PortStatsRequest) (int, error)
func (*PortStatsRequestConn) WritePortStatsRequest ¶
func (c *PortStatsRequestConn) WritePortStatsRequest(pkt PortStatsRequest) error
func (*PortStatsRequestConn) WritePortStatsRequests ¶
func (c *PortStatsRequestConn) WritePortStatsRequests(pkts []PortStatsRequest) error
type PortStatus ¶
type PortStatus struct {
Header10
}
func NewPortStatus ¶
func NewPortStatus() PortStatus
func NewPortStatusWithBuf ¶
func NewPortStatusWithBuf(b []byte) PortStatus
func ToPortStatus ¶
func ToPortStatus(p Header10) (PortStatus, error)
func (PortStatus) Clone ¶
func (this PortStatus) Clone() (PortStatus, error)
func (PortStatus) Desc ¶
func (this PortStatus) Desc() PhysicalPort
func (PortStatus) DescOffset ¶
func (this PortStatus) DescOffset() int
func (*PortStatus) Init ¶
func (this *PortStatus) Init()
func (PortStatus) Pad ¶
func (this PortStatus) Pad() [7]uint8
func (PortStatus) PadOffset ¶
func (this PortStatus) PadOffset() int
func (PortStatus) Reason ¶
func (this PortStatus) Reason() uint8
func (PortStatus) ReasonOffset ¶
func (this PortStatus) ReasonOffset() int
func (*PortStatus) SetDesc ¶
func (this *PortStatus) SetDesc(d PhysicalPort)
func (*PortStatus) SetPad ¶
func (this *PortStatus) SetPad(p [7]uint8)
func (*PortStatus) SetReason ¶
func (this *PortStatus) SetReason(r uint8)
func (PortStatus) Size ¶
func (this PortStatus) Size() int
type PortStatusConn ¶
func NewPortStatusConn ¶
func NewPortStatusConn(c net.Conn) PortStatusConn
func (*PortStatusConn) Flush ¶
func (c *PortStatusConn) Flush() error
func (*PortStatusConn) ReadPortStatus ¶
func (c *PortStatusConn) ReadPortStatus() (PortStatus, error)
func (*PortStatusConn) ReadPortStatuss ¶
func (c *PortStatusConn) ReadPortStatuss(pkts []PortStatus) (int, error)
func (*PortStatusConn) WritePortStatus ¶
func (c *PortStatusConn) WritePortStatus(pkt PortStatus) error
func (*PortStatusConn) WritePortStatuss ¶
func (c *PortStatusConn) WritePortStatuss(pkts []PortStatus) error
type Port_modFailedCode ¶
type Port_modFailedCode int
const ( PPMFC_BAD_PORT Port_modFailedCode = 0 PPMFC_BAD_HW_ADDR Port_modFailedCode = 1 )
type QueueGetConfigReply ¶
type QueueGetConfigReply struct {
Header10
}
func NewQueueGetConfigReply ¶
func NewQueueGetConfigReply() QueueGetConfigReply
func NewQueueGetConfigReplyWithBuf ¶
func NewQueueGetConfigReplyWithBuf(b []byte) QueueGetConfigReply
func ToQueueGetConfigReply ¶
func ToQueueGetConfigReply(p Header10) (QueueGetConfigReply, error)
func (*QueueGetConfigReply) AddQueues ¶
func (this *QueueGetConfigReply) AddQueues(q PacketQueue)
func (QueueGetConfigReply) Clone ¶
func (this QueueGetConfigReply) Clone() (QueueGetConfigReply, error)
func (*QueueGetConfigReply) Init ¶
func (this *QueueGetConfigReply) Init()
func (QueueGetConfigReply) Pad ¶
func (this QueueGetConfigReply) Pad() [6]uint8
func (QueueGetConfigReply) PadOffset ¶
func (this QueueGetConfigReply) PadOffset() int
func (QueueGetConfigReply) Port ¶
func (this QueueGetConfigReply) Port() uint16
func (QueueGetConfigReply) PortOffset ¶
func (this QueueGetConfigReply) PortOffset() int
func (QueueGetConfigReply) Queues ¶
func (this QueueGetConfigReply) Queues() []PacketQueue
func (QueueGetConfigReply) QueuesOffset ¶
func (this QueueGetConfigReply) QueuesOffset() int
func (QueueGetConfigReply) QueuesSize ¶
func (this QueueGetConfigReply) QueuesSize() int
func (*QueueGetConfigReply) SetPad ¶
func (this *QueueGetConfigReply) SetPad(p [6]uint8)
func (*QueueGetConfigReply) SetPort ¶
func (this *QueueGetConfigReply) SetPort(p uint16)
func (QueueGetConfigReply) Size ¶
func (this QueueGetConfigReply) Size() int
type QueueGetConfigReplyConn ¶
func NewQueueGetConfigReplyConn ¶
func NewQueueGetConfigReplyConn(c net.Conn) QueueGetConfigReplyConn
func (*QueueGetConfigReplyConn) Flush ¶
func (c *QueueGetConfigReplyConn) Flush() error
func (*QueueGetConfigReplyConn) ReadQueueGetConfigReply ¶
func (c *QueueGetConfigReplyConn) ReadQueueGetConfigReply() (QueueGetConfigReply, error)
func (*QueueGetConfigReplyConn) ReadQueueGetConfigReplys ¶
func (c *QueueGetConfigReplyConn) ReadQueueGetConfigReplys(pkts []QueueGetConfigReply) (int, error)
func (*QueueGetConfigReplyConn) WriteQueueGetConfigReply ¶
func (c *QueueGetConfigReplyConn) WriteQueueGetConfigReply(pkt QueueGetConfigReply) error
func (*QueueGetConfigReplyConn) WriteQueueGetConfigReplys ¶
func (c *QueueGetConfigReplyConn) WriteQueueGetConfigReplys(pkts []QueueGetConfigReply) error
type QueueGetConfigRequest ¶
type QueueGetConfigRequest struct {
Header10
}
func NewQueueGetConfigRequest ¶
func NewQueueGetConfigRequest() QueueGetConfigRequest
func NewQueueGetConfigRequestWithBuf ¶
func NewQueueGetConfigRequestWithBuf(b []byte) QueueGetConfigRequest
func ToQueueGetConfigRequest ¶
func ToQueueGetConfigRequest(p Header10) (QueueGetConfigRequest, error)
func (*QueueGetConfigRequest) AddPad ¶
func (this *QueueGetConfigRequest) AddPad(p uint8)
func (QueueGetConfigRequest) Clone ¶
func (this QueueGetConfigRequest) Clone() (QueueGetConfigRequest, error)
func (*QueueGetConfigRequest) Init ¶
func (this *QueueGetConfigRequest) Init()
func (QueueGetConfigRequest) Pad ¶
func (this QueueGetConfigRequest) Pad() []uint8
func (QueueGetConfigRequest) PadOffset ¶
func (this QueueGetConfigRequest) PadOffset() int
func (QueueGetConfigRequest) PadSize ¶
func (this QueueGetConfigRequest) PadSize() int
func (QueueGetConfigRequest) Port ¶
func (this QueueGetConfigRequest) Port() uint16
func (QueueGetConfigRequest) PortOffset ¶
func (this QueueGetConfigRequest) PortOffset() int
func (*QueueGetConfigRequest) SetPort ¶
func (this *QueueGetConfigRequest) SetPort(p uint16)
func (QueueGetConfigRequest) Size ¶
func (this QueueGetConfigRequest) Size() int
type QueueGetConfigRequestConn ¶
func NewQueueGetConfigRequestConn ¶
func NewQueueGetConfigRequestConn(c net.Conn) QueueGetConfigRequestConn
func (*QueueGetConfigRequestConn) Flush ¶
func (c *QueueGetConfigRequestConn) Flush() error
func (*QueueGetConfigRequestConn) ReadQueueGetConfigRequest ¶
func (c *QueueGetConfigRequestConn) ReadQueueGetConfigRequest() (QueueGetConfigRequest, error)
func (*QueueGetConfigRequestConn) ReadQueueGetConfigRequests ¶
func (c *QueueGetConfigRequestConn) ReadQueueGetConfigRequests(pkts []QueueGetConfigRequest) (int, error)
func (*QueueGetConfigRequestConn) WriteQueueGetConfigRequest ¶
func (c *QueueGetConfigRequestConn) WriteQueueGetConfigRequest(pkt QueueGetConfigRequest) error
func (*QueueGetConfigRequestConn) WriteQueueGetConfigRequests ¶
func (c *QueueGetConfigRequestConn) WriteQueueGetConfigRequests(pkts []QueueGetConfigRequest) error
type QueueOpFailedCode ¶
type QueueOpFailedCode int
const ( PQC_BAD_PORT QueueOpFailedCode = 0 PQC_BAD_QUEUE QueueOpFailedCode = 1 PQC_EPERM QueueOpFailedCode = 2 )
type QueuePropHeader ¶
func NewQueuePropHeader ¶
func NewQueuePropHeader() QueuePropHeader
func NewQueuePropHeaderWithBuf ¶
func NewQueuePropHeaderWithBuf(b []byte) QueuePropHeader
func ToQueuePropHeader ¶
func ToQueuePropHeader(p packet.Packet) (QueuePropHeader, error)
func (QueuePropHeader) Clone ¶
func (this QueuePropHeader) Clone() (QueuePropHeader, error)
func (*QueuePropHeader) Init ¶
func (this *QueuePropHeader) Init()
func (QueuePropHeader) Len ¶
func (this QueuePropHeader) Len() uint16
func (QueuePropHeader) LenOffset ¶
func (this QueuePropHeader) LenOffset() int
func (QueuePropHeader) Pad ¶
func (this QueuePropHeader) Pad() [4]uint8
func (QueuePropHeader) PadOffset ¶
func (this QueuePropHeader) PadOffset() int
func (QueuePropHeader) Property ¶
func (this QueuePropHeader) Property() uint16
func (QueuePropHeader) PropertyOffset ¶
func (this QueuePropHeader) PropertyOffset() int
func (*QueuePropHeader) SetLen ¶
func (this *QueuePropHeader) SetLen(l uint16)
func (*QueuePropHeader) SetPad ¶
func (this *QueuePropHeader) SetPad(p [4]uint8)
func (*QueuePropHeader) SetProperty ¶
func (this *QueuePropHeader) SetProperty(p uint16)
func (QueuePropHeader) Size ¶
func (this QueuePropHeader) Size() int
type QueuePropHeaderConn ¶
func NewQueuePropHeaderConn ¶
func NewQueuePropHeaderConn(c net.Conn) QueuePropHeaderConn
func (*QueuePropHeaderConn) Flush ¶
func (c *QueuePropHeaderConn) Flush() error
func (*QueuePropHeaderConn) ReadQueuePropHeader ¶
func (c *QueuePropHeaderConn) ReadQueuePropHeader() (QueuePropHeader, error)
func (*QueuePropHeaderConn) ReadQueuePropHeaders ¶
func (c *QueuePropHeaderConn) ReadQueuePropHeaders(pkts []QueuePropHeader) (int, error)
func (*QueuePropHeaderConn) WriteQueuePropHeader ¶
func (c *QueuePropHeaderConn) WriteQueuePropHeader(pkt QueuePropHeader) error
func (*QueuePropHeaderConn) WriteQueuePropHeaders ¶
func (c *QueuePropHeaderConn) WriteQueuePropHeaders(pkts []QueuePropHeader) error
type QueuePropMinRate ¶
type QueuePropMinRate struct {
QueuePropHeader
}
func NewQueuePropMinRate ¶
func NewQueuePropMinRate() QueuePropMinRate
func NewQueuePropMinRateWithBuf ¶
func NewQueuePropMinRateWithBuf(b []byte) QueuePropMinRate
func ToQueuePropMinRate ¶
func ToQueuePropMinRate(p QueuePropHeader) (QueuePropMinRate, error)
func (QueuePropMinRate) Clone ¶
func (this QueuePropMinRate) Clone() (QueuePropMinRate, error)
func (*QueuePropMinRate) Init ¶
func (this *QueuePropMinRate) Init()
func (QueuePropMinRate) Pad ¶
func (this QueuePropMinRate) Pad() [6]uint8
func (QueuePropMinRate) PadOffset ¶
func (this QueuePropMinRate) PadOffset() int
func (QueuePropMinRate) Rate ¶
func (this QueuePropMinRate) Rate() uint16
func (QueuePropMinRate) RateOffset ¶
func (this QueuePropMinRate) RateOffset() int
func (*QueuePropMinRate) SetPad ¶
func (this *QueuePropMinRate) SetPad(p [6]uint8)
func (*QueuePropMinRate) SetRate ¶
func (this *QueuePropMinRate) SetRate(r uint16)
func (QueuePropMinRate) Size ¶
func (this QueuePropMinRate) Size() int
type QueuePropMinRateConn ¶
func NewQueuePropMinRateConn ¶
func NewQueuePropMinRateConn(c net.Conn) QueuePropMinRateConn
func (*QueuePropMinRateConn) Flush ¶
func (c *QueuePropMinRateConn) Flush() error
func (*QueuePropMinRateConn) ReadQueuePropMinRate ¶
func (c *QueuePropMinRateConn) ReadQueuePropMinRate() (QueuePropMinRate, error)
func (*QueuePropMinRateConn) ReadQueuePropMinRates ¶
func (c *QueuePropMinRateConn) ReadQueuePropMinRates(pkts []QueuePropMinRate) (int, error)
func (*QueuePropMinRateConn) WriteQueuePropMinRate ¶
func (c *QueuePropMinRateConn) WriteQueuePropMinRate(pkt QueuePropMinRate) error
func (*QueuePropMinRateConn) WriteQueuePropMinRates ¶
func (c *QueuePropMinRateConn) WriteQueuePropMinRates(pkts []QueuePropMinRate) error
type QueueProperties ¶
type QueueProperties int
const ( PQT_NONE QueueProperties = 0 PQT_MIN_RATE QueueProperties = 1 )
type QueueStats ¶
type QueueStats struct {
StatsReply
}
func NewQueueStats ¶
func NewQueueStats() QueueStats
func NewQueueStatsWithBuf ¶
func NewQueueStatsWithBuf(b []byte) QueueStats
func ToQueueStats ¶
func ToQueueStats(p StatsReply) (QueueStats, error)
func (QueueStats) Clone ¶
func (this QueueStats) Clone() (QueueStats, error)
func (*QueueStats) Init ¶
func (this *QueueStats) Init()
func (QueueStats) Pad ¶
func (this QueueStats) Pad() [2]uint8
func (QueueStats) PadOffset ¶
func (this QueueStats) PadOffset() int
func (QueueStats) PortNo ¶
func (this QueueStats) PortNo() uint16
func (QueueStats) PortNoOffset ¶
func (this QueueStats) PortNoOffset() int
func (QueueStats) QueueId ¶
func (this QueueStats) QueueId() uint32
func (QueueStats) QueueIdOffset ¶
func (this QueueStats) QueueIdOffset() int
func (*QueueStats) SetPad ¶
func (this *QueueStats) SetPad(p [2]uint8)
func (*QueueStats) SetPortNo ¶
func (this *QueueStats) SetPortNo(p uint16)
func (*QueueStats) SetQueueId ¶
func (this *QueueStats) SetQueueId(q uint32)
func (*QueueStats) SetTxBytes ¶
func (this *QueueStats) SetTxBytes(t uint64)
func (*QueueStats) SetTxErrors ¶
func (this *QueueStats) SetTxErrors(t uint64)
func (*QueueStats) SetTxPackets ¶
func (this *QueueStats) SetTxPackets(t uint64)
func (QueueStats) Size ¶
func (this QueueStats) Size() int
func (QueueStats) TxBytes ¶
func (this QueueStats) TxBytes() uint64
func (QueueStats) TxBytesOffset ¶
func (this QueueStats) TxBytesOffset() int
func (QueueStats) TxErrors ¶
func (this QueueStats) TxErrors() uint64
func (QueueStats) TxErrorsOffset ¶
func (this QueueStats) TxErrorsOffset() int
func (QueueStats) TxPackets ¶
func (this QueueStats) TxPackets() uint64
func (QueueStats) TxPacketsOffset ¶
func (this QueueStats) TxPacketsOffset() int
type QueueStatsConn ¶
func NewQueueStatsConn ¶
func NewQueueStatsConn(c net.Conn) QueueStatsConn
func (*QueueStatsConn) Flush ¶
func (c *QueueStatsConn) Flush() error
func (*QueueStatsConn) ReadQueueStats ¶
func (c *QueueStatsConn) ReadQueueStats() (QueueStats, error)
func (*QueueStatsConn) ReadQueueStatss ¶
func (c *QueueStatsConn) ReadQueueStatss(pkts []QueueStats) (int, error)
func (*QueueStatsConn) WriteQueueStats ¶
func (c *QueueStatsConn) WriteQueueStats(pkt QueueStats) error
func (*QueueStatsConn) WriteQueueStatss ¶
func (c *QueueStatsConn) WriteQueueStatss(pkts []QueueStats) error
type QueueStatsRequest ¶
type QueueStatsRequest struct {
StatsRequest
}
func NewQueueStatsRequest ¶
func NewQueueStatsRequest() QueueStatsRequest
func NewQueueStatsRequestWithBuf ¶
func NewQueueStatsRequestWithBuf(b []byte) QueueStatsRequest
func ToQueueStatsRequest ¶
func ToQueueStatsRequest(p StatsRequest) (QueueStatsRequest, error)
func (QueueStatsRequest) Clone ¶
func (this QueueStatsRequest) Clone() (QueueStatsRequest, error)
func (*QueueStatsRequest) Init ¶
func (this *QueueStatsRequest) Init()
func (QueueStatsRequest) Pad ¶
func (this QueueStatsRequest) Pad() [2]uint8
func (QueueStatsRequest) PadOffset ¶
func (this QueueStatsRequest) PadOffset() int
func (QueueStatsRequest) PortNo ¶
func (this QueueStatsRequest) PortNo() uint16
func (QueueStatsRequest) PortNoOffset ¶
func (this QueueStatsRequest) PortNoOffset() int
func (QueueStatsRequest) QueueId ¶
func (this QueueStatsRequest) QueueId() uint32
func (QueueStatsRequest) QueueIdOffset ¶
func (this QueueStatsRequest) QueueIdOffset() int
func (*QueueStatsRequest) SetPad ¶
func (this *QueueStatsRequest) SetPad(p [2]uint8)
func (*QueueStatsRequest) SetPortNo ¶
func (this *QueueStatsRequest) SetPortNo(p uint16)
func (*QueueStatsRequest) SetQueueId ¶
func (this *QueueStatsRequest) SetQueueId(q uint32)
func (QueueStatsRequest) Size ¶
func (this QueueStatsRequest) Size() int
type QueueStatsRequestConn ¶
func NewQueueStatsRequestConn ¶
func NewQueueStatsRequestConn(c net.Conn) QueueStatsRequestConn
func (*QueueStatsRequestConn) Flush ¶
func (c *QueueStatsRequestConn) Flush() error
func (*QueueStatsRequestConn) ReadQueueStatsRequest ¶
func (c *QueueStatsRequestConn) ReadQueueStatsRequest() (QueueStatsRequest, error)
func (*QueueStatsRequestConn) ReadQueueStatsRequests ¶
func (c *QueueStatsRequestConn) ReadQueueStatsRequests(pkts []QueueStatsRequest) (int, error)
func (*QueueStatsRequestConn) WriteQueueStatsRequest ¶
func (c *QueueStatsRequestConn) WriteQueueStatsRequest(pkt QueueStatsRequest) error
func (*QueueStatsRequestConn) WriteQueueStatsRequests ¶
func (c *QueueStatsRequestConn) WriteQueueStatsRequests(pkts []QueueStatsRequest) error
type StatsReply ¶
type StatsReply struct {
Header10
}
func NewStatsReply ¶
func NewStatsReply() StatsReply
func NewStatsReplyWithBuf ¶
func NewStatsReplyWithBuf(b []byte) StatsReply
func ToStatsReply ¶
func ToStatsReply(p Header10) (StatsReply, error)
func (StatsReply) Clone ¶
func (this StatsReply) Clone() (StatsReply, error)
func (StatsReply) Flags ¶
func (this StatsReply) Flags() uint16
func (StatsReply) FlagsOffset ¶
func (this StatsReply) FlagsOffset() int
func (*StatsReply) Init ¶
func (this *StatsReply) Init()
func (*StatsReply) SetFlags ¶
func (this *StatsReply) SetFlags(f uint16)
func (*StatsReply) SetStatsType ¶
func (this *StatsReply) SetStatsType(s uint16)
func (StatsReply) Size ¶
func (this StatsReply) Size() int
func (StatsReply) StatsType ¶
func (this StatsReply) StatsType() uint16
func (StatsReply) StatsTypeOffset ¶
func (this StatsReply) StatsTypeOffset() int
type StatsReplyConn ¶
func NewStatsReplyConn ¶
func NewStatsReplyConn(c net.Conn) StatsReplyConn
func (*StatsReplyConn) Flush ¶
func (c *StatsReplyConn) Flush() error
func (*StatsReplyConn) ReadStatsReply ¶
func (c *StatsReplyConn) ReadStatsReply() (StatsReply, error)
func (*StatsReplyConn) ReadStatsReplys ¶
func (c *StatsReplyConn) ReadStatsReplys(pkts []StatsReply) (int, error)
func (*StatsReplyConn) WriteStatsReply ¶
func (c *StatsReplyConn) WriteStatsReply(pkt StatsReply) error
func (*StatsReplyConn) WriteStatsReplys ¶
func (c *StatsReplyConn) WriteStatsReplys(pkts []StatsReply) error
type StatsRequest ¶
type StatsRequest struct {
Header10
}
func NewStatsRequest ¶
func NewStatsRequest() StatsRequest
func NewStatsRequestWithBuf ¶
func NewStatsRequestWithBuf(b []byte) StatsRequest
func ToStatsRequest ¶
func ToStatsRequest(p Header10) (StatsRequest, error)
func (StatsRequest) Clone ¶
func (this StatsRequest) Clone() (StatsRequest, error)
func (StatsRequest) Flags ¶
func (this StatsRequest) Flags() uint16
func (StatsRequest) FlagsOffset ¶
func (this StatsRequest) FlagsOffset() int
func (*StatsRequest) Init ¶
func (this *StatsRequest) Init()
func (*StatsRequest) SetFlags ¶
func (this *StatsRequest) SetFlags(f uint16)
func (*StatsRequest) SetStatsType ¶
func (this *StatsRequest) SetStatsType(s uint16)
func (StatsRequest) Size ¶
func (this StatsRequest) Size() int
func (StatsRequest) StatsType ¶
func (this StatsRequest) StatsType() uint16
func (StatsRequest) StatsTypeOffset ¶
func (this StatsRequest) StatsTypeOffset() int
type StatsRequestConn ¶
func NewStatsRequestConn ¶
func NewStatsRequestConn(c net.Conn) StatsRequestConn
func (*StatsRequestConn) Flush ¶
func (c *StatsRequestConn) Flush() error
func (*StatsRequestConn) ReadStatsRequest ¶
func (c *StatsRequestConn) ReadStatsRequest() (StatsRequest, error)
func (*StatsRequestConn) ReadStatsRequests ¶
func (c *StatsRequestConn) ReadStatsRequests(pkts []StatsRequest) (int, error)
func (*StatsRequestConn) WriteStatsRequest ¶
func (c *StatsRequestConn) WriteStatsRequest(pkt StatsRequest) error
func (*StatsRequestConn) WriteStatsRequests ¶
func (c *StatsRequestConn) WriteStatsRequests(pkts []StatsRequest) error
type StatsTypes ¶
type StatsTypes int
const ( PST_DESC StatsTypes = 0 PST_FLOW StatsTypes = 1 PST_AGGREGATE StatsTypes = 2 PST_TABLE StatsTypes = 3 PST_PORT StatsTypes = 4 PST_QUEUE StatsTypes = 5 PST_VENDOR StatsTypes = 65535 )
type SwitchGetConfigReply ¶
type SwitchGetConfigReply struct {
Header10
}
func NewSwitchGetConfigReply ¶
func NewSwitchGetConfigReply() SwitchGetConfigReply
func NewSwitchGetConfigReplyWithBuf ¶
func NewSwitchGetConfigReplyWithBuf(b []byte) SwitchGetConfigReply
func ToSwitchGetConfigReply ¶
func ToSwitchGetConfigReply(p Header10) (SwitchGetConfigReply, error)
func (SwitchGetConfigReply) Clone ¶
func (this SwitchGetConfigReply) Clone() (SwitchGetConfigReply, error)
func (SwitchGetConfigReply) Flags ¶
func (this SwitchGetConfigReply) Flags() uint16
func (SwitchGetConfigReply) FlagsOffset ¶
func (this SwitchGetConfigReply) FlagsOffset() int
func (*SwitchGetConfigReply) Init ¶
func (this *SwitchGetConfigReply) Init()
func (SwitchGetConfigReply) MissSendLen ¶
func (this SwitchGetConfigReply) MissSendLen() uint16
func (SwitchGetConfigReply) MissSendLenOffset ¶
func (this SwitchGetConfigReply) MissSendLenOffset() int
func (*SwitchGetConfigReply) SetFlags ¶
func (this *SwitchGetConfigReply) SetFlags(f uint16)
func (*SwitchGetConfigReply) SetMissSendLen ¶
func (this *SwitchGetConfigReply) SetMissSendLen(m uint16)
func (SwitchGetConfigReply) Size ¶
func (this SwitchGetConfigReply) Size() int
type SwitchGetConfigReplyConn ¶
func NewSwitchGetConfigReplyConn ¶
func NewSwitchGetConfigReplyConn(c net.Conn) SwitchGetConfigReplyConn
func (*SwitchGetConfigReplyConn) Flush ¶
func (c *SwitchGetConfigReplyConn) Flush() error
func (*SwitchGetConfigReplyConn) ReadSwitchGetConfigReply ¶
func (c *SwitchGetConfigReplyConn) ReadSwitchGetConfigReply() (SwitchGetConfigReply, error)
func (*SwitchGetConfigReplyConn) ReadSwitchGetConfigReplys ¶
func (c *SwitchGetConfigReplyConn) ReadSwitchGetConfigReplys(pkts []SwitchGetConfigReply) (int, error)
func (*SwitchGetConfigReplyConn) WriteSwitchGetConfigReply ¶
func (c *SwitchGetConfigReplyConn) WriteSwitchGetConfigReply(pkt SwitchGetConfigReply) error
func (*SwitchGetConfigReplyConn) WriteSwitchGetConfigReplys ¶
func (c *SwitchGetConfigReplyConn) WriteSwitchGetConfigReplys(pkts []SwitchGetConfigReply) error
type SwitchSetConfig ¶
type SwitchSetConfig struct {
Header10
}
func NewSwitchSetConfig ¶
func NewSwitchSetConfig() SwitchSetConfig
func NewSwitchSetConfigWithBuf ¶
func NewSwitchSetConfigWithBuf(b []byte) SwitchSetConfig
func ToSwitchSetConfig ¶
func ToSwitchSetConfig(p Header10) (SwitchSetConfig, error)
func (SwitchSetConfig) Clone ¶
func (this SwitchSetConfig) Clone() (SwitchSetConfig, error)
func (SwitchSetConfig) Flags ¶
func (this SwitchSetConfig) Flags() uint16
func (SwitchSetConfig) FlagsOffset ¶
func (this SwitchSetConfig) FlagsOffset() int
func (*SwitchSetConfig) Init ¶
func (this *SwitchSetConfig) Init()
func (SwitchSetConfig) MissSendLen ¶
func (this SwitchSetConfig) MissSendLen() uint16
func (SwitchSetConfig) MissSendLenOffset ¶
func (this SwitchSetConfig) MissSendLenOffset() int
func (*SwitchSetConfig) SetFlags ¶
func (this *SwitchSetConfig) SetFlags(f uint16)
func (*SwitchSetConfig) SetMissSendLen ¶
func (this *SwitchSetConfig) SetMissSendLen(m uint16)
func (SwitchSetConfig) Size ¶
func (this SwitchSetConfig) Size() int
type SwitchSetConfigConn ¶
func NewSwitchSetConfigConn ¶
func NewSwitchSetConfigConn(c net.Conn) SwitchSetConfigConn
func (*SwitchSetConfigConn) Flush ¶
func (c *SwitchSetConfigConn) Flush() error
func (*SwitchSetConfigConn) ReadSwitchSetConfig ¶
func (c *SwitchSetConfigConn) ReadSwitchSetConfig() (SwitchSetConfig, error)
func (*SwitchSetConfigConn) ReadSwitchSetConfigs ¶
func (c *SwitchSetConfigConn) ReadSwitchSetConfigs(pkts []SwitchSetConfig) (int, error)
func (*SwitchSetConfigConn) WriteSwitchSetConfig ¶
func (c *SwitchSetConfigConn) WriteSwitchSetConfig(pkt SwitchSetConfig) error
func (*SwitchSetConfigConn) WriteSwitchSetConfigs ¶
func (c *SwitchSetConfigConn) WriteSwitchSetConfigs(pkts []SwitchSetConfig) error
type TableStats ¶
type TableStats struct {
StatsReply
}
func NewTableStats ¶
func NewTableStats() TableStats
func NewTableStatsWithBuf ¶
func NewTableStatsWithBuf(b []byte) TableStats
func ToTableStats ¶
func ToTableStats(p StatsReply) (TableStats, error)
func (TableStats) ActiveCount ¶
func (this TableStats) ActiveCount() uint32
func (TableStats) ActiveCountOffset ¶
func (this TableStats) ActiveCountOffset() int
func (TableStats) Clone ¶
func (this TableStats) Clone() (TableStats, error)
func (*TableStats) Init ¶
func (this *TableStats) Init()
func (TableStats) LookupCount ¶
func (this TableStats) LookupCount() uint64
func (TableStats) LookupCountOffset ¶
func (this TableStats) LookupCountOffset() int
func (TableStats) MatchedCount ¶
func (this TableStats) MatchedCount() uint64
func (TableStats) MatchedCountOffset ¶
func (this TableStats) MatchedCountOffset() int
func (TableStats) MaxEntries ¶
func (this TableStats) MaxEntries() uint32
func (TableStats) MaxEntriesOffset ¶
func (this TableStats) MaxEntriesOffset() int
func (TableStats) Name ¶
func (this TableStats) Name() [32]byte
func (TableStats) NameOffset ¶
func (this TableStats) NameOffset() int
func (TableStats) Pad ¶
func (this TableStats) Pad() [3]uint8
func (TableStats) PadOffset ¶
func (this TableStats) PadOffset() int
func (*TableStats) SetActiveCount ¶
func (this *TableStats) SetActiveCount(a uint32)
func (*TableStats) SetLookupCount ¶
func (this *TableStats) SetLookupCount(l uint64)
func (*TableStats) SetMatchedCount ¶
func (this *TableStats) SetMatchedCount(m uint64)
func (*TableStats) SetMaxEntries ¶
func (this *TableStats) SetMaxEntries(m uint32)
func (*TableStats) SetName ¶
func (this *TableStats) SetName(n [32]byte)
func (*TableStats) SetPad ¶
func (this *TableStats) SetPad(p [3]uint8)
func (*TableStats) SetTableId ¶
func (this *TableStats) SetTableId(t uint8)
func (*TableStats) SetWildcards ¶
func (this *TableStats) SetWildcards(w uint32)
func (TableStats) Size ¶
func (this TableStats) Size() int
func (TableStats) TableId ¶
func (this TableStats) TableId() uint8
func (TableStats) TableIdOffset ¶
func (this TableStats) TableIdOffset() int
func (TableStats) Wildcards ¶
func (this TableStats) Wildcards() uint32
func (TableStats) WildcardsOffset ¶
func (this TableStats) WildcardsOffset() int
type TableStatsConn ¶
func NewTableStatsConn ¶
func NewTableStatsConn(c net.Conn) TableStatsConn
func (*TableStatsConn) Flush ¶
func (c *TableStatsConn) Flush() error
func (*TableStatsConn) ReadTableStats ¶
func (c *TableStatsConn) ReadTableStats() (TableStats, error)
func (*TableStatsConn) ReadTableStatss ¶
func (c *TableStatsConn) ReadTableStatss(pkts []TableStats) (int, error)
func (*TableStatsConn) WriteTableStats ¶
func (c *TableStatsConn) WriteTableStats(pkt TableStats) error
func (*TableStatsConn) WriteTableStatss ¶
func (c *TableStatsConn) WriteTableStatss(pkts []TableStats) error
type Type ¶
type Type int
const ( PT_PACKET_IN Type = 10 PT_FLOW_REMOVED Type = 11 PT_PORT_STATUS Type = 12 PT_PACKET_OUT Type = 13 PT_FLOW_MOD Type = 14 PT_PORT_MOD Type = 15 PT_STATS_REQUEST Type = 16 PT_STATS_REPLY Type = 17 PT_BARRIER_REQUEST Type = 18 PT_BARRIER_REPLY Type = 19 PT_QUEUE_GET_CONFIG_REQUEST Type = 20 PT_QUEUE_GET_CONFIG_REPLY Type = 21 )
type VendorHeader ¶
type VendorHeader struct {
Header10
}
func NewVendorHeader ¶
func NewVendorHeader() VendorHeader
func NewVendorHeaderWithBuf ¶
func NewVendorHeaderWithBuf(b []byte) VendorHeader
func ToVendorHeader ¶
func ToVendorHeader(p Header10) (VendorHeader, error)
func (VendorHeader) Clone ¶
func (this VendorHeader) Clone() (VendorHeader, error)
func (*VendorHeader) Init ¶
func (this *VendorHeader) Init()
func (*VendorHeader) SetVendor ¶
func (this *VendorHeader) SetVendor(v uint32)
func (VendorHeader) Size ¶
func (this VendorHeader) Size() int
func (VendorHeader) Vendor ¶
func (this VendorHeader) Vendor() uint32
func (VendorHeader) VendorOffset ¶
func (this VendorHeader) VendorOffset() int
type VendorHeaderConn ¶
func NewVendorHeaderConn ¶
func NewVendorHeaderConn(c net.Conn) VendorHeaderConn
func (*VendorHeaderConn) Flush ¶
func (c *VendorHeaderConn) Flush() error
func (*VendorHeaderConn) ReadVendorHeader ¶
func (c *VendorHeaderConn) ReadVendorHeader() (VendorHeader, error)
func (*VendorHeaderConn) ReadVendorHeaders ¶
func (c *VendorHeaderConn) ReadVendorHeaders(pkts []VendorHeader) (int, error)
func (*VendorHeaderConn) WriteVendorHeader ¶
func (c *VendorHeaderConn) WriteVendorHeader(pkt VendorHeader) error
func (*VendorHeaderConn) WriteVendorHeaders ¶
func (c *VendorHeaderConn) WriteVendorHeaders(pkts []VendorHeader) error
Click to show internal directories.
Click to hide internal directories.