ofproto: Maintain ofp_phy_port for each ofport in network byte order.
authorBen Pfaff <blp@nicira.com>
Tue, 29 Mar 2011 21:11:39 +0000 (14:11 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 16 May 2011 20:40:47 +0000 (13:40 -0700)
commit118c46769fce3be2c70dae494b02753c1db1780d
treeb0fcbf67a46e4dbeee2585826d141306d17ffc5c
parente3c17733704fd54fa937ed5e1e8c4b51e00961f1
ofproto: Maintain ofp_phy_port for each ofport in network byte order.

It's rather confusing to have an instance of a whole structure in an
unexpected byte order.  This commit gets rid of that oddity.
lib/ofp-util.c
lib/ofp-util.h
ofproto/connmgr.c
ofproto/ofproto.c