Home
last modified time | relevance | path

Searched refs:bcc_ptr (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/smb/client/
Dsess.c683 char *bcc_ptr = *pbcc_area; in unicode_oslm_strings() local
687 bytes_ret = cifs_strtoUTF16((__le16 *)bcc_ptr, "Linux version ", 32, in unicode_oslm_strings()
689 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
690 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, init_utsname()->release, in unicode_oslm_strings()
692 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
693 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
695 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, CIFS_NETWORK_OPSYS, in unicode_oslm_strings()
697 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
698 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
700 *pbcc_area = bcc_ptr; in unicode_oslm_strings()
[all …]
Dconnect.c3721 unsigned char *bcc_ptr; in CIFSTCon() local
3745 bcc_ptr = &pSMB->Password[0]; in CIFSTCon()
3748 *bcc_ptr = 0; /* password is null byte */ in CIFSTCon()
3749 bcc_ptr++; /* skip password */ in CIFSTCon()
3764 cifs_strtoUTF16((__le16 *) bcc_ptr, tree, in CIFSTCon()
3767 bcc_ptr += 2 * length; /* convert num 16 bit words to bytes */ in CIFSTCon()
3768 bcc_ptr += 2; /* skip trailing null */ in CIFSTCon()
3770 strcpy(bcc_ptr, tree); in CIFSTCon()
3771 bcc_ptr += strlen(tree) + 1; in CIFSTCon()
3773 strcpy(bcc_ptr, "?????"); in CIFSTCon()
[all …]
Dntlmssp.h145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);