diff options
author | AkshayaNadahalli <anadahal@cisco.com> | 2016-08-09 13:38:04 +0530 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-11-03 11:44:21 +0000 |
commit | ed4a2fdd4d62c46a2237157cd3a72bda16fceb6a (patch) | |
tree | 1fa59d681435a39f3b7f840b60229f8c3edf4f19 /plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c | |
parent | 273c26a531bf031b3426588041bad67fe7f0a246 (diff) |
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 <anadahal@cisco.com>
Diffstat (limited to 'plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c')
-rw-r--r-- | plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c b/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c index 9daea9c058f..05f42c91d0f 100644 --- a/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c +++ b/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c @@ -171,7 +171,7 @@ ip6_hbh_ioam_proof_of_transit_handler (vlib_buffer_t *b, } int -ip6_hbh_ioam_proof_of_transit_pop_handler (ip6_header_t *ip, +ip6_hbh_ioam_proof_of_transit_pop_handler (vlib_buffer_t *b, ip6_header_t *ip, ip6_hop_by_hop_option_t *opt0) { ioam_pot_option_t * pot0; @@ -248,12 +248,6 @@ ip6_hop_by_hop_ioam_pot_init (vlib_main_t * vm) ip6_hop_by_hop_ioam_pot_main_t * hm = &ip6_hop_by_hop_ioam_pot_main; clib_error_t * error; - if ((error = vlib_call_init_function (vm, ip_main_init))) - return(error); - - if ((error = vlib_call_init_function (vm, ip6_lookup_init))) - return error; - if ((error = vlib_call_init_function (vm, ip6_hop_by_hop_ioam_init))) return(error); |