Contents

ifaddr_ifnet

Declaration

ifnet_t ifaddr_ifnet(ifaddr_t ifaddr);

Parameters

  • ifaddr:

    The interface address.

Return Value

A reference to the interface the address is attached to.

Discussion

Returns the interface the address is attached to. The reference is only valid until the ifaddr is released. If you need to hold a reference to the ifnet for longer than you hold a reference to the ifaddr, increment the reference using ifnet_reference.

See Also

Network Kernel Extensions