Home | History | Annotate | Download | only in socket

Lines Matching refs:request

41 // A struct holding the essential details of the SOCKS4/4a Server Request.
259 SOCKS4ServerRequest request;
260 request.version = kSOCKSVersion4;
261 request.command = kSOCKSStreamRequest;
262 request.nw_port = htons(host_request_info_.port());
271 memcpy(&request.ip, &(ipv4_host->sin_addr), sizeof(ipv4_host->sin_addr));
276 memcpy(&request.ip, kInvalidIp, arraysize(kInvalidIp));
281 std::string handshake_data(reinterpret_cast<char*>(&request),
282 sizeof(request));
382 LOG(ERROR) << "SOCKS request rejected or failed";
385 LOG(ERROR) << "SOCKS request failed because client is not running "
389 LOG(ERROR) << "SOCKS request failed because client's identd could "
390 << "not confirm the user ID string in the request";