Skip to main content

Crate rovs_openflow

Crate rovs_openflow 

Source
Expand description

OpenFlow protocol implementation for OVS.

Provides:

  • OpenFlow message encoding/decoding
  • Match field builder
  • Action types
  • Flow modification
  • Virtual connection (VConn) abstraction

Modules§

monitor_flags
Flow monitor request flags (NXFMF_*).
ndp
NDP (Neighbor Discovery Protocol) packet parsing and construction.
nxm
NXM/OXM field header constants for use with Nicira extensions.
oxm
OpenFlow Extensible Match (OXM) encoding.

Structs§

ActionList
A list of actions.
Flow
A flow entry to add, modify, or delete.
FlowFlags
Flow flags.
FlowMonitorRequest
Builder for a flow monitor request.
FlowStats
Flow statistics read from the switch.
FlowStatsEntry
Individual flow statistics from a FlowStats reply.
FlowStatsRequest
Flow stats request body (follows multipart header).
FlowUpdateFull
Full flow update entry (ADDED, DELETED, or MODIFIED).
Header
OpenFlow message header (8 bytes).
InstructionList
A list of instructions.
Match
Match fields for flow matching.
Message
A complete OpenFlow message.
NatConfig
NAT configuration for use with ct() action.
NxLearn
NxLearn action (Nicira extension).
OfError
OpenFlow error message from the switch.
PacketIn
Parsed Packet-In message.
PacketOut
Packet-Out message builder.
VConn
An OpenFlow virtual connection.

Enums§

Action
An OpenFlow action.
Error
Errors that can occur in OpenFlow operations.
FlowCommand
Flow command type.
FlowUpdate
A flow update received from the monitor.
FlowUpdateEvent
Flow update event type.
Instruction
An OpenFlow instruction.
LearnSpec
A single learn specification.
MessageType
OpenFlow message types.
MultipartType
Multipart message types (OF 1.3).
OfErrorType
OpenFlow error types (OF 1.3).
OutputPort
Output port specification.
PacketInReason
Reason codes for Packet-In messages.
Version
OpenFlow protocol versions.

Constants§

CT_COMMIT
CT commit flag (shorthand).
OFPP_ANY
Special input port value meaning “any” (no specific port).
OFPP_CONTROLLER
Special input port value meaning “controller”.
OFP_NO_BUFFER
Buffer ID indicating no buffering (packet data is in the message).

Type Aliases§

Result