#include <stdlib.h>
#include "snippet_match_gre.h"
static void
{
if (queue == NULL)
fprintf(stderr, "Failed to allocate memory for queue\n");
action[0].conf = queue;
}
static void
{
if (gre_spec == NULL)
fprintf(stderr, "Failed to allocate memory for gre_spec\n");
if (gre_opt_spec == NULL)
fprintf(stderr, "Failed to allocate memory for gre_opt_spec\n");
gre_opt_spec->
checksum_rsvd.
checksum = RTE_BE16(0x11);
pattern[2].
spec = gre_spec;
pattern[3].
spec = gre_opt_spec;
pattern[3].
mask = gre_opt_spec;
}
@ RTE_FLOW_ACTION_TYPE_QUEUE
@ RTE_FLOW_ACTION_TYPE_END
@ RTE_FLOW_ITEM_TYPE_IPV4
@ RTE_FLOW_ITEM_TYPE_GRE_OPTION
enum rte_flow_item_type type