1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * BlueZ - Bluetooth protocol stack for Linux 3 * BlueZ - Bluetooth protocol stack for Linux 4 * 4 * 5 * Copyright (C) 2022 Intel Corporation 5 * Copyright (C) 2022 Intel Corporation 6 */ 6 */ 7 7 8 #ifndef __ISO_H 8 #ifndef __ISO_H 9 #define __ISO_H 9 #define __ISO_H 10 10 11 /* ISO defaults */ 11 /* ISO defaults */ 12 #define ISO_DEFAULT_MTU 251 12 #define ISO_DEFAULT_MTU 251 13 #define ISO_MAX_NUM_BIS 0x1f 13 #define ISO_MAX_NUM_BIS 0x1f 14 14 15 /* ISO socket broadcast address */ 15 /* ISO socket broadcast address */ 16 struct sockaddr_iso_bc { 16 struct sockaddr_iso_bc { 17 bdaddr_t bc_bdaddr; 17 bdaddr_t bc_bdaddr; 18 __u8 bc_bdaddr_type; 18 __u8 bc_bdaddr_type; 19 __u8 bc_sid; 19 __u8 bc_sid; 20 __u8 bc_num_bis; 20 __u8 bc_num_bis; 21 __u8 bc_bis[ISO_MAX_NUM_BIS 21 __u8 bc_bis[ISO_MAX_NUM_BIS]; 22 }; 22 }; 23 23 24 /* ISO socket address */ 24 /* ISO socket address */ 25 struct sockaddr_iso { 25 struct sockaddr_iso { 26 sa_family_t iso_family; 26 sa_family_t iso_family; 27 bdaddr_t iso_bdaddr; 27 bdaddr_t iso_bdaddr; 28 __u8 iso_bdaddr_type; 28 __u8 iso_bdaddr_type; 29 struct sockaddr_iso_bc iso_bc[]; 29 struct sockaddr_iso_bc iso_bc[]; 30 }; 30 }; 31 31 32 #endif /* __ISO_H */ 32 #endif /* __ISO_H */ 33 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.