diff options
author | Ben Pfaff <blp@nicira.com> | 2010-10-21 11:31:43 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-10-29 09:48:47 -0700 |
commit | fba473391b92b6f2ce33a0acd68920941cb47b03 (patch) | |
tree | 771f93528189876f9d50f1fa966e89c2ffe4437b /build-aux | |
parent | d98e60075528c3065ad453f7add4b30f22edcde3 (diff) |
Make the ovs_be<N> types generally available.
Using these types for data in network byte order makes code clearer, and
allows the "sparse" checker to give warnings for misuse.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/check-structs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/check-structs b/build-aux/check-structs index 545c80a8..f582e2bd 100755 --- a/build-aux/check-structs +++ b/build-aux/check-structs @@ -13,6 +13,9 @@ types['uint8_t'] = {"size": 1, "alignment": 1} types['uint16_t'] = {"size": 2, "alignment": 2} types['uint32_t'] = {"size": 4, "alignment": 4} types['uint64_t'] = {"size": 8, "alignment": 8} +types['ovs_be16'] = {"size": 2, "alignment": 2} +types['ovs_be32'] = {"size": 4, "alignment": 4} +types['ovs_be64'] = {"size": 8, "alignment": 8} token = None line = "" |