Lines Matching refs:us_length
88 unsigned short us_length; in Curl_SOCKS5_gssapi_negotiate() local
207 us_length = htons((unsigned short)sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
208 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
294 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
295 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate()
297 sspi_recv_token.cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate()
298 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
309 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
394 us_length = htons((unsigned short)1); in Curl_SOCKS5_gssapi_negotiate()
395 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
477 us_length = htons((unsigned short)sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
478 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
538 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
539 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate()
541 sspi_w_token[0].cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate()
542 sspi_w_token[0].pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
551 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()