Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * dhcp_proxy_error.def: dhcp proxy errors |
| 3 | * |
| 4 | * Copyright (c) 2013 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 | dhcp_proxy_error (NONE, "no error") |
| 19 | dhcp_proxy_error (NO_SERVER, "no dhcp server configured") |
| 20 | dhcp_proxy_error (RELAY_TO_SERVER, "DHCP packets relayed to the server") |
| 21 | dhcp_proxy_error (RELAY_TO_CLIENT, "DHCP packets relayed to clients") |
| 22 | dhcp_proxy_error (OPTION_82_ERROR, "DHCP failed to insert option 82") |
| 23 | dhcp_proxy_error (NO_OPTION_82, "DHCP option 82 missing") |
Neale Ranns | 20a175a | 2017-02-14 07:28:41 -0800 | [diff] [blame] | 24 | dhcp_proxy_error (BAD_OPTION_82_ITF, "Bad DHCP option 82 interface value") |
| 25 | dhcp_proxy_error (BAD_OPTION_82_ADDR, "Bad DHCP option 82 address value") |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 26 | dhcp_proxy_error (BAD_FIB_ID, "DHCP option 82 fib-id to fib-index map failure") |
| 27 | dhcp_proxy_error (NO_INTERFACE_ADDRESS, "DHCP no interface address") |
| 28 | dhcp_proxy_error (OPTION_82_VSS_NOT_PROCESSED, "DHCP VSS not processed by DHCP server") |
| 29 | dhcp_proxy_error (BAD_YIADDR, "DHCP packets with bad your_ip_address fields") |
| 30 | dhcp_proxy_error (BAD_SVR_FIB_OR_ADDRESS, "DHCP packets not from DHCP server or server FIB.") |
| 31 | dhcp_proxy_error (PKT_TOO_BIG, "DHCP packets which are too big.") |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 32 | |