Home
last modified time | relevance | path

Searched refs:BE_IN16 (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dbyteorder.h173 #define BE_IN16(xa) \ macro
177 (((uint32_t)BE_IN16(xa) << 16) | BE_IN16((uint8_t *)(xa) + 2))
180 #define BE_IN16(xa) htons(*((uint16_t *)(void *)(xa)))
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_datagram.c500 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()
H A Dsmbns_netbios_name.c689 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 …]
/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c49 #define EXTRACT_SHORT(p) BE_IN16(p)