Proof of concept: transmit a single DHCPDISCOVER and dump out any

parsed DHCP responses.
This commit is contained in:
Michael Brown
2006-07-19 17:32:13 +00:00
parent 76070cd226
commit 317b962b65
2 changed files with 49 additions and 4 deletions

View File

@@ -11,6 +11,7 @@
#include <gpxe/list.h>
#include <gpxe/in.h>
#include <gpxe/udp.h>
#include <gpxe/async.h>
/** Construct a tag value for an encapsulated option
*
@@ -404,6 +405,8 @@ struct dhcp_session {
* (e.g. @c DHCPDISCOVER).
*/
int state;
/** Asynchronous operation for this DHCP session */
struct async_operation aop;
/** Network device being configured */
struct net_device *netdev;