u8 flow_name[64];
} flow_data_t;
+typedef struct
+{
+ u8 next_index_by_protocol[256];
+} ip6_local_hop_by_hop_runtime_t;
+
typedef struct
{
/* The current rewrite we're using */
u32 (*flow_handler[MAX_IP6_HBH_OPTION]) (u32 flow_ctx, u8 add);
flow_data_t *flows;
+ ip6_local_hop_by_hop_runtime_t *ip6_local_hbh_runtime;
+
/* convenience */
vlib_main_t *vlib_main;
vnet_main_t *vnet_main;
u8 i;
pool_get (hm->flows, flow);
- memset (flow, 0, sizeof (flow_data_t));
+ clib_memset (flow, 0, sizeof (flow_data_t));
index = flow - hm->flows;
strncpy ((char *) flow->flow_name, (char *) flow_name, 31);