diff options
| author | Michael Brown | 2006-07-19 19:32:13 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-07-19 19:32:13 +0200 |
| commit | 317b962b65d186139cdef6972f447b7b50c0368c (patch) | |
| tree | ef8ff6323acb792ca02bcae5e018337e5cd45084 /src/include | |
| parent | Added missing prototype (diff) | |
| download | ipxe-317b962b65d186139cdef6972f447b7b50c0368c.tar.gz ipxe-317b962b65d186139cdef6972f447b7b50c0368c.tar.xz ipxe-317b962b65d186139cdef6972f447b7b50c0368c.zip | |
Proof of concept: transmit a single DHCPDISCOVER and dump out any
parsed DHCP responses.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/dhcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index dd95d98ae..576b9ead3 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -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; |
