ROFL-pipeline
v0.6.0dev
|
Data packet abstraction. More...
#include <datapacket.h>
Data Fields | |
uint64_t | id |
of_switch_t const * | sw |
uint64_t | __metadata |
of_write_actions_t | write_actions |
uint64_t | __cookie |
bool | is_replica |
Flag indicating if it is a replica of the original packet (used for multi-output matches) More... | |
platform_datapacket_state_t * | platform_state |
Platform specific state. More... | |
Data packet abstraction.
Abstraction that represents a data packet that may transverse one Logical Switch OpenFlow Pipeline. This abstraction is OpenFlow version agnostic. It contains a (void*) reference, platform_state to allow the user of the library to keep platform specific state while transversing the pipeline, which the packet mangling APIs may use afterwards.
Definition at line 49 of file datapacket.h.
bool datapacket::is_replica |
Flag indicating if it is a replica of the original packet (used for multi-output matches)
Definition at line 68 of file datapacket.h.
platform_datapacket_state_t* datapacket::platform_state |
Platform specific state.
This is not OF related state and platform specific, and may be used by the library user to keep platform specific state. This may typically be, at least, a reference to the packet buffer in the platform.
Definition at line 78 of file datapacket.h.