LCOV - code coverage report
Current view: top level - plugins/ioam/export - ioam_export_thread.c (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 3 3 100.0 %
Date: 2023-10-26 01:39:38 Functions: 3 3 100.0 %

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2016 Cisco and/or its affiliates.
       3             :  * Licensed under the Apache License, Version 2.0 (the "License");
       4             :  * you may not use this file except in compliance with the License.
       5             :  * You may obtain a copy of the License at:
       6             :  *
       7             :  *     http://www.apache.org/licenses/LICENSE-2.0
       8             :  *
       9             :  * Unless required by applicable law or agreed to in writing, software
      10             :  * distributed under the License is distributed on an "AS IS" BASIS,
      11             :  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      12             :  * See the License for the specific language governing permissions and
      13             :  * limitations under the License.
      14             :  */
      15             : /*
      16             :  * ioam_export_thread.c
      17             :  */
      18             : #include <vnet/api_errno.h>
      19             : #include <vppinfra/pool.h>
      20             : #include <vnet/ethernet/ethernet.h>
      21             : #include <ioam/export-common/ioam_export.h>
      22             : 
      23             : static vlib_node_registration_t ioam_export_process_node;
      24             : extern ioam_export_main_t ioam_export_main;
      25             : 
      26             : static uword
      27         575 : ioam_export_process (vlib_main_t * vm,
      28             :                      vlib_node_runtime_t * rt, vlib_frame_t * f)
      29             : {
      30         575 :    return (ioam_export_process_common(&ioam_export_main,
      31             :                                       vm, rt, f,
      32             :                                       ioam_export_process_node.index));
      33             : }
      34             : 
      35      114668 : VLIB_REGISTER_NODE (ioam_export_process_node, static) =
      36             : {
      37             :  .function = ioam_export_process,
      38             :  .type = VLIB_NODE_TYPE_PROCESS,
      39             :  .name = "ioam-export-process",
      40             : };

Generated by: LCOV version 1.14