/* Ascii internet address interpretation routine. The value returned is in network order. */
u32_t ipaddr_addr(const char *cp)
/* Ascii internet address interpretation routine. The value returned is in network order. */
u32_t ipaddr_addr(const char *cp)
{
  ip_addr_t val;
  if (ipaddr_aton(cp, &val)) {
    return ip4_addr_get_u32(&val);
  }
  return (IPADDR_NONE);
}