Zen API

- Home
- Topics
- Types
- Files

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

  network | Network address (host portion ignored, if present).
  interfaceAddress | Receives network interface address, if found (optional; can be kNULL).

Returns
  Operation status.