summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/ws2tcpip.h
Commit message (Collapse)AuthorAgeFilesLines
* * mingw: Delete obsolete directory.Christopher Faylor2012-11-071-379/+0
| | | | * w32api: Ditto.
* Committed as obvious.Danny Smith2008-09-071-1/+1
| | | | | * include/ws2tcpip.h (IPV6_MREQ): Fix typo. Thanks to Richard Hughes for report.
* * include/ws2tcpip.h (s6_addr32): Correct definition,Danny Smith2007-07-011-1/+1
| | | | Thanks to Alfred E. Heggestad <aeh at db dot org>
* * include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.Dimitri Papadopoulos2006-04-241-2/+0
| | | | | | This function cannot be made thread-safe, the API would have to be changed for that, just like strerror() -> strerror_r() and similar ISO C or POSIX functions...
* * include/ws2tcpip.h (gai_strerror): Add thread-safety comment.Danny Smith2006-04-161-0/+2
|
* * include/ws2tcpip.h (gai_strerror{AW}): Implement as inline function.Dimitri Papadopoulos2006-04-141-11/+26
|
* * include/commctrl.h: Correct spelling of 'compatibility' inDanny Smith2006-01-241-2/+2
| | | | | | comments. * include/setupapi.h: Likewise. * include/ws2tcpip.h: Likewise.
* * include/ws2tcpip.h (getaddrinfo, freeaddrinfo, getnameinfo):Danny Smith2005-03-071-4/+10
| | | | | Guard with _WIN32_WINNT >= 0x0501. Add FIXME comment. * gai_strerror[AW]: Put into #if 0 block.
* * lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):Danny Smith2003-01-231-0/+14
| | | | | | Add stubs. * include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket options.
* * include/ws2tcpip.h: Throw error if winsock.h, not winsock2.hDanny Smith2002-09-241-3/+5
| | | | has been included first.
* * include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,Danny Smith2002-03-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h, dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h, imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h, ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h, lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h, lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h, lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h, lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h, lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h, mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h, ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h, ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h, oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h, raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h, rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h, rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h, security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h, sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h, tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h, wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h, wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h, winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h, winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h, wsnetbs.h, wtypes.h, zmouse.h: Add #pragma GCC system_header if __GNUC__ >= 3. * include/mapi.h: Change header guard name to _MAPI_H for consistency.
* * ChangeLog: Fix typo in last entry.Danny Smith2002-03-021-63/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/winsock2.h (IPPROTO_*): Add IPv6 defines. * include/ws2tcpip.h: (IP_*): Add new defines. (INET_ADDRSTRLEN, INET6_ADDRSTRLEN): Add defines. (NI_*): Add getnameinfo constants and bitmasks. (AI_*): Add getaddrinfo flags. (EAI_*): Add getaddrinfo error codes. (ip_mreq_source): Add new structure. (ip_msfilter): Add new structure. (IP_MSFILTER_SIZE): Add new macro. (in_pktinfo): Add new structure. Add preliminary IPv6 support. (in6_addr): Add new structure and some defines. (sockaddr_in6): Add new structure. (in6addr_any, in6addr_loopback): Declare extern structures. (IN6ADDR_ANY_INIT,IN6ADDR_LOOPBACK_INIT): Add initialization macros for above. (IN6_ARE_ADDR_EQUAL): Define macro. (IN6_IS_ADDR_*): Define address testing macros. (socklen_t) Add new typedef. (ipv6_mreq): Add new structure. (in6_pktinfo): Same. (addrinfo): Same. (freeaddrinfo):Add new prototype. (getaddrinfo): Same. (gai_strerror[AW]): Same. (getnameinfo): Same. (sockaddr_in6_old): Add structure. (sockaddr_gen): Add union definition. (INTERFACE_INFO): Use sockaddr_gen as members. (INTERFACE_INFO_OLD): Add comment on workaround for problems with INTERFACE_INFO on NT4 prior to sp4. .
* * include/mswsock.h: New file.Earnie Boyd2001-02-211-0/+138
* include/ws2tcpip.h: New file. * include/winsock.h (IPPROTO_IGMP): New define. (IPPROTO_GGP): Correct value. (SO_* macros): Remove mswsock defines. (TCP_BSDURGENT): Likewise. (IP_* macros): Add comment warning of WinSock2 incompatibility (WSARecvEx): Remove mswsock prototype. (TransmitFile): Likewise. (AcceptEx): Likewise. (GetAcceptExSockaddrs): Likewise. (struct _TRANSMIT_FILE_BUFFERS): Remove mswsock definition. (#include <mswsock.h>): Add directive and explanatory comment * include/winsock2.h (header guard): add guard for _WINSOCK_H (_WINSOCK_H): Define to prevent later inclusion of winsock.h (#include <winsock.h>): Replace directive with winsock.h file content The following changes apply to the merged file: (FD_SET): Keep winsock2.h definition, delete winsock.h definition (SOMAXCONN): Likewise (#include <nspapi.h>): Move - don't include until LPSOCKADDR defined (IP_* macros): Delete WinSock1 definitions (WinSock2 definitions now in ws2tcpip.h) (struct ip_mreq): Delete (now defined in ws2tcpip.h for WinSock2) (FD_*_BIT and FD_* defines): Place together and extend to FD_MAX_EVENTS 10 (AF* defines): Extend to AF_MAX 10 (WSAIsBlocking): #if 0 out prototype (N/A in WinSock2) (WSAUnhookBlockingHook): Likewise. (WSASetBlockingHook): Likewise. (WSACancelBlockingCall): Likewise. (WSAEINPROGRESS): Comment as not raised in WinSock2. (#include <mswsock.h>): Delete directive inherited from winsock.h (WSA_QOS* defines): Add QualityOfService error codes. (SIO_* defines): Add new macros * include/ipexport.h (IP_STATUS flags): Add definitions. (IP_FLAG_DF): Likewise. (IP_OPT_* ): Likewise. (struct ip_option_information): Likewise. (struct icmp_echo_reply): Likewise.