Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 14425da01b
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.887 kb
/*
* File: OFPPacketQueue.h
* Author: sandeep
*
* Created on 02 April 2012, 13:14
*/
#ifndef OFPPACKETQUEUE_H
#define OFPPACKETQUEUE_H
#include <openflow.h>
#include <OFPQueuePropHeader.h>
class OFPPacketQueue {
public:
OFPPacketQueue();
virtual ~OFPPacketQueue();
void SetProperties(std::vector<OFPQueuePropHeader> properties);
std::vector<OFPQueuePropHeader> GetProperties() const;
void SetLen(uint16_t len);
uint16_t GetLen() const;
void SetQueue_id(uint32_t queue_id);
uint32_t GetQueue_id() const;
void readFrom(struct ofp_packet_queue* buf);
void writeTo(struct ofp_packet_queue* buf);
private:
uint32_t queue_id; /* id for the specific queue. */
uint16_t len; /* Length in bytes of this queue desc. */
std::vector<OFPQueuePropHeader> properties; /* List of properties. */
};
#endif /* OFPPACKETQUEUE_H */
Jump to Line
Something went wrong with that request. Please try again.