Home
last modified time | relevance | path

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

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