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()
506 struct sockaddr_un srv_addr; in get_uuid_via_daemon() local516 srv_addr.sun_family = AF_UNIX; in get_uuid_via_daemon()517 strcpy(srv_addr.sun_path, UUIDD_SOCKET_PATH); in get_uuid_via_daemon()519 if (connect(s, (const struct sockaddr *) &srv_addr, in get_uuid_via_daemon()535 if (connect(s, (const struct sockaddr *) &srv_addr, in get_uuid_via_daemon()