---
title: init
framework: kernel
role: pseudoSymbol
path: kernel/ioethernetinterface/1810722-init
---

# init

Initializes an IOEthernetInterface instance.

## Declaration

```occ
virtual bool init(
 IONetworkController *controller ); 
```

## Parameters

- `controller`: A network controller object that will service the interface object being initialized.

## Return Value

Return Value Returns true on success, false otherwise.

## Overview

Overview Instance variables are initialized, and an arpcom structure is allocated.

## See Also

### 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)
- [performCommand](kernel/ioethernetinterface/1810736-performcommand.md)
