nettle-openflow-0.2.0: OpenFlow protocol messages, binary formats, and servers.



A switch has some number of flow tables. Each flow table is a prioritized list of entries containing a Match, a list of Actions, and other options affecting the behavior of the switch. This module represents the OpenFlow messages that can be used to modify flow tables.



type Priority = Word16Source

The priority of a flow entry is a 16-bit integer. Flow entries with higher numeric priorities match before lower ones.

data TimeOut Source

Each flow entry has idle and hard timeout values associated with it.


data FlowRemoved Source

When a switch removes a flow, it may send a message containing the information in FlowRemovedRecord to the controller.