Searched refs:slen (Results 1 – 1 of 1) sorted by relevance
546 int slen = strlen(a->u._unix.path); in sock_address_to_bsd() local549 if (slen >= (int)UNIX_PATH_MAX) in sock_address_to_bsd()555 memcpy( dst->sun_path, a->u._unix.path, slen ); in sock_address_to_bsd()556 dst->sun_path[slen] = 0; in sock_address_to_bsd()558 *psize = (char*)&dst->sun_path[slen+1] - (char*)dst; in sock_address_to_bsd()862 socklen_t slen; in sock_address_get_numeric_info() local868 slen = sizeof(a->u.inet.address); in sock_address_get_numeric_info()874 slen = sizeof(a->u.in6.address); in sock_address_get_numeric_info()881 ret = getnameinfo( saddr, slen, host, hostlen, serv, servlen, in sock_address_get_numeric_info()