floodlight/loxigen — pull request #44 by dtalayco (2013-08-05 23:04:11+00:00)
Title: Mask values in a match according to its masks

Reviewer: @rlane

A step towards match canonicalization. When generating a match
structure, clear the bits outside of those indicated by the
masks. Changes to test code to make consistent.

For 1.0, need only worry about IPv4 addrs. Otherwise, use a simple
loop to iterative over bytes in the match.