Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 32) sorted by relevance

12

/btstack/port/stm32-wb55xx-nucleo-freertos/Middlewares/STM32_WPAN/utilities/
H A Dstm_list.c57 void LST_insert_head (tListNode * listHead, tListNode * node) in LST_insert_head() argument
64 node->next = listHead->next; in LST_insert_head()
65 node->prev = listHead; in LST_insert_head()
66 listHead->next = node; in LST_insert_head()
67 (node->next)->prev = node; in LST_insert_head()
73 void LST_insert_tail (tListNode * listHead, tListNode * node) in LST_insert_tail() argument
80 node->next = listHead; in LST_insert_tail()
81 node->prev = listHead->prev; in LST_insert_tail()
82 listHead->prev = node; in LST_insert_tail()
83 (node->prev)->next = node; in LST_insert_tail()
[all …]
H A Dstm_list.h35 void LST_insert_head (tListNode * listHead, tListNode * node);
37 void LST_insert_tail (tListNode * listHead, tListNode * node);
39 void LST_remove_node (tListNode * node);
41 void LST_remove_head (tListNode * listHead, tListNode ** node );
43 void LST_remove_tail (tListNode * listHead, tListNode ** node );
45 void LST_insert_node_after (tListNode * node, tListNode * ref_node);
47 void LST_insert_node_before (tListNode * node, tListNode * ref_node);
51 void LST_get_next_node (tListNode * ref_node, tListNode ** node);
53 void LST_get_prev_node (tListNode * ref_node, tListNode ** node);
/btstack/test/security_manager_sc/
H A Dsm_test.py154 nodes_by_fd = { node.get_stdout_fd():node for node in nodes}
158 node = nodes_by_fd[fd]
159 node.read_stdout()
160 if node.got_line():
161 line = node.fetch_line()
163 print('%s: %s' % (node.get_name(), line))
166 node.set_packet_log(path)
167 print('%s log %s' % (node.get_name(), path))
170 node.set_bd_addr(addr)
171 print('%s started' % node.get_name())
[all …]
/btstack/3rd-party/lwip/core/src/apps/snmp/
H A Dsnmp_mib2_ip.c52 …_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_lo…
67 switch (instance->node->oid) { in ip_get_value()
139 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("ip_get_value(): unknown id: %"S32_F"\n", instance->node->oid)); in ip_get_value()
163 switch (instance->node->oid) { in ip_set_test()
182 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("ip_set_test(): unknown id: %"S32_F"\n", instance->node->oid)); in ip_set_test()
679 &SYNC_NODE_NAME(ip_Forwarding).node.node,
680 &SYNC_NODE_NAME(ip_DefaultTTL).node.node,
681 &SYNC_NODE_NAME(ip_InReceives).node.node,
682 &SYNC_NODE_NAME(ip_InHdrErrors).node.node,
683 &SYNC_NODE_NAME(ip_InAddrErrors).node.node,
[all …]
H A Dsnmp_mib2_tcp.c53 …_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_lo…
67 switch (instance->node->oid) { in tcp_get_value()
139 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("tcp_get_value(): unknown id: %"S32_F"\n", instance->node->oid)); in tcp_get_value()
581 &SYNC_NODE_NAME(tcp_RtoAlgorithm).node.node,
582 &SYNC_NODE_NAME(tcp_RtoMin).node.node,
583 &SYNC_NODE_NAME(tcp_RtoMax).node.node,
584 &SYNC_NODE_NAME(tcp_MaxConn).node.node,
585 &SYNC_NODE_NAME(tcp_ActiveOpens).node.node,
586 &SYNC_NODE_NAME(tcp_PassiveOpens).node.node,
587 &SYNC_NODE_NAME(tcp_AttemptFails).node.node,
[all …]
H A Dsnmp_mib2.c91 &snmp_mib2_system_node.node.node,
92 &snmp_mib2_interface_root.node,
94 &snmp_mib2_at_root.node,
97 &snmp_mib2_ip_root.node,
100 &snmp_mib2_icmp_root.node.node,
103 &snmp_mib2_tcp_root.node,
106 &snmp_mib2_udp_root.node,
108 &snmp_mib2_snmp_root.node.node
114 const struct snmp_mib mib2 = SNMP_MIB_CREATE(mib2_base_oid_arr, &mib2_root.node);
H A Dsnmp_mib2_udp.c52 …_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_lo…
65 switch (instance->node->oid) { in udp_get_value()
93 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("udp_get_value(): unknown id: %"S32_F"\n", instance->node->oid)); in udp_get_value()
356 &SYNC_NODE_NAME(udp_inDatagrams).node.node,
357 &SYNC_NODE_NAME(udp_noPorts).node.node,
358 &SYNC_NODE_NAME(udp_inErrors).node.node,
359 &SYNC_NODE_NAME(udp_outDatagrams).node.node,
361 &SYNC_NODE_NAME(udp_Table).node.node,
363 &SYNC_NODE_NAME(udp_endpointTable).node.node
366 &SYNC_NODE_NAME(udp_HCInDatagrams).node.node,
[all …]
H A Dsnmp_snmpv2_framework.c43 static s16_t snmpengine_scalars_get_value(const struct snmp_scalar_array_node_def *node, void *valu… in snmpengine_scalars_get_value() argument
48 switch (node->oid) { in snmpengine_scalars_get_value()
63 …LWIP_DEBUGF(SNMP_MIB_DEBUG, ("snmpengine_scalars_get_value(): unknown id: %"S32_F"\n", node->oid)); in snmpengine_scalars_get_value()
77 &snmpengine_scalars.node.node
83 &snmpframeworkmibobjects_treenode.node
87 …snmpframeworkmib_base_oid, LWIP_ARRAYSIZE(snmpframeworkmib_base_oid), &snmpframeworkmib_root.node};
H A Dsnmp_core.c786 node_instance->node = mn; in snmp_get_node_instance_from_oid()
849 node_instance->node = mn; in snmp_get_next_node_instance_from_oid()
905 node_instance->node = mn; in snmp_get_next_node_instance_from_oid()
985 const struct snmp_node *const *node = &mib->root_node; in snmp_mib_tree_resolve_exact() local
988 while ((oid_offset < oid_len) && ((*node)->node_type == SNMP_NODE_TREE)) { in snmp_mib_tree_resolve_exact()
992 u32_t i = (*(const struct snmp_tree_node * const *)node)->subnode_count; in snmp_mib_tree_resolve_exact()
993 node = (*(const struct snmp_tree_node * const *)node)->subnodes; in snmp_mib_tree_resolve_exact()
994 while ((i > 0) && ((*node)->oid != subnode_oid)) { in snmp_mib_tree_resolve_exact()
995 node++; in snmp_mib_tree_resolve_exact()
1007 if ((*node)->node_type != SNMP_NODE_TREE) { in snmp_mib_tree_resolve_exact()
[all …]
H A Dsnmp_mib2_system.c51 …_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_lo…
230 system_get_value(const struct snmp_scalar_array_node_def *node, void *value) in system_get_value() argument
236 switch (node->oid) { in system_get_value()
265 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("system_get_value(): unknown id: %"S32_F"\n", node->oid)); in system_get_value()
281 system_set_test(const struct snmp_scalar_array_node_def *node, u16_t len, void *value) in system_set_test() argument
289 switch (node->oid) { in system_set_test()
303 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("system_set_test(): unknown id: %"S32_F"\n", node->oid)); in system_set_test()
327 system_set_value(const struct snmp_scalar_array_node_def *node, u16_t len, void *value) in system_set_value() argument
332 switch (node->oid) { in system_set_value()
346 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("system_set_value(): unknown id: %"S32_F"\n", node->oid)); in system_set_value()
H A Dsnmp_mib2_snmp.c49 snmp_get_value(const struct snmp_scalar_array_node_def *node, void *value) in snmp_get_value() argument
52 switch (node->oid) { in snmp_get_value()
148 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("snmp_get_value(): unknown id: %"S32_F"\n", node->oid)); in snmp_get_value()
156 snmp_set_test(const struct snmp_scalar_array_node_def *node, u16_t len, void *value) in snmp_set_test() argument
161 if (node->oid == 30) { in snmp_set_test()
174 snmp_set_value(const struct snmp_scalar_array_node_def *node, u16_t len, void *value) in snmp_set_value() argument
178 if (node->oid == 30) { in snmp_set_value()
H A Dsnmp_snmpv2_usm.c331 static s16_t usmstats_scalars_get_value(const struct snmp_scalar_array_node_def *node, void *value) in usmstats_scalars_get_value() argument
334 switch (node->oid) { in usmstats_scalars_get_value()
354 … LWIP_DEBUGF(SNMP_MIB_DEBUG, ("usmstats_scalars_get_value(): unknown id: %"S32_F"\n", node->oid)); in usmstats_scalars_get_value()
381 &usmusertable.node.node
397 &usmstats_scalars.node.node,
398 &usmuser_treenode.node
404 &usmmibobjects_treenode.node
408 …mib snmpusmmib = {snmpusmmib_base_oid, LWIP_ARRAYSIZE(snmpusmmib_base_oid), &snmpusmmib_root.node};
H A Dsnmp_threadsync.c154 …mp_leaf_node *leaf = (const struct snmp_leaf_node *)(const void *)call_data->proxy_instance.node; in get_instance_synced()
165 …mp_leaf_node *leaf = (const struct snmp_leaf_node *)(const void *)call_data->proxy_instance.node; in get_next_instance_synced()
175 …readsync_node *threadsync_node = (const struct snmp_threadsync_node *)(const void *)instance->node; in do_sync()
178 if (threadsync_node->node.node.oid != threadsync_node->target->node.oid) { in do_sync()
188 call_data->proxy_instance.node = &threadsync_node->target->node; in do_sync()
H A Dsnmp_scalar.c52 …ruct snmp_scalar_node *scalar_node = (const struct snmp_scalar_node *)(const void *)instance->node; in snmp_scalar_get_instance()
92 …calar_array_node *array_node = (const struct snmp_scalar_array_node *)(const void *)instance->node; in snmp_scalar_array_get_instance()
123 …calar_array_node *array_node = (const struct snmp_scalar_array_node *)(const void *)instance->node; in snmp_scalar_array_get_next_instance()
197 …calar_array_node *array_node = (const struct snmp_scalar_array_node *)(const void *)instance->node; in snmp_scalar_array_get_value()
210 …calar_array_node *array_node = (const struct snmp_scalar_array_node *)(const void *)instance->node; in snmp_scalar_array_set_test()
223 …calar_array_node *array_node = (const struct snmp_scalar_array_node *)(const void *)instance->node; in snmp_scalar_array_set_value()
H A Dsnmp_mib2_icmp.c50 …_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_lo…
59 icmp_get_value(const struct snmp_scalar_array_node_def *node, void *value) in icmp_get_value() argument
63 switch (node->oid) { in icmp_get_value()
143 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("icmp_get_value(): unknown id: %"S32_F"\n", node->oid)); in icmp_get_value()
H A Dsnmp_mib2_interfaces.c52 …_node node_name ## _synced = SNMP_CREATE_THREAD_SYNC_NODE(oid, &node_name.node, &snmp_mib2_lwip_lo…
64 if (instance->node->oid == 1) { in interfaces_get_value()
362 &SYNC_NODE_NAME(interfaces_Number).node.node,
363 &SYNC_NODE_NAME(interfaces_Table).node.node
H A Dsnmp_table.c49 … struct snmp_table_node *table_node = (const struct snmp_table_node *)(const void *)instance->node; in snmp_table_get_instance()
90 … struct snmp_table_node *table_node = (const struct snmp_table_node *)(const void *)instance->node; in snmp_table_get_next_instance()
167 …able_simple_node *table_node = (const struct snmp_table_simple_node *)(const void *)instance->node; in snmp_table_simple_get_instance()
229 …able_simple_node *table_node = (const struct snmp_table_simple_node *)(const void *)instance->node; in snmp_table_simple_get_next_instance()
/btstack/test/btstack_memory/
H A Dbtstack_memory_pool_test.cpp78 test_pdu_t * node = (test_pdu_t *) btstack_memory_pool_get(&pdu_pool); in TEST() local
79 CHECK(node == NULL); in TEST()
85 test_pdu_t * node; in TEST() local
87 node = (test_pdu_t *) btstack_memory_pool_get(&pdu_pool); in TEST()
88 CHECK(node != NULL); in TEST()
89 CHECK(node->value == 2); in TEST()
91 node = (test_pdu_t *) btstack_memory_pool_get(&pdu_pool); in TEST()
92 CHECK(node != NULL); in TEST()
93 CHECK(node->value == 1); in TEST()
95 node = (test_pdu_t *) btstack_memory_pool_get(&pdu_pool); in TEST()
[all …]
/btstack/src/
H A Dbtstack_memory_pool.c54 typedef struct node { struct
55 struct node * next; argument
77 node_t *node = free_blocks->next; in btstack_memory_pool_get() local
78 free_blocks->next = node->next; in btstack_memory_pool_get()
80 return (void*) node; in btstack_memory_pool_get()
85 node_t *node = (node_t*) block; in btstack_memory_pool_free() local
90 btstack_assert(it != node); in btstack_memory_pool_free()
94 node->next = free_blocks->next; in btstack_memory_pool_free()
95 free_blocks->next = node; in btstack_memory_pool_free()
/btstack/port/freebsd-netgraph/
H A DREADME.md4 This port assumes that FreeBSD provides an ng_hci netgraph node for a connected Bluetooth Controlle…
10 In FreeBSD 13.2, the hci node is connected to a l2cap node and a btsock_hci_raw node. In order to t…
11 port create a custom netgraph ng_socket node and connect to the 'acl' and 'raw' hooks of the hci no…
32 As the port needs to reconfigure the Bluetooth netgraph node, it needs to run with root privileges.
33 …o 'ubt0hci' by default. If your Bluetooth Controller is different, you can select it with '-u node'
43 - auto-detect ng_hci node
/btstack/test/mesh/
H A Dsimulator.py307 nodes_by_fd = { node.get_master():node for node in nodes}
323 node = nodes_by_fd[fd]
325 node.parse(c)
/btstack/3rd-party/lwip/core/src/include/lwip/apps/
H A Dsnmp_scalar.h54 struct snmp_leaf_node node; member
90 struct snmp_leaf_node node; member
H A Dsnmp_table.h62 struct snmp_leaf_node node; member
108 struct snmp_leaf_node node; member
H A Dsnmp_core.h200 const struct snmp_node* node; member
229 struct snmp_node node; member
246 struct snmp_node node; member
/btstack/chipset/realtek/
H A Dbtstack_chipset_realtek.c585 static void insert_queue_sort(btstack_linked_list_t * list, struct patch_node *node) in insert_queue_sort() argument
588 btstack_assert(node != NULL); in insert_queue_sort()
595 if(next->pri >= node->pri) { in insert_queue_sort()
599 node->item.next = it->next; in insert_queue_sort()
600 it->next = (btstack_linked_item_t *) node; in insert_queue_sort()

12