Lines Matching refs:socksreq
90 unsigned char socksreq[4]; /* room for GSS-API exchange header only */
205 socksreq[0] = 1; /* GSS-API subnegotiation version */
206 socksreq[1] = 1; /* authentication message type */
208 memcpy(socksreq + 2, &us_length, sizeof(short));
210 written = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 4, &code);
265 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread);
275 if(socksreq[1] == 255) { /* status / message type */
277 (unsigned int)socksreq[0], (unsigned int)socksreq[1]);
284 if(socksreq[1] != 1) { /* status / message type */
286 (unsigned int)socksreq[0], (unsigned int)socksreq[1]);
293 memcpy(&us_length, socksreq + 2, sizeof(short));
345 socksreq[0] = 1; /* GSS-API subnegotiation version */
346 socksreq[1] = 2; /* encryption message type */
393 memcpy(socksreq + 2, &us_length, sizeof(short));
476 memcpy(socksreq + 2, &us_length, sizeof(short));
479 written = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 4, &code);
489 memcpy(socksreq, &gss_enc, 1);
490 written = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 1, &code);
512 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread);
520 if(socksreq[1] == 255) { /* status / message type */
522 (unsigned int)socksreq[0], (unsigned int)socksreq[1]);
527 if(socksreq[1] != 2) { /* status / message type */
529 (unsigned int)socksreq[0], (unsigned int)socksreq[1]);
534 memcpy(&us_length, socksreq + 2, sizeof(short));
588 memcpy(socksreq, sspi_w_token[1].pvBuffer, sspi_w_token[1].cbBuffer);
600 memcpy(socksreq, sspi_w_token[0].pvBuffer, sspi_w_token[0].cbBuffer);
606 (socksreq[0] == 0)?"out GSS-API data":
607 ((socksreq[0] == 1)?" GSS-API integrity":" GSS-API confidentiality"));
610 conn->socks5_gssapi_enctype = socksreq[0];
611 if(socksreq[0] != 0)