ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
static WCHAR | ServiceName [] = L"DHCP" |
SERVICE_STATUS_HANDLE | ServiceStatusHandle = 0 |
SERVICE_STATUS | ServiceStatus |
HANDLE | hStopEvent = NULL |
HANDLE | hAdapterStateChangedEvent = NULL |
static HANDLE | PipeHandle = INVALID_HANDLE_VALUE |
SOCKET | DhcpSocket |
#define NDEBUG |
Definition at line 12 of file dhcpcsvc.c.
Definition at line 71 of file dhcpcsvc.c.
Referenced by getDhcpInfoForAdapter(), INetCfgComponentControl_fnApplyRegistryChanges(), IpReleaseAddress(), and IpRenewAddress().
Definition at line 26 of file dhcpcsvc.c.
Referenced by getDhcpInfoForAdapter(), INetCfgComponentControl_fnApplyRegistryChanges(), IpReleaseAddress(), and IpRenewAddress().
Definition at line 113 of file dhcpcsvc.c.
DWORD APIENTRY DhcpNotifyConfigChange | ( | LPWSTR | ServerName, |
LPWSTR | AdapterName, | ||
BOOL | NewIpAddress, | ||
DWORD | IpIndex, | ||
DWORD | IpAddress, | ||
DWORD | SubnetMask, | ||
INT | DhcpAction | ||
) |
Set new TCP/IP parameters and notify DHCP client service of this
[in] | ServerName | NULL for local machine |
[in] | AdapterName | IPHLPAPI name of adapter to change |
[in] | NewIpAddress | TRUE if IP address changes |
[in] | IpAddress | New IP address (network byte order) |
[in] | SubnetMask | New subnet mask (network byte order) |
[in] | DhcpAction | 0 - don't modify 1 - enable DHCP 2 - disable DHCP |
Definition at line 248 of file dhcpcsvc.c.
Definition at line 78 of file dhcpcsvc.c.
Definition at line 139 of file dhcpcsvc.c.
Referenced by IpReleaseAddress().
Definition at line 165 of file dhcpcsvc.c.
Referenced by IpRenewAddress().
DWORD APIENTRY DhcpRequestParams | ( | DWORD | Flags, |
PVOID | Reserved, | ||
LPWSTR | AdapterName, | ||
LPDHCPCAPI_CLASSID | ClassId, | ||
DHCPCAPI_PARAMS_ARRAY | SendParams, | ||
DHCPCAPI_PARAMS_ARRAY | RecdParams, | ||
LPBYTE | Buffer, | ||
LPDWORD | pSize, | ||
LPWSTR | RequestIdStr | ||
) |
Definition at line 261 of file dhcpcsvc.c.
Referenced by detect_proxy_autoconfig_url_dhcp().
DWORD APIENTRY DhcpRosGetAdapterInfo | ( | DWORD | AdapterIndex, |
PBOOL | DhcpEnabled, | ||
PDWORD | DhcpServer, | ||
time_t * | LeaseObtained, | ||
time_t * | LeaseExpires | ||
) |
Get DHCP info for an adapter
[in] | AdapterIndex | Index of the adapter (iphlpapi-style) for which info is requested |
[out] | DhcpEnabled | Returns whether DHCP is enabled for the adapter |
[out] | DhcpServer | Returns DHCP server IP address (255.255.255.255 if no server reached yet), in network byte order |
[out] | LeaseObtained | Returns time at which the lease was obtained |
[out] | LeaseExpires | Returns time at which the lease will expire |
Definition at line 300 of file dhcpcsvc.c.
Referenced by getDhcpInfoForAdapter().
Definition at line 191 of file dhcpcsvc.c.
Referenced by INetCfgComponentControl_fnApplyRegistryChanges().
Definition at line 507 of file dhcpcsvc.c.
|
static |
Definition at line 369 of file dhcpcsvc.c.
Referenced by ServiceMain().
Definition at line 394 of file dhcpcsvc.c.
Definition at line 344 of file dhcpcsvc.c.
Referenced by ServiceControlHandler(), and ServiceMain().
|
extern |
Definition at line 8 of file adapter.c.
Referenced by AdapterDiscoveryThread(), and ServiceMain().
Definition at line 20 of file dhcpcsvc.c.
Referenced by AdapterDiscoveryThread(), dispatch(), DSLeaseIpAddress(), DSReleaseIpAddressLease(), DSRenewIpAddressLease(), DSStaticRefreshParams(), and ServiceMain().
Definition at line 19 of file dhcpcsvc.c.
Referenced by AdapterDiscoveryThread(), dispatch(), PipeInit(), ServiceControlHandler(), ServiceMain(), and StartAdapterDiscovery().
|
static |
Definition at line 22 of file dhcpcsvc.c.
Referenced by CheckReadPipe(), CheckWritePipe(), CreateNamedPipeW(), DhcpCApiCleanup(), DhcpCApiInitialize(), DhcpLeaseIpAddress(), DhcpQueryHWInfo(), DhcpReleaseIpAddressLease(), DhcpRenewIpAddressLease(), DhcpRosGetAdapterInfo(), DhcpStaticRefreshParams(), FreeBT_ResetPipe(), FxUsbDevice::InitDevice(), NpQueryPipe_(), NpReadPipe(), NpWritePipe(), FxUsbPipeRequestContext::SetInfo(), FxUsbPipeTransferContext::SetUrbInfo(), UsbAudioAllocCaptureUrbIso(), USBHI_QueryDeviceInformation(), USBPORT_AbortPipe(), USBPORT_AbortTransfers(), USBPORT_AddPipeHandle(), USBPORT_AllocateTransfer(), USBPORT_ClearStall(), USBPORT_CloseConfiguration(), USBPORT_ClosePipe(), USBPORT_CreateDevice(), USBPORT_DeviceHasTransfers(), USBPORT_HandleSelectInterface(), USBPORT_OpenInterface(), USBPORT_OpenPipe(), USBPORT_RemovePipeHandle(), USBPORT_ResetPipe(), USBPORT_RestoreDevice(), USBPORT_SyncResetPipeAndClearStall(), USBPORT_ValidatePipeHandle(), USBSTOR_CBWCompletionRoutine(), USBSTOR_IssueBulkOrInterruptRequest(), and USBSTOR_ResetPipeWithHandle().
|
static |
Definition at line 15 of file dhcpcsvc.c.
Referenced by ServiceMain().
SERVICE_STATUS ServiceStatus |
Definition at line 18 of file dhcpcsvc.c.
Referenced by ServiceControlHandler(), and UpdateServiceStatus().
SERVICE_STATUS_HANDLE ServiceStatusHandle = 0 |
Definition at line 17 of file dhcpcsvc.c.
Referenced by ServiceControlHandler(), ServiceMain(), and UpdateServiceStatus().