---
title: IOEthernetInterface
framework: kernel
role: symbol
role_heading: Class
path: kernel/ioethernetinterface
---

# IOEthernetInterface

The Ethernet interface object.

## Declaration

```occ
class IOEthernetInterface : IONetworkInterface
```

## Overview

Overview An Ethernet controller driver, that is a subclass of IOEthernetController, will instantiate an object of this class when the driver calls the attachInterface() method. This interface object will then vend an Ethernet interface to DLIL, and manage the connection between the controller driver and the upper networking layers. Drivers will seldom need to subclass IOEthernetInterface.

## Topics

### Miscellaneous

- [controllerDidChangePowerState](kernel/ioethernetinterface/1810626-controllerdidchangepowerstate.md)
- [controllerDidOpen](kernel/ioethernetinterface/1810636-controllerdidopen.md)
- [controllerWillChangePowerState](kernel/ioethernetinterface/1810670-controllerwillchangepowerstate.md)
- [controllerWillClose](kernel/ioethernetinterface/1810684-controllerwillclose.md)
- [free](kernel/ioethernetinterface/1810696-free.md)
- [getNamePrefix](kernel/ioethernetinterface/1810711-getnameprefix.md)
- [init](kernel/ioethernetinterface/1810722-init.md)
- [performCommand](kernel/ioethernetinterface/1810736-performcommand.md)

### Instance Variables

- [_reserved](kernel/ioethernetinterface/reserved.md)

### Instance Methods

- [attachToDataLinkLayer](kernel/ioethernetinterface/1585552-attachtodatalinklayer.md)
- [controllerDidChangePowerState](kernel/ioethernetinterface/1585555-controllerdidchangepowerstate.md)
- [controllerDidOpen](kernel/ioethernetinterface/1585532-controllerdidopen.md)
- [controllerWillChangePowerState](kernel/ioethernetinterface/1585542-controllerwillchangepowerstate.md)
- [controllerWillClose](kernel/ioethernetinterface/1585544-controllerwillclose.md)
- [disableFilter](kernel/ioethernetinterface/1585537-disablefilter.md)
- [enableController](kernel/ioethernetinterface/1585547-enablecontroller.md)
- [enableFilter](kernel/ioethernetinterface/1585560-enablefilter.md)
- [feedPacketInputTap](kernel/ioethernetinterface/1585536-feedpacketinputtap.md)
- [feedPacketOutputTap](kernel/ioethernetinterface/1585540-feedpacketoutputtap.md)
- [free](kernel/ioethernetinterface/1585566-free.md)
- [getFilters](kernel/ioethernetinterface/1585551-getfilters.md)
- [getMetaClass](kernel/ioethernetinterface/1585558-getmetaclass.md)
- [getNamePrefix](kernel/ioethernetinterface/1585553-getnameprefix.md)
- [init](kernel/ioethernetinterface/1585541-init.md)
- [initIfnetParams](kernel/ioethernetinterface/1585559-initifnetparams.md)
- [inputEvent](kernel/ioethernetinterface/1585535-inputevent.md)
- [performCommand](kernel/ioethernetinterface/1585549-performcommand.md)
- [reportInterfaceWakeFlags](kernel/ioethernetinterface/1585562-reportinterfacewakeflags.md)
- [setFilters](kernel/ioethernetinterface/1585534-setfilters.md)
- [setupMulticastFilter](kernel/ioethernetinterface/1585561-setupmulticastfilter.md)
- [syncSIOCADDMULTI](kernel/ioethernetinterface/1585550-syncsiocaddmulti.md)
- [syncSIOCDELMULTI](kernel/ioethernetinterface/1585543-syncsiocdelmulti.md)
- [syncSIOCGIFDEVMTU](kernel/ioethernetinterface/1585548-syncsiocgifdevmtu.md)
- [syncSIOCSIFADDR](kernel/ioethernetinterface/1585557-syncsiocsifaddr.md)
- [syncSIOCSIFCAP](kernel/ioethernetinterface/2934826-syncsiocsifcap.md)
- [syncSIOCSIFFLAGS](kernel/ioethernetinterface/1585567-syncsiocsifflags.md)
- [syncSIOCSIFLLADDR](kernel/ioethernetinterface/1585545-syncsiocsiflladdr.md)
- [syncSIOCSIFMTU](kernel/ioethernetinterface/1585546-syncsiocsifmtu.md)
- [willTerminate](kernel/ioethernetinterface/1585539-willterminate.md)

### Type Methods

- [enableFilter_Wrapper](kernel/ioethernetinterface/1585556-enablefilter_wrapper.md)
- [handleEthernetInputEvent](kernel/ioethernetinterface/1585533-handleethernetinputevent.md)
- [performGatedCommand](kernel/ioethernetinterface/1585565-performgatedcommand.md)

## Relationships

### Inherits From

- [IONetworkInterface](kernel/ionetworkinterface.md)

## See Also

### IOKit

- [IOUSBDevice](kernel/iousbdevice.md)
- [IOUSBInterface](kernel/iousbinterface.md)
- [IOOFPathMatching](kernel/1575304-ioofpathmatching.md)
- [IOUSBHostInterface](kernel/iousbhostinterface.md)
- [IOUSBHostDevice](kernel/iousbhostdevice.md)
- [IOUSBHostPipe](kernel/iousbhostpipe.md)
- [IOUSBHostIOSource](kernel/iousbhostiosource.md)
- [IOUSBHostStream](kernel/iousbhoststream.md)
- [IOHIDEventDriver](kernel/iohideventdriver.md)
- [IOHIDEventService](kernel/iohideventservice.md)
- [IOHIDInterface](kernel/iohidinterface.md)
- [IOHIDSystem](kernel/iohidsystem.md)
- [IOHIKeyboardMapper](kernel/iohikeyboardmapper.md)
- [IOHIKeyboard](kernel/iohikeyboard.md)
- [IOHIPointing](kernel/iohipointing.md)
- [IOHIDevice](kernel/iohidevice.md)
- [IOHIDElement](kernel/iohidelement.md)
- [IOHIDWorkLoop](kernel/iohidworkloop.md)
- [IOEthernetController](kernel/ioethernetcontroller.md)
