FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
ioam_export_thread.c
Go to the documentation of this file.
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>
21 
24 
25 static uword
28 {
29  return (ioam_export_process_common(&ioam_export_main,
30  vm, rt, f,
32 }
33 
35 {
36  .function = ioam_export_process,
37  .type = VLIB_NODE_TYPE_PROCESS,
38  .name = "ioam-export-process",
39 };
Fixed length block allocator.
ioam_export_main_t ioam_export_main
Definition: ioam_export.c:61
static uword ioam_export_process_common(ioam_export_main_t *em, vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f, u32 index)
Definition: ioam_export.h:360
static uword ioam_export_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
static vlib_node_registration_t ioam_export_process_node
(constructor) VLIB_REGISTER_NODE (ioam_export_process_node)
#define VLIB_REGISTER_NODE(x,...)
Definition: node.h:153
vlib_main_t * vm
Definition: buffer.c:294
struct _vlib_node_registration vlib_node_registration_t
u64 uword
Definition: types.h:112