Searched refs:srv_addr (Results 1 – 2 of 2) sorted by relevance
149 struct sockaddr_un srv_addr; in call_daemon() local164 srv_addr.sun_family = AF_UNIX; in call_daemon()165 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path)); in call_daemon()166 srv_addr.sun_path[sizeof(srv_addr.sun_path)-1] = '\0'; in call_daemon()168 if (connect(s, (const struct sockaddr *) &srv_addr, in call_daemon()
488 struct sockaddr_un srv_addr; in get_uuid_via_daemon() local498 srv_addr.sun_family = AF_UNIX; in get_uuid_via_daemon()499 strcpy(srv_addr.sun_path, UUIDD_SOCKET_PATH); in get_uuid_via_daemon()501 if (connect(s, (const struct sockaddr *) &srv_addr, in get_uuid_via_daemon()517 if (connect(s, (const struct sockaddr *) &srv_addr, in get_uuid_via_daemon()