#include <stdlib.h>
#include "snippet_match_gre.h"
static void
{
if (queue == NULL)
fprintf(stderr, "Failed to allocate memory for queue\n");
}
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;
}