Searched refs:odir_uds (Results 1 – 1 of 1) sorted by relevance
41 static int odir_uds = -1; variable125 odir_uds = socket(PF_UNIX, SOCK_STREAM, 0); in odir_setup()126 if (odir_uds == -1) { in odir_setup()141 if (bind(odir_uds, (struct sockaddr *)&un, SUN_LEN(&un)) != 0) { in odir_setup()147 if (listen(odir_uds, 1) != 0) { in odir_setup()178 if (odir_uds != -1) { in odir_cleanup()179 if (close(odir_uds) != 0) { in odir_cleanup()