|
Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
#include <clock.h>#include <device.h>#include "dhcp.h"#include <ethernet.h>#include <ipv4.h>#include <network.h>#include <string.h>#include <udp.h>Functions | |
| syscall | dhcpSendRequest (int descrp, struct dhcpData *data) |
| syscall dhcpSendRequest | ( | int | descrp, |
| struct dhcpData * | data | ||
| ) |
Send a DHCPDISCOVER or DHCPREQUEST packet, depending on the current state of the DHCP client (DHCPC_STATE_INIT or DHCPC_STATE_SELECTING, respectively).
| [in] | descrp | Network device on which to send the DHCP packet. |
| [in,out] | data | DHCP transfer data that has been filled in appropriately for DHCPC_STATE_INIT or DHCPC_STATE_SELECTING. |
1.8.5