Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | /* |
| 3 | * BlueZ - Bluetooth protocol stack for Linux |
| 4 | * |
| 5 | * Copyright (C) 2022 Intel Corporation |
| 6 | */ |
| 7 | |
| 8 | #ifndef __ISO_H |
| 9 | #define __ISO_H |
| 10 | |
| 11 | /* ISO defaults */ |
| 12 | #define ISO_DEFAULT_MTU 251 |
| 13 | #define ISO_MAX_NUM_BIS 0x1f |
| 14 | |
| 15 | /* ISO socket broadcast address */ |
| 16 | struct sockaddr_iso_bc { |
| 17 | bdaddr_t bc_bdaddr; |
| 18 | __u8 bc_bdaddr_type; |
| 19 | __u8 bc_sid; |
| 20 | __u8 bc_num_bis; |
| 21 | __u8 bc_bis[ISO_MAX_NUM_BIS]; |
| 22 | }; |
| 23 | |
| 24 | /* ISO socket address */ |
| 25 | struct sockaddr_iso { |
| 26 | sa_family_t iso_family; |
| 27 | bdaddr_t iso_bdaddr; |
| 28 | __u8 iso_bdaddr_type; |
| 29 | struct sockaddr_iso_bc iso_bc[]; |
| 30 | }; |
| 31 | |
| 32 | #endif /* __ISO_H */ |
| 33 |
Warning: This file is not a C or C++ file. It does not have highlighting.
