Home
last modified time | relevance | path

Searched refs:is_used (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/subsys/net/ip/
Dnet_if.c720 if (!routers[i].is_used || in iface_router_lookup()
833 router->is_used = false; in iface_router_expired()
852 if (routers[i].is_used) { in iface_router_add()
856 routers[i].is_used = true; in iface_router_add()
920 if (!router->is_used) { in iface_router_rm()
931 router->is_used = false; in iface_router_rm()
944 router->is_used = false; in net_if_router_rm()
963 if (!routers[i].is_used || in iface_router_find_default()
1186 if (!ipv6->mcast[i].is_used || in leave_mcast_all()
1373 if (!ipv6->unicast[i].is_used || in net_if_start_dad()
[all …]
Digmp.c114 if (!mcast[i].is_used || !mcast[i].is_joined || in igmp_v3_create()
143 if (!mcast[i].is_used || !mcast[i].is_joined || in igmp_v3_create()
282 if (!ipv4->mcast[i].is_used || !ipv4->mcast[i].is_joined || in send_igmp_report()
302 if (!ipv4->mcast[i].is_used || !ipv4->mcast[i].is_joined || in send_igmp_report()
363 if (!ipv4->mcast[i].is_used || !ipv4->mcast[i].is_joined || in send_igmp_v3_report()
Droute.c831 if (!route->is_used || in net_route_mcast_forward_packet()
872 if (route->is_used) { in net_route_mcast_foreach()
903 if (!route->is_used) { in net_route_mcast_add()
912 route->is_used = true; in net_route_mcast_add()
932 NET_ASSERT(route->is_used, in net_route_mcast_del()
938 route->is_used = false; in net_route_mcast_del()
947 if (!route->is_used) { in net_route_mcast_lookup()
Dipv6_mld.c164 if (!mcasts[i].is_used || !mcasts[i].is_joined) { in append_mcast_routes()
296 if (!ipv6->mcast[i].is_used || !ipv6->mcast[i].is_joined) { in send_mld_report()
326 if (!ipv6->mcast[i].is_used || !ipv6->mcast[i].is_joined) { in send_mld_report()
Dipv6_pe.c140 if (!ipv6->unicast[i].is_used || in ipv6_pe_prefix_already_exists()
164 if (ipv6->unicast[i].is_used && in ipv6_pe_prefix_remove()
186 if (!(ipv6->unicast[i].is_used && in ipv6_pe_prefix_update_lifetimes()
453 if (!ipv6->unicast[i].is_used || in iface_cb()
691 if (!ipv6->unicast[i].is_used || in renewal_cb()
Droute.h204 bool is_used; member
D6lo.c30 uint8_t is_used : 1; member
164 ctx_6co[index].is_used = true; in set_6lo_context()
185 if (!ctx_6co[i].is_used) { in net_6lo_set_context()
194 ctx_6co[i].is_used = false; in net_6lo_set_context()
220 if (!ctx_6co[i].is_used) { in get_6lo_context_by_cid()
239 if (!ctx_6co[i].is_used) { in get_6lo_context_by_addr()
Dipv4_acd.c332 if (!ifaddr->is_used) { in net_ipv4_acd_input()
/Zephyr-latest/subsys/net/l2/ethernet/
Dvlan.c52 bool is_used : 1; /* Is there active config on this context */ member
165 if (vlan_ctx[i] == NULL || !vlan_ctx[i]->is_used) { in get_vlan()
254 ctx->is_used = true; in enable_vlan_iface()
277 ctx->is_used = false; in disable_vlan_iface()
323 if (vlan_ctx[i] == NULL || !vlan_ctx[i]->is_used) { in net_eth_get_vlan_tag()
430 if (vlan_ctx[i] == NULL || vlan_ctx[i]->is_used) { in net_eth_vlan_enable()
520 if (!ctx->is_used) { in vlan_interface_start()
545 if (!ctx->is_used) { in vlan_interface_stop()
Darp.c237 if (ipv4->unicast[i].ipv4.is_used && in if_get_addr()
541 if (ipv4->unicast[i].ipv4.is_used && in notify_all_ipv4_addr()
/Zephyr-latest/subsys/net/lib/shell/
Diface.c361 if (!unicast->is_used) { in iface_cb()
385 if (!mcast->is_used) { in iface_cb()
406 if (!prefix->is_used) { in iface_cb()
500 if (!unicast->is_used) { in iface_cb()
525 if (!mcast->is_used) { in iface_cb()
Dipv4.c38 if (!ipv4->unicast[i].ipv4.is_used || in ip_address_lifetime_cb()
Dipv6.c106 if (!ipv6->unicast[i].is_used || in address_lifetime_cb()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread_utils.c183 if (ipv6->unicast[i].is_used && in add_ipv6_addr_to_ot()
302 if (!zephyr_addr->is_used) { in rm_ipv6_addr_from_zephyr()
350 if (!zephyr_addr->is_used) { in rm_ipv6_maddr_from_zephyr()
/Zephyr-latest/subsys/net/lib/sockets/
Dsocket_dispatcher.c20 bool is_used; member
456 if (dispatcher_context[i].is_used) { in sock_dispatch_create()
483 entry->is_used = true; in sock_dispatch_create()
Dsockets_tls.c132 bool is_used : 1; member
448 if (!tls_contexts[i].is_used) { in tls_alloc()
451 tls->is_used = true; in tls_alloc()
529 if (!tls->is_used) { in tls_release()
545 tls->is_used = false; in tls_release()
/Zephyr-latest/subsys/net/l2/virtual/ipip/
Dipip.c52 bool is_used; member
445 ctx->is_used = false; in interface_attach()
447 ctx->is_used = true; in interface_attach()
663 if (ipip_ctx[i] == NULL || !ipip_ctx[i]->is_used) { in net_ipip_get_virtual_interface()
/Zephyr-latest/subsys/net/lib/config/
Dinit.c75 !if_addr->is_used) { in print_dhcpv4_info()
259 if (ipv6->unicast[i].is_used) { in ipv6_event_handler()
/Zephyr-latest/tests/net/shell/src/
Dmain.c115 if (iface->config.ip.ipv4->unicast[i].ipv4.is_used && in if_get_addr()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c599 if (iface->config.ip.ipv6->unicast[i].is_used) { in ipv6_setup()
605 ifaddr->is_used = true; in ipv6_setup()
651 ifaddr_record->is_used = false; in ipv6_teardown()
2189 if (!ipv6->unicast[i].is_used || in is_pe_address_found()
2219 if (!ipv6->unicast[i].is_used || in get_pe_addresses()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h129 uint8_t is_used : 1; member
163 uint8_t is_used : 1; member
193 uint8_t is_used : 1; member
220 uint8_t is_used : 1; member
/Zephyr-latest/tests/net/arp/src/
Dmain.c157 if (iface->config.ip.ipv4->unicast[i].ipv4.is_used && in if_get_addr()
/Zephyr-latest/tests/net/udp/src/
Dmain.c117 if (iface->config.ip.ipv4->unicast[i].ipv4.is_used && in if_get_addr()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_core.c689 if (ipv4->unicast[i].ipv4.is_used) { in eswifi_mgmt_ap_enable()
/Zephyr-latest/tests/net/ip-addr/src/
Dmain.c800 addr->is_used = false; in clear_addr4()

12