Searched refs:srv_addr (Results 1 – 2 of 2) sorted by relevance
151 struct sockaddr_un srv_addr; in call_daemon() local166 srv_addr.sun_family = AF_UNIX; in call_daemon()167 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path)); in call_daemon()168 srv_addr.sun_path[sizeof(srv_addr.sun_path)-1] = '\0'; in call_daemon()170 if (connect(s, (const struct sockaddr *) &srv_addr, in call_daemon()
504 struct sockaddr_un srv_addr; in get_uuid_via_daemon() local514 srv_addr.sun_family = AF_UNIX; in get_uuid_via_daemon()515 strcpy(srv_addr.sun_path, UUIDD_SOCKET_PATH); in get_uuid_via_daemon()517 if (connect(s, (const struct sockaddr *) &srv_addr, in get_uuid_via_daemon()533 if (connect(s, (const struct sockaddr *) &srv_addr, in get_uuid_via_daemon()