Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/utils/
Daddr_utils.c50 int host_len = port - addr_str - 1; in net_getaddrinfo_addr_str() local
52 if (host_len > sizeof(host) - 1) { in net_getaddrinfo_addr_str()
56 strncpy(host, addr_str, host_len + 1); in net_getaddrinfo_addr_str()
57 host[host_len] = '\0'; in net_getaddrinfo_addr_str()