Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
Ethernet Library

Ethernet library. More...

Functions

void ethernet_mgmt_raise_carrier_on_event (struct net_if *iface)
 Raise CARRIER_ON event when Ethernet is connected. More...
 
void ethernet_mgmt_raise_carrier_off_event (struct net_if *iface)
 Raise CARRIER_OFF event when Ethernet is disconnected. More...
 
void ethernet_mgmt_raise_vlan_enabled_event (struct net_if *iface, uint16_t tag)
 Raise VLAN_ENABLED event when VLAN is enabled. More...
 
void ethernet_mgmt_raise_vlan_disabled_event (struct net_if *iface, uint16_t tag)
 Raise VLAN_DISABLED event when VLAN is disabled. More...
 

Detailed Description

Ethernet library.

Function Documentation

◆ ethernet_mgmt_raise_carrier_off_event()

void ethernet_mgmt_raise_carrier_off_event ( struct net_if iface)

#include <include/net/ethernet_mgmt.h>

Raise CARRIER_OFF event when Ethernet is disconnected.

Parameters
ifaceEthernet network interface.

◆ ethernet_mgmt_raise_carrier_on_event()

void ethernet_mgmt_raise_carrier_on_event ( struct net_if iface)

#include <include/net/ethernet_mgmt.h>

Raise CARRIER_ON event when Ethernet is connected.

Parameters
ifaceEthernet network interface.

◆ ethernet_mgmt_raise_vlan_disabled_event()

void ethernet_mgmt_raise_vlan_disabled_event ( struct net_if iface,
uint16_t  tag 
)

#include <include/net/ethernet_mgmt.h>

Raise VLAN_DISABLED event when VLAN is disabled.

Parameters
ifaceEthernet network interface.
tagVLAN tag which is disabled.

◆ ethernet_mgmt_raise_vlan_enabled_event()

void ethernet_mgmt_raise_vlan_enabled_event ( struct net_if iface,
uint16_t  tag 
)

#include <include/net/ethernet_mgmt.h>

Raise VLAN_ENABLED event when VLAN is enabled.

Parameters
ifaceEthernet network interface.
tagVLAN tag which is enabled.