Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthernetInspector ¶
type EthernetInspector interface { // start the inspector and blocks. does not return. Serve() error }
type HookSwitchInspector ¶
type HookSwitchInspector struct { OrchestratorURL string EntityID string HookSwitchZMQAddr string EnableTCPWatcher bool // contains filtered or unexported fields }
TODO: support user-written MapPacketToEventFunc
func NewHookSwitchInspector ¶
func NewHookSwitchInspector(orchestratorURL, entityID, hookswitchZMQAddr string, enableTCPWatcher bool) (*HookSwitchInspector, error)
func (*HookSwitchInspector) Serve ¶
func (this *HookSwitchInspector) Serve() error
func (*HookSwitchInspector) Shutdown ¶
func (this *HookSwitchInspector) Shutdown()
type NFQInspector ¶
type NFQInspector struct { OrchestratorURL string EntityID string NFQNumber uint16 EnableTCPWatcher bool // contains filtered or unexported fields }
TODO: support user-written MapPacketToEventFunc
func (*NFQInspector) Serve ¶
func (this *NFQInspector) Serve() error
Directories ¶
Path | Synopsis |
---|---|
see https://github.com/osrg/hookswitch
|
see https://github.com/osrg/hookswitch |
Click to show internal directories.
Click to hide internal directories.