Searched refs:us_length (Results 1 – 2 of 2) sorted by relevance
/external/curl/lib/ |
D | socks_gssapi.c | 121 unsigned short us_length; in Curl_SOCKS5_gssapi_negotiate() local 201 us_length = htons((short)gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate() 202 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 268 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 269 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate() 271 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate() 272 gss_recv_token.value = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate() 285 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate() 382 us_length = htons((short)1); in Curl_SOCKS5_gssapi_negotiate() 383 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() [all …]
|
D | socks_sspi.c | 85 unsigned short us_length; in Curl_SOCKS5_gssapi_negotiate() local 204 us_length = htons((short)sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate() 205 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 289 memcpy(&us_length, socksreq + 2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 290 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate() 292 sspi_recv_token.cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate() 293 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate() 304 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate() 382 us_length = htons((short)1); in Curl_SOCKS5_gssapi_negotiate() 383 memcpy(socksreq + 2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() [all …]
|