Lines Matching refs:state

148 /* DHCP client state machine functions */
208 /* Change to a defined state */
219 * entering CHECKING state. If no ARP reply is received within a small
407 if ((dhcp->state == DHCP_BACKING_OFF) || (dhcp->state == DHCP_SELECTING)) {
411 } else if (dhcp->state == DHCP_REQUESTING) {
422 } else if (dhcp->state == DHCP_CHECKING) {
435 else if (dhcp->state == DHCP_RENEWING) {
441 } else if (dhcp->state == DHCP_REBINDING) {
450 } else if (dhcp->state == DHCP_REBOOTING) {
469 if ((dhcp->state == DHCP_REQUESTING) || (dhcp->state == DHCP_BOUND) ||
470 (dhcp->state == DHCP_RENEWING)) {
475 /* This slightly different to RFC2131: DHCPREQUEST will be sent from state
491 if ((dhcp->state == DHCP_REQUESTING) || (dhcp->state == DHCP_BOUND) ||
492 (dhcp->state == DHCP_RENEWING)) {
496 /* This slightly different to RFC2131: DHCPREQUEST will be sent from state
762 * This enters the REBOOTING state to verify that the currently bound
771 switch (dhcp->state) {
808 if ((netif->dhcp != NULL) && (netif->dhcp->state == DHCP_CHECKING)) {
1121 * Enter REBOOTING state to verify an existing lease
1248 * Set the DHCP state of a DHCP client.
1250 * If the state changed, reset the number of tries.
1255 if (new_state != dhcp->state) {
1256 dhcp->state = new_state;
1534 * If an incoming DHCP message is in response to us, then trigger the state machine
1598 /* in requesting state? */
1599 if (dhcp->state == DHCP_REQUESTING) {
1610 else if ((dhcp->state == DHCP_REBOOTING) || (dhcp->state == DHCP_REBINDING) || (dhcp->state == DHCP_RENEWING)) {
1614 /* received a DHCP_NAK in appropriate state? */
1616 ((dhcp->state == DHCP_REBOOTING) || (dhcp->state == DHCP_REQUESTING) ||
1617 (dhcp->state == DHCP_REBINDING) || (dhcp->state == DHCP_RENEWING ))) {
1621 /* received a DHCP_OFFER in DHCP_SELECTING state? */
1622 else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_SELECTING)) {
1623 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP_OFFER received in DHCP_SELECTING state\n"));
1698 /* set ciaddr to netif->ip_addr based on message_type and state */
1701 ((dhcp->state==DHCP_RENEWING) || dhcp->state==DHCP_REBINDING))) {
1753 * @param dhcp DHCP state structure