Searched refs:IPV4_STR_SZ (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/testing/selftests/net/
H A Dipsec.c46 #define IPV4_STR_SZ 16 /* xxx.xxx.xxx.xxx is longest + \0 */ macro
378 char addr_str[IPV4_STR_SZ] = {};
380 strncpy(addr_str, inet_ntoa(addr), IPV4_STR_SZ - 1);
752 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {};
787 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1);
788 strncpy(from_str, inet_ntoa(from), IPV4_STR_SZ - 1);

Completed in 139 milliseconds