FD.io VPP
v16.12-rc0-308-g931be3a
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
devices.h
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
#ifndef included_vnet_vnet_device_h
17
#define included_vnet_vnet_device_h
18
19
#include <
vnet/unix/pcap.h
>
20
#include <
vnet/l3_types.h
>
21
22
typedef
enum
23
{
24
VNET_DEVICE_INPUT_NEXT_IP4_INPUT
,
25
VNET_DEVICE_INPUT_NEXT_IP6_INPUT
,
26
VNET_DEVICE_INPUT_NEXT_MPLS_INPUT
,
27
VNET_DEVICE_INPUT_NEXT_ETHERNET_INPUT
,
28
VNET_DEVICE_INPUT_NEXT_DROP
,
29
VNET_DEVICE_INPUT_N_NEXT_NODES
,
30
}
vnet_device_input_next_t
;
31
32
#define VNET_DEVICE_INPUT_NEXT_NODES { \
33
[VNET_DEVICE_INPUT_NEXT_DROP] = "error-drop", \
34
[VNET_DEVICE_INPUT_NEXT_ETHERNET_INPUT] = "ethernet-input", \
35
[VNET_DEVICE_INPUT_NEXT_IP4_INPUT] = "ip4-input-no-checksum", \
36
[VNET_DEVICE_INPUT_NEXT_IP6_INPUT] = "ip6-input", \
37
[VNET_DEVICE_INPUT_NEXT_MPLS_INPUT] = "mpls-input", \
38
}
39
40
#endif
/* included_vnet_vnet_device_h */
41
42
/*
43
* fd.io coding-style-patch-verification: ON
44
*
45
* Local Variables:
46
* eval: (c-set-style "gnu")
47
* End:
48
*/
VNET_DEVICE_INPUT_NEXT_ETHERNET_INPUT
Definition:
devices.h:27
pcap.h
PCAP utility definitions.
VNET_DEVICE_INPUT_NEXT_IP6_INPUT
Definition:
devices.h:25
VNET_DEVICE_INPUT_NEXT_IP4_INPUT
Definition:
devices.h:24
l3_types.h
vnet_device_input_next_t
vnet_device_input_next_t
Definition:
devices.h:22
VNET_DEVICE_INPUT_NEXT_MPLS_INPUT
Definition:
devices.h:26
VNET_DEVICE_INPUT_N_NEXT_NODES
Definition:
devices.h:29
VNET_DEVICE_INPUT_NEXT_DROP
Definition:
devices.h:28
vnet
vnet
devices
devices.h
Generated on Thu Nov 3 2016 18:24:30 for FD.io VPP by
1.8.11