FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
punt_error.def
Go to the documentation of this file.
1 /*
2  * punt_error.def: punt errors
3  *
4  * Copyright (c) 2016 Cisco and/or its affiliates.
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 punt_error (NONE, "no error")
19 punt_error (UDP_PORT, "udp port punt")
20 punt_error (SOCKET_RX, "Socket RX")
21 punt_error (SOCKET_TX, "Socket TX")
22 punt_error (SOCKET_RX_ERROR, "Socket RX error")
23 punt_error (SOCKET_TX_ERROR, "Socket TX error")
24 punt_error (NOBUFFER, "buffer allocation failure")
25 punt_error (READV, "socket read failure")
26 punt_error (ACTION, "invalid packet descriptor")
27 
buffer
char * buffer
Definition: cJSON.h:163
RX
@ RX
Definition: interface_types.api:78
packet
description malformed packet
Definition: map.api:445
port
u16 port
Definition: lb_types.api:73
punt
typedef punt
Full description of which packets are requested to be punted.
Definition: punt.api:75
error
Definition: cJSON.c:88
punt_error
punt_error(NONE, "no error") punt_error(UDP_PORT
TX
@ TX
Definition: interface_types.api:79