ROFL-pipeline
v0.6.0dev
|
OpenFlow v1.0, 1.2 and 1.3.2 matches packet processing routines. More...
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <stdbool.h>
#include "rofl.h"
#include "../../../util/pp_guard.h"
#include "../../../common/packet_matches.h"
#include "../../../common/protocol_constants.h"
#include "../../../common/ternary_fields.h"
#include "../../../platform/likely.h"
#include "../../../platform/packet.h"
#include "of1x_match.h"
#include "of1x_utils.h"
Go to the source code of this file.
Functions | |
static ROFL_BEGIN_DECLS bool | __of1x_check_match (datapacket_t *const pkt, of1x_match_t *it) |
OpenFlow v1.0, 1.2 and 1.3.2 matches packet processing routines.
Note regarding endianness: Conforming the convention that the pipeline works in Network Byte Order the matches need to to be initialized in NBO (Big Endian). This applies to the values comming from the packet (eth_src, eth_dst, ...) and NOT to the ones that are external to it:
There is an special alignment for non complete values as
Definition in file of1x_match_pp.h.