Searched refs:socketAddr (Results 1 – 1 of 1) sorted by relevance
95 struct sockaddr_un socketAddr; in socketInit() local96 memset(&socketAddr, 0, sizeof(socketAddr)); in socketInit()97 socketAddr.sun_family = AF_UNIX; in socketInit()98 if (strnlen(sockPath.c_str(), sizeof(socketAddr.sun_path)) == in socketInit()99 sizeof(socketAddr.sun_path)) in socketInit()107 std::span<char> sunPathSpan(reinterpret_cast<char*>(socketAddr.sun_path), in socketInit()108 sizeof(socketAddr.sun_path)); in socketInit()119 if (bind(unixSocket, (struct sockaddr*)&socketAddr, sizeof(socketAddr)) == in socketInit()