bluetooth.h (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) bluetooth.h (65bce46298d064dff9db1282e17bb26602715819)
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 219 unchanged lines hidden (view full) ---

228{
229 return memcmp(ba1, ba2, sizeof(bdaddr_t));
230}
231static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src)
232{
233 memcpy(dst, src, sizeof(bdaddr_t));
234}
235
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 219 unchanged lines hidden (view full) ---

228{
229 return memcmp(ba1, ba2, sizeof(bdaddr_t));
230}
231static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src)
232{
233 memcpy(dst, src, sizeof(bdaddr_t));
234}
235
236void baswap(bdaddr_t *dst, bdaddr_t *src);
236void baswap(bdaddr_t *dst, const bdaddr_t *src);
237
238/* Common socket structures and functions */
239
240#define bt_sk(__sk) ((struct bt_sock *) __sk)
241
242struct bt_sock {
243 struct sock sk;
244 struct list_head accept_q;

--- 169 unchanged lines hidden ---
237
238/* Common socket structures and functions */
239
240#define bt_sk(__sk) ((struct bt_sock *) __sk)
241
242struct bt_sock {
243 struct sock sk;
244 struct list_head accept_q;

--- 169 unchanged lines hidden ---