Lines Matching refs:sdn_objnamel
249 hash = addr->sdn_objnamel; in listen_hash()
250 for(i = 0; i < le16_to_cpu(addr->sdn_objnamel); i++) { in listen_hash()
292 *buf++ = le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
293 memcpy(buf, sdn->sdn_objname, le16_to_cpu(sdn->sdn_objnamel)); in dn_sockaddr2username()
294 len = 3 + le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
299 *buf++ = le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
300 memcpy(buf, sdn->sdn_objname, le16_to_cpu(sdn->sdn_objnamel)); in dn_sockaddr2username()
301 len = 7 + le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username()
322 sdn->sdn_objnamel = cpu_to_le16(0); in dn_username2sockaddr()
356 sdn->sdn_objnamel = cpu_to_le16(*data++); in dn_username2sockaddr()
357 len -= le16_to_cpu(sdn->sdn_objnamel); in dn_username2sockaddr()
359 if ((len < 0) || (le16_to_cpu(sdn->sdn_objnamel) > namel)) in dn_username2sockaddr()
362 memcpy(sdn->sdn_objname, data, le16_to_cpu(sdn->sdn_objnamel)); in dn_username2sockaddr()
383 if (scp->addr.sdn_objnamel != addr->sdn_objnamel) in dn_sklist_find_listener()
385 if (memcmp(scp->addr.sdn_objname, addr->sdn_objname, le16_to_cpu(addr->sdn_objnamel)) != 0) in dn_sklist_find_listener()
734 if (le16_to_cpu(saddr->sdn_objnamel) > DN_MAXOBJL) in dn_bind()
796 scp->addr.sdn_objnamel = cpu_to_le16(scp->accessdata.acc_accl); in dn_auto_bind()
797 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()