Contents

getIfnet

Returns the ifnet_t allocated by the interface object.

Declaration

virtual ifnet_t getIfnet(
 void ) const;

Return Value

Returns the ifnet_t after the interface has attached to the network stack and before the interface is detached, otherwise returns NULL.

Overview

Gets the interface's ifnet_t, which is managed primarily by IONetworkInterface, however subclasses or drivers can use this method to obtain a reference to the ifnet_t for interface KPI calls.

See Also

Miscellaneous