Contents

ifaddr_netmask

Declaration

errno_t ifaddr_netmask(ifaddr_t ifaddr, struct sockaddr *out_netmask, u_int32_t netmask_size);

Parameters

  • ifaddr:

    The interface address.

  • out_netmask:

    The sockaddr storage for the netmask.

  • netmask_size:

    The size of the storage for the netmask.

Return Value

0 upon success

Discussion

Copies the netmask out of the ifaddr.

See Also

Network Kernel Extensions