Lines Matching refs:sdn_objnamel
250 hash = addr->sdn_objnamel; in listen_hash()
251 for(i = 0; i < le16_to_cpu(addr->sdn_objnamel); i++) { in listen_hash()
293 *buf++ = le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
294 memcpy(buf, sdn->sdn_objname, le16_to_cpu(sdn->sdn_objnamel)); in dn_sockaddr2username()
295 len = 3 + le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
300 *buf++ = le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
301 memcpy(buf, sdn->sdn_objname, le16_to_cpu(sdn->sdn_objnamel)); in dn_sockaddr2username()
302 len = 7 + le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
323 sdn->sdn_objnamel = cpu_to_le16(0); in dn_username2sockaddr()
357 sdn->sdn_objnamel = cpu_to_le16(*data++); in dn_username2sockaddr()
358 len -= le16_to_cpu(sdn->sdn_objnamel); in dn_username2sockaddr()
360 if ((len < 0) || (le16_to_cpu(sdn->sdn_objnamel) > namel)) in dn_username2sockaddr()
363 memcpy(sdn->sdn_objname, data, le16_to_cpu(sdn->sdn_objnamel)); in dn_username2sockaddr()
384 if (scp->addr.sdn_objnamel != addr->sdn_objnamel) in dn_sklist_find_listener()
386 if (memcmp(scp->addr.sdn_objname, addr->sdn_objname, le16_to_cpu(addr->sdn_objnamel)) != 0) in dn_sklist_find_listener()
735 if (le16_to_cpu(saddr->sdn_objnamel) > DN_MAXOBJL) in dn_bind()
797 scp->addr.sdn_objnamel = cpu_to_le16(scp->accessdata.acc_accl); in dn_auto_bind()
798 memcpy(scp->addr.sdn_objname, scp->accessdata.acc_acc, le16_to_cpu(scp->addr.sdn_objnamel)); in dn_auto_bind()
2205 switch (le16_to_cpu(dn->sdn_objnamel)) { in dn_printable_object()
2210 for (i = 0; i < le16_to_cpu(dn->sdn_objnamel); i++) { in dn_printable_object()