Home
last modified time | relevance | path

Searched refs:bdaddr_t (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/include/net/bluetooth/
Dbluetooth.h115 } __attribute__((packed)) bdaddr_t; typedef
117 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
118 #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
121 static inline int bacmp(bdaddr_t *ba1, bdaddr_t *ba2) in bacmp()
123 return memcmp(ba1, ba2, sizeof(bdaddr_t)); in bacmp()
125 static inline void bacpy(bdaddr_t *dst, bdaddr_t *src) in bacpy()
127 memcpy(dst, src, sizeof(bdaddr_t)); in bacpy()
130 void baswap(bdaddr_t *dst, bdaddr_t *src);
131 char *batostr(bdaddr_t *ba);
132 bdaddr_t *strtoba(char *str);
[all …]
Dhci.h205 bdaddr_t bdaddr;
291 bdaddr_t bdaddr;
302 bdaddr_t bdaddr;
309 bdaddr_t bdaddr;
338 bdaddr_t bdaddr;
347 bdaddr_t bdaddr;
355 bdaddr_t bdaddr;
383 bdaddr_t bdaddr;
430 bdaddr_t bdaddr;
461 bdaddr_t bdaddr;
[all …]
Drfcomm.h245 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel);
282 struct rfcomm_session *rfcomm_session_get(bdaddr_t *src, bdaddr_t *dst);
283 struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, bdaddr_t *dst, int *err);
286 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst);
305 bdaddr_t rc_bdaddr;
338 bdaddr_t src;
339 bdaddr_t dst;
347 bdaddr_t src;
348 bdaddr_t dst;
Dsco.h43 bdaddr_t sco_bdaddr;
61 bdaddr_t *dst;
62 bdaddr_t *src;
Dhci_core.h69 bdaddr_t bdaddr;
130 bdaddr_t dst;
189 struct inquiry_entry *inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr);
248 __u8 type, bdaddr_t *ba) in conn_hash_lookup_ba()
266 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst);
270 struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *src);
316 struct hci_dev *hci_get_route(bdaddr_t *src, bdaddr_t *dst);
363 int (*connect_ind) (struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type);
372 static inline int hci_proto_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in hci_proto_connect_ind()
Dl2cap.h42 bdaddr_t l2_bdaddr;
211 bdaddr_t *dst;
212 bdaddr_t *src;
/linux-2.4.37.9/net/bluetooth/
Dlib.c62 void baswap(bdaddr_t *dst, bdaddr_t *src) in baswap()
72 char *batostr(bdaddr_t *ba) in batostr()
Dhci_conn.c149 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst) in hci_conn_add()
213 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src) in hci_get_route()
255 struct hci_conn * hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst) in hci_connect()
Dsco.c203 bdaddr_t *src = &bluez_pi(sk)->src; in sco_connect()
204 bdaddr_t *dst = &bluez_pi(sk)->dst; in sco_connect()
301 static struct sock *__sco_get_sock_by_addr(bdaddr_t *ba) in __sco_get_sock_by_addr()
316 static struct sock *sco_get_sock_listen(bdaddr_t *src) in sco_get_sock_listen()
474 bdaddr_t *src = &sa->sco_bdaddr; in sco_sock_bind()
841 int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in sco_connect_ind()
Dl2cap.c182 static struct sock *__l2cap_get_sock_by_addr(__u16 psm, bdaddr_t *src) in __l2cap_get_sock_by_addr()
195 static struct sock *__l2cap_get_sock_by_psm(int state, __u16 psm, bdaddr_t *src) in __l2cap_get_sock_by_psm()
218 static inline struct sock *l2cap_get_sock_by_psm(int state, __u16 psm, bdaddr_t *src) in l2cap_get_sock_by_psm()
433 bdaddr_t *src = &bluez_pi(sk)->src; in l2cap_do_connect()
434 bdaddr_t *dst = &bluez_pi(sk)->dst; in l2cap_do_connect()
1858 static int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in l2cap_connect_ind()
Dhci_core.c333 struct inquiry_entry *inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) in inquiry_cache_lookup()
/linux-2.4.37.9/net/bluetooth/cmtp/
Dcmtp.h45 bdaddr_t bdaddr;
50 bdaddr_t bdaddr;
75 bdaddr_t bdaddr;
Dcore.c56 static struct cmtp_session *__cmtp_get_session(bdaddr_t *bdaddr) in __cmtp_get_session()
343 bdaddr_t src, dst; in cmtp_add_connection()
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dcore.c275 static int __rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) in __rfcomm_dlc_open()
321 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) in rfcomm_dlc_open()
507 struct rfcomm_session *rfcomm_session_get(bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_get()
544 struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, bdaddr_t *dst, int *err) in rfcomm_session_create()
595 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_getaddr()
1748 static int rfcomm_add_listener(bdaddr_t *ba) in rfcomm_add_listener()
Dsock.c113 static struct sock *__rfcomm_get_sock_by_addr(u8 channel, bdaddr_t *src) in __rfcomm_get_sock_by_addr()
129 static struct sock *__rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src) in __rfcomm_get_sock_by_channel()
152 static inline struct sock *rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src) in rfcomm_get_sock_by_channel()
743 bdaddr_t src, dst; in rfcomm_connect_ind()
Dtty.c63 bdaddr_t src;
64 bdaddr_t dst;