Contents

ifnet_reference

Declaration

errno_t ifnet_reference(ifnet_t interface);

Parameters

  • interface:

    The interface to increment the reference count of.

Return Value

May return EINVAL if the interface is not valid.

Discussion

Increment the reference count of the ifnet to assure that it will not go away. The interface must already have at least one reference.

See Also

Network Kernel Extensions