From: Ben Pfaff Date: Mon, 2 Mar 2009 20:51:57 +0000 (-0800) Subject: openflow.h: Fix typos in comments. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1c31643b4924a0b85c841fae6d664384ccfc95;p=openvswitch openflow.h: Fix typos in comments. --- diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h index fa602f6e..e001e1dd 100644 --- a/include/openflow/openflow.h +++ b/include/openflow/openflow.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -130,7 +130,7 @@ struct ofp_header { uint8_t version; /* OFP_VERSION. */ uint8_t type; /* One of the OFPT_ constants. */ uint16_t length; /* Length including this ofp_header. */ - uint32_t xid; /* Transactin id associated with this packet. + uint32_t xid; /* Transaction id associated with this packet. Replies use the same id as was in the request to facilitate pairing. */ }; @@ -399,7 +399,7 @@ OFP_ASSERT(sizeof(struct ofp_action_tp_port) == 8); /* Action header for OFPAT_VENDOR. The rest of the body is vendor-defined. */ struct ofp_action_vendor_header { uint16_t type; /* OFPAT_VENDOR. */ - uint16_t len; /* Length is 8. */ + uint16_t len; /* Length is a multiple of 8. */ uint32_t vendor; /* Vendor ID, which takes the same form as in "struct ofp_vendor_header". */ }; @@ -764,7 +764,7 @@ struct ofp_port_stats { uint64_t tx_dropped; /* Number of packets dropped by TX. */ uint64_t rx_errors; /* Number of receive errors. This is a super-set of receive errors and should be great than or - equal to the sum of al rx_*_err values. */ + equal to the sum of all rx_*_err values. */ uint64_t tx_errors; /* Number of transmit errors. This is a super-set of transmit errors. */ uint64_t rx_frame_err; /* Number of frame alignment errors. */