Lines Matching defs:addr
62 struct sockaddr_un addr;66 if (strlen(path) > sizeof(addr.sun_path)) {69 path, sizeof(addr.sun_path));73 memset(&addr, 0, sizeof(addr));74 addr.sun_family = AF_UNIX;75 strlcpy(addr.sun_path, path, sizeof(addr.sun_path));86 if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) == -1) {