4 * numtoa - return asciized network numbers store in local array space
9 #ifdef HAVE_NETINET_IN_H
10 #include <netinet/in.h> /* ntohl */
16 #include "lib_strbuf.h"
17 #include "ntp_stdlib.h"
24 register u_int32 netnum
;
29 snprintf(buf
, LIB_BUFLENGTH
, "%lu.%lu.%lu.%lu",
30 ((u_long
)netnum
>> 24) & 0xff,
31 ((u_long
)netnum
>> 16) & 0xff,
32 ((u_long
)netnum
>> 8) & 0xff,
33 (u_long
)netnum
& 0xff);