Searched refs:us_length (Results 1 – 2 of 2) sorted by relevance
/external/curl/lib/ |
D | socks_gssapi.c | 120 unsigned short us_length; in Curl_SOCKS5_gssapi_negotiate() local 194 us_length = htons((short)gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate() 195 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 260 memcpy(&us_length, socksreq+2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 261 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate() 263 gss_recv_token.length=us_length; in Curl_SOCKS5_gssapi_negotiate() 264 gss_recv_token.value=malloc(us_length); in Curl_SOCKS5_gssapi_negotiate() 277 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate() 374 us_length = htons((short)1); in Curl_SOCKS5_gssapi_negotiate() 375 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() [all …]
|
D | socks_sspi.c | 83 unsigned short us_length; in Curl_SOCKS5_gssapi_negotiate() local 197 us_length = htons((short)sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate() 198 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 282 memcpy(&us_length, socksreq+2, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() 283 us_length = ntohs(us_length); in Curl_SOCKS5_gssapi_negotiate() 285 sspi_recv_token.cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate() 286 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate() 297 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate() 375 us_length = htons((short)1); in Curl_SOCKS5_gssapi_negotiate() 376 memcpy(socksreq+2, &us_length, sizeof(short)); in Curl_SOCKS5_gssapi_negotiate() [all …]
|