packets: Add more utility functions for IPv4 and IPv6 addresses.
authorBen Pfaff <blp@nicira.com>
Wed, 17 Aug 2011 17:55:15 +0000 (10:55 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 13 Sep 2011 18:46:08 +0000 (11:46 -0700)
commitaad29cd1a1fb76aa68a9c404a47b66ac516149b5
tree698546190e980993cff186029b5dd3ca66a8b09f
parente7ed3a3a5f87d20f0cc632ae23adba6f30a4e19d
packets: Add more utility functions for IPv4 and IPv6 addresses.

We had these functions scattered around the source tree anyway.  packets.h
is a good place to centralize them.

I do plan to introduce some additional callers.
lib/classifier.c
lib/ofp-util.c
lib/packets.c
lib/packets.h
lib/util.c
lib/util.h
tests/test-util.c