Home
last modified time | relevance | path

Searched refs:net_if_flag_is_set (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/subsys/net/lib/shell/
Diface.c106 if (net_if_flag_is_set(iface, NET_IF_POINTOPOINT)) { in iface_flags2str()
111 if (net_if_flag_is_set(iface, NET_IF_PROMISC)) { in iface_flags2str()
116 if (net_if_flag_is_set(iface, NET_IF_NO_AUTO_START)) { in iface_flags2str()
124 if (net_if_flag_is_set(iface, NET_IF_FORWARD_MULTICASTS)) { in iface_flags2str()
129 if (net_if_flag_is_set(iface, NET_IF_IPV4)) { in iface_flags2str()
134 if (net_if_flag_is_set(iface, NET_IF_IPV6)) { in iface_flags2str()
139 if (net_if_flag_is_set(iface, NET_IF_IPV6_NO_ND)) { in iface_flags2str()
144 if (net_if_flag_is_set(iface, NET_IF_IPV6_NO_MLD)) { in iface_flags2str()
351 if (!net_if_flag_is_set(iface, NET_IF_IPV6) || ipv6 == NULL) { in iface_cb()
450 if (net_if_flag_is_set(iface, NET_IF_IPV6)) { in iface_cb()
[all …]
/Zephyr-latest/samples/boards/nxp/s32/netc/src/
Dmain.c29 if (IS_ENABLED(CONFIG_NET_IPV6) && net_if_flag_is_set(iface, NET_IF_IPV6)) { in setup_iface()
43 if (IS_ENABLED(CONFIG_NET_IPV4) && net_if_flag_is_set(iface, NET_IF_IPV4)) { in setup_iface()
/Zephyr-latest/subsys/net/lib/config/
Dinit.c352 net_if_flag_is_set(iface, NET_IF_IPV6_NO_ND)) { in setup_ipv6()
423 if (net_if_flag_is_set(iface, NET_IF_NO_AUTO_START)) { in net_config_init_by_iface()
494 !net_if_flag_is_set(iface, NET_IF_NO_AUTO_START)) { in iface_find_cb()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h753 static inline bool net_if_flag_is_set(struct net_if *iface,
760 if (net_if_flag_is_set(iface, NET_IF_NO_TX_LOCK)) { in net_if_tx_lock()
771 if (net_if_flag_is_set(iface, NET_IF_NO_TX_LOCK)) { in net_if_tx_unlock()
856 static inline bool net_if_flag_is_set(struct net_if *iface, in net_if_flag_is_set() function
1193 if (net_if_flag_is_set(iface, NET_IF_RUNNING)) { in net_if_set_link_addr_unlocked()
2872 return net_if_flag_is_set(iface, NET_IF_UP) && in net_if_is_up()
2873 net_if_flag_is_set(iface, NET_IF_RUNNING); in net_if_is_up()
2898 return net_if_flag_is_set(iface, NET_IF_UP); in net_if_is_admin_up()
2934 return net_if_flag_is_set(iface, NET_IF_LOWER_UP); in net_if_is_carrier_ok()
2972 return net_if_flag_is_set(iface, NET_IF_DORMANT); in net_if_is_dormant()
/Zephyr-latest/subsys/net/ip/
Dipv4_autoconf.c110 if (!net_if_flag_is_set(iface, NET_IF_IPV4)) { in net_ipv4_autoconf_start()
Dnet_if.c253 if (net_if_flag_is_set(iface, NET_IF_LOWER_UP)) { in net_if_tx()
460 if (!net_if_flag_is_set(iface, NET_IF_LOWER_UP) || in net_if_send_data()
461 net_if_flag_is_set(iface, NET_IF_SUSPENDED)) { in net_if_send_data()
494 if (!net_if_flag_is_set(iface, NET_IF_POINTOPOINT) && in net_if_send_data()
663 if (net_if_flag_is_set(iface, NET_IF_UP)) { in net_if_get_first_up()
1048 if (!net_if_flag_is_set(iface, NET_IF_IPV6)) { in net_if_config_ipv6_get()
1095 if (!net_if_flag_is_set(iface, NET_IF_IPV6)) { in net_if_config_ipv6_put()
1526 if (net_if_flag_is_set(iface, NET_IF_IPV6_NO_ND)) { in net_if_start_rs()
1593 if (net_if_flag_is_set(iface, NET_IF_IPV6_NO_ND)) { in net_if_nbr_reachability_hint()
1618 if (!net_if_flag_is_set(iface, NET_IF_IPV6) || in rejoin_ipv6_mcast_groups()
[all …]
Dipv6_mld.c230 if (net_if_flag_is_set(iface, NET_IF_IPV6_NO_MLD)) { in net_ipv6_mld_join()
268 if (net_if_flag_is_set(iface, NET_IF_IPV6_NO_MLD)) { in net_ipv6_mld_leave()
Droute.c745 if (!net_if_flag_is_set(iface, NET_IF_FORWARD_MULTICASTS)) { in net_route_mcast_iface_add()
793 if (!iface->config.ip.ipv6 || net_if_flag_is_set(iface, NET_IF_IPV6_NO_MLD) || in send_mld_event()
838 !net_if_flag_is_set(route->ifaces[i], NET_IF_FORWARD_MULTICASTS)) { in net_route_mcast_forward_packet()
894 if ((!net_if_flag_is_set(iface, NET_IF_FORWARD_MULTICASTS)) || in net_route_mcast_add()
Dnet_core.c507 if (!net_if_flag_is_set(iface, NET_IF_UP)) { in net_recv_data()
Dipv6_nbr.c873 net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_POINTOPOINT) || in net_ipv6_prepare_for_send()
874 net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in net_ipv6_prepare_for_send()
1232 if (net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in handle_ns_input()
1851 if (net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in handle_na_input()
2558 if (net_if_flag_is_set(net_pkt_iface(pkt), NET_IF_IPV6_NO_ND)) { in handle_ra_input()
Dipv6.c356 !net_if_flag_is_set(net_pkt_orig_iface(pkt), NET_IF_IPV6_NO_ND)) { in ipv6_route_packet()
Dnet_context.c1980 if (!net_if_flag_is_set(iface, NET_IF_IPV6)) { in get_context_mcast_ifindex()
1984 if (!net_if_flag_is_set(iface, NET_IF_IPV4)) { in get_context_mcast_ifindex()
3480 if (!net_if_flag_is_set(iface, NET_IF_IPV6)) { in set_context_mcast_ifindex()
3484 if (!net_if_flag_is_set(iface, NET_IF_IPV4)) { in set_context_mcast_ifindex()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c277 if (net_if_flag_is_set(iface, NET_IF_IPV4) && in smp_udp_open_iface()
284 if (net_if_flag_is_set(iface, NET_IF_IPV6) && in smp_udp_open_iface()
/Zephyr-latest/samples/net/virtual/src/
Dmain.c238 net_if_flag_is_set(iface, NET_IF_IPV6)) { in setup_iface()
289 net_if_flag_is_set(iface, NET_IF_IPV4)) { in setup_iface()
/Zephyr-latest/drivers/ethernet/
Deth_litex_liteeth.c125 if (!net_if_flag_is_set(context->iface, NET_IF_UP)) { in eth_rx()
Deth_xlnx_gem.c367 (!net_if_flag_is_set(dev_data->iface, NET_IF_UP))) { in eth_xlnx_gem_send()
/Zephyr-latest/subsys/net/l2/virtual/
Dvirtual.c270 if (up && !net_if_flag_is_set(virtual_iface, in net_virtual_interface_attach()
/Zephyr-latest/subsys/net/l2/ethernet/lldp/
Dlldp.c327 if (net_if_flag_is_set(iface, NET_IF_UP)) { in iface_cb()
/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge.c366 if (!net_if_flag_is_set(ctx->eth_iface[i], NET_IF_UP)) { in bridge_iface_process()
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp.c519 if (net_if_flag_is_set(GPTP_PORT_IFACE(port), NET_IF_UP)) { in gptp_state_machine()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.c342 if ((airoc_wifi_iface != NULL) && net_if_flag_is_set(airoc_wifi_iface, NET_IF_UP)) { in airoc_wifi_network_process_ethernet_data()
/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac.c884 (!net_if_flag_is_set(data->iface, NET_IF_UP))) { in eth_dwc_xgmac_isr()
1383 (!net_if_flag_is_set(dev_data->iface, NET_IF_UP))) { in eth_dwc_xgmac_send()