Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c47 #define IPV4_STR_SZ 16 /* xxx.xxx.xxx.xxx is longest + \0 */ macro
340 char addr_str[IPV4_STR_SZ] = {}; in ip4_addr_set()
342 strncpy(addr_str, inet_ntoa(addr), IPV4_STR_SZ - 1); in ip4_addr_set()
711 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {}; in do_ping()
746 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1); in do_ping()
747 strncpy(from_str, inet_ntoa(from), IPV4_STR_SZ - 1); in do_ping()
/kernel/linux/linux-6.6/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] = {}; 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()

Completed in 6 milliseconds