---
title: controllerDidOpen
framework: kernel
role: pseudoSymbol
path: kernel/ioethernetinterface/1810636-controllerdidopen
---

# controllerDidOpen

A notification that the interface has opened the network controller.

## Declaration

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

## Parameters

- `controller`: The controller object that was opened.

## Return Value

Return Value Returns true on success, false otherwise. Returning false will cause the controller to be closed, and any pending client opens to be rejected.

## Overview

Overview This method will be called by IONetworkInterface after a network controller has accepted an open from this interface object. IOEthernetInterface will first call the implementation in its superclass, then inspect the controller through properties published in the registry. This method is called with the arbitration lock held.

## See Also

### Miscellaneous

- [controllerDidChangePowerState](kernel/ioethernetinterface/1810626-controllerdidchangepowerstate.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)
