#include <winsock2.h>
#include <iptypes.h>
#include <mswsock.h>
#include <ws2tcpip.h>
#include <windows.h>
#include "winapi.h"
Go to the source code of this file.
◆ _AFD_CONTROL_CODE
#define _AFD_CONTROL_CODE |
( |
|
operation, |
|
|
|
method |
|
) |
| ((FSCTL_AFD_BASE) << 12 | (operation << 2) | method) |
◆ AFD_IMMEDIATE
#define AFD_IMMEDIATE 0x00000004 |
◆ AFD_NO_FAST_IO
#define AFD_NO_FAST_IO 0x00000001 |
◆ AFD_NUM_POLL_EVENTS
#define AFD_NUM_POLL_EVENTS 11 |
◆ AFD_OVERLAPPED
#define AFD_OVERLAPPED 0x00000002 |
◆ AFD_POLL
◆ AFD_POLL_ABORT
◆ AFD_POLL_ABORT_BIT
#define AFD_POLL_ABORT_BIT 4 |
◆ AFD_POLL_ACCEPT
◆ AFD_POLL_ACCEPT_BIT
#define AFD_POLL_ACCEPT_BIT 7 |
◆ AFD_POLL_ALL
◆ AFD_POLL_CONNECT
◆ AFD_POLL_CONNECT_BIT
#define AFD_POLL_CONNECT_BIT 6 |
◆ AFD_POLL_CONNECT_FAIL
◆ AFD_POLL_CONNECT_FAIL_BIT
#define AFD_POLL_CONNECT_FAIL_BIT 8 |
◆ AFD_POLL_DISCONNECT
◆ AFD_POLL_DISCONNECT_BIT
#define AFD_POLL_DISCONNECT_BIT 3 |
◆ AFD_POLL_GROUP_QOS
◆ AFD_POLL_GROUP_QOS_BIT
#define AFD_POLL_GROUP_QOS_BIT 10 |
◆ AFD_POLL_LOCAL_CLOSE
◆ AFD_POLL_LOCAL_CLOSE_BIT
#define AFD_POLL_LOCAL_CLOSE_BIT 5 |
◆ AFD_POLL_QOS
◆ AFD_POLL_QOS_BIT
#define AFD_POLL_QOS_BIT 9 |
◆ AFD_POLL_RECEIVE
◆ AFD_POLL_RECEIVE_BIT
#define AFD_POLL_RECEIVE_BIT 0 |
◆ AFD_POLL_RECEIVE_EXPEDITED
◆ AFD_POLL_RECEIVE_EXPEDITED_BIT
#define AFD_POLL_RECEIVE_EXPEDITED_BIT 1 |
◆ AFD_POLL_SEND
◆ AFD_POLL_SEND_BIT
#define AFD_POLL_SEND_BIT 2 |
◆ AFD_RECEIVE
◆ AFD_RECEIVE_DATAGRAM
#define AFD_RECEIVE_DATAGRAM 6 |
◆ FSCTL_AFD_BASE
◆ IOCTL_AFD_POLL
◆ IOCTL_AFD_RECEIVE
◆ IOCTL_AFD_RECEIVE_DATAGRAM
◆ IPV6_HOPLIMIT
◆ IPV6_V6ONLY
◆ MCAST_JOIN_SOURCE_GROUP
#define MCAST_JOIN_SOURCE_GROUP 45 |
◆ MCAST_LEAVE_SOURCE_GROUP
#define MCAST_LEAVE_SOURCE_GROUP 46 |
◆ SIO_BASE_HANDLE
#define SIO_BASE_HANDLE 0x48000022 |
◆ SO_UPDATE_CONNECT_CONTEXT
#define SO_UPDATE_CONNECT_CONTEXT 0x7010 |
◆ TCP_KEEPALIVE
◆ TDI_RECEIVE_AT_DISPATCH_LEVEL
#define TDI_RECEIVE_AT_DISPATCH_LEVEL 0x00000800 |
◆ TDI_RECEIVE_BROADCAST
#define TDI_RECEIVE_BROADCAST 0x00000004 |
◆ TDI_RECEIVE_CONTROL_INFO
#define TDI_RECEIVE_CONTROL_INFO 0x00001000 |
◆ TDI_RECEIVE_COPY_LOOKAHEAD
#define TDI_RECEIVE_COPY_LOOKAHEAD 0x00000200 |
◆ TDI_RECEIVE_ENTIRE_MESSAGE
#define TDI_RECEIVE_ENTIRE_MESSAGE 0x00000400 |
◆ TDI_RECEIVE_EXPEDITED
#define TDI_RECEIVE_EXPEDITED 0x00000040 |
◆ TDI_RECEIVE_FORCE_INDICATION
#define TDI_RECEIVE_FORCE_INDICATION 0x00002000 |
◆ TDI_RECEIVE_MULTICAST
#define TDI_RECEIVE_MULTICAST 0x00000008 |
◆ TDI_RECEIVE_NO_PUSH
#define TDI_RECEIVE_NO_PUSH 0x00004000 |
◆ TDI_RECEIVE_NO_RESPONSE_EXP
#define TDI_RECEIVE_NO_RESPONSE_EXP 0x00000100 |
◆ TDI_RECEIVE_NORMAL
#define TDI_RECEIVE_NORMAL 0x00000020 |
◆ TDI_RECEIVE_PARTIAL
#define TDI_RECEIVE_PARTIAL 0x00000010 |
◆ TDI_RECEIVE_PEEK
#define TDI_RECEIVE_PEEK 0x00000080 |
◆ AFD_RECV_DATAGRAM_INFO
◆ AFD_RECV_INFO
◆ PAFD_RECV_DATAGRAM_INFO
◆ PAFD_RECV_INFO
◆ uv__convert_to_localhost_if_unspecified()
int uv__convert_to_localhost_if_unspecified |
( |
const struct sockaddr * |
addr, |
|
|
struct sockaddr_storage * |
storage |
|
) |
| |
Definition at line 547 of file winsock.c.
555 switch (
addr->sa_family) {
568 struct in6_addr init_sin6_addr = IN6ADDR_LOOPBACK_INIT;
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
struct in6_addr sin6_addr
struct sockaddr_in6 uv_addr_ip6_any_
References addr, AF_INET, AF_INET6, memcpy(), NULL, in_addr::s_addr, sockaddr_in6::sin6_addr, sockaddr_in::sin_addr, and uv_addr_ip6_any_.
Referenced by uv__udp_try_send(), and uv_tcp_try_connect().