Home
last modified time | relevance | path

Searched refs:NB_NAMELEN (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb_name.c100 snprintf(snb->snb_name, NB_NAMELEN, in nb_sockaddr()
162 char *p, namebuf[NB_NAMELEN+1]; in nb_name_encode()
165 bcopy(nn->nn_name, namebuf, NB_NAMELEN); in nb_name_encode()
166 namebuf[NB_NAMELEN-1] = (char)nn->nn_type; in nb_name_encode()
167 namebuf[NB_NAMELEN] = '\0'; /* for debug */ in nb_name_encode()
181 mb_put_uint8(mbp, (2 * NB_NAMELEN)); in nb_name_encode()
184 for (i = 0; i < NB_NAMELEN; i++) { in nb_name_encode()
H A Dnbns_rq.c120 if (strlen(name) >= NB_NAMELEN) { in nbns_getaddrinfo()
188 if (strlen(name) >= NB_NAMELEN) in nbns_resolvename()
199 snprintf(nn.nn_name, NB_NAMELEN, "%-15.15s", name); in nbns_resolvename()
321 nrtype = nrp->ns_name[NB_NAMELEN-1]; in nbns_getnodestatus()
323 nrp->ns_name[NB_NAMELEN-1] = (char)0; in nbns_getnodestatus()
325 for (cp = &nrp->ns_name[NB_NAMELEN-2]; in nbns_getnodestatus()
339 NB_NAMELEN); in nbns_getnodestatus()
354 NB_NAMELEN); in nbns_getnodestatus()
359 strlcpy(system, retname, NB_NAMELEN); in nbns_getnodestatus()
/illumos-gate/usr/src/uts/common/netsmb/
H A Dnetbios.h68 #define NB_NAMELEN 16 macro
69 #define NB_ENCNAMELEN NB_NAMELEN * 2
144 char nn_name[NB_NAMELEN];
161 char snb_name[NB_NAMELEN]; /* NOT encoded */
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dstatus.c70 char servername[NB_NAMELEN]; in cmd_status()
71 char workgroupname[NB_NAMELEN]; in cmd_status()
/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dnb_lib.h94 char ns_name[NB_NAMELEN];