8#define COM_NO_WINDOWS_H
20#define IFNAMSIZ MAX_INTERFACE_NAME_LEN
26#define DHCP_DISCOVER_INTERVAL 5
27#define DHCP_REBOOT_TIMEOUT 10
28#define DHCP_PANIC_TIMEOUT 20
29#define DHCP_BACKOFF_MAX 300
30#define DHCP_DEFAULT_LEASE_TIME 43200
31#define _PATH_DHCLIENT_PID "\\systemroot\\system32\\drivers\\etc\\dhclient.pid"
38#ifndef _SSIZE_T_DEFINED
39#define _SSIZE_T_DEFINED
42#if defined(__GNUC__) && defined(__STRICT_ANSI__)
PDHCP_ADAPTER AdapterGetFirst()
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
GLenum const GLvoid * addr
#define inet_aton(cp, addr)
DWORD DSQueryHWInfo(PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *Req)
struct _DHCP_ADAPTER DHCP_ADAPTER
PDHCP_ADAPTER AdapterGetNext(PDHCP_ADAPTER)
DWORD DSStaticRefreshParams(PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *Req)
DWORD DSRenewIpAddressLease(PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *Req)
PDHCP_ADAPTER AdapterFindInfo(struct interface_info *info)
DWORD(* PipeSendFunc)(HANDLE CommPipe, COMM_DHCP_REPLY *Reply)
HANDLE StartAdapterDiscovery(HANDLE hStopEvent)
DWORD DSReleaseIpAddressLease(PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *Req)
HANDLE PipeInit(HANDLE hStopEvent)
PDHCP_ADAPTER AdapterFindByHardwareAddress(u_int8_t haddr[16], u_int8_t hlen)
struct _DHCP_ADAPTER * PDHCP_ADAPTER
DWORD DSGetAdapterInfo(PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *Req)
DWORD DSLeaseIpAddress(PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *Req)
PDHCP_ADAPTER AdapterFindIndex(unsigned int AdapterIndex)
MIB_IPFORWARDROW RouterMib
unsigned char recv_buf[1]
struct interface_info DhclientInfo
struct client_state DhclientState
struct client_config DhclientConfig
struct sockaddr_in ListenAddr