git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert remaining network-byte-order "uint<N>_t"s into "ovs_be<N>"s.
[sliver-openvswitch.git]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index
4ee09eb
..
e500bf5
100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-2115,10
+2115,9
@@
validate_actions(const union ofp_action *actions, size_t n_actions,
return 0;
}
return 0;
}
-/* Returns true if 'action' outputs to 'port' (which must be in network byte
- * order), false otherwise. */
+/* Returns true if 'action' outputs to 'port', false otherwise. */
bool
bool
-action_outputs_to_port(const union ofp_action *action,
uint16_t
port)
+action_outputs_to_port(const union ofp_action *action,
ovs_be16
port)
{
switch (ntohs(action->type)) {
case OFPAT_OUTPUT:
{
switch (ntohs(action->type)) {
case OFPAT_OUTPUT: