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

    Objective-C

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

    Constants

    • kIOEthernetAddressSize

      kIOEthernetAddressSize

      The number of bytes in an Ethernet hardware address.

      Available in OS X v10.0 and later.

    • kIOEthernetControllerClass

      kIOEthernetControllerClass

      kIOEthernetControllerClass is the name of the IOEthernetController class.

      Available in OS X v10.0 and later.

    • kIOEthernetCRCSize

      kIOEthernetCRCSize

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

      Available in OS X v10.0 and later.

    • kIOEthernetDisabledWakeOnLANFilterGroup

      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.

      Available in OS X v10.6 and later.

    • kIOEthernetMaxPacketSize

      kIOEthernetMaxPacketSize

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

      Available in OS X v10.0 and later.

    • kIOEthernetMinPacketSize

      kIOEthernetMinPacketSize

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

      Available in OS X v10.0 and later.

    • kIOEthernetWakeOnLANFilterGroup

      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.

      Available in OS X v10.0 and later.

  • Declaration

    Objective-C

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

    Constants

    • gIOEthernetDisabledWakeOnLANFilterGroup

      gIOEthernetDisabledWakeOnLANFilterGroup

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

      Available in OS X v10.6 and later.

    • gIOEthernetWakeOnLANFilterGroup

      gIOEthernetWakeOnLANFilterGroup

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

      Available in OS X v10.6 and later.

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

    Declaration

    Objective-C

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

    Constants

    • kIOEthernetWakeOnMagicPacket

      kIOEthernetWakeOnMagicPacket

      Reception of a Magic Packet.

      Available in OS X v10.0 and later.

    • kIOEthernetWakeOnPacketAddressMatch

      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.

      Available in OS X v10.1 and later.

    Discussion

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