• Home
  • Raw
  • Download

Lines Matching refs:socksreq

85   unsigned char socksreq[4]; /* room for GSS-API exchange header only */  in Curl_SOCKS5_gssapi_negotiate()  local
195 socksreq[0] = 1; /* GSS-API subnegotiation version */ in Curl_SOCKS5_gssapi_negotiate()
196 socksreq[1] = 1; /* authentication message type */ in Curl_SOCKS5_gssapi_negotiate()
198 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
200 code = Curl_write_plain(conn, sock, (char *)socksreq, 4, &written); in Curl_SOCKS5_gssapi_negotiate()
254 result = Curl_blockread_all(conn, sock, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
264 if(socksreq[1] == 255) { /* status / message type */ in Curl_SOCKS5_gssapi_negotiate()
266 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
273 if(socksreq[1] != 1) { /* status / messgae type */ in Curl_SOCKS5_gssapi_negotiate()
275 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
282 memcpy(&us_length, socksreq+2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
328 socksreq[0] = 1; /* GSS-API subnegotiation version */ in Curl_SOCKS5_gssapi_negotiate()
329 socksreq[1] = 2; /* encryption message type */ in Curl_SOCKS5_gssapi_negotiate()
376 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
459 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
462 code = Curl_write_plain(conn, sock, (char *)socksreq, 4, &written); in Curl_SOCKS5_gssapi_negotiate()
472 memcpy(socksreq, &gss_enc, 1); in Curl_SOCKS5_gssapi_negotiate()
473 code = Curl_write_plain(conn, sock, (char *)socksreq, 1, &written); in Curl_SOCKS5_gssapi_negotiate()
494 result = Curl_blockread_all(conn, sock, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
502 if(socksreq[1] == 255) { /* status / message type */ in Curl_SOCKS5_gssapi_negotiate()
504 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
509 if(socksreq[1] != 2) { /* status / message type */ in Curl_SOCKS5_gssapi_negotiate()
511 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
516 memcpy(&us_length, socksreq+2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
570 memcpy(socksreq, sspi_w_token[1].pvBuffer, sspi_w_token[1].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
582 memcpy(socksreq, sspi_w_token[0].pvBuffer, sspi_w_token[0].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
587 (socksreq[0]==0)?"out GSS-API data": in Curl_SOCKS5_gssapi_negotiate()
588 ((socksreq[0]==1)?" GSS-API integrity":" GSS-API confidentiality")); in Curl_SOCKS5_gssapi_negotiate()