X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgtpu%2Fgtpu.h;h=6331aa31890f93568a612b7d6794d662bd7ae641;hb=eb987d3a09f669787014b1553f032219522149e1;hp=86861974a34203647c3b109b40a44c78dee6e14f;hpb=ef486b1545d892f9f0e0d35e7e57cb0ca04d7ff7;p=vpp.git diff --git a/src/plugins/gtpu/gtpu.h b/src/plugins/gtpu/gtpu.h index 86861974a34..6331aa31890 100644 --- a/src/plugins/gtpu/gtpu.h +++ b/src/plugins/gtpu/gtpu.h @@ -1,6 +1,6 @@ /* *------------------------------------------------------------------ - * Copyright (c) 2016 Intel and/or its affiliates. + * Copyright (c) 2017 Intel and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -123,6 +123,9 @@ typedef CLIB_PACKED typedef struct { + /* Required for pool_get_aligned */ + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); + /* Rewrite string */ u8 *rewrite; @@ -172,7 +175,9 @@ typedef struct #define foreach_gtpu_input_next \ _(DROP, "error-drop") \ -_(L2_INPUT, "l2-input") +_(L2_INPUT, "l2-input") \ +_(IP4_INPUT, "ip4-input") \ +_(IP6_INPUT, "ip6-input" ) typedef enum { @@ -226,7 +231,7 @@ typedef struct vnet_main_t *vnet_main; } gtpu_main_t; -gtpu_main_t gtpu_main; +extern gtpu_main_t gtpu_main; extern vlib_node_registration_t gtpu4_input_node; extern vlib_node_registration_t gtpu6_input_node;