flow: Simplify many functions for working with flows and wildcards.
authorBen Pfaff <blp@nicira.com>
Tue, 7 Aug 2012 20:43:18 +0000 (13:43 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 4 Sep 2012 18:19:16 +0000 (11:19 -0700)
commit659c23467978f40200686695c48b09582f2c534b
tree81bab71faa82d6bae4a34ea10f23abdcde68f2c4
parente7b4ef5eacebe5d5cae85c0076960f276b16554c
flow: Simplify many functions for working with flows and wildcards.

Now that "struct flow" and "struct flow_wildcards" have the same simple
and uniform structure, it's easy to handle common operations by just
iterating over the bits inside them.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/classifier.c
lib/flow.c
lib/flow.h