dgram             436 src/vfs/smbfs/helpers/include/nameserv.h         struct dgram_packet dgram;
dgram             433 src/vfs/smbfs/helpers/libsmb/nmblib.c parse_dgram (char *inbuf, int length, struct dgram_packet *dgram)
dgram             438 src/vfs/smbfs/helpers/libsmb/nmblib.c     memset ((char *) dgram, '\0', sizeof (*dgram));
dgram             443 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.msg_type = CVAL (inbuf, 0);
dgram             445 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.flags.node_type = (enum node_type) ((flags >> 2) & 3);
dgram             447 src/vfs/smbfs/helpers/libsmb/nmblib.c         dgram->header.flags.more = True;
dgram             449 src/vfs/smbfs/helpers/libsmb/nmblib.c         dgram->header.flags.first = True;
dgram             450 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.dgm_id = RSVAL (inbuf, 2);
dgram             451 src/vfs/smbfs/helpers/libsmb/nmblib.c     putip ((char *) &dgram->header.source_ip, inbuf + 4);
dgram             452 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.source_port = RSVAL (inbuf, 8);
dgram             453 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.dgm_length = RSVAL (inbuf, 10);
dgram             454 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.packet_offset = RSVAL (inbuf, 12);
dgram             458 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (dgram->header.msg_type == 0x10 ||
dgram             459 src/vfs/smbfs/helpers/libsmb/nmblib.c         dgram->header.msg_type == 0x11 || dgram->header.msg_type == 0x12)
dgram             461 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += parse_nmb_name (inbuf, offset, length, &dgram->source_name);
dgram             462 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += parse_nmb_name (inbuf, offset, length, &dgram->dest_name);
dgram             465 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (offset >= length || ((size_t) length - offset > sizeof (dgram->data)))
dgram             468 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->datasize = length - offset;
dgram             469 src/vfs/smbfs/helpers/libsmb/nmblib.c     memcpy (dgram->data, inbuf + offset, dgram->datasize);
dgram             691 src/vfs/smbfs/helpers/libsmb/nmblib.c         free_dgram_packet (&packet->packet.dgram);
dgram             732 src/vfs/smbfs/helpers/libsmb/nmblib.c         ok = parse_dgram (buf, length, &packet->packet.dgram);
dgram             791 src/vfs/smbfs/helpers/libsmb/nmblib.c     struct dgram_packet *dgram = &p->packet.dgram;
dgram             796 src/vfs/smbfs/helpers/libsmb/nmblib.c     ubuf[0] = dgram->header.msg_type;
dgram             797 src/vfs/smbfs/helpers/libsmb/nmblib.c     ubuf[1] = (((int) dgram->header.flags.node_type) << 2);
dgram             798 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (dgram->header.flags.more)
dgram             800 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (dgram->header.flags.first)
dgram             802 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 2, dgram->header.dgm_id);
dgram             803 src/vfs/smbfs/helpers/libsmb/nmblib.c     putip (ubuf + 4, (char *) &dgram->header.source_ip);
dgram             804 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 8, dgram->header.source_port);
dgram             805 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 12, dgram->header.packet_offset);
dgram             809 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (dgram->header.msg_type == 0x10 ||
dgram             810 src/vfs/smbfs/helpers/libsmb/nmblib.c         dgram->header.msg_type == 0x11 || dgram->header.msg_type == 0x12)
dgram             812 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_nmb_name ((char *) ubuf, offset, &dgram->source_name);
dgram             813 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += put_nmb_name ((char *) ubuf, offset, &dgram->dest_name);
dgram             816 src/vfs/smbfs/helpers/libsmb/nmblib.c     memcpy (ubuf + offset, dgram->data, dgram->datasize);
dgram             817 src/vfs/smbfs/helpers/libsmb/nmblib.c     offset += dgram->datasize;
dgram             820 src/vfs/smbfs/helpers/libsmb/nmblib.c     dgram->header.dgm_length = offset;
dgram             821 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (ubuf, 10, dgram->header.dgm_length);