Home | History | Annotate | Download | only in lib

Lines Matching defs:byte_count

436   size_t byte_count = sizeof(lm) + sizeof(nt);
437 byte_count += strlen(smbc->user) + strlen(smbc->domain);
438 byte_count += strlen(OS) + strlen(CLIENTNAME) + 4; /* 4 null chars */
439 if(byte_count > sizeof(msg.bytes))
469 byte_count = p - msg.bytes;
470 msg.byte_count = smb_swap16((unsigned short)byte_count);
473 sizeof(msg) - sizeof(msg.bytes) + byte_count);
482 size_t byte_count = strlen(conn->host.name) + strlen(req->share);
483 byte_count += strlen(SERVICENAME) + 5; /* 2 nulls and 3 backslashes */
484 if(byte_count > sizeof(msg.bytes))
496 byte_count = p - msg.bytes;
497 msg.byte_count = smb_swap16((unsigned short)byte_count);
500 sizeof(msg) - sizeof(msg.bytes) + byte_count);
507 size_t byte_count;
515 byte_count = strlen(req->path);
516 msg.name_length = smb_swap16((unsigned short)byte_count);
526 msg.byte_count = smb_swap16((unsigned short) ++byte_count);
530 sizeof(msg) - sizeof(msg.bytes) + byte_count);
590 msg->byte_count = smb_swap16((unsigned short) (upload_size + 1));