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 */
18dhcp_proxy_error (NONE, "no error")
19dhcp_proxy_error (NO_SERVER, "no dhcp server configured")
20dhcp_proxy_error (RELAY_TO_SERVER, "DHCP packets relayed to the server")
21dhcp_proxy_error (RELAY_TO_CLIENT, "DHCP packets relayed to clients")
22dhcp_proxy_error (OPTION_82_ERROR, "DHCP failed to insert option 82")
23dhcp_proxy_error (NO_OPTION_82, "DHCP option 82 missing")
24dhcp_proxy_error (BAD_OPTION_82_ITF, "Bad DHCP option 82 interface value")
25dhcp_proxy_error (BAD_OPTION_82_ADDR, "Bad DHCP option 82 address value")
26dhcp_proxy_error (BAD_FIB_ID, "DHCP option 82 fib-id to fib-index map failure")
27dhcp_proxy_error (NO_INTERFACE_ADDRESS, "DHCP no interface address")
28dhcp_proxy_error (OPTION_82_VSS_NOT_PROCESSED, "DHCP VSS not processed by DHCP server")
29dhcp_proxy_error (BAD_YIADDR, "DHCP packets with bad your_ip_address fields")
30dhcp_proxy_error (BAD_SVR_FIB_OR_ADDRESS, "DHCP packets not from DHCP server or server FIB.")
31dhcp_proxy_error (PKT_TOO_BIG, "DHCP packets which are too big.")
32dhcp_proxy_error (FOR_US, "DHCP packets for local client.")
33dhcp_proxy_error (ALLOC_FAIL, "DHCP buffer allocation failures.")