Searched refs:unix_addr (Results 1 – 5 of 5) sorted by relevance
/third_party/grpc/src/core/lib/iomgr/ |
D | unix_sockets_posix.cc | 99 const auto* unix_addr = reinterpret_cast<const struct sockaddr_un*>(addr); in grpc_sockaddr_to_uri_unix_if_possible() local 100 if (unix_addr->sun_path[0] == '\0' && unix_addr->sun_path[1] != '\0') { in grpc_sockaddr_to_uri_unix_if_possible() 104 unix_addr->sun_path + 1, in grpc_sockaddr_to_uri_unix_if_possible() 105 resolved_addr->len - sizeof(unix_addr->sun_family) - 1)); in grpc_sockaddr_to_uri_unix_if_possible() 107 return absl::StrCat("unix:", unix_addr->sun_path); in grpc_sockaddr_to_uri_unix_if_possible()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind04.c | 21 static struct sockaddr_un unix_addr = { variable 36 {SOCK_STREAM, 0, (struct sockaddr *)&unix_addr, sizeof(unix_addr), 38 {SOCK_SEQPACKET, 0, (struct sockaddr *)&unix_addr, sizeof(unix_addr),
|
D | bind05.c | 21 static struct sockaddr_un unix_addr = { variable 40 {SOCK_DGRAM, 0, (struct sockaddr *)&unix_addr, sizeof(unix_addr),
|
/third_party/nghttp2/src/ |
D | h2load.cc | 101 unix_addr{} {} in Config() 1549 res->ai_family = config.unix_addr.sun_family; in resolve_host() 1551 res->ai_addrlen = sizeof(config.unix_addr); in resolve_host() 1553 static_cast<struct sockaddr *>(static_cast<void *>(&config.unix_addr)); in resolve_host() 2185 auto &unix_addr = config.unix_addr; in main() local 2186 std::copy(std::begin(path), std::end(path), unix_addr.sun_path); in main() 2187 unix_addr.sun_path[path.size()] = '\0'; in main() 2188 unix_addr.sun_family = AF_UNIX; in main()
|
D | h2load.h | 113 sockaddr_un unix_addr; member
|