You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenFlow specification mentions about the message padding, that forces some
of the structures with variable size to be aligned up to 8-byte boundary. Currently the ofp package does not have any uniform approach to deal with it, instead it contains
copy-pasted snippets, like this one below:
Therefore, it would be better to refactor this part and introduce a new function as part of
the encoding package, that will handle this automatically (e.g. ReadFullFrom(r, &values, 8)).
The text was updated successfully, but these errors were encountered:
The OpenFlow specification mentions about the message padding, that forces some
of the structures with variable size to be aligned up to 8-byte boundary. Currently the
ofp
package does not have any uniform approach to deal with it, instead it containscopy-pasted snippets, like this one below:
Therefore, it would be better to refactor this part and introduce a new function as part of
the
encoding
package, that will handle this automatically (e.g.ReadFullFrom(r, &values, 8)
).The text was updated successfully, but these errors were encountered: