VxWorks Reference Manual : Libraries

dhcprLib

NAME

dhcprLib - DHCP relay agent library

ROUTINES

DESCRIPTION

This library implements a relay agent for the Dynamic Host Configuration Protocol (DHCP). DHCP is an extension of BOOTP. Like BOOTP, it allows a target to configure itself dynamically by using the network to get its IP address, a boot file name, and the DHCP server's address. The relay agent forwards DHCP messages between clients and servers resident on different subnets. The standard DHCP server, if present on a subnet, can also forward messages across subnet boundaries. The relay agent is needed only if there is no DHCP server running on the subnet. The dhcprLibInit( ) routine links this library into the VxWorks system. This happens automatically if INCLUDE_DHCPR is defined at the time the system is built, as long as INCLUDE_DHCPS is not also defined.

HIGH-LEVEL INTERFACE

The dhcprInit( ) routine initializes the relay agent automatically. The relay agent forwards incoming DHCP messages to the IP addresses specified at build time in the dhcpTargetTbl[] array.

INCLUDE FILES

dhcprLib.h

SEE ALSO

dhcprLib, RFC 1541, RFC 1533