ubuf              161 src/vfs/smbfs/helpers/libsmb/nmblib.c handle_name_ptrs (unsigned char *ubuf, int *offset, int length, BOOL * got_pointer, int *ret)
ubuf              165 src/vfs/smbfs/helpers/libsmb/nmblib.c     while ((ubuf[*offset] & 0xC0) == 0xC0)
ubuf              170 src/vfs/smbfs/helpers/libsmb/nmblib.c         (*offset) = ((ubuf[*offset] & ~0xC0) << 8) | ubuf[(*offset) + 1];
ubuf              187 src/vfs/smbfs/helpers/libsmb/nmblib.c     unsigned char *ubuf = (unsigned char *) inbuf;
ubuf              195 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (!handle_name_ptrs (ubuf, &offset, length, &got_pointer, &ret))
ubuf              198 src/vfs/smbfs/helpers/libsmb/nmblib.c     m = ubuf[offset];
ubuf              214 src/vfs/smbfs/helpers/libsmb/nmblib.c         c1 = ubuf[offset++] - 'A';
ubuf              215 src/vfs/smbfs/helpers/libsmb/nmblib.c         c2 = ubuf[offset++] - 'A';
ubuf              238 src/vfs/smbfs/helpers/libsmb/nmblib.c     while (ubuf[offset])
ubuf              241 src/vfs/smbfs/helpers/libsmb/nmblib.c         if (!handle_name_ptrs (ubuf, &offset, length, &got_pointer, &ret))
ubuf              244 src/vfs/smbfs/helpers/libsmb/nmblib.c         m = ubuf[offset];
ubuf              253 src/vfs/smbfs/helpers/libsmb/nmblib.c             name->scope[n++] = (char) ubuf[offset++];
ubuf              792 src/vfs/smbfs/helpers/libsmb/nmblib.c     unsigned char *ubuf = (unsigned char *) buf;
ubuf              796 src/vfs/smbfs/helpers/libsmb/nmblib.c     ubuf[0] = dgram->header.msg_type;
ubuf              797 src/vfs/smbfs/helpers/libsmb/nmblib.c     ubuf[1] = (((int) dgram->header.flags.node_type) << 2);
ubuf              799 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[1] |= 1;
ubuf              801 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[1] |= 2;
ubuf              802 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 2, dgram->header.dgm_id);
ubuf              803 src/vfs/smbfs/helpers/libsmb/nmblib.c     putip (ubuf + 4, (char *) &dgram->header.source_ip);
ubuf              804 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 8, dgram->header.source_port);
ubuf              805 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 12, dgram->header.packet_offset);
ubuf              812 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_nmb_name ((char *) ubuf, offset, &dgram->source_name);
ubuf              813 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_nmb_name ((char *) ubuf, offset, &dgram->dest_name);
ubuf              816 src/vfs/smbfs/helpers/libsmb/nmblib.c     memcpy (ubuf + offset, dgram->data, dgram->datasize);
ubuf              821 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 10, dgram->header.dgm_length);
ubuf              864 src/vfs/smbfs/helpers/libsmb/nmblib.c     unsigned char *ubuf = (unsigned char *) buf;
ubuf              868 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, offset, nmb->header.name_trn_id);
ubuf              869 src/vfs/smbfs/helpers/libsmb/nmblib.c     ubuf[offset + 2] = (nmb->header.opcode & 0xF) << 3;
ubuf              871 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[offset + 2] |= (1 << 7);
ubuf              873 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[offset + 2] |= 0x4;
ubuf              875 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[offset + 2] |= 0x2;
ubuf              877 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[offset + 2] |= 0x1;
ubuf              879 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[offset + 3] |= 0x80;
ubuf              881 src/vfs/smbfs/helpers/libsmb/nmblib.c         ubuf[offset + 3] |= 0x10;
ubuf              882 src/vfs/smbfs/helpers/libsmb/nmblib.c     ubuf[offset + 3] |= (nmb->header.rcode & 0xF);
ubuf              884 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, offset + 4, nmb->header.qdcount);
ubuf              885 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, offset + 6, nmb->header.ancount);
ubuf              886 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, offset + 8, nmb->header.nscount);
ubuf              887 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, offset + 10, nmb->header.arcount);
ubuf              893 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_nmb_name ((char *) ubuf, offset, &nmb->question.question_name);
ubuf              894 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (ubuf, offset, nmb->question.question_type);
ubuf              895 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (ubuf, offset + 2, nmb->question.question_class);
ubuf              900 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_res_rec ((char *) ubuf, offset, nmb->answers, nmb->header.ancount);
ubuf              903 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_res_rec ((char *) ubuf, offset, nmb->nsrecs, nmb->header.nscount);
ubuf              920 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_compressed_name_ptr (ubuf, offset, nmb->additional, 12);
ubuf              925 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_res_rec ((char *) ubuf, offset, nmb->additional, nmb->header.arcount);