dhcp: send unicast and broadcast packets via the IP adjacency
[vpp.git] / src / vnet / dhcp / client.h
index 2b5341d..a79d6e5 100644 (file)
@@ -71,8 +71,6 @@ typedef struct dhcp_client_t_
   /* Requested data (option 55) */
   u8 *option_55_data;
 
-  u8 *l2_rewrite;
-
   /* hostname and software client identifiers */
   u8 *hostname;
   u8 *client_identifier;       /* software version, e.g. vpe 1.0 */
@@ -87,6 +85,11 @@ typedef struct dhcp_client_t_
   u8 client_hardware_address[6];
   u8 client_detect_feature_enabled;
 
+  /* the unicast adjacency for the DHCP server */
+  adj_index_t ai_ucast;
+  /* the broadcast adjacency on the link */
+  adj_index_t ai_bcast;
+
   dhcp_event_cb_t event_callback;
 } dhcp_client_t;