Lines Matching refs:client
73 static struct sockaddr_gen client; local
89 if (request->client->unit != 0) {
90 memcpy(&client, request->client->unit->addr.buf,
92 request->client->unit->addr.buf));
93 request->client->sin = &client;
94 sockgen_simplify(&client);
119 if (request->client->unit != 0)
120 t_free((char *) request->client->unit, T_UNITDATA);
131 struct t_unitdata *client; local
148 if ((client = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ADDR)) == 0) {
152 if (ioctl(fd, TI_GETPEERNAME, &client->addr) < 0 || client->addr.len == 0) {
154 if (t_rcvudata(fd, client, &flags) < 0 || client->addr.len == 0) {
156 t_free((void *) client, T_UNITDATA);
160 request->client->unit = client;