nat: use SVR
[vpp.git] / src / vnet / vxlan-gbp / vxlan_gbp.h
index af2e180..c422d54 100644 (file)
@@ -127,7 +127,8 @@ typedef struct
   u32 dev_instance;            /* Real device instance in tunnel vector */
   u32 user_instance;           /* Instance name being shown to user */
 
-    vnet_declare_rewrite (VLIB_BUFFER_PRE_DATA_SIZE);
+
+    VNET_DECLARE_REWRITE;
 } vxlan_gbp_tunnel_t;
 
 #define foreach_vxlan_gbp_input_next         \