nettle-openflow-0.1: High level configuration and control of computer networks.

Nettle.OpenFlow.Match

Synopsis

Documentation

matchAny :: MatchSource

A match that matches every packet.

isExactMatch :: Match -> BoolSource

Return True if given Match represents an exact match, i.e. no wildcards and the IP addresses' prefixes cover all bits.

getExactMatch :: PortID -> GetE MatchSource

Utility function to get an exact match corresponding to a packet (as given by a byte sequence).

matches :: (PortID, EthernetFrame) -> Match -> BoolSource

Models the match semantics of an OpenFlow switch.