From ed4a2fdd4d62c46a2237157cd3a72bda16fceb6a Mon Sep 17 00:00:00 2001 From: AkshayaNadahalli Date: Tue, 9 Aug 2016 13:38:04 +0530 Subject: Adding Sequence Number - Per Packet Counter(PPC) support for iOAM6. - Added support in classifier session to identify a flow to be iOAM6 encap/decap - Sequence number as part of iOAM6 E2E header is created as a plugin. Change-Id: Ib7605de45aecff25d684d099b525f8dc96ee7038 Signed-off-by: AkshayaNadahalli --- plugins/ioam-plugin/ioam/lib-trace/trace_util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/ioam-plugin/ioam/lib-trace/trace_util.c') diff --git a/plugins/ioam-plugin/ioam/lib-trace/trace_util.c b/plugins/ioam-plugin/ioam/lib-trace/trace_util.c index ca9adcd1225..adc02b20f56 100644 --- a/plugins/ioam-plugin/ioam/lib-trace/trace_util.c +++ b/plugins/ioam-plugin/ioam/lib-trace/trace_util.c @@ -35,7 +35,7 @@ trace_profile_cleanup (trace_profile * profile) if (0 != (rv = ip6_ioam_set_rewrite (&hm->rewrite, hm->has_trace_option, - hm->has_pot_option, hm->has_ppc_option))) + hm->has_pot_option, hm->has_seqno_option))) return (-1); return 0; @@ -89,7 +89,8 @@ trace_profile_create (trace_profile * profile, u8 trace_type, u8 num_elts, if (0 != (rv = ip6_ioam_set_rewrite (&hm->rewrite, hm->has_trace_option, - hm->has_pot_option, hm->has_ppc_option))) + hm->has_pot_option, + hm->has_seqno_option))) return (-1); } -- cgit 1.2.3-korg