init
Initializes the IONetworkInterface object.
Declaration
virtual bool init(
IONetworkController *controller );Parameters
- controller:
A network controller object that will service the the interface.
Return Value
Returns true on success, false otherwise.
Overview
Resources are allocated, but an ifnet_t will not be allocated until the interface is assigned a BSD name and attached to the network stack.
See Also
Miscellaneous
addNetworkDataattachToDataLinkLayerclearInputQueuecontrollerDidChangePowerStatecontrollerDidOpencontrollerWillChangePowerStatecontrollerWillClosedebuggerRegistereddetachFromDataLinkLayerfeedPacketInputTapfeedPacketOutputTapflushInputQueuefreegetControllergetExtraFlagsgetFlagsgetIfnetgetInterfaceStategetInterfaceTypegetMaxTransferUnitgetMediaAddressLengthgetMediaHeaderLengthgetNamePrefixgetNetworkData(const char *)getNetworkData(const OSSymbol *)getUnitNumberhandleClientClosehandleClientOpeninitIfnetParamsinputEventinputPacketisPrimaryInterfaceisRegisteredlockperformCommandpowerStateDidChangeTopowerStateWillChangeToregisterOutputHandlerremoveNetworkData(const char *)removeNetworkData(const OSSymbol *)setFlagssetInterfaceStatesetInterfaceTypesetMaxTransferUnitsetMediaAddressLengthsetMediaHeaderLengthsetUnitNumberunlock