kernel32/tests/pipe: Enable compilation with long types.
[wine.git] / dlls / nsiproxy.sys / nsiproxy_private.h
blobbdea1c6cf2ef7b97241075d1a2ab6064481de016
1 /*
2 * nsiproxy.sys
4 * Copyright 2021 Huw Davies
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 struct icmp_listen_params
22 HANDLE handle;
23 void *reply;
24 ULONGLONG user_reply_ptr;
25 unsigned int bits, reply_len;
26 int timeout;
29 struct icmp_send_echo_params
31 SOCKADDR_INET *dst;
32 void *request, *reply;
33 DWORD request_size, reply_len;
34 BYTE bits, ttl, tos;
35 HANDLE handle;
38 /* output for IOCTL_NSIPROXY_WINE_ICMP_ECHO - cf. ICMP_ECHO_REPLY */
39 struct icmp_echo_reply_32
41 ULONG addr;
42 ULONG status;
43 ULONG round_trip_time;
44 USHORT data_size;
45 USHORT num_of_pkts;
46 ULONG data_ptr;
47 struct
49 BYTE ttl;
50 BYTE tos;
51 BYTE flags;
52 BYTE options_size;
53 ULONG options_ptr;
54 } opts;
57 struct icmp_echo_reply_64
59 ULONG addr;
60 ULONG status;
61 ULONG round_trip_time;
62 USHORT data_size;
63 USHORT num_of_pkts;
64 ULONGLONG data_ptr;
65 struct
67 BYTE ttl;
68 BYTE tos;
69 BYTE flags;
70 BYTE options_size;
71 ULONGLONG options_ptr;
72 } opts;