Searched refs:IPV4_STR_SZ (Results 1 – 1 of 1) sorted by relevance
50 #define IPV4_STR_SZ 16 /* xxx.xxx.xxx.xxx is longest + \0 */ macro383 char addr_str[IPV4_STR_SZ] = {}; in ip4_addr_set()385 strncpy(addr_str, inet_ntoa(addr), IPV4_STR_SZ - 1); in ip4_addr_set()757 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {}; in do_ping()792 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1); in do_ping()793 strncpy(from_str, inet_ntoa(from), IPV4_STR_SZ - 1); in do_ping()