Home
last modified time | relevance | path

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

/PHP-8.0/sapi/litespeed/
H A Dlsapilib.c2618 int LSAPI_ParseSockAddr( const char * pBind, struct sockaddr * pAddr ) in LSAPI_ParseSockAddr() argument
2639 pAddr->sa_family = AF_UNIX; in LSAPI_ParseSockAddr()
2640 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr()
2641 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()
2645 pAddr->sa_family = AF_INET6; in LSAPI_ParseSockAddr()
2661 pAddr->sa_family = AF_INET; in LSAPI_ParseSockAddr()
2695 hints.ai_family = pAddr->sa_family; in LSAPI_ParseSockAddr()
2704 memcpy(pAddr, res->ai_addr, res->ai_addrlen); in LSAPI_ParseSockAddr()
2708 if ( pAddr->sa_family == AF_INET ) in LSAPI_ParseSockAddr()
2709 ((struct sockaddr_in *)pAddr)->sin_port = htons( port ); in LSAPI_ParseSockAddr()
[all …]

Completed in 20 milliseconds