Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

pro/dhcp.h File Reference

DHCP protocol definitions. More...


Data Structures

struct  bootp
 DHCP telegram structure. More...


Defines

#define DHCP_DISCOVER
 Client broadcast to locate available servers.

#define DHCP_OFFER
 Server to client in response to DHCP_DISCOVER. Contains an offer of configuration parameters.

#define DHCP_REQUEST
 Client message to servers. Used for -requesting offered parameters from one server and implicitly declining offers from all others. -confirming correctness of previously allocated address after, e.g., system reboot. -extending the lease on a particular network address.

#define DHCP_DECLINE
 Client to server indicating network address is already in use.

#define DHCP_ACK
 Server to client with configuration parameters. Contains committed network address.

#define DHCP_NAK
 Server to client indicating client's notion of network address is incorrect. May be caused by the client's move to new subnet or by expiration of the client's lease.

#define DHCP_RELEASE
 Client to server relinquishing network address and cancelling remaining lease.

#define DHCP_INFORM
 Client to server, asking only for local configuration parameters. Used, if the client already has externally configured network address.


Functions

__BEGIN_DECLS int NutDhcpIfConfig (CONST char *name, u_char *mac, u_long timeout)
 Automatically configure an Ethernet network interface.

int NutNetAutoConfig (CONST char *name)
 Automatically configure a network interface.


Detailed Description

DHCP protocol definitions.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/