bt.h | 29 } __attribute__((packed)) bdaddr_t; typedef in typeref:struct:__anon13405 31 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) 32 #define BDADDR_ALL (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}}) 33 #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}}) 36 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2) 38 return memcmp(ba1, ba2, sizeof(bdaddr_t)); 40 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) 42 memcpy(dst, src, sizeof(bdaddr_t)); [all...] |