Lines Matching defs:client
10 * the transport address of a client host, and the transport address of a
77 static struct sockaddr_gen client;
93 if (request->client->unit != 0) {
94 memcpy(&client, request->client->unit->addr.buf,
96 request->client->unit->addr.buf));
97 request->client->sin = &client;
98 sockgen_simplify(&client);
123 if (request->client->unit != 0)
124 t_free((char *) request->client->unit, T_UNITDATA);
129 /* 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.