Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNetwork_FindInterfaceByNetwork ( kIpAddress  network,
kIpAddress interfaceAddress 
)

Finds the first interface address with subnet configuration that is compatible with the specified address.

This method provides a convenient shortcut to constructing a kNetworkInfo object and then using that object to look up the desired information.

Parameters
networkNetwork address (host portion ignored, if present).
interfaceAddressReceives network interface address, if found (optional; can be kNULL).
Returns
Operation status.