FD.io VPP  v21.01.1
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 
typedef punt
Full description of which packets are requested to be punted.
Definition: punt.api:75
Definition: cJSON.c:84
punt_error(NONE, "no error") punt_error(UDP_PORT
description malformed packet
Definition: map.api:445
char * buffer
Definition: cJSON.h:163
u16 port
Definition: lb_types.api:73