-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
8 changed files
with
293 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.