2 * Copyright 2008 Hans Leidekker for CodeWeavers.
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.
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.
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
18 #ifndef __WINE_MSTCPIP_H
19 #define __WINE_MSTCPIP_H
27 ULONG keepaliveinterval
;
32 #define SIO_RCVALL _WSAIOW(IOC_VENDOR, 1)
33 #define SIO_RCVALL_MCAST _WSAIOW(IOC_VENDOR, 2)
34 #define SIO_RCVALL_IGMPMCAST _WSAIOW(IOC_VENDOR, 3)
35 #define SIO_KEEPALIVE_VALS _WSAIOW(IOC_VENDOR, 4)
36 #define SIO_ABSORB_RTRALERT _WSAIOW(IOC_VENDOR, 5)
37 #define SIO_UCAST_IF _WSAIOW(IOC_VENDOR, 6)
38 #define SIO_LIMIT_BROADCASTS _WSAIOW(IOC_VENDOR, 7)
39 #define SIO_INDEX_BIND _WSAIOW(IOC_VENDOR, 8)
40 #define SIO_INDEX_MCASTIF _WSAIOW(IOC_VENDOR, 9)
41 #define SIO_INDEX_ADD_MCAST _WSAIOW(IOC_VENDOR, 10)
42 #define SIO_INDEX_DEL_MCAST _WSAIOW(IOC_VENDOR, 11)
46 #define RCVALL_SOCKETLEVELONLY 2
48 #define IN4ADDR_ANY_INIT { 0, 0, 0, 0 }
49 #define IN4ADDR_LOOPBACK_INIT { 127, 0, 0, 1 }
50 #define IN4ADDR_BROADCAST_INIT { 255, 255, 255, 255 }
51 #define IN4ADDR_ALLNODESONLINK_INIT { 224, 0, 0, 1 }
52 #define IN4ADDR_ALLROUTERSONLINK_INIT { 224, 0, 0, 2 }
53 #define IN4ADDR_ALLIGMPV3ROUTERSONLINK_INIT { 224, 0, 0, 22 }
54 #define IN4ADDR_ALLTEREDONODESONLINK_INIT { 224, 0, 0, 253 }
55 #define IN4ADDR_LINKLOCALPREFIX_INIT { 169, 254, 0, 0 }
56 #define IN4ADDR_MULTICASTPREFIX_INIT { 224, 0, 0, 0 }
60 #define WS_SIO_RCVALL _WSAIOW(WS_IOC_VENDOR, 1)
61 #define WS_SIO_RCVALL_MCAST _WSAIOW(WS_IOC_VENDOR, 2)
62 #define WS_SIO_RCVALL_IGMPMCAST _WSAIOW(WS_IOC_VENDOR, 3)
63 #define WS_SIO_KEEPALIVE_VALS _WSAIOW(WS_IOC_VENDOR, 4)
64 #define WS_SIO_ABSORB_RTRALERT _WSAIOW(WS_IOC_VENDOR, 5)
65 #define WS_SIO_UCAST_IF _WSAIOW(WS_IOC_VENDOR, 6)
66 #define WS_SIO_LIMIT_BROADCASTS _WSAIOW(WS_IOC_VENDOR, 7)
67 #define WS_SIO_INDEX_BIND _WSAIOW(WS_IOC_VENDOR, 8)
68 #define WS_SIO_INDEX_MCASTIF _WSAIOW(WS_IOC_VENDOR, 9)
69 #define WS_SIO_INDEX_ADD_MCAST _WSAIOW(WS_IOC_VENDOR, 10)
70 #define WS_SIO_INDEX_DEL_MCAST _WSAIOW(WS_IOC_VENDOR, 11)
72 #define WS_RCVALL_OFF 0
73 #define WS_RCVALL_ON 1
74 #define WS_RCVALL_SOCKETLEVELONLY 2
76 #define WS_IN4ADDR_ANY_INIT { 0, 0, 0, 0 }
77 #define WS_IN4ADDR_LOOPBACK_INIT { 127, 0, 0, 1 }
78 #define WS_IN4ADDR_BROADCAST_INIT { 255, 255, 255, 255 }
79 #define WS_IN4ADDR_ALLNODESONLINK_INIT { 224, 0, 0, 1 }
80 #define WS_IN4ADDR_ALLROUTERSONLINK_INIT { 224, 0, 0, 2 }
81 #define WS_IN4ADDR_ALLIGMPV3ROUTERSONLINK_INIT { 224, 0, 0, 22 }
82 #define WS_IN4ADDR_ALLTEREDONODESONLINK_INIT { 224, 0, 0, 253 }
83 #define WS_IN4ADDR_LINKLOCALPREFIX_INIT { 169, 254, 0, 0 }
84 #define WS_IN4ADDR_MULTICASTPREFIX_INIT { 224, 0, 0, 0 }
86 #endif /* USE_WS_PREFIX */
88 #endif /* __WINE_MSTCPIP_H */