Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Ethernet library. More...
Functions | |
void | ethernet_mgmt_raise_carrier_on_event (struct net_if *iface) |
Raise CARRIER_ON event when Ethernet is connected. | |
void | ethernet_mgmt_raise_carrier_off_event (struct net_if *iface) |
Raise CARRIER_OFF event when Ethernet is disconnected. | |
void | ethernet_mgmt_raise_vlan_enabled_event (struct net_if *iface, uint16_t tag) |
Raise VLAN_ENABLED event when VLAN is enabled. | |
void | ethernet_mgmt_raise_vlan_disabled_event (struct net_if *iface, uint16_t tag) |
Raise VLAN_DISABLED event when VLAN is disabled. | |
Ethernet library.
void ethernet_mgmt_raise_carrier_off_event | ( | struct net_if * | iface | ) |
#include <zephyr/net/ethernet_mgmt.h>
Raise CARRIER_OFF event when Ethernet is disconnected.
iface | Ethernet network interface. |
void ethernet_mgmt_raise_carrier_on_event | ( | struct net_if * | iface | ) |
#include <zephyr/net/ethernet_mgmt.h>
Raise CARRIER_ON event when Ethernet is connected.
iface | Ethernet network interface. |
#include <zephyr/net/ethernet_mgmt.h>
Raise VLAN_DISABLED event when VLAN is disabled.
iface | Ethernet network interface. |
tag | VLAN tag which is disabled. |
#include <zephyr/net/ethernet_mgmt.h>
Raise VLAN_ENABLED event when VLAN is enabled.
iface | Ethernet network interface. |
tag | VLAN tag which is enabled. |