ReactOS 0.4.16-dev-1041-g8b6907f
|
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <ndk/rtlfuncs.h>
#include <dhcpcsdk.h>
#include <rosdhcp_pipe.h>
#include "debug.h"
#include "dhcpd.h"
Go to the source code of this file.
Classes | |
struct | _DHCP_ADAPTER |
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | COM_NO_WINDOWS_H |
#define | NTOS_MODE_USER |
#define | IFNAMSIZ MAX_INTERFACE_NAME_LEN |
#define | DHCP_DISCOVER_INTERVAL 5 |
#define | DHCP_REBOOT_TIMEOUT 10 |
#define | DHCP_PANIC_TIMEOUT 20 |
#define | DHCP_BACKOFF_MAX 300 |
#define | DHCP_DEFAULT_LEASE_TIME 43200 /* 12 hours */ |
#define | _PATH_DHCLIENT_PID "\\systemroot\\system32\\drivers\\etc\\dhclient.pid" |
#define | _SSIZE_T_DEFINED |
#define | TIME uintTIME |
#define | INLINE inline |
#define | PROTO(x) x |
#define | random rand |
#define | srandom srand |
Typedefs | |
typedef void * | VOIDPTR |
typedef unsigned char | u_int8_t |
typedef unsigned short | u_int16_t |
typedef unsigned int | u_int32_t |
typedef char * | caddr_t |
typedef int | ssize_t |
typedef u_int32_t | uintTIME |
typedef void handler_t | PROTO((struct packet *)) |
typedef struct _DHCP_ADAPTER | DHCP_ADAPTER |
typedef struct _DHCP_ADAPTER * | PDHCP_ADAPTER |
typedef DWORD(* | PipeSendFunc) (HANDLE CommPipe, COMM_DHCP_REPLY *Reply) |
#define _PATH_DHCLIENT_PID "\\systemroot\\system32\\drivers\\etc\\dhclient.pid" |
#define IFNAMSIZ MAX_INTERFACE_NAME_LEN |
typedef struct _DHCP_ADAPTER DHCP_ADAPTER |
typedef struct _DHCP_ADAPTER * PDHCP_ADAPTER |
typedef DWORD(* PipeSendFunc) (HANDLE CommPipe, COMM_DHCP_REPLY *Reply) |
PDHCP_ADAPTER AdapterFindByHardwareAddress | ( | u_int8_t | haddr[16], |
u_int8_t | hlen | ||
) |
Definition at line 540 of file adapter.c.
Referenced by AdapterDiscoveryThread(), and got_one().
PDHCP_ADAPTER AdapterFindIndex | ( | unsigned int | AdapterIndex | ) |
Definition at line 498 of file adapter.c.
Referenced by DSLeaseIpAddress(), DSQueryHWInfo(), DSReleaseIpAddressLease(), DSRenewIpAddressLease(), and DSStaticRefreshParams().
PDHCP_ADAPTER AdapterFindInfo | ( | struct interface_info * | info | ) |
Definition at line 526 of file adapter.c.
Referenced by bind_lease(), got_one(), send_request(), and state_panic().
PDHCP_ADAPTER AdapterFindName | ( | const CHAR * | name | ) |
Definition at line 512 of file adapter.c.
Referenced by DSAcquireParams(), and DSReleaseParams().
PDHCP_ADAPTER AdapterGetFirst | ( | VOID | ) |
PDHCP_ADAPTER AdapterGetNext | ( | PDHCP_ADAPTER | This | ) |
DWORD DSAcquireParams | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
DWORD DSGetAdapterInfo | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
DWORD DSLeaseIpAddress | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
Definition at line 131 of file api.c.
Referenced by PipeThreadProc().
DWORD DSQueryHWInfo | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
Definition at line 163 of file api.c.
Referenced by PipeThreadProc().
DWORD DSReleaseIpAddressLease | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
Definition at line 185 of file api.c.
Referenced by PipeThreadProc().
DWORD DSReleaseParams | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
DWORD DSRenewIpAddressLease | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
Definition at line 224 of file api.c.
Referenced by PipeThreadProc().
DWORD DSStaticRefreshParams | ( | PipeSendFunc | Send, |
HANDLE | CommPipe, | ||
COMM_DHCP_REQ * | Req | ||
) |
Definition at line 260 of file api.c.
Referenced by PipeThreadProc().
Definition at line 32 of file compat.c.
Definition at line 111 of file dhclient.c.
Referenced by ServiceMain().
Definition at line 428 of file pipe.c.
Referenced by ServiceMain().
Definition at line 129 of file dhclient.c.
Referenced by ServiceMain().