[ovs-git] Open vSwitch: ofp-util: Allow decoding of Open Flow 1.2 Port Mod Message (master)

dev at openvswitch.org dev at openvswitch.org
Thu Aug 9 23:30:18 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  bb2bc3c1a6b49794af17cc162e2c36b4adee73a3 (commit)
       via  5fe7c919b20da62734292b74618a84d5a35a5aa4 (commit)
       via  026a517999746f5578d8a3031e3df411b37096d2 (commit)
      from  49635519bae2c14e44744825c907ccee9216bf90 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bb2bc3c1a6b49794af17cc162e2c36b4adee73a3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bb2bc3c1a6b49794af17cc162e2c36b4adee73a3
Author: Simon Horman <horms at verge.net.au>
		
ofp-util: Allow decoding of Open Flow 1.2 Port Mod Message
		
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 5fe7c919b20da62734292b74618a84d5a35a5aa4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5fe7c919b20da62734292b74618a84d5a35a5aa4
Author: Simon Horman <horms at verge.net.au>
		
ofp-util: Allow encoding of Open Flow 1.2 Port Mod Messages
		
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 026a517999746f5578d8a3031e3df411b37096d2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=026a517999746f5578d8a3031e3df411b37096d2
Author: Simon Horman <horms at verge.net.au>
		
ofp-util: Use 32bit port for Open Flow 1.1 & 1.2 Port Mod Request
		
When encoding Open Flow 1.1 & 1.2 Port Mod Request messages
the port number should be converted to 32bits using
ofputil_port_to_ofp11() rather than htonl(). This ensures
that port numbers in the reserved range are translated correctly.

Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/ofp-msgs.h     |    2 +-
 lib/ofp-util.c     |    6 +++---
 tests/ofp-print.at |   14 ++++++++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list