Home | History | Annotate | Download | only in libwrap

Lines Matching defs:client

4   * This module determines the type of socket (datagram, stream), the client
83 static struct sockaddr_storage client;
92 * Look up the client host address. Hal R. Brand <BRAND@addvax.llnl.gov>
93 * suggested how to get the client host info in case of UDP connections:
95 * really should verify that client.sin_family gets the value AF_INET,
102 if (request->client->sin == NULL) {
103 len = sizeof(client);
104 if (getpeername(fd, (struct sockaddr *)(void *)& client, &len) < 0) {
106 len = sizeof(client);
108 (struct sockaddr *) & client, &len) < 0) {
109 tcpd_warn("can't get client address: %m");
116 request->client->sin = (struct sockaddr *)&client;
120 * Determine the server binding. This is used for client username