Home
last modified time | relevance | path

Searched refs:net_if_get_device (Results 1 – 25 of 138) sorted by relevance

123456

/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_utils.h27 net_if_get_device(iface)->api; in ieee802154_radio_get_hw_capabilities()
33 return radio->get_capabilities(net_if_get_device(iface)); in ieee802154_radio_get_hw_capabilities()
39 net_if_get_device(iface)->api; in ieee802154_radio_cca()
45 return radio->cca(net_if_get_device(iface)); in ieee802154_radio_cca()
51 net_if_get_device(iface)->api; in ieee802154_radio_set_channel()
57 return radio->set_channel(net_if_get_device(iface), channel); in ieee802154_radio_set_channel()
63 net_if_get_device(iface)->api; in ieee802154_radio_set_tx_power()
69 return radio->set_txpower(net_if_get_device(iface), dbm); in ieee802154_radio_set_tx_power()
76 net_if_get_device(iface)->api; in ieee802154_radio_tx()
82 return radio->tx(net_if_get_device(iface), mode, pkt, buf); in ieee802154_radio_tx()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/
Deth_stats.h21 net_if_get_device(iface)->api; in eth_stats_update_bytes_rx()
28 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_bytes_rx()
40 net_if_get_device(iface)->api; in eth_stats_update_bytes_tx()
47 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_bytes_tx()
58 net_if_get_device(iface)->api; in eth_stats_update_pkts_rx()
65 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_pkts_rx()
76 net_if_get_device(iface)->api; in eth_stats_update_pkts_tx()
83 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_pkts_tx()
94 net_if_get_device(iface)->api; in eth_stats_update_broadcast_rx()
101 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_broadcast_rx()
[all …]
Dethernet_stats.c33 eth = net_if_get_device(iface)->api; in eth_stats_get()
39 src = eth->get_stats(net_if_get_device(iface)); in eth_stats_get()
Dvlan.c138 ctx = net_if_get_device(vctx->virtual_iface)->data; in get_vlan_ctx()
386 const struct ethernet_api *eth = net_if_get_device(iface)->api; in net_eth_vlan_enable()
451 eth->vlan_setup(net_if_get_device(iface), in net_eth_vlan_enable()
485 eth = net_if_get_device(vlan->attached_to)->api; in net_eth_vlan_disable()
496 eth->vlan_setup(net_if_get_device(vlan->attached_to), in net_eth_vlan_disable()
568 struct vlan_context *ctx = net_if_get_device(iface)->data; in vlan_interface_send()
594 struct vlan_context *ctx = net_if_get_device(iface)->data; in vlan_interface_recv()
632 struct vlan_context *ctx = net_if_get_device(vlan_iface)->data; in vlan_interface_attach()
651 struct vlan_context *ctx = net_if_get_device(iface)->data; in vlan_iface_init()
Dbridge.h20 br_ctx = net_if_get_device(ctx->bridge)->data; in net_eth_iface_is_bridged()
Dbridge.c64 ctx = net_if_get_device(iface)->data; in iface_cb()
91 struct eth_bridge_iface_context *ctx = net_if_get_device(br)->data; in eth_bridge_iface_add()
169 struct eth_bridge_iface_context *ctx = net_if_get_device(br)->data; in eth_bridge_iface_remove()
241 struct eth_bridge_iface_context *ctx = net_if_get_device(iface)->data; in bridge_iface_init()
340 struct eth_bridge_iface_context *ctx = net_if_get_device(iface)->data; in bridge_iface_process()
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_stats.h20 net_if_get_device(iface)->api; in ppp_stats_update_bytes_rx()
27 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_rx()
39 net_if_get_device(iface)->api; in ppp_stats_update_bytes_tx()
46 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_tx()
57 net_if_get_device(iface)->api; in ppp_stats_update_pkts_rx()
64 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_pkts_rx()
75 net_if_get_device(iface)->api; in ppp_stats_update_pkts_tx()
82 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_pkts_tx()
93 net_if_get_device(iface)->api); in ppp_stats_update_drop_rx()
100 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_drop_rx()
[all …]
Dppp_stats.c33 ppp = net_if_get_device(iface)->api; in ppp_stats_get()
39 src = ppp->get_stats(net_if_get_device(iface)); in ppp_stats_get()
Dppp_l2.c168 const struct ppp_api *api = net_if_get_device(iface)->api; in ppp_send()
183 ret = net_l2_send(api->send, net_if_get_device(iface), iface, pkt); in ppp_send()
213 const struct ppp_api *ppp = net_if_get_device(iface)->api; in ppp_up()
216 ppp->start(net_if_get_device(iface)); in ppp_up()
270 const struct ppp_api *ppp = net_if_get_device(iface)->api; in ppp_down()
287 ppp->stop(net_if_get_device(iface)); in ppp_down()
/Zephyr-latest/subsys/net/l2/dummy/
Ddummy.c20 const struct dummy_api *api = net_if_get_device(iface)->api; in dummy_recv()
35 const struct dummy_api *api = net_if_get_device(iface)->api; in dummy_send()
42 ret = net_l2_send(api->send, net_if_get_device(iface), iface, pkt); in dummy_send()
54 const struct dummy_api *api = net_if_get_device(iface)->api; in dummy_enable()
62 ret = api->stop(net_if_get_device(iface)); in dummy_enable()
66 ret = api->start(net_if_get_device(iface)); in dummy_enable()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c324 const struct device *dev = net_if_get_device(iface); in get_wifi_api()
342 const struct device *dev = net_if_get_device(iface); in wifi_connect()
414 const struct device *dev = net_if_get_device(iface); in wifi_scan()
439 const struct device *dev = net_if_get_device(iface); in wifi_disconnect()
477 const struct device *dev = net_if_get_device(iface); in wifi_start_roaming()
515 const struct device *dev = net_if_get_device(iface); in wifi_neighbor_rep_complete()
608 const struct device *dev = net_if_get_device(iface); in wifi_ap_enable()
623 const struct device *dev = net_if_get_device(iface); in wifi_ap_disable()
638 const struct device *dev = net_if_get_device(iface); in wifi_ap_sta_disconnect()
662 const struct device *dev = net_if_get_device(iface); in wifi_ap_config_params()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/dsa/
Ddsa.c182 return ctx->dsa_send(net_if_get_device(iface_master), in dsa_tx()
208 const struct device *dev = net_if_get_device(iface); in dsa_switch_read()
218 const struct device *dev = net_if_get_device(iface); in dsa_switch_write()
243 const struct device *dev = net_if_get_device(iface); in dsa_switch_set_mac_table_entry()
265 const struct device *dev = net_if_get_device(iface); in dsa_switch_get_mac_table_entry()
/Zephyr-latest/subsys/net/l2/canbus/
Dcanbus_raw.c33 const struct canbus_api *api = net_if_get_device(iface)->api; in canbus_send()
40 ret = net_l2_send(api->send, net_if_get_device(iface), iface, pkt); in canbus_send()
/Zephyr-latest/subsys/net/l2/virtual/
Dvirtual.c38 api = net_if_get_device(ctx->virtual_iface)->api; in virtual_recv()
79 const struct virtual_interface_api *api = net_if_get_device(iface)->api; in virtual_send()
115 virt = net_if_get_device(iface)->api; in virtual_enable()
148 ret = virt->start(net_if_get_device(iface)); in virtual_enable()
155 ret = virt->stop(net_if_get_device(iface)); in virtual_enable()
208 api = net_if_get_device(virtual_iface)->api; in net_virtual_interface_attach()
Dvirtual_mgmt.c22 const struct device *dev = net_if_get_device(iface); in virtual_interface_set_config()
86 const struct device *dev = net_if_get_device(iface); in virtual_interface_get_config()
/Zephyr-latest/subsys/net/l2/offloaded_netdev/
Doffloaded_netdev.c13 const struct offloaded_if_api *off_if = net_if_get_device(iface)->api; in offloaded_netdev_if_enable()
/Zephyr-latest/include/zephyr/net/
Doffloaded_netdev.h80 net_if_get_device(iface)->api; in net_off_is_wifi_offloaded()
/Zephyr-latest/samples/net/virtual/src/
Dmain.c46 struct virtual_test_context *ctx = net_if_get_device(iface)->data; in virtual_test_iface_init()
123 struct virtual_test_context *ctx = net_if_get_device(iface)->data; in virtual_test_interface_send()
144 struct virtual_test_context *ctx = net_if_get_device(virtual_iface)->data; in virtual_test_interface_attach()
202 net_if_get_device(iface) == device_get_binding(ipip_dev_name)) { in iface_cb()
208 net_if_get_device(iface)->data == &virtual_test_context_data1) { in iface_cb()
/Zephyr-latest/subsys/net/lib/shell/
Dresume.c34 dev = net_if_get_device(iface); in cmd_net_resume()
Dsuspend.c34 dev = net_if_get_device(iface); in cmd_net_suspend()
/Zephyr-latest/subsys/net/lib/capture/
Dcooked.c54 struct cooked_context *ctx = net_if_get_device(iface)->data; in iface_init()
146 struct cooked_context *ctx = net_if_get_device(iface)->data; in interface_recv()
197 ctx = net_if_get_device(iface)->data; in interface_attach()
207 struct cooked_context *ctx = net_if_get_device(iface)->data; in interface_set_config()
247 struct cooked_context *ctx = net_if_get_device(iface)->data; in interface_get_config()
/Zephyr-latest/tests/net/promiscuous/src/
Dmain.c79 const struct device *dev = net_if_get_device(iface); in eth_fake_iface_init()
179 net_if_get_device(iface)->api; in iface_cb()
210 net_if_get_device(iface1)->data)->idx = idx; in test_iface_setup()
214 net_if_get_device(iface2)->data)->idx = idx; in test_iface_setup()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dtunnel.c25 strncmp(net_if_get_device(iface)->name, "IP_TUNNEL0", in is_tunnel()
26 strlen(net_if_get_device(iface)->name)) == 0) { in is_tunnel()
/Zephyr-latest/tests/net/lib/dns_dispatcher/src/
Dmain.c90 uint8_t *mac = net_iface_get_mac(net_if_get_device(iface)); in net_iface_init()
138 ((struct net_if_test *) net_if_get_device(iface1)->data)->idx = in test_init()
/Zephyr-latest/subsys/net/l2/virtual/ipip/
Dipip.c68 struct ipip_context *ctx = net_if_get_device(iface)->data; in iface_init()
136 struct ipip_context *ctx = net_if_get_device(iface)->data; in interface_send()
294 struct ipip_context *ctx = net_if_get_device(iface)->data; in interface_recv()
440 ctx = net_if_get_device(iface)->data; in interface_attach()
487 struct ipip_context *ctx = net_if_get_device(iface)->data; in interface_set_config()
572 struct ipip_context *ctx = net_if_get_device(iface)->data; in interface_get_config()

123456