8 #ifndef COFMETERBANDSTATS_H_
9 #define COFMETERBANDSTATS_H_
14 #include "rofl/common/openflow/openflow_rofl_exceptions.h"
15 #include "rofl/common/openflow/openflow.h"
16 #include "rofl/common/logging.h"
31 uint8_t of_version = rofl::openflow::OFP_VERSION_UNKNOWN);
73 pack(uint8_t *buf,
size_t buflen);
79 unpack(uint8_t *buf,
size_t buflen);
88 set_version(uint8_t of_version) { this->of_version = of_version; };
94 get_version()
const {
return of_version; };
100 set_packet_band_count(uint64_t packet_band_count) {
101 this->packet_band_count = packet_band_count;
108 get_packet_band_count()
const {
return packet_band_count; };
114 set_byte_band_count(uint64_t byte_band_count) {
115 this->byte_band_count = byte_band_count;
122 get_byte_band_count()
const {
return byte_band_count; };
130 <<
"packet_band_count: 0x" << mbs.get_packet_band_count() <<
" "
131 <<
"byte_band_count: 0x" << mbs.get_byte_band_count() <<
" "
133 << std::dec << std::endl;
140 uint64_t packet_band_count;
141 uint64_t byte_band_count;
Definition: cofmeterbandstats.h:21
Definition: cofmeterbandstats.h:22
Definition: cofmeterbandstats.h:24
Definition: croflexception.h:27