Home
last modified time | relevance | path

Searched refs:iface_states (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/subsys/net/conn_mgr/
Dconn_mgr_monitor.c35 uint16_t iface_states[CONN_MGR_IFACE_MAX]; variable
81 iface_states[idx] &= ~CONN_MGR_IF_READY; in conn_mgr_mon_set_ready()
84 iface_states[idx] |= CONN_MGR_IF_READY; in conn_mgr_mon_set_ready()
109 for (idx = 0; idx < ARRAY_SIZE(iface_states); idx++) { in conn_mgr_mon_handle_update()
110 if (iface_states[idx] == 0) { in conn_mgr_mon_handle_update()
115 if (!(iface_states[idx] & CONN_MGR_IF_CHANGED)) { in conn_mgr_mon_handle_update()
121 iface_states[idx] &= ~CONN_MGR_IF_CHANGED; in conn_mgr_mon_handle_update()
124 was_l4_ready = iface_states[idx] & CONN_MGR_IF_READY; in conn_mgr_mon_handle_update()
125 is_ipv6_ready = iface_states[idx] & CONN_MGR_IF_IPV6_SET; in conn_mgr_mon_handle_update()
126 is_ipv4_ready = iface_states[idx] & CONN_MGR_IF_IPV4_SET; in conn_mgr_mon_handle_update()
[all …]
Devents_handler.c15 extern uint16_t iface_states[CONN_MGR_IFACE_MAX];
42 iface_states[idx] &= ~CONN_MGR_IF_UP; in conn_mgr_iface_events_handler()
45 iface_states[idx] |= CONN_MGR_IF_UP; in conn_mgr_iface_events_handler()
51 iface_states[idx] |= CONN_MGR_IF_CHANGED; in conn_mgr_iface_events_handler()
83 iface_states[idx] |= CONN_MGR_IF_IPV6_SET; in conn_mgr_ipv6_events_handler()
90 iface_states[idx] &= ~CONN_MGR_IF_IPV6_SET; in conn_mgr_ipv6_events_handler()
98 iface_states[idx] |= CONN_MGR_IF_CHANGED; in conn_mgr_ipv6_events_handler()
138 iface_states[idx] |= CONN_MGR_IF_IPV4_SET; in conn_mgr_ipv4_events_handler()
145 iface_states[idx] &= ~CONN_MGR_IF_IPV4_SET; in conn_mgr_ipv4_events_handler()
151 iface_states[idx] |= CONN_MGR_IF_CHANGED; in conn_mgr_ipv4_events_handler()