Alexander Popovsky (apopovsk) | 4a7e58b | 2016-10-05 22:31:23 -0700 | [diff] [blame] | 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") |
Ole Troan | f7a55ad | 2017-05-16 14:59:29 +0200 | [diff] [blame] | 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 | |