ESP-IDF
pkt_linked_item
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
pkt_linked_item
pkt_linked_item struct
Syntax
Show:
Summary
Declaration
from
pkt_queue.h:20
typedef
struct
pkt_linked_item
{
STAILQ_ENTRY
(
pkt_linked_item
)
next
;
uint8_t
data
[
]
;
}
pkt_linked_item_t
;
Fields
Field
Declared as
pkt_linked_item::next
STAILQ_ENTRY
(
pkt_linked_item
)
pkt_linked_item::data
uint8_t
[
]
Related Functions
Found 7 other functions taking a
pkt_linked_item
argument:
Function
pkt_queue_enqueue()
fixed_pkt_queue_enqueue()
btm_ble_adv_pkt_post()
hci_adv_flow_cmd_free_cb()
hci_hal_h4_hdl_rx_adv_rpt()
dispatch_adv_report()
hal_says_adv_rpt_ready()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
pkt_linked_item
{
pkt_queue.h:20
}
pkt_linked_item_t
;
pkt_queue.h:23
pkt_linked_item_t
*
linked_pkt
=
pkt_queue_dequeue
(
p_env
->
adv_rpt_queue
)
;
btc_gap_ble.c:629
btc_gap_ble_adv_pkt_handler()
osi_free
(
linked_pkt
)
;
btc_gap_ble.c:633
btc_gap_ble_adv_pkt_handler()
pkt_linked_item_t
*
linked_pkt
=
osi_calloc
(
BT_PKT_LINKED_HDR_SIZE
+
sizeof
(
esp_ble_gap_cb_param_t
)
)
;
btc_gap_ble.c:664
btc_process_adv_rpt_pkt()
pkt_linked_item_t
*
linked_pkt
=
pkt_queue_dequeue
(
p_cb
->
adv_rpt_queue
)
;
btm_ble_gap.c:3525
btm_adv_pkt_handler()
osi_free
(
linked_pkt
)
;
btm_ble_gap.c:3542
btm_adv_pkt_handler()
bool
btm_ble_adv_pkt_post
(
pkt_linked_item_t
*
pkt
)
btm_ble_gap.c:4790
btm_ble_adv_pkt_post()
btm_ble_adv_pkt_post()::pkt
bool
btm_ble_adv_pkt_post
(
pkt_linked_item_t
*
pkt
)
;
btm_ble_int.h:395
btm_ble_adv_pkt_post()
btm_ble_adv_pkt_post()::pkt
bool
fixed_pkt_queue_enqueue
(
fixed_pkt_queue_t
*
queue
,
pkt_linked_item_t
*
linked_pkt
,
uint32_t
timeout
)
fixed_pkt_queue.c:95
fixed_pkt_queue_enqueue()
fixed_pkt_queue_enqueue()::linked_pkt
pkt_linked_item_t
*
fixed_pkt_queue_dequeue
(
fixed_pkt_queue_t
*
queue
,
uint32_t
timeout
)
fixed_pkt_queue.c:114
fixed_pkt_queue_dequeue()
pkt_linked_item_t
*
ret
=
NULL
;
fixed_pkt_queue.c:116
fixed_pkt_queue_dequeue()
pkt_linked_item_t
*
fixed_pkt_queue_try_peek_first
(
fixed_pkt_queue_t
*
queue
)
fixed_pkt_queue.c:130
fixed_pkt_queue_try_peek_first()
typedef
void
(
*
fixed_pkt_queue_free_cb
)
(
pkt_linked_item_t
*
data
)
;
fixed_pkt_queue.h:28
bool
fixed_pkt_queue_enqueue
(
fixed_pkt_queue_t
*
queue
,
pkt_linked_item_t
*
linked_pkt
,
uint32_t
timeout
)
;
fixed_pkt_queue.h:55
fixed_pkt_queue_enqueue()
fixed_pkt_queue_enqueue()::linked_pkt
pkt_linked_item_t
*
fixed_pkt_queue_dequeue
(
fixed_pkt_queue_t
*
queue
,
uint32_t
timeout
)
;
fixed_pkt_queue.h:60
fixed_pkt_queue_dequeue()
pkt_linked_item_t
*
fixed_pkt_queue_try_peek_first
(
fixed_pkt_queue_t
*
queue
)
;
fixed_pkt_queue.h:65
fixed_pkt_queue_try_peek_first()
typedef
void
(
*
adv_rpt_ready_cb
)
(
pkt_linked_item_t
*
linked_pkt
)
;
hci_hal.h:38
pkt_linked_item_t
*
adv_fc_cmd_buf
;
hci_hal_h4.c:80
hci_hal_env_t
hci_hal_env_t::adv_fc_cmd_buf
static
void
hci_hal_h4_hdl_rx_adv_rpt
(
pkt_linked_item_t
*
linked_pkt
)
;
hci_hal_h4.c:96
hci_hal_h4_hdl_rx_adv_rpt()
hci_hal_h4_hdl_rx_adv_rpt()::linked_pkt
static
void
hci_adv_flow_cmd_free_cb
(
pkt_linked_item_t
*
linked_pkt
)
;
hci_hal_h4.c:102
hci_adv_flow_cmd_free_cb()
hci_adv_flow_cmd_free_cb()::linked_pkt
hci_hal_env
.
adv_fc_cmd_buf
=
osi_calloc
(
HCI_CMD_LINKED_BUF_SIZE
(
HCIC_PARAM_SIZE_BLE_UPDATE_ADV_FLOW_CONTROL
)
)
;
hci_hal_h4.c:114
hci_hal_env_init()
osi_free
(
hci_hal_env
.
adv_fc_cmd_buf
)
;
hci_hal_h4.c:162
hci_hal_env_deinit()
pkt_linked_item_t
*
linked_pkt
=
pkt_queue_dequeue
(
adv_rpt_q
)
;
hci_hal_h4.c:244
hci_upstream_data_handler()
static
void
hci_adv_flow_cmd_free_cb
(
pkt_linked_item_t
*
linked_pkt
)
hci_hal_h4.c:353
hci_adv_flow_cmd_free_cb()
hci_adv_flow_cmd_free_cb()::linked_pkt
static
void
hci_hal_h4_hdl_rx_adv_rpt
(
pkt_linked_item_t
*
linked_pkt
)
hci_hal_h4.c:479
hci_hal_h4_hdl_rx_adv_rpt()
hci_hal_h4_hdl_rx_adv_rpt()::linked_pkt
osi_free
(
linked_pkt
)
;
hci_hal_h4.c:527
hci_hal_h4_hdl_rx_adv_rpt()
pkt_linked_item_t
*
linked_pkt
=
NULL
;
hci_hal_h4.c:564
host_recv_pkt_cb()
pkt_size
=
BT_PKT_LINKED_HDR_SIZE
+
BT_HDR_SIZE
+
len
;
hci_hal_h4.c:595
host_recv_pkt_cb()
linked_pkt
=
(
pkt_linked_item_t
*
)
osi_calloc_base
(
pkt_size
)
;
hci_hal_h4.c:599
host_recv_pkt_cb()
static
pkt_linked_item_t
*
get_waiting_command
(
command_opcode_t
opcode
)
;
hci_layer.c:101
get_waiting_command()
static
void
dispatch_adv_report
(
pkt_linked_item_t
*
linked_pkt
)
;
hci_layer.c:103
dispatch_adv_report()
dispatch_adv_report()::linked_pkt
pkt_linked_item_t
*
linked_pkt
=
HCI_GET_CMD_LINKED_STRUCT
(
metadata
)
;
hci_layer.c:261
transmit_command()
pkt_linked_item_t
*
linked_pkt
=
HCI_GET_CMD_LINKED_STRUCT
(
metadata
)
;
hci_layer.c:281
transmit_command_futured()
pkt_linked_item_t
*
wait_entry
=
NULL
;
hci_layer.c:315
event_command_ready()
pkt_linked_item_t
*
wait_entry
;
hci_layer.c:401
command_timed_out()
static
void
hal_says_adv_rpt_ready
(
pkt_linked_item_t
*
linked_pkt
)
hci_layer.c:430
hal_says_adv_rpt_ready()
hal_says_adv_rpt_ready()::linked_pkt
pkt_linked_item_t
*
wait_entry
=
NULL
;
hci_layer.c:440
filter_incoming_event()
static
void
dispatch_adv_report
(
pkt_linked_item_t
*
linked_pkt
)
hci_layer.c:534
dispatch_adv_report()
dispatch_adv_report()::linked_pkt
osi_free
(
linked_pkt
)
;
hci_layer.c:539
dispatch_adv_report()
static
pkt_linked_item_t
*
get_waiting_command
(
command_opcode_t
opcode
)
hci_layer.c:563
get_waiting_command()
pkt_linked_item_t
*
wait_entry
=
list_node
(
node
)
;
hci_layer.c:571
get_waiting_command()
typedef
void
(
*
hci_cmd_free_cb
)
(
pkt_linked_item_t
*
linked_pkt
)
;
hcimsgs.h:35
pkt_linked_item_t
*
linked_pkt
=
osi_calloc
(
HCI_CMD_LINKED_BUF_SIZE
(
param_len
)
)
;
hcimsgs.h:58
hci_get_cmd_buf()
pkt_linked_item_t
*
linked_pkt
=
HCI_GET_CMD_LINKED_STRUCT
(
metadata
)
;
hcimsgs.h:76
hci_free_cmd_buf()
osi_free
(
linked_pkt
)
;
hcimsgs.h:77
hci_free_cmd_buf()
STAILQ_HEAD
(
pkt_queue_header
,
pkt_linked_item
)
;
pkt_queue.c:12
pkt_queue_header
pkt_linked_item_t
*
item
=
STAILQ_FIRST
(
header
)
;
pkt_queue.c:43
pkt_queue_cleanup()
pkt_linked_item_t
*
tmp
;
pkt_queue.c:44
pkt_queue_cleanup()
pkt_linked_item_t
*
pkt_queue_dequeue
(
struct
pkt_queue
*
queue
)
pkt_queue.c:81
pkt_queue_dequeue()
struct
pkt_linked_item
*
item
;
pkt_queue.c:87
pkt_queue_dequeue()
bool
pkt_queue_enqueue
(
struct
pkt_queue
*
queue
,
pkt_linked_item_t
*
item
)
pkt_queue.c:103
pkt_queue_enqueue()
pkt_queue_enqueue()::item
pkt_linked_item_t
*
pkt_queue_try_peek_first
(
struct
pkt_queue
*
queue
)
pkt_queue.c:132
pkt_queue_try_peek_first()
pkt_linked_item_t
*
item
;
pkt_queue.c:139
pkt_queue_try_peek_first()
STAILQ_ENTRY
(
pkt_linked_item
)
next
;
pkt_queue.h:21
}
pkt_linked_item_t
;
pkt_queue.h:23
pkt_linked_item_t
typedef
void
(
*
pkt_queue_free_cb
)
(
pkt_linked_item_t
*
item
)
;
pkt_queue.h:27
bool
pkt_queue_enqueue
(
struct
pkt_queue
*
queue
,
pkt_linked_item_t
*
item
)
;
pkt_queue.h:42
pkt_queue_enqueue()
pkt_queue_enqueue()::item
pkt_linked_item_t
*
pkt_queue_dequeue
(
struct
pkt_queue
*
queue
)
;
pkt_queue.h:49
pkt_queue_dequeue()
pkt_linked_item_t
*
pkt_queue_try_peek_first
(
struct
pkt_queue
*
queue
)
;
pkt_queue.h:56
pkt_queue_try_peek_first()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
pkt_queue_enqueue()::item
pkt_queue_enqueue()
pkt_queue.h:42
return
pkt_queue_dequeue()
pkt_queue.h:49
return
pkt_queue_try_peek_first()
pkt_queue.h:56
return
pkt_queue_dequeue()
pkt_queue.c:81
pkt_queue_enqueue()::item
pkt_queue_enqueue()
pkt_queue.c:103
return
pkt_queue_try_peek_first()
pkt_queue.c:132
fixed_pkt_queue_enqueue()::linked_pkt
fixed_pkt_queue_enqueue()
fixed_pkt_queue.c:95
return
fixed_pkt_queue_dequeue()
fixed_pkt_queue.c:114
return
fixed_pkt_queue_try_peek_first()
fixed_pkt_queue.c:130
fixed_pkt_queue_enqueue()::linked_pkt
fixed_pkt_queue_enqueue()
fixed_pkt_queue.h:55
return
fixed_pkt_queue_dequeue()
fixed_pkt_queue.h:60
return
fixed_pkt_queue_try_peek_first()
fixed_pkt_queue.h:65
btm_ble_adv_pkt_post()::pkt
btm_ble_adv_pkt_post()
btm_ble_int.h:395
hci_hal_env_t::adv_fc_cmd_buf
hci_hal_env_t
hci_hal_h4.c:80
hci_hal_h4_hdl_rx_adv_rpt()::linked_pkt
hci_hal_h4_hdl_rx_adv_rpt()
hci_hal_h4.c:96
hci_adv_flow_cmd_free_cb()::linked_pkt
hci_adv_flow_cmd_free_cb()
hci_hal_h4.c:102
hci_adv_flow_cmd_free_cb()::linked_pkt
hci_adv_flow_cmd_free_cb()
hci_hal_h4.c:353
hci_hal_h4_hdl_rx_adv_rpt()::linked_pkt
hci_hal_h4_hdl_rx_adv_rpt()
hci_hal_h4.c:479
return
get_waiting_command()
hci_layer.c:101
dispatch_adv_report()::linked_pkt
dispatch_adv_report()
hci_layer.c:103
hal_says_adv_rpt_ready()::linked_pkt
hal_says_adv_rpt_ready()
hci_layer.c:430
dispatch_adv_report()::linked_pkt
dispatch_adv_report()
hci_layer.c:534
return
get_waiting_command()
hci_layer.c:563
btm_ble_adv_pkt_post()::pkt
btm_ble_adv_pkt_post()
btm_ble_gap.c:4790
Lifecycle
from
examples
pkt_linked_item
is allocated by 1 symbol and is freed by 6 symbols:
host_recv_pkt_cb()
All items filtered out
pkt_linked_item
hci_free_cmd_buf()
hci_hal_env_deinit()
hci_hal_h4_hdl_rx_adv_rpt()
dispatch_adv_report()
btm_adv_pkt_handler()
btc_gap_ble_adv_pkt_handler()
All items filtered out