Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include, misc: Add net interface API. #1371

Closed
wants to merge 1 commit into from

Commits on Sep 3, 2019

  1. include, misc: Add net interface API.

    Adds `uv_network_interface_t` structure and a new API for retrieving
    network interfaces, `uv_network_interfaces`.  This new API intends to
    eventually replace `uv_interface_addresses`, adding new capabilities,
    such as:
    
     * Not filtering out interfaces without addresses;
     * Marking missing addresses as `AF_UNSPEC`;
     * Including all common cross-platform flags;
     * Including link-layer addresses for interfaces;
     * Supporting 8-byte Firewire link-layer addresses;
     * Including broadcast/point-to-point addresses
    
    The interface is added and documented, and returns `UV_ENOTSUP` on
    all platforms.  Once the individual platform support is merged, the
    test driver will no longer accept the `UV_ENOTSUP` return and the
    existing `uv_interface_addresses` function will be changed to be
    implemented on top of this new API.
    apaprocki committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    f8f55c8 View commit details
    Browse the repository at this point in the history