ofs->packet_count = cpu_to_be64(flow->packet_count);
ofs->byte_count = cpu_to_be64(flow->byte_count);
ofs->priority = htons(flow->priority);
+ ofs->max_idle = htons(flow->max_idle);
ofs->table_id = table_idx;
memset(ofs->pad, 0, sizeof ofs->pad);
}
uint64_t byte_count; /* Number of bytes in flow. */
uint16_t priority; /* Priority of the entry. Only meaningful
when this is not an exact-match entry. */
+ uint16_t max_idle; /* Only used for non-aggregated results. */
uint8_t table_id; /* ID of table flow came from. */
uint8_t pad[5]; /* Align to 64-bits. */
};
ds_put_format(string, "n_packets=%"PRIu64", ",
ntohll(fs->packet_count));
ds_put_format(string, "n_bytes=%"PRIu64", ", ntohll(fs->byte_count));
+ ds_put_format(string, "max_idle=%"PRIu16", ", ntohs(fs->max_idle));
ofp_print_match(string, &fs->match);
}
}
ofs->packet_count = htonll(flow->packet_count);
ofs->byte_count = htonll(flow->byte_count);
ofs->priority = htons(flow->priority);
+ ofs->max_idle = htons(flow->max_idle);
ofs->table_id = table_idx;
memset(ofs->pad, 0, sizeof ofs->pad);
}