summaryrefslogtreecommitdiff
path: root/PORTING
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-04-27 12:20:01 -0700
committerBen Pfaff <blp@nicira.com>2011-05-11 14:06:49 -0700
commitda40ecacc1e30901684cd0e1df4856bbe442d501 (patch)
tree4ec2818aff1437a9b9a124808c35aa237b3bb78b /PORTING
parenteeaefa7878b6d7682c6dbd58789d685b6daecc86 (diff)
downloadopenvswitch-da40ecacc1e30901684cd0e1df4856bbe442d501.tar.gz
PORTING: Describe usage of ovs_be<N>.
Diffstat (limited to 'PORTING')
-rw-r--r--PORTING6
1 files changed, 6 insertions, 0 deletions
diff --git a/PORTING b/PORTING
index b83bf64c5..09458ee4c 100644
--- a/PORTING
+++ b/PORTING
@@ -235,6 +235,12 @@ useful examples during a port:
Miscellaneous Notes
-------------------
+Open vSwitch source code uses uint16_t, uint32_t, and uint64_t as
+fixed-width types in host byte order, and ovs_be16, ovs_be32, and
+ovs_be64 as fixed-width types in network byte order. Each of the
+latter is equivalent to the one of the former, but the difference in
+name makes the intended use obvious.
+
ovs-vswitchd is the most sophisticated of ofproto's clients, but
ofproto can have other clients as well. ovs-openflowd, in the
utilities directory, is much simpler than ovs-vswitchd. It may be