ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOEthernetController.h

Include:

Path <IOKit/network/IOEthernetController.h>

See Also:
Includes:

Overview

The IOEthernetController class provides a base class for you to use when creating Ethernet controller drivers. If you want to create an Ethernet controller driver, subclass this class and override the hardware-specific methods.



Classes

IOEthernetController

Abstract superclass for Ethernet controllers.



Constants


gIOEthernetWakeOnLANFilterGroup


extern const OSSymbol * gIOEthernetWakeOnLANFilterGroup;  
Discussion

gIOEthernetWakeOnLANFilterGroup is an OSSymbol object that contains the name of the Ethernet wake-on-LAN filter group defined by kIOEthernetWakeOnLANFilterGroup.

Enumerations


WakeOnLANFilters


All filters in the wake-on-LAN filter group.

enum { 
    kIOEthernetWakeOnMagicPacket = 0x00000001, 
    kIOEthernetWakeOnPacketAddressMatch = 0x00000002 
};  
Constants
kIOEthernetWakeOnMagicPacket

Reception of a Magic Packet.

kIOEthernetWakeOnPacketAddressMatch

Reception of a packet which passes through any of the address filtering mechanisms based on its destination Ethernet address. This may include unicast, broadcast, or multicast addresses depending on the current state and setting of the corresponding packet filters.

Discussion

Each filter listed will respond to a network event that will trigger a system wake-up.

#defines


kIOEthernetAddressSize


The number of bytes in an Ethernet hardware address.

#define kIOEthernetAddressSize 6 


kIOEthernetControllerClass


kIOEthernetControllerClass is the name of the IOEthernetController class.

#define kIOEthernetControllerClass "IOEthernetController" 


kIOEthernetCRCSize


The size in bytes of the 32-bit CRC value appended to the end of each Ethernet frame.

#define kIOEthernetCRCSize 4 


kIOEthernetMaxPacketSize


The maximum size of an Ethernet packet, including the FCS bytes.

#define kIOEthernetMaxPacketSize 1518 


kIOEthernetMinPacketSize


The minimum size of an Ethernet packet, including the FCS bytes.

#define kIOEthernetMinPacketSize 64 


kIOEthernetWakeOnLANFilterGroup


kIOEthernetWakeOnLANFilterGroup describes the name assigned to the Ethernet wake-On-LAN filter group.

#define kIOEthernetWakeOnLANFilterGroup "IOEthernetWakeOnLANFilterGroup" 


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19