FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
handoffdemo.h
Go to the documentation of this file.
1
2
/*
3
* handoffdemo.h - skeleton vpp engine plug-in header file
4
*
5
* Copyright (c) <current-year> <your-organization>
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at:
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*/
18
#ifndef __included_handoffdemo_h__
19
#define __included_handoffdemo_h__
20
21
#include <
vnet/vnet.h
>
22
#include <
vnet/ip/ip.h
>
23
#include <
vnet/ethernet/ethernet.h
>
24
25
#include <
vppinfra/hash.h
>
26
#include <
vppinfra/error.h
>
27
28
typedef
struct
29
{
30
u32
frame_queue_index
;
31
32
33
/* convenience */
34
vlib_main_t
*
vlib_main
;
35
vnet_main_t
*
vnet_main
;
36
}
handoffdemo_main_t
;
37
38
extern
handoffdemo_main_t
handoffdemo_main
;
39
40
extern
vlib_node_registration_t
handoffdemo_node_1
,
handoffdemo_node_2
;
41
42
#endif
/* __included_handoffdemo_h__ */
43
44
/*
45
* fd.io coding-style-patch-verification: ON
46
*
47
* Local Variables:
48
* eval: (c-set-style "gnu")
49
* End:
50
*/
handoffdemo_main_t::frame_queue_index
u32 frame_queue_index
Definition:
handoffdemo.h:30
handoffdemo_main_t::vnet_main
vnet_main_t * vnet_main
Definition:
handoffdemo.h:35
ip.h
hash.h
u32
unsigned int u32
Definition:
types.h:88
handoffdemo_main_t
Definition:
handoffdemo.h:28
ethernet.h
handoffdemo_main
handoffdemo_main_t handoffdemo_main
Definition:
handoffdemo.c:23
vnet.h
vnet_main_t
Definition:
vnet.h:51
vlib_node_registration_t
struct _vlib_node_registration vlib_node_registration_t
vlib_main_t
Definition:
main.h:83
error.h
handoffdemo_node_1
vlib_node_registration_t handoffdemo_node_1
(constructor) VLIB_REGISTER_NODE (handoffdemo_node_1)
Definition:
node.c:169
handoffdemo_node_2
vlib_node_registration_t handoffdemo_node_2
(constructor) VLIB_REGISTER_NODE (handoffdemo_node_2)
Definition:
node.c:202
handoffdemo_main_t::vlib_main
vlib_main_t * vlib_main
Definition:
handoffdemo.h:34
src
examples
handoffdemo
handoffdemo.h
Generated on Mon Oct 12 2020 16:03:19 for FD.io VPP by
1.8.13