/* Ascii internet address interpretation routine. The value returned is in network order.  */
u32_t inet_addr(const char *cp)
/* Ascii internet address interpretation routine. The value returned is in network order.  */
u32_t inet_addr(const char *cp)
{
     struct in_addr val;
     if (inet_aton(cp, &val)) {
         return (val.s_addr);
     }
     return (INADDR_NONE);
 }