Home
last modified time | relevance | path

Searched refs:ethernet_context (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge.h11 static inline bool net_eth_iface_is_bridged(struct ethernet_context *ctx) in net_eth_iface_is_bridged()
31 static inline struct net_if *net_eth_get_bridge(struct ethernet_context *ctx) in net_eth_get_bridge()
Dethernet.c256 struct ethernet_context *ctx = net_if_l2_data(iface); in ethernet_recv()
495 struct ethernet_context *ctx = net_if_l2_data(iface); in ethernet_ll_prepare_on_ipv4()
583 static struct net_buf *ethernet_fill_header(struct ethernet_context *ctx, in ethernet_fill_header()
702 struct ethernet_context *ctx = net_if_l2_data(iface); in ethernet_send()
862 struct ethernet_context *ctx = net_if_l2_data(iface); in ethernet_flags()
892 struct ethernet_context *ctx = CONTAINER_OF(work, struct ethernet_context, in carrier_on_off()
922 struct ethernet_context *ctx = net_if_l2_data(iface); in net_eth_carrier_on()
931 struct ethernet_context *ctx = net_if_l2_data(iface); in net_eth_carrier_off()
1016 struct ethernet_context *ctx = net_if_l2_data(iface); in net_eth_get_ptp_port()
1023 struct ethernet_context *ctx = net_if_l2_data(iface); in net_eth_set_ptp_port()
[all …]
Dbridge.c92 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_bridge_iface_add()
123 struct ethernet_context *tmp = net_if_l2_data(ctx->eth_iface[i]); in eth_bridge_iface_add()
170 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_bridge_iface_remove()
194 struct ethernet_context *tmp = net_if_l2_data(ctx->eth_iface[i]); in eth_bridge_iface_remove()
Dvlan.c318 bool net_eth_is_vlan_enabled(struct ethernet_context *ctx, in net_eth_is_vlan_enabled()
395 struct ethernet_context *ctx = net_if_l2_data(iface); in net_eth_vlan_enable()
687 bool net_eth_is_vlan_enabled(struct ethernet_context *ctx, in net_eth_is_vlan_enabled()
/Zephyr-latest/subsys/net/l2/ethernet/dsa/
Ddsa.c28 struct ethernet_context *ctx = net_if_l2_data(iface); in dsa_register_master_tx()
76 struct ethernet_context *ctx; in dsa_register_recv_callback()
94 const struct ethernet_context *c; in dsa_net_recv()
146 struct ethernet_context *ctx; in dsa_tx()
188 struct ethernet_context *eth_ctx; in dsa_get_slave_port()
/Zephyr-latest/subsys/net/l2/ethernet/lldp/
Dlldp.c32 static int lldp_find(struct ethernet_context *ctx, struct net_if *iface) in lldp_find()
204 static void lldp_start_timer(struct ethernet_context *ctx, in lldp_start_timer()
239 struct ethernet_context *ctx; in lldp_start()
275 struct ethernet_context *ctx; in net_lldp_recv()
310 struct ethernet_context *ctx; in net_lldp_register_callback()
349 struct ethernet_context *ctx = net_if_l2_data(iface); in net_lldp_config()
364 struct ethernet_context *ctx = net_if_l2_data(iface); in net_lldp_config_optional()
/Zephyr-latest/include/zephyr/net/
Dethernet.h660 struct ethernet_context { struct
738 #define ETHERNET_L2_CTX_TYPE struct ethernet_context argument
1107 bool net_eth_is_vlan_enabled(struct ethernet_context *ctx,
1110 static inline bool net_eth_is_vlan_enabled(struct ethernet_context *ctx, in net_eth_is_vlan_enabled()
1416 const struct ethernet_context *ctx = (struct ethernet_context *) in net_eth_type_is_wifi()
/Zephyr-latest/drivers/ethernet/nxp_imx_netc/
Ddsa_nxp_imx_netc.c139 struct ethernet_context *ctx = net_if_l2_data(iface); in netc_eth_phylink_callback()
164 struct ethernet_context *ctx = net_if_l2_data(iface); in dsa_netc_iface_init()
165 struct ethernet_context *ctx_master; in dsa_netc_iface_init()
/Zephyr-latest/samples/net/dsa/src/
Ddsa_lldp.c103 struct ethernet_context *ctx = net_if_l2_data(iface); in dsa_lldp_send()
218 struct ethernet_context *ctx = net_if_l2_data(iface); in dsa_lldp_recv()
/Zephyr-latest/tests/net/wifi/wifi_nm/src/
Dmain.c50 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in wifi_iface_init()
/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c147 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in iface2str()
/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c934 struct ethernet_context *ctx = net_if_l2_data(iface);
1016 struct ethernet_context *ctx;
1060 struct ethernet_context *ctx = net_if_l2_data(iface);
1064 struct ethernet_context *ctx_master;
Deth_nxp_enet.c143 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_get_ptp_data()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c654 struct ethernet_context *eth_ctx; in test_vlan_enable()
733 struct ethernet_context *eth_ctx; in test_vlan_disable()
782 struct ethernet_context *eth_ctx; in test_vlan_enable_all()
825 struct ethernet_context *eth_ctx; in test_vlan_disable_all()
/Zephyr-latest/drivers/wifi/siwx91x/
Dsiwx91x_wifi.c374 struct ethernet_context *eth_ctx; in siwx91x_ethernet_init()
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c849 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in esp32_wifi_init()
887 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in esp32_wifi_init_ap()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.c445 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in airoc_mgmt_init()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c1824 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in nxp_wifi_sta_init()
1864 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in nxp_wifi_uap_init()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dnet_if.c601 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in nrf_wifi_if_init_zep()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c184 struct ethernet_context ctx;