X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Fmap_api.c;fp=src%2Fplugins%2Fmap%2Fmap_api.c;h=1dbff4ca0d19a4e3dae977271da29977d73b6a9e;hb=c3148b1be8f519c80c4417c21b978dfef72b351b;hp=f81216dddbd1392ce0c48715e0a0a59beaf6035d;hpb=e2ed59933153d665ee43add2de03a581627b73fa;p=vpp.git diff --git a/src/plugins/map/map_api.c b/src/plugins/map/map_api.c index f81216dddbd..1dbff4ca0d1 100644 --- a/src/plugins/map/map_api.c +++ b/src/plugins/map/map_api.c @@ -50,13 +50,11 @@ vl_api_map_add_domain_t_handler (vl_api_map_add_domain_t * mp) mp->ip6_src.len, mp->ea_bits_len, mp->psid_offset, mp->psid_length, &index, mp->mtu, flags, mp->tag); - /* *INDENT-OFF* */ REPLY_MACRO2_END(VL_API_MAP_ADD_DOMAIN_REPLY, ({ rmp->index = index; })); - /* *INDENT-ON* */ } static void @@ -98,7 +96,6 @@ send_domain_details (u32 map_domain_index, vl_api_registration_t * rp, vec_elt_at_index (mm->domain_extras, map_domain_index); int tag_len = clib_min (ARRAY_LEN (rmp->tag), vec_len (de->tag) + 1); - /* *INDENT-OFF* */ REPLY_MACRO_DETAILS4(VL_API_MAP_DOMAIN_DETAILS, rp, context, ({ rmp->domain_index = htonl (map_domain_index); @@ -119,7 +116,6 @@ send_domain_details (u32 map_domain_index, vl_api_registration_t * rp, memcpy (rmp->tag, de->tag, tag_len - 1); rmp->tag[tag_len - 1] = '\0'; })); - /* *INDENT-ON* */ } static void @@ -136,12 +132,10 @@ vl_api_map_domain_dump_t_handler (vl_api_map_domain_dump_t * mp) if (!reg) return; - /* *INDENT-OFF* */ pool_foreach_index (i, mm->domains) { send_domain_details(i, reg, mp->context); } - /* *INDENT-ON* */ } static void @@ -152,12 +146,10 @@ vl_api_map_domains_get_t_handler (vl_api_map_domains_get_t * mp) i32 rv = 0; - /* *INDENT-OFF* */ REPLY_AND_DETAILS_MACRO (VL_API_MAP_DOMAINS_GET_REPLY, mm->domains, ({ send_domain_details (cursor, rp, mp->context); })); - /* *INDENT-ON* */ } static void