Lines Matching defs:scope
184 return (netbios_first_level_name_encode(name->name, name->scope,
192 (char *)name->scope));
198 * Set up the name and scope fields in the destination name_entry structure.
200 * last byte, i.e. "netbiosname <suffix>". The scope is copied and folded
204 smb_encode_netbios_name(unsigned char *name, char suffix, unsigned char *scope,
209 if (scope) {
210 (void) strlcpy((char *)dest->scope, (const char *)scope,
211 sizeof (dest->scope));
213 (void) smb_config_getstr(SMB_CI_NBSCOPE, (char *)dest->scope,
214 sizeof (dest->scope));
217 (void) smb_strupr((char *)dest->scope);
221 smb_init_name_struct(unsigned char *name, char suffix, unsigned char *scope,
226 smb_encode_netbios_name(name, suffix, scope, dest);