include/net/bluetooth/hci.h
Source file repositories/reference/linux-study-clean/include/net/bluetooth/hci.h
File Facts
- System
- Linux kernel
- Corpus path
include/net/bluetooth/hci.h- Extension
.h- Size
- 80731 bytes
- Lines
- 3432
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: implementation source
- Status
- source implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct hci_cp_inquirystruct hci_cp_create_connstruct hci_cp_disconnectstruct hci_cp_add_scostruct hci_cp_create_conn_cancelstruct hci_cp_accept_conn_reqstruct hci_cp_reject_conn_reqstruct hci_cp_link_key_replystruct hci_cp_link_key_neg_replystruct hci_cp_pin_code_replystruct hci_rp_pin_code_replystruct hci_cp_pin_code_neg_replystruct hci_rp_pin_code_neg_replystruct hci_cp_change_conn_ptypestruct hci_cp_auth_requestedstruct hci_cp_set_conn_encryptstruct hci_cp_change_conn_link_keystruct hci_cp_remote_name_reqstruct hci_cp_remote_name_req_cancelstruct hci_rp_remote_name_req_cancelstruct hci_cp_read_remote_featuresstruct hci_cp_read_remote_ext_featuresstruct hci_cp_read_remote_versionstruct hci_cp_read_clock_offsetstruct hci_cp_setup_sync_connstruct hci_cp_accept_sync_conn_reqstruct hci_cp_reject_sync_conn_reqstruct hci_cp_io_capability_replystruct hci_cp_user_confirm_replystruct hci_rp_user_confirm_replystruct hci_cp_user_passkey_replystruct hci_cp_remote_oob_data_replystruct hci_cp_remote_oob_data_neg_replystruct hci_cp_io_capability_neg_replystruct hci_coding_formatstruct hci_cp_enhanced_setup_sync_connstruct hci_rp_logical_link_cancelstruct hci_cp_set_cpbstruct hci_rp_set_cpbstruct hci_cp_remote_oob_ext_data_replystruct hci_cp_sniff_modestruct hci_cp_exit_sniff_modestruct hci_cp_role_discoverystruct hci_rp_role_discoverystruct hci_cp_switch_rolestruct hci_cp_read_link_policystruct hci_rp_read_link_policystruct hci_cp_write_link_policy
Annotated Snippet
struct hci_cp_inquiry {
__u8 lap[3];
__u8 length;
__u8 num_rsp;
} __packed;
#define HCI_OP_INQUIRY_CANCEL 0x0402
#define HCI_OP_PERIODIC_INQ 0x0403
#define HCI_OP_EXIT_PERIODIC_INQ 0x0404
#define HCI_OP_CREATE_CONN 0x0405
struct hci_cp_create_conn {
bdaddr_t bdaddr;
__le16 pkt_type;
__u8 pscan_rep_mode;
__u8 pscan_mode;
__le16 clock_offset;
__u8 role_switch;
} __packed;
#define HCI_OP_DISCONNECT 0x0406
struct hci_cp_disconnect {
__le16 handle;
__u8 reason;
} __packed;
#define HCI_OP_ADD_SCO 0x0407
struct hci_cp_add_sco {
__le16 handle;
__le16 pkt_type;
} __packed;
#define HCI_OP_CREATE_CONN_CANCEL 0x0408
struct hci_cp_create_conn_cancel {
bdaddr_t bdaddr;
} __packed;
#define HCI_OP_ACCEPT_CONN_REQ 0x0409
struct hci_cp_accept_conn_req {
bdaddr_t bdaddr;
__u8 role;
} __packed;
#define HCI_OP_REJECT_CONN_REQ 0x040a
struct hci_cp_reject_conn_req {
bdaddr_t bdaddr;
__u8 reason;
} __packed;
#define HCI_OP_LINK_KEY_REPLY 0x040b
struct hci_cp_link_key_reply {
bdaddr_t bdaddr;
__u8 link_key[HCI_LINK_KEY_SIZE];
} __packed;
#define HCI_OP_LINK_KEY_NEG_REPLY 0x040c
struct hci_cp_link_key_neg_reply {
bdaddr_t bdaddr;
} __packed;
#define HCI_OP_PIN_CODE_REPLY 0x040d
struct hci_cp_pin_code_reply {
bdaddr_t bdaddr;
__u8 pin_len;
__u8 pin_code[16];
} __packed;
struct hci_rp_pin_code_reply {
__u8 status;
bdaddr_t bdaddr;
} __packed;
#define HCI_OP_PIN_CODE_NEG_REPLY 0x040e
struct hci_cp_pin_code_neg_reply {
bdaddr_t bdaddr;
} __packed;
struct hci_rp_pin_code_neg_reply {
__u8 status;
bdaddr_t bdaddr;
} __packed;
#define HCI_OP_CHANGE_CONN_PTYPE 0x040f
struct hci_cp_change_conn_ptype {
__le16 handle;
__le16 pkt_type;
} __packed;
#define HCI_OP_AUTH_REQUESTED 0x0411
struct hci_cp_auth_requested {
Annotation
- Detected declarations: `struct hci_cp_inquiry`, `struct hci_cp_create_conn`, `struct hci_cp_disconnect`, `struct hci_cp_add_sco`, `struct hci_cp_create_conn_cancel`, `struct hci_cp_accept_conn_req`, `struct hci_cp_reject_conn_req`, `struct hci_cp_link_key_reply`, `struct hci_cp_link_key_neg_reply`, `struct hci_cp_pin_code_reply`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.