
336 Chapter 4—DHCPv6
sending Renew messages, and it now needs to send a Rebind message. In this case, the
ia_timo() function (Section 4.4.12) cancels the old event while keeping the associated
timer.
Resend Solicit or Send New Request
Listing 4-12
dhcp6c.c
907 case DHCP6S_SOLICIT:
908 if (ev->servers) {
909 /*
910 * Send a Request to the best server.
911 * Note that when we set Rapid-commit in Solicit,
912 * but a direct Reply has been delayed (very much),
913 * the transition to DHCP6S_REQUEST (and the change of
914 * transaction ID) will invalidate the reply even if it
915 * ever arrives.
916 */
917 ev->current_server = select_server(ev);
918 if (ev->current_server ...