projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs.stream: Remove unused parameter from usage().
[openvswitch]
/
lib
/
ofp-print.c
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index 9311c14f417537e41f43f252b7c112b4f470780f..d7804fed81b838eb54dcc11de5a05bd0ad2e2241 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-218,6
+218,7
@@
ofp_print_action(struct ds *s, const union ofp_action *a,
const struct nx_action_reg_load *load;
const struct nx_action_multipath *nam;
const struct nx_action_autopath *naa;
const struct nx_action_reg_load *load;
const struct nx_action_multipath *nam;
const struct nx_action_autopath *naa;
+ const struct nx_action_output_reg *naor;
uint16_t port;
switch (code) {
uint16_t port;
switch (code) {
@@
-361,6
+362,14
@@
ofp_print_action(struct ds *s, const union ofp_action *a,
bundle_format((const struct nx_action_bundle *) a, s);
break;
bundle_format((const struct nx_action_bundle *) a, s);
break;
+ case OFPUTIL_NXAST_OUTPUT_REG:
+ naor = (const struct nx_action_output_reg *) a;
+ ds_put_cstr(s, "output:");
+ nxm_format_field_bits(s, ntohl(naor->src),
+ nxm_decode_ofs(naor->ofs_nbits),
+ nxm_decode_n_bits(naor->ofs_nbits));
+ break;
+
default:
break;
}
default:
break;
}
@@
-781,7
+790,7
@@
static void
ofp_print_flow_mod(struct ds *s, const struct ofp_header *oh,
enum ofputil_msg_code code, int verbosity)
{
ofp_print_flow_mod(struct ds *s, const struct ofp_header *oh,
enum ofputil_msg_code code, int verbosity)
{
- struct flow_mod fm;
+ struct
ofputil_
flow_mod fm;
bool need_priority;
int error;
bool need_priority;
int error;
@@
-1016,7
+1025,7
@@
static void
ofp_print_flow_stats_request(struct ds *string,
const struct ofp_stats_msg *osm)
{
ofp_print_flow_stats_request(struct ds *string,
const struct ofp_stats_msg *osm)
{
- struct flow_stats_request fsr;
+ struct
ofputil_
flow_stats_request fsr;
int error;
error = ofputil_decode_flow_stats_request(&fsr, &osm->header);
int error;
error = ofputil_decode_flow_stats_request(&fsr, &osm->header);