Mac Developer Library

Developer

IOEthernetController.h Reference

Options
Deployment Target:

On This Page

IOEthernetController.h Reference

Included Headers

  • <IOKit/network/IONetworkController.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    #define kIOEthernetAddressSize 6 #define kIOEthernetControllerClass "IOEthernetController" #define kIOEthernetCRCSize 4 #define kIOEthernetDisabledWakeOnLANFilterGroup \ "IOEthernetDisabledWakeOnLANFilterGroup" #define kIOEthernetMaxPacketSize 1518 #define kIOEthernetMinPacketSize 64 #define kIOEthernetWakeOnLANFilterGroup "IOEthernetWakeOnLANFilterGroup"

    Constants

    • kIOEthernetAddressSize

      The number of bytes in an Ethernet hardware address.

    • kIOEthernetControllerClass

      kIOEthernetControllerClass is the name of the IOEthernetController class.

    • kIOEthernetCRCSize

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

    • kIOEthernetDisabledWakeOnLANFilterGroup

      kIOEthernetDisabledWakeOnLANFilterGroup describes the name assigned to the disabled Ethernet Wake-On-LAN filter group. This group represents wake filters that are currently disabled. Membership in this group is dynamic.

    • kIOEthernetMaxPacketSize

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

    • kIOEthernetMinPacketSize

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

    • kIOEthernetWakeOnLANFilterGroup

      kIOEthernetWakeOnLANFilterGroup describes the name assigned to the Ethernet Wake-On-LAN filter group. This group represents wake filters that are supported by the controller.

  • Declaration

    extern const OSSymbol * gIOEthernetDisabledWakeOnLANFilterGroup; extern const OSSymbol * gIOEthernetWakeOnLANFilterGroup;

    Constants

    • gIOEthernetDisabledWakeOnLANFilterGroup

      gIOEthernetDisabledWakeOnLANFilterGroup is an OSSymbol object that contains the name of the disabled Ethernet Wake-on-LAN filter group defined by kIOEthernetDisabledWakeOnLANFilterGroup.

    • gIOEthernetWakeOnLANFilterGroup

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

  • All filters in the Wake-on-LAN filter group.

    Declaration

    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.