{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
- next0[0] = next1[0] = hm->decap_v4_next_override;
- vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b0, &next0[0],
+ *next0 = *next1 = hm->decap_v4_next_override;
+ vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b0, next0,
VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP,
0 /* use_adj */ );
- vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b1, &next1[0],
+ vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b1, next1,
VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP,
0 /* use_adj */ );
}
vlib_buffer_t * b0, vlib_buffer_t * b1,
u32 * next0, u32 * next1)
{
- next0[0] = next1[0] = VXLAN_GPE_ENCAP_IOAM_V4_NEXT_IP4_LOOKUP;
+ *next0 = *next1 = VXLAN_GPE_ENCAP_IOAM_V4_NEXT_IP4_LOOKUP;
vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b0, next0,
VXLAN_GPE_ENCAP_IOAM_V4_NEXT_DROP,
0 /* use_adj */ );
*/
if (gpe_ioam0->length > clib_net_to_host_u16 (ip0->length))
{
- next0[0] = VXLAN_GPE_INPUT_NEXT_DROP;
+ *next0 = VXLAN_GPE_INPUT_NEXT_DROP;
goto trace00;
}
{
if ((*hm->pop_options[type0]) (ip0, opt0) < 0)
{
- next0[0] = VXLAN_GPE_INPUT_NEXT_DROP;
+ *next0 = VXLAN_GPE_INPUT_NEXT_DROP;
goto trace00;
}
}
}
- next0[0] =
+ *next0 =
(gpe_ioam0->protocol < VXLAN_GPE_PROTOCOL_MAX) ?
ngm->
decap_next_node_list[gpe_ioam0->protocol] : VXLAN_GPE_INPUT_NEXT_DROP;
vxlan_gpe_pop_ioam_v4_trace_t *t =
vlib_add_trace (vm, node, b0, sizeof (*t));
u32 trace_len = gpe_ioam0->length;
- t->fmt_trace.next_index = next0[0];
+ t->fmt_trace.next_index = *next0;
/* Capture the h-b-h option verbatim */
trace_len =
trace_len <