Home
last modified time | relevance | path

Searched refs:openthread_context (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/l2/openthread/
Dopenthread_utils.h22 void add_ipv6_addr_to_zephyr(struct openthread_context *context);
23 void add_ipv6_addr_to_ot(struct openthread_context *context,
25 void add_ipv6_maddr_to_ot(struct openthread_context *context,
27 void add_ipv6_maddr_to_zephyr(struct openthread_context *context);
28 void rm_ipv6_addr_from_zephyr(struct openthread_context *context);
29 void rm_ipv6_maddr_from_zephyr(struct openthread_context *context);
31 int pkt_list_add(struct openthread_context *context, struct net_pkt *pkt);
32 struct net_pkt *pkt_list_peek(struct openthread_context *context);
33 void pkt_list_remove_last(struct openthread_context *context);
34 void pkt_list_remove_first(struct openthread_context *context);
[all …]
Dopenthread.c116 struct openthread_context *ot_context = openthread_get_default_context(); in openthread_thread_id_get()
132 struct openthread_context *ot_context = net_if_l2_data(iface); in ipv6_addr_event_handler()
171 struct openthread_context *ot_context = openthread_get_default_context(); in otTaskletsSignalPending()
186 struct openthread_context *ot_context = context; in ot_state_changed_handler()
251 struct openthread_context *ot_context = context; in ot_receive_handler()
324 struct openthread_context *ot_context = context; in ot_joiner_start_handler()
339 struct openthread_context *ot_context in openthread_process()
340 = CONTAINER_OF(work, struct openthread_context, api_work); in openthread_process()
368 struct openthread_context *ot_context = net_if_l2_data(iface); in openthread_recv()
416 int openthread_start(struct openthread_context *ot_context) in openthread_start()
[all …]
Dopenthread_utils.c29 static bool is_mesh_local(struct openthread_context *context, in is_mesh_local()
38 int pkt_list_add(struct openthread_context *context, struct net_pkt *pkt) in pkt_list_add()
61 void pkt_list_remove_first(struct openthread_context *context) in pkt_list_remove_first()
77 struct net_pkt *pkt_list_peek(struct openthread_context *context) in pkt_list_peek()
87 void pkt_list_remove_last(struct openthread_context *context) in pkt_list_remove_last()
103 void add_ipv6_addr_to_zephyr(struct openthread_context *context) in add_ipv6_addr_to_zephyr()
160 void add_ipv6_addr_to_ot(struct openthread_context *context, in add_ipv6_addr_to_ot()
224 void add_ipv6_maddr_to_ot(struct openthread_context *context, in add_ipv6_maddr_to_ot()
243 void add_ipv6_maddr_to_zephyr(struct openthread_context *context) in add_ipv6_maddr_to_zephyr()
281 void rm_ipv6_addr_from_zephyr(struct openthread_context *context) in rm_ipv6_addr_from_zephyr()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/net/
Dopenthread.h46 struct openthread_context { struct
100 void (*state_changed_cb)(otChangedFlags flags, struct openthread_context *ot_context,
120 int openthread_state_changed_cb_register(struct openthread_context *ot_context,
129 int openthread_state_changed_cb_unregister(struct openthread_context *ot_context,
143 struct openthread_context *openthread_get_default_context(void);
162 int openthread_start(struct openthread_context *ot_context);
173 void openthread_api_mutex_lock(struct openthread_context *ot_context);
186 int openthread_api_mutex_try_lock(struct openthread_context *ot_context);
193 void openthread_api_mutex_unlock(struct openthread_context *ot_context);
197 #define OPENTHREAD_L2_CTX_TYPE struct openthread_context