Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 1 | /* |
| 2 | * dhcp_proxy.h: DHCP v4 & v6 proxy common functions/types |
| 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 | #ifndef included_dhcp_proxy_h |
| 19 | #define included_dhcp_proxy_h |
| 20 | |
| 21 | #include <vnet/vnet.h> |
| 22 | #include <vnet/dhcp/dhcp4_packet.h> |
| 23 | #include <vnet/ethernet/ethernet.h> |
| 24 | #include <vnet/ip/ip.h> |
| 25 | #include <vnet/ip/ip4.h> |
| 26 | #include <vnet/ip/ip4_packet.h> |
| 27 | #include <vnet/pg/pg.h> |
| 28 | #include <vnet/ip/format.h> |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 29 | #include <vnet/udp/udp.h> |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 30 | |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 31 | typedef enum |
| 32 | { |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 33 | #define dhcp_proxy_error(n,s) DHCP_PROXY_ERROR_##n, |
| 34 | #include <vnet/dhcp/dhcp4_proxy_error.def> |
| 35 | #undef dhcp_proxy_error |
| 36 | DHCP_PROXY_N_ERROR, |
| 37 | } dhcp_proxy_error_t; |
| 38 | |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 39 | typedef enum |
| 40 | { |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 41 | #define dhcpv6_proxy_error(n,s) DHCPV6_PROXY_ERROR_##n, |
| 42 | #include <vnet/dhcp/dhcp6_proxy_error.def> |
| 43 | #undef dhcpv6_proxy_error |
| 44 | DHCPV6_PROXY_N_ERROR, |
| 45 | } dhcpv6_proxy_error_t; |
| 46 | |
Matthew Smith | d4bdd93 | 2019-03-27 12:30:29 -0500 | [diff] [blame] | 47 | /* flags to indicate which DHCP ports should be or have been registered */ |
| 48 | typedef enum |
| 49 | { |
| 50 | DHCP_PORT_REG_CLIENT = 0x1, |
| 51 | DHCP_PORT_REG_SERVER = 0x2, |
| 52 | } dhcp_port_reg_flags_t; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 53 | |
| 54 | /** |
| 55 | * @brief The Virtual Sub-net Selection information for a given RX FIB |
| 56 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 57 | typedef struct dhcp_vss_t_ |
| 58 | { |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 59 | /** |
John Lo | 70bfcaf | 2017-11-14 13:19:26 -0500 | [diff] [blame] | 60 | * @brief VSS type as defined in RFC 6607: |
| 61 | * 0 for NVT ASCII VPN Identifier |
| 62 | * 1 for RFC 2685 VPN-ID of 7 octects - 3 bytes OUI & 4 bytes VPN index |
| 63 | * 255 for global default VPN |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 64 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 65 | u8 vss_type; |
John Lo | 70bfcaf | 2017-11-14 13:19:26 -0500 | [diff] [blame] | 66 | #define VSS_TYPE_ASCII 0 |
| 67 | #define VSS_TYPE_VPN_ID 1 |
| 68 | #define VSS_TYPE_INVALID 123 |
| 69 | #define VSS_TYPE_DEFAULT 255 |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 70 | /** |
John Lo | 70bfcaf | 2017-11-14 13:19:26 -0500 | [diff] [blame] | 71 | * @brief Type 1 VPN-ID |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 72 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 73 | u8 vpn_id[7]; |
John Lo | 70bfcaf | 2017-11-14 13:19:26 -0500 | [diff] [blame] | 74 | /** |
| 75 | * @brief Type 0 ASCII VPN Identifier |
| 76 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 77 | u8 *vpn_ascii_id; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 78 | } dhcp_vss_t; |
| 79 | |
| 80 | /** |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 81 | * @brief A representation of a single DHCP Server within a given VRF config |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 82 | */ |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 83 | typedef struct dhcp_server_t_ |
| 84 | { |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 85 | /** |
| 86 | * @brief The address of the DHCP server to which to relay the client's |
| 87 | * messages |
| 88 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 89 | ip46_address_t dhcp_server; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 90 | |
| 91 | /** |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 92 | * @brief The FIB index (not the external Table-ID) in which the server |
| 93 | * is reachable. |
| 94 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 95 | u32 server_fib_index; |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 96 | } dhcp_server_t; |
| 97 | |
| 98 | /** |
| 99 | * @brief A DHCP proxy represenation fpr per-client VRF config |
| 100 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 101 | typedef struct dhcp_proxy_t_ |
| 102 | { |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 103 | /** |
| 104 | * @brief The set of DHCP servers to which messages are relayed. |
| 105 | * If multiple servers are configured then discover/solict messages |
| 106 | * are relayed to each. A cookie is maintained for the relay, and only |
| 107 | * one message is replayed to the client, based on the presence of the |
| 108 | * cookie. |
| 109 | * The expectation is there are only 1 or 2 servers, hence no fancy DB. |
| 110 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 111 | dhcp_server_t *dhcp_servers; |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 112 | |
| 113 | /** |
| 114 | * @brief Hash table of pending requets key'd on the clients MAC address |
| 115 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 116 | uword *dhcp_pending; |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 117 | |
| 118 | /** |
| 119 | * @brief A lock for the pending request DB. |
| 120 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 121 | int lock; |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 122 | |
| 123 | /** |
| 124 | * @brief The source address to use in relayed messaes |
| 125 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 126 | ip46_address_t dhcp_src_address; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 127 | |
| 128 | /** |
| 129 | * @brief The FIB index (not the external Table-ID) in which the client |
| 130 | * is resides. |
| 131 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 132 | u32 rx_fib_index; |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 133 | } dhcp_proxy_t; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 134 | |
| 135 | #define DHCP_N_PROTOS (FIB_PROTOCOL_IP6 + 1) |
| 136 | |
| 137 | /** |
| 138 | * @brief Collection of global DHCP proxy data |
| 139 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 140 | typedef struct |
| 141 | { |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 142 | /* Pool of DHCP servers */ |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 143 | dhcp_proxy_t *dhcp_servers[DHCP_N_PROTOS]; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 144 | |
| 145 | /* Pool of selected DHCP server. Zero is the default server */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 146 | u32 *dhcp_server_index_by_rx_fib_index[DHCP_N_PROTOS]; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 147 | |
| 148 | /* to drop pkts in server-to-client direction */ |
| 149 | u32 error_drop_node_index; |
| 150 | |
| 151 | dhcp_vss_t *vss[DHCP_N_PROTOS]; |
| 152 | |
| 153 | /* hash lookup specific vrf_id -> option 82 vss suboption */ |
| 154 | u32 *vss_index_by_rx_fib_index[DHCP_N_PROTOS]; |
Dave Barach | 8a9566e | 2018-10-23 10:47:36 -0400 | [diff] [blame] | 155 | |
Matthew Smith | d4bdd93 | 2019-03-27 12:30:29 -0500 | [diff] [blame] | 156 | /* flags to indicate which udp ports have been registered */ |
Dave Barach | 8a9566e | 2018-10-23 10:47:36 -0400 | [diff] [blame] | 157 | int udp_ports_registered; |
| 158 | |
| 159 | /* convenience */ |
| 160 | vlib_main_t *vlib_main; |
| 161 | |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 162 | } dhcp_proxy_main_t; |
| 163 | |
| 164 | extern dhcp_proxy_main_t dhcp_proxy_main; |
| 165 | |
| 166 | /** |
Matthew Smith | d4bdd93 | 2019-03-27 12:30:29 -0500 | [diff] [blame] | 167 | * @brief Register the dhcp client and/or server ports, if not already done |
Dave Barach | 8a9566e | 2018-10-23 10:47:36 -0400 | [diff] [blame] | 168 | */ |
Matthew Smith | d4bdd93 | 2019-03-27 12:30:29 -0500 | [diff] [blame] | 169 | void dhcp_maybe_register_udp_ports (dhcp_port_reg_flags_t ports); |
Dave Barach | 8a9566e | 2018-10-23 10:47:36 -0400 | [diff] [blame] | 170 | |
| 171 | /** |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 172 | * @brief Send the details of a proxy session to the API client during a dump |
| 173 | */ |
| 174 | void dhcp_send_details (fib_protocol_t proto, |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 175 | void *opaque, u32 context, dhcp_proxy_t * proxy); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 176 | |
| 177 | /** |
| 178 | * @brief Show (on CLI) a VSS config during a show walk |
| 179 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 180 | int dhcp_vss_show_walk (dhcp_vss_t * vss, u32 rx_table_id, void *ctx); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 181 | |
| 182 | /** |
| 183 | * @brief Configure/set a new VSS info |
| 184 | */ |
John Lo | 70bfcaf | 2017-11-14 13:19:26 -0500 | [diff] [blame] | 185 | int dhcp_proxy_set_vss (fib_protocol_t proto, |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 186 | u32 tbl_id, |
John Lo | 70bfcaf | 2017-11-14 13:19:26 -0500 | [diff] [blame] | 187 | u8 vss_type, |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 188 | u8 * vpn_ascii_id, u32 oui, u32 vpn_index, u8 is_del); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 189 | |
| 190 | /** |
| 191 | * @brief Dump the proxy configs to the API |
| 192 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 193 | void dhcp_proxy_dump (fib_protocol_t proto, void *opaque, u32 context); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 194 | |
| 195 | /** |
| 196 | * @brief Add a new DHCP proxy server configuration. |
| 197 | * @return 1 is the config is new, |
| 198 | * 0 otherwise (implying a modify of an existing) |
| 199 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 200 | int dhcp_proxy_server_add (fib_protocol_t proto, |
| 201 | ip46_address_t * addr, |
| 202 | ip46_address_t * src_address, |
| 203 | u32 rx_fib_iindex, u32 server_table_id); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 204 | |
| 205 | /** |
| 206 | * @brief Delete a DHCP proxy config |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 207 | * @return 1 if the proxy is deleted, 0 otherwise |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 208 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 209 | int dhcp_proxy_server_del (fib_protocol_t proto, |
| 210 | u32 rx_fib_index, |
| 211 | ip46_address_t * addr, u32 server_table_id); |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 212 | |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 213 | u32 dhcp_proxy_rx_table_get_table_id (fib_protocol_t proto, u32 fib_index); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 214 | |
| 215 | /** |
| 216 | * @brief Callback function invoked for each DHCP proxy entry |
| 217 | * return 0 to break the walk, non-zero otherwise. |
| 218 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 219 | typedef int (*dhcp_proxy_walk_fn_t) (dhcp_proxy_t * server, void *ctx); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 220 | |
| 221 | /** |
| 222 | * @brief Walk/Visit each DHCP proxy server |
| 223 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 224 | void dhcp_proxy_walk (fib_protocol_t proto, |
| 225 | dhcp_proxy_walk_fn_t fn, void *ctx); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 226 | |
| 227 | /** |
| 228 | * @brief Callback function invoked for each DHCP VSS entry |
| 229 | * return 0 to break the walk, non-zero otherwise. |
| 230 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 231 | typedef int (*dhcp_vss_walk_fn_t) (dhcp_vss_t * server, |
| 232 | u32 rx_table_id, void *ctx); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 233 | |
| 234 | /** |
| 235 | * @brief Walk/Visit each DHCP proxy VSS |
| 236 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 237 | void dhcp_vss_walk (fib_protocol_t proto, dhcp_vss_walk_fn_t fn, void *ctx); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 238 | |
| 239 | /** |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 240 | * @brief Lock a proxy object to prevent simultaneous access of its |
| 241 | * pending store |
| 242 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 243 | void dhcp_proxy_lock (dhcp_proxy_t * server); |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 244 | |
| 245 | /** |
| 246 | * @brief Lock a proxy object to prevent simultaneous access of its |
| 247 | * pending store |
| 248 | */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 249 | void dhcp_proxy_unlock (dhcp_proxy_t * server); |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 250 | |
| 251 | /** |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 252 | * @brief Get the VSS data for the FIB index |
| 253 | */ |
| 254 | static inline dhcp_vss_t * |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 255 | dhcp_get_vss_info (dhcp_proxy_main_t * dm, |
| 256 | u32 rx_fib_index, fib_protocol_t proto) |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 257 | { |
| 258 | dhcp_vss_t *v = NULL; |
| 259 | |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 260 | if (vec_len (dm->vss_index_by_rx_fib_index[proto]) > rx_fib_index && |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 261 | dm->vss_index_by_rx_fib_index[proto][rx_fib_index] != ~0) |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 262 | { |
| 263 | v = pool_elt_at_index (dm->vss[proto], |
| 264 | dm->vss_index_by_rx_fib_index[proto] |
| 265 | [rx_fib_index]); |
| 266 | } |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 267 | |
| 268 | return (v); |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * @brief Get the DHCP proxy server data for the FIB index |
| 273 | */ |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 274 | static inline dhcp_proxy_t * |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 275 | dhcp_get_proxy (dhcp_proxy_main_t * dm, |
| 276 | u32 rx_fib_index, fib_protocol_t proto) |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 277 | { |
Neale Ranns | 3466c30 | 2017-02-16 07:45:03 -0800 | [diff] [blame] | 278 | dhcp_proxy_t *s = NULL; |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 279 | |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 280 | if (vec_len (dm->dhcp_server_index_by_rx_fib_index[proto]) > rx_fib_index && |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 281 | dm->dhcp_server_index_by_rx_fib_index[proto][rx_fib_index] != ~0) |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 282 | { |
| 283 | s = pool_elt_at_index (dm->dhcp_servers[proto], |
| 284 | dm->dhcp_server_index_by_rx_fib_index[proto] |
| 285 | [rx_fib_index]); |
| 286 | } |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 287 | |
| 288 | return (s); |
| 289 | } |
| 290 | |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 291 | int dhcp6_proxy_set_server (ip46_address_t * addr, |
| 292 | ip46_address_t * src_addr, |
| 293 | u32 rx_table_id, u32 server_table_id, int is_del); |
| 294 | int dhcp4_proxy_set_server (ip46_address_t * addr, |
| 295 | ip46_address_t * src_addr, |
| 296 | u32 rx_table_id, u32 server_table_id, int is_del); |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 297 | |
| 298 | #endif /* included_dhcp_proxy_h */ |
khemendra kumar | 34719e3 | 2017-12-08 18:06:52 +0530 | [diff] [blame] | 299 | |
| 300 | /* |
| 301 | * fd.io coding-style-patch-verification: ON |
| 302 | * |
| 303 | * Local Variables: |
| 304 | * eval: (c-set-style "gnu") |
| 305 | * End: |
| 306 | */ |