Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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.
 
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.
 

Detailed Description

Ethernet library.

Function Documentation

◆ ethernet_mgmt_raise_carrier_off_event()

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.

Parameters
ifaceEthernet network interface.

◆ ethernet_mgmt_raise_carrier_on_event()

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.

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 <zephyr/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 <zephyr/net/ethernet_mgmt.h>

Raise VLAN_ENABLED event when VLAN is enabled.

Parameters
ifaceEthernet network interface.
tagVLAN tag which is enabled.