diff options
author | Ben Pfaff <blp@nicira.com> | 2012-07-19 23:23:17 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-30 21:09:12 -0700 |
commit | 982697a4d24caa0a3bdaf85db67619338b382e50 (patch) | |
tree | 028e7fd69f9f836f2785b5096d78eb8046568a80 /lib/.gitignore | |
parent | 4b3b8d8fa14bbe4000c6591eef74e0a0d51a3929 (diff) | |
download | openvswitch-982697a4d24caa0a3bdaf85db67619338b382e50.tar.gz |
ofp-msgs: New approach to encoding and decoding OpenFlow headers.
OpenFlow headers are not as uniform as they could be, with size, alignment,
and numbering changes from one version to another and across varieties
(e.g. ordinary messages vs. "stats" messages). Until now the Open vSwitch
internal APIs haven't done a good job of abstracting those differences in
header formats. This commit changes that; from this commit forward very
little code actually needs to understand the header format or numbering.
Instead, it can just encode or decode, or pull or put, the header using
a more abstract API using the ofpraw_, ofptype_, and other APIs in the
new ofp-msgs module.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Tested-by: Simon Horman <horms@verge.net.au>
Reviewed-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'lib/.gitignore')
-rw-r--r-- | lib/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/.gitignore b/lib/.gitignore index ba73f285d..f4c59add9 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -4,6 +4,7 @@ /dirs.c /coverage-counters.c /ofp-errors.inc +/ofp-msgs.inc /vswitch-idl.c /vswitch-idl.h /vswitch-idl.ovsidl |