packets: Add eth_addr_compare_3way function.
authorEthan Jackson <ethan@nicira.com>
Wed, 26 Jan 2011 00:20:08 +0000 (16:20 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 3 Feb 2011 20:24:13 +0000 (12:24 -0800)
commit130f6e5faa6190ca00000ebcb627e2d4ca3d4b37
tree406a4c73f1ec64241f0dab157f3d5f3285eccbd1
parentd5ca4fce0d017040a6f941beac7bb2a8bcaa685d
packets: Add eth_addr_compare_3way function.

This commit adds eth_addr_compare_3way() which behaves like memcmp
for Ethernet addresses.
lib/packets.h
ofproto/in-band.c
vswitchd/bridge.c