/Zephyr-latest/tests/net/ieee802154/custom_l2/src/ |
D | main.c | 78 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST() 79 zassert_not_null(net_if_l2(iface)->send, "No send() found"); in ZTEST() 102 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST() 103 zassert_not_null(net_if_l2(iface)->recv, "No recv () found"); in ZTEST() 125 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST() 126 zassert_not_null(net_if_l2(iface)->enable, "No enable() found"); in ZTEST() 142 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST() 143 zassert_not_null(net_if_l2(iface)->get_flags, "No get_flags() found"); in ZTEST() 145 flags = net_if_l2(iface)->get_flags(iface); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | net_shell.c | 136 if (net_if_l2(iface) == &NET_L2_GET_NAME(IEEE802154)) { in iface2str() 146 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface2str() 166 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface2str() 176 if (net_if_l2(iface) == &NET_L2_GET_NAME(PPP)) { in iface2str() 186 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in iface2str() 196 if (net_if_l2(iface) == &NET_L2_GET_NAME(OPENTHREAD)) { in iface2str() 216 if (net_if_l2(iface) == &NET_L2_GET_NAME(CANBUS_RAW)) { in iface2str()
|
D | vlan.c | 53 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_vlan_cb() 132 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in cmd_net_vlan_add()
|
D | iface.c | 239 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb() 278 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface_cb() 316 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb() 331 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface_cb() 479 (net_if_l2(iface) == &NET_L2_GET_NAME(IEEE802154)) || in iface_cb() 594 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in cmd_net_set_mac()
|
D | ppp.c | 151 if (net_if_l2(iface) != &NET_L2_GET_NAME(PPP)) { in set_iface_ppp_index_buffer() 173 if (net_if_l2(iface) != &NET_L2_GET_NAME(PPP)) { in set_iface_ppp_index_help()
|
/Zephyr-latest/samples/net/virtual/src/ |
D | main.c | 191 if ((net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) && in iface_cb() 192 (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL))) { in iface_cb() 196 if (!ud->ethernet && net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface_cb() 201 if (!ud->ipip && net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL) && in iface_cb() 207 if (!ud->my_iface && net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL) && in iface_cb() 213 if (!ud->ip_tunnel_1 && net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb() 218 if (!ud->ip_tunnel_2 && net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|
/Zephyr-latest/subsys/net/l2/dummy/any/ |
D | any.c | 61 if (net_if_l2(ctx->virtual_iface)->recv == NULL) { in any_recv() 68 verdict = net_if_l2(ctx->virtual_iface)->recv(iface, pkt); in any_recv()
|
/Zephyr-latest/subsys/net/l2/virtual/ |
D | virtual.c | 135 if (net_if_l2(ctx->iface) != in virtual_enable() 322 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_virtual_get_iface() 339 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_virtual_get_name() 359 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_virtual_set_name() 379 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_virtual_set_flags() 396 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_virtual_init()
|
/Zephyr-latest/subsys/net/ip/ |
D | canbus_socket.c | 25 if (net_if_l2(net_pkt_iface(pkt)) == &NET_L2_GET_NAME(CANBUS_RAW)) { in net_canbus_socket_input()
|
D | net_core.c | 234 if (net_if_l2(net_pkt_iface(pkt)) == &NET_L2_GET_NAME(DUMMY)) { in check_ip() 307 if (net_if_l2(net_pkt_iface(pkt)) == &NET_L2_GET_NAME(DUMMY)) { in check_ip() 447 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in net_rx()
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | vlan.c | 25 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET) && ud->eth == NULL) { in iface_cb() 30 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge.c | 55 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb() 97 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET) || in eth_bridge_iface_add() 102 if (net_if_l2(br) != &NET_L2_GET_NAME(VIRTUAL) || in eth_bridge_iface_add() 174 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in eth_bridge_iface_remove() 178 if (net_if_l2(br) != &NET_L2_GET_NAME(VIRTUAL) || in eth_bridge_iface_remove()
|
D | ethernet_stats.c | 29 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in eth_stats_get()
|
D | vlan.c | 181 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in get_vlan() 188 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in get_vlan() 342 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_eth_is_vlan_interface() 394 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in net_eth_vlan_enable() 471 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET) && in net_eth_vlan_disable() 472 net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in net_eth_vlan_disable()
|
D | ethernet.c | 204 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in ethernet_mcast_monitor_cb() 297 if (net_if_l2(net_pkt_iface(pkt)) == NULL) { in ethernet_recv() 305 if (net_if_l2(net_pkt_iface(pkt))->recv != NULL) { in ethernet_recv() 306 verdict = net_if_l2(net_pkt_iface(pkt))->recv(iface, pkt); in ethernet_recv() 526 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in get_reserve_ll_header_size() 532 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in get_reserve_ll_header_size() 951 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in net_eth_get_phy() 972 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in net_eth_get_ptp_clock()
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | ppp_stats.c | 29 if (net_if_l2(iface) != &NET_L2_GET_NAME(PPP)) { in ppp_stats_get()
|
/Zephyr-latest/subsys/net/l2/ethernet/dsa/ |
D | dsa.c | 38 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in dsa_is_port_master() 61 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in dsa_check_iface()
|
/Zephyr-latest/tests/net/promiscuous/src/ |
D | main.c | 158 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface2str() 162 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in iface2str() 177 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface_cb()
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 337 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface2str() 343 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in iface2str() 359 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface_cb() 373 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb() 380 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in iface_cb() 728 zassert_equal(net_if_l2(iface), &NET_L2_GET_NAME(DUMMY), in test_vlan_enable_all() 767 zassert_equal(net_if_l2(iface), &NET_L2_GET_NAME(DUMMY), in test_vlan_disable_all()
|
/Zephyr-latest/samples/net/sockets/echo_client/src/ |
D | vlan.c | 24 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|
/Zephyr-latest/samples/net/dsa/src/ |
D | main.c | 18 if (net_if_l2(iface) != &NET_L2_GET_NAME(ETHERNET)) { in iface_cb()
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 281 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface2str() 285 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in iface2str() 289 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface2str() 312 (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL))) { in iface_cb() 319 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET)) { in iface_cb() 336 if (net_if_l2(iface) == &NET_L2_GET_NAME(DUMMY)) { in iface_cb() 343 if (net_if_l2(iface) == &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|
/Zephyr-latest/samples/net/mdns_responder/src/ |
D | vlan.c | 24 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|
/Zephyr-latest/samples/net/sockets/txtime/src/ |
D | vlan.c | 24 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|
/Zephyr-latest/samples/net/vlan/src/ |
D | main.c | 27 if (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL)) { in iface_cb()
|