Contents

ifaddr_withnet

Declaration

ifaddr_t ifaddr_withnet(const struct sockaddr *net);

Parameters

  • net:

    The network to search for.

Return Value

A reference to the interface address.

Discussion

Returns an interface address for the interface with the network described by net. Increments the reference count on the ifaddr before returning to the caller. Caller is responsible for calling ifaddr_release.

See Also

Network Kernel Extensions