Searched refs:remote_ip_addr (Results 1 – 1 of 1) sorted by relevance
583 char remote_ip_addr[INET_ADDRSTRLEN]; in MODEM_CMD_DIRECT_DEFINE() local586 remote_ip_str_len = MIN(sizeof(remote_ip_addr) - 1, in MODEM_CMD_DIRECT_DEFINE()588 strncpy(remote_ip_addr, &raw_remote_ip[1], remote_ip_str_len); in MODEM_CMD_DIRECT_DEFINE()589 remote_ip_addr[remote_ip_str_len] = '\0'; in MODEM_CMD_DIRECT_DEFINE()591 if (net_addr_pton(AF_INET, remote_ip_addr, &recv_addr->sin_addr) < 0) { in MODEM_CMD_DIRECT_DEFINE()592 LOG_ERR("Invalid src addr %s", remote_ip_addr); in MODEM_CMD_DIRECT_DEFINE()