Searched refs:BE_IN16 (Results 1 – 4 of 4) sorted by relevance
173 #define BE_IN16(xa) \ macro177 (((uint32_t)BE_IN16(xa) << 16) | BE_IN16((uint8_t *)(xa) + 2))180 #define BE_IN16(xa) htons(*((uint16_t *)(void *)(xa)))
500 datagram->datagram_id = BE_IN16(&datagram->rawbuf[2]); in smb_datagram_decode()511 datagram->data_length = BE_IN16(&datagram->rawbuf[10]); in smb_datagram_decode()512 datagram->offset = BE_IN16(&datagram->rawbuf[12]); in smb_datagram_decode()550 datagram_id = BE_IN16(&buf[2]); in smb_netbios_datagram_error()
689 name_trn_id = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()690 info = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()691 qdcount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()692 ancount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()693 nscount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()694 arcount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()789 npb->question[i].question_type = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()790 npb->question[i].question_class = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()830 nrr[i].rr_type = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()831 nrr[i].rr_class = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()[all …]
49 #define EXTRACT_SHORT(p) BE_IN16(p)