libuv/src/win
Pekka Nikander 695afe8322
unix,win: add uv_if_{indextoname,indextoiid}
uv_if_indextoname() is used to convert an IPv6 scope_id
to an interface identifier string such as %eth0 or %lo.

uv_if_indextoiid() returns an IPv6 interface identifier.
On Unix it calls uv_if_indextoname(). On Windows it uses
snprintf() to return the numeric interface identifier as
a string.

Refs: https://github.com/nodejs/node/pull/14500
PR-URL: https://github.com/libuv/libuv/pull/1445
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-11-06 09:54:47 -05:00
..
async.c unix,windows: refactor request init logic 2017-03-21 16:14:09 +01:00
atomicops-inl.h win: remove __declspec(inline) from atomic op 2017-05-01 14:10:13 -04:00
core.c build: add -Wstrict-prototypes 2017-05-02 23:00:33 +02:00
detect-wakeup.c build: add -Wstrict-prototypes 2017-05-02 23:00:33 +02:00
dl.c win: fix non-English dlopen error message 2017-10-19 15:31:39 +02:00
error.c windows: fix compilation warnings 2017-09-29 09:06:35 -04:00
fs-event.c fsevent: support for files without short name 2017-03-26 20:43:51 +02:00
fs.c win, fs: fix non-symlink reparse points 2017-10-03 16:36:32 +02:00
getaddrinfo.c unix,win: add uv_if_{indextoname,indextoiid} 2017-11-06 09:54:47 -05:00
getnameinfo.c unix,windows: refactor request init logic 2017-03-21 16:14:09 +01:00
handle-inl.h style: remove trailing whitespace 2014-06-24 20:18:10 +04:00
handle.c win: make uv__get_osfhandle() public 2017-05-30 11:53:31 -04:00
internal.h unix,win: add uv_os_getppid() 2017-11-01 10:32:12 -04:00
loop-watcher.c windows: further simplify the code for timers 2014-09-10 09:52:00 +02:00
pipe.c pipe: allow access from other users 2017-11-06 15:45:00 +01:00
poll.c build: add -Wstrict-prototypes 2017-05-02 23:00:33 +02:00
process-stdio.c win: add missing break statement 2016-11-03 19:44:50 -04:00
process.c win: let UV_PROCESS_WINDOWS_HIDE hide consoles 2017-09-25 19:55:59 -04:00
req-inl.h unix,windows: refactor request init logic 2017-03-21 16:14:09 +01:00
req.c
signal.c windows: fix compilation warnings 2017-09-29 09:06:35 -04:00
snprintf.c win: fix compilation with VS < 2012 2015-10-01 00:41:41 +02:00
stream-inl.h win, pipe: null-initialize stream->shutdown_req 2017-11-01 12:32:10 -04:00
stream.c unix,windows: refactor request init logic 2017-03-21 16:14:09 +01:00
tcp.c win: allow bound/connected socket in uv_tcp_open() 2017-08-08 17:19:20 +02:00
thread.c unix,win: add uv_mutex_init_recursive() 2017-10-02 10:01:09 -04:00
timer.c windows: fix compilation warnings 2017-09-29 09:06:35 -04:00
tty.c tty, win: get SetWinEventHook pointer at startup 2017-11-03 12:18:52 +01:00
udp.c win,udp: return UV_EINVAL instead of aborting 2017-07-01 17:21:26 +02:00
util.c unix,win: add uv_os_getppid() 2017-11-01 10:32:12 -04:00
winapi.c tty, win: get SetWinEventHook pointer at startup 2017-11-03 12:18:52 +01:00
winapi.h tty, win: get SetWinEventHook pointer at startup 2017-11-03 12:18:52 +01:00
winsock.c build: add -Wstrict-prototypes 2017-05-02 23:00:33 +02:00
winsock.h win: add missing IP_ADAPTER_UNICAST_ADDRESS_LH definition for MinGW 2014-11-06 19:20:32 -05:00