Documentation ¶
Index ¶
- type Flow
- func (f *Flow) String() string
- func (f *Flow) Validate() error
- func (f *Flow) WithArpDest(arpDst string) *Flow
- func (f *Flow) WithArpSrc(arpSrc string) *Flow
- func (f *Flow) WithDrop() *Flow
- func (f *Flow) WithIPDest(ipDst string) *Flow
- func (f *Flow) WithIPSrc(ipSrc string) *Flow
- func (f *Flow) WithModDlDest(dstMac string) *Flow
- func (f *Flow) WithOutputPort(output int) *Flow
- func (f *Flow) WithPriority(priority int) *Flow
- func (f *Flow) WithProtocol(protocol string) *Flow
- func (f *Flow) WithRaw(raw string) *Flow
- func (f *Flow) WithResubmit(table int) *Flow
- func (f *Flow) WithTCPDestPort(dstPort int) *Flow
- func (f *Flow) WithTCPSrcPort(srcPort int) *Flow
- func (f *Flow) WithTable(table int) *Flow
- func (f *Flow) WithTunnelDest(tunDst string) *Flow
- func (f *Flow) WithUDPDestPort(dstPort int) *Flow
- func (f *Flow) WithUDPSrcPort(srcPort int) *Flow
- type FlowsBuffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct {
// contains filtered or unexported fields
}
func (*Flow) WithArpDest ¶
func (*Flow) WithArpSrc ¶
func (*Flow) WithIPDest ¶
func (*Flow) WithModDlDest ¶
func (*Flow) WithOutputPort ¶
func (*Flow) WithPriority ¶
func (*Flow) WithProtocol ¶
func (*Flow) WithResubmit ¶
func (*Flow) WithTCPDestPort ¶
func (*Flow) WithTCPSrcPort ¶
func (*Flow) WithTunnelDest ¶
func (*Flow) WithUDPDestPort ¶
func (*Flow) WithUDPSrcPort ¶
type FlowsBuffer ¶
type FlowsBuffer struct {
// contains filtered or unexported fields
}
func NewFlowsBuffer ¶
func NewFlowsBuffer() *FlowsBuffer
func (*FlowsBuffer) AddFlow ¶
func (f *FlowsBuffer) AddFlow(flow *Flow)
func (*FlowsBuffer) Reset ¶
func (f *FlowsBuffer) Reset()
func (*FlowsBuffer) String ¶
func (f *FlowsBuffer) String() string
func (*FlowsBuffer) SyncFlows ¶
func (f *FlowsBuffer) SyncFlows(bridge string) error
Click to show internal directories.
Click to hide internal directories.