Lines Matching refs:client
3 * the transport address of a client host, and the transport address of a
69 static struct sockaddr_storage client;
72 static struct sockaddr_in client;
91 if (request->client->unit != 0) {
93 client = *(struct sockaddr_storage *) request->client->unit->addr.buf;
94 request->client->sin = (struct sockaddr *) &client;
96 client = *(struct sockaddr_in *) request->client->unit->addr.buf;
97 request->client->sin = &client;
124 if (request->client->unit != 0)
125 t_free((char *) request->client->unit, T_UNITDATA);
130 /* tli_endpoints - determine TLI client and server endpoint information */
135 struct t_unitdata *client;
140 * Determine the client endpoint address. With unconnected services, peek
152 if ((client = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ADDR)) == 0) {
156 if (ioctl(fd, TI_GETPEERNAME, &client->addr) < 0 || client->addr.len == 0) {
158 if (t_rcvudata(fd, client, &flags) < 0 || client->addr.len == 0) {
159 tcpd_warn("can't get client address: %s", tli_error());
160 t_free((void *) client, T_UNITDATA);
164 request->client->unit = client;
168 * server address or name, or to look up the client user.