• Home
  • Raw
  • Download

Lines Matching refs:socksreq

87   unsigned char socksreq[4]; /* room for GSS-API exchange header only */  in Curl_SOCKS5_gssapi_negotiate()  local
200 socksreq[0] = 1; /* GSS-API subnegotiation version */ in Curl_SOCKS5_gssapi_negotiate()
201 socksreq[1] = 1; /* authentication message type */ in Curl_SOCKS5_gssapi_negotiate()
203 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
205 code = Curl_write_plain(conn, sock, (char *)socksreq, 4, &written); in Curl_SOCKS5_gssapi_negotiate()
259 result = Curl_blockread_all(conn, sock, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
269 if(socksreq[1] == 255) { /* status / message type */ in Curl_SOCKS5_gssapi_negotiate()
271 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
278 if(socksreq[1] != 1) { /* status / messgae type */ in Curl_SOCKS5_gssapi_negotiate()
280 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
287 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
333 socksreq[0] = 1; /* GSS-API subnegotiation version */ in Curl_SOCKS5_gssapi_negotiate()
334 socksreq[1] = 2; /* encryption message type */ in Curl_SOCKS5_gssapi_negotiate()
381 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
464 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
467 code = Curl_write_plain(conn, sock, (char *)socksreq, 4, &written); in Curl_SOCKS5_gssapi_negotiate()
477 memcpy(socksreq, &gss_enc, 1); in Curl_SOCKS5_gssapi_negotiate()
478 code = Curl_write_plain(conn, sock, (char *)socksreq, 1, &written); in Curl_SOCKS5_gssapi_negotiate()
499 result = Curl_blockread_all(conn, sock, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
507 if(socksreq[1] == 255) { /* status / message type */ in Curl_SOCKS5_gssapi_negotiate()
509 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
514 if(socksreq[1] != 2) { /* status / message type */ in Curl_SOCKS5_gssapi_negotiate()
516 (unsigned int)socksreq[0], (unsigned int)socksreq[1]); in Curl_SOCKS5_gssapi_negotiate()
521 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
575 memcpy(socksreq, sspi_w_token[1].pvBuffer, sspi_w_token[1].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
587 memcpy(socksreq, sspi_w_token[0].pvBuffer, sspi_w_token[0].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
592 (socksreq[0] == 0)?"out GSS-API data": in Curl_SOCKS5_gssapi_negotiate()
593 ((socksreq[0] == 1)?" GSS-API integrity":" GSS-API confidentiality")); in Curl_SOCKS5_gssapi_negotiate()