VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/mstcpip.h@ 19678

Last change on this file since 19678 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

File size: 2.8 KB
Line 
1/*
2 * Copyright 2008 Hans Leidekker for CodeWeavers.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28struct tcp_keepalive
29{
30 u_long onoff;
31 u_long keepalivetime;
32 u_long keepaliveinterval;
33};
34
35#ifndef USE_WS_PREFIX
36
37#define SIO_RCVALL _WSAIOW(IOC_VENDOR, 1)
38#define SIO_RCVALL_MCAST _WSAIOW(IOC_VENDOR, 2)
39#define SIO_RCVALL_IGMPMCAST _WSAIOW(IOC_VENDOR, 3)
40#define SIO_KEEPALIVE_VALS _WSAIOW(IOC_VENDOR, 4)
41#define SIO_ABSORB_RTRALERT _WSAIOW(IOC_VENDOR, 5)
42#define SIO_UCAST_IF _WSAIOW(IOC_VENDOR, 6)
43#define SIO_LIMIT_BROADCASTS _WSAIOW(IOC_VENDOR, 7)
44#define SIO_INDEX_BIND _WSAIOW(IOC_VENDOR, 8)
45#define SIO_INDEX_MCASTIF _WSAIOW(IOC_VENDOR, 9)
46#define SIO_INDEX_ADD_MCAST _WSAIOW(IOC_VENDOR, 10)
47#define SIO_INDEX_DEL_MCAST _WSAIOW(IOC_VENDOR, 11)
48
49#define RCVALL_OFF 0
50#define RCVALL_ON 1
51#define RCVALL_SOCKETLEVELONLY 2
52
53#else
54
55#define WS_SIO_RCVALL _WSAIOW(WS_IOC_VENDOR, 1)
56#define WS_SIO_RCVALL_MCAST _WSAIOW(WS_IOC_VENDOR, 2)
57#define WS_SIO_RCVALL_IGMPMCAST _WSAIOW(WS_IOC_VENDOR, 3)
58#define WS_SIO_KEEPALIVE_VALS _WSAIOW(WS_IOC_VENDOR, 4)
59#define WS_SIO_ABSORB_RTRALERT _WSAIOW(WS_IOC_VENDOR, 5)
60#define WS_SIO_UCAST_IF _WSAIOW(WS_IOC_VENDOR, 6)
61#define WS_SIO_LIMIT_BROADCASTS _WSAIOW(WS_IOC_VENDOR, 7)
62#define WS_SIO_INDEX_BIND _WSAIOW(WS_IOC_VENDOR, 8)
63#define WS_SIO_INDEX_MCASTIF _WSAIOW(WS_IOC_VENDOR, 9)
64#define WS_SIO_INDEX_ADD_MCAST _WSAIOW(WS_IOC_VENDOR, 10)
65#define WS_SIO_INDEX_DEL_MCAST _WSAIOW(WS_IOC_VENDOR, 11)
66
67#define WS_RCVALL_OFF 0
68#define WS_RCVALL_ON 1
69#define WS_RCVALL_SOCKETLEVELONLY 2
70
71#endif /* USE_WS_PREFIX */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette