Lines Matching refs:ciaddr

157     ip4_addr_set_zero(&srvr_msg->ciaddr);
399 if (client_msg->ciaddr.addr != 0) {
400 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("handle_discover: sendto(OFFER, ciaddr, DHCP_CLIENT_PORT)\n"));
401 ip_addr_set_ip4_u32_val(dst_addr, (u32_t)(client_msg->ciaddr.addr));
464 if ((serverid.addr == 0) || (client_msg->ciaddr.addr != 0) ||
467 ("Server ID or ciaddr or requested ip option is not present\n"));
496 if (client_msg->ciaddr.addr != 0) {
498 ("validate_request_message: Error: ciaddr is filled in the Init-Reboot state. \n"));
507 if (client_msg->ciaddr.addr == 0) {
509 ("validate_request_message: Error: ciaddr is not filled in the Renewing or Rebinding state. \n"));
513 requested_ip.addr = ntohl(client_msg->ciaddr.addr);
606 client_msg->ciaddr.addr = 0; /* This is done so that NAK Gets brcasted */
616 if (client_msg->ciaddr.addr != 0) {
617 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("handle_request: sendto(ACK, ciaddr, DHCP_CLIENT_PORT)\n"));
618 ip_addr_set_ip4_u32_val(dst_addr, (u32_t)(client_msg->ciaddr.addr));
665 (client_msg->ciaddr.addr == 0)) {
689 if (client_msg->ciaddr.addr == 0) {
690 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("handle_inform: ciaddr is empty. Can't send back a response\n"));
708 ("handle_inform: Send ACK to Client. Client is=%"U32_F"\n", client_msg->ciaddr.addr));
710 ip_addr_set_ip4_u32_val(dst_addr, client_msg->ciaddr.addr);
736 if ((client_lease != NULL) && (client_lease->cli_addr.addr == ntohl(client_msg->ciaddr.addr))) {
738 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("DHCP Release: Client IPAdd =%"U32_F"\n", client_msg->ciaddr.addr));