NetBurner 3.3.9
PDF Version
dhcpclient.h File Reference

NetBurner IPv4 DHCP Client Header File. More...

#include <buffers.h>
#include <nbrtos.h>
#include <nettimer.h>
#include <nettypes.h>

Go to the source code of this file.

Classes

class  DhcpObject
 DHCP client class. More...
 

Macros

#define SDHCP_NOTSTARTED   0
 The System has not been initialized.
 
#define SDHCP_DISCOVER   1
 The system is discovering the DHCP servers.
 
#define SDHCP_OFFER   2
 The system has responded to an OFFER.
 
#define SDHCP_ACK   3
 The System has Acknowledged the OFFER.
 
#define SDHCP_INIT   4
 The System is reinitalzing.
 
#define SDHCP_CMPL   5
 The System has obtained a valid DHCP lease.
 
#define SDHCP_RENEW   6
 The System is in the process of renewing.
 
#define SDHCP_REBIND   7
 The System has failed the Renew and is trying to Rebind.
 
#define SDHCP_RELEASE   8
 The System is trying to release the Lease.
 
#define SBOOTP_TRANSMITTING   9
 Trying BOOTP.
 
#define SBOOTP_DONE   10
 BOOTP complete.
 
#define SDHCP_FAILED   11
 DHCP attempt failed - could not obtain a DHCP lease.
 

Functions

int32_t GetIntefaceDHCPState (int interface=0)
 Returns current state of the DHCP lease, with optional interface parameter. More...
 
int32_t WaitForDHCPInterface (int interface=0, uint16_t TicksToWait=10 *TICKS_PER_SECOND)
 Wait until a DHCP lease is obtained, or the timeout occurs. More...
 

Detailed Description

NetBurner IPv4 DHCP Client Header File.