Lines Matching refs:bdaddr_t
92 } __packed bdaddr_t; typedef
94 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
95 #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
98 static inline int bacmp(bdaddr_t *ba1, bdaddr_t *ba2) in bacmp()
100 return memcmp(ba1, ba2, sizeof(bdaddr_t)); in bacmp()
102 static inline void bacpy(bdaddr_t *dst, bdaddr_t *src) in bacpy()
104 memcpy(dst, src, sizeof(bdaddr_t)); in bacpy()
107 void baswap(bdaddr_t *dst, bdaddr_t *src);
108 char *batostr(bdaddr_t *ba);
109 bdaddr_t *strtoba(char *str);
117 bdaddr_t src;
118 bdaddr_t dst;