Searched refs:hostlen (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/smb/client/ |
H A D | dfs_cache.c | 1102 size_t hostlen; in target_share_equal() local 1114 extract_unc_hostname(s1, &host, &hostlen); in target_share_equal() 1115 scnprintf(unc, sizeof(unc), "\\\\%.*s", (int)hostlen, host); in target_share_equal() 1120 __func__, (int)hostlen, host); in target_share_equal()
|
/openbmc/qemu/ui/ |
H A D | vnc.c | 3743 size_t hostlen; in vnc_display_get_address() local 3750 hostlen = 0; in vnc_display_get_address() 3757 hostlen = port - addrstr; in vnc_display_get_address() 3767 if (hostlen && addrstr[0] == '[' && addrstr[hostlen - 1] == ']') { in vnc_display_get_address() 3768 inet->host = g_strndup(addrstr + 1, hostlen - 2); in vnc_display_get_address() 3770 inet->host = g_strndup(addrstr, hostlen); in vnc_display_get_address()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 167 char *host, socklen_t hostlen, in xgetnameinfo() argument 171 int err = getnameinfo(addr, addrlen, host, hostlen, serv, servlen, in xgetnameinfo()
|