11 #define NAP_BIT_OFFSET (8 * 4) 12 #define SAP_BIT_OFFSET (0) 13 #define GET_BYTE(num, byte) (unsigned int)((num >> (8 * byte)) & 0xff) 16 #define NAP_MASK 0xFFFF00000000LL 17 #define SAP_MASK 0x0000FFFFFFFFL 19 #define GET_NAP(_bth_addr) ((ULONGLONG) ((_bth_addr) >> NAP_BIT_OFFSET)) 20 #define GET_SAP(_bth_addr) ((ULONGLONG) (((_bth_addr) & SAP_MASK) >> SAP_BIT_OFFSET)) 22 #define NAP_MASK 0xFFFF00000000LL 23 #define SAP_MASK 0x0000FFFFFFFFLL 25 #define GET_NAP(_bth_addr) ((ULONGLONG) (((_bth_addr) & NAP_MASK) >> NAP_BIT_OFFSET)) 26 #define GET_SAP(_bth_addr) ((ULONGLONG) (((_bth_addr) & SAP_MASK) >> SAP_BIT_OFFSET)) 40 #define BTHPROTO_RFCOMM 0x0003 42 #ifdef BLUETOOTH_RF_SEARCHING
struct _SOCKADDR_BTH SOCKADDR_BTH
struct _SOCKADDR_BTH * PSOCKADDR_BTH