Lines Matching refs:server
74 static struct sockaddr_gen server; local
96 if (request->server->unit != 0) {
97 memcpy(&server, request->server->unit->addr.buf,
99 request->server->unit->addr.buf));
100 request->server->sin = &server;
101 sockgen_simplify(&server);
121 if (request->server->unit != 0)
122 t_free((char *) request->server->unit, T_UNITDATA);
130 struct t_unitdata *server; local
167 if ((server = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ADDR)) == 0) {
171 if (ioctl(fd, TI_GETMYNAME, &server->addr) < 0) {
173 t_free((void *) server, T_UNITDATA);
176 request->server->unit = server;