Lines Matching refs:sdn_objnamel
272 hash = addr->sdn_objnamel; in listen_hash()
273 for(i = 0; i < addr->sdn_objnamel; i++) { in listen_hash()
321 *buf++ = dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username()
322 memcpy(buf, sdn->sdn_objname, dn_ntohs(sdn->sdn_objnamel)); in dn_sockaddr2username()
323 len = 3 + dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username()
328 *buf++ = dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username()
329 memcpy(buf, sdn->sdn_objname, dn_ntohs(sdn->sdn_objnamel)); in dn_sockaddr2username()
330 len = 7 + dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username()
351 sdn->sdn_objnamel = dn_htons(0); in dn_username2sockaddr()
385 sdn->sdn_objnamel = dn_htons(*data++); in dn_username2sockaddr()
386 len -= dn_ntohs(sdn->sdn_objnamel); in dn_username2sockaddr()
388 if ((len < 0) || (dn_ntohs(sdn->sdn_objnamel) > namel)) in dn_username2sockaddr()
391 memcpy(sdn->sdn_objname, data, dn_ntohs(sdn->sdn_objnamel)); in dn_username2sockaddr()
412 if (scp->addr.sdn_objnamel != addr->sdn_objnamel) in dn_sklist_find_listener()
414 if (memcmp(scp->addr.sdn_objname, addr->sdn_objname, dn_ntohs(addr->sdn_objnamel)) != 0) in dn_sklist_find_listener()
784 if (dn_ntohs(saddr->sdn_objnamel) > DN_MAXOBJL) in dn_bind()
836 scp->addr.sdn_objnamel = dn_htons(scp->accessdata.acc_accl); in dn_auto_bind()
837 memcpy(scp->addr.sdn_objname, scp->accessdata.acc_acc, dn_ntohs(scp->addr.sdn_objnamel)); in dn_auto_bind()
2114 switch (dn_ntohs(dn->sdn_objnamel)) { in dn_printable_object()
2119 for (i = 0; i < dn_ntohs(dn->sdn_objnamel); i++) { in dn_printable_object()