addressReleased

The addressReleased routine is used for accounting when DHCP clients are ready to be sent an address OFFER message. Parameters given to the routine are read-only.

The routine is called just after the database has been instructed to disassociate the client identifier and address binding. If so configured, the routine is called after the DNS server has been indicated to disassociate the name and address binding.

The structure of the addressReleased routine follows:

void addressReleased ( caddr_t hObjectInstance,
                       const struct dhcpclientid *cid,
                       const struct in_addr *addr,
                       const char *hostname,
                       const char *domain                     ) ;
Where:
Item Description
hObjectInstance Is the same configuration instance handle created when this object was initialized.
cid Is the client identifier of the client.
addr Is the address previously used by the client.
hostname Is the hostname previously associated with this client and address binding.
domain Is the domain in which the hostname for the client was (or should have been) previously updated.