Lines Matching refs:us_length
125 unsigned short us_length; in Curl_SOCKS5_gssapi_negotiate() local
204 us_length = htons((unsigned short)gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
205 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
272 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
273 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate()
275 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
276 gss_recv_token.value = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
289 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
387 us_length = htons((short)1); in Curl_SOCKS5_gssapi_negotiate()
388 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
411 us_length = htons((unsigned short)gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
412 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
469 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate()
470 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate()
472 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
481 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()