Searched refs:addr_len (Results 1 – 1 of 1) sorted by relevance
30 socklen_t* addr_len) { in SetUnixSocketAddr() argument34 *addr_len = offsetof(struct sockaddr_un, sun_path) + strlen(name); in SetUnixSocketAddr()44 socklen_t addr_len; in main() local50 SetUnixSocketAddr(kDomainSocketName, &addr_un, &addr_len); in main()51 if (connect(fd, (struct sockaddr*)&addr_un, addr_len) == -1) { in main()