winecoreaudio: Remove GetAudioSessionWrapper.
[wine.git] / dlls / nsiproxy.sys / nsiproxy_private.h
blob241106fe228999583c01e5ac44054c9c84804658
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
21 typedef UINT icmp_handle;
23 struct icmp_cancel_listen_params
25 icmp_handle handle;
28 struct icmp_close_params
30 icmp_handle handle;
33 struct icmp_listen_params
35 icmp_handle handle;
36 void *reply;
37 ULONGLONG user_reply_ptr;
38 unsigned int bits, reply_len;
39 int timeout;
42 struct icmp_send_echo_params
44 SOCKADDR_INET *dst;
45 void *request, *reply;
46 UINT request_size, reply_len;
47 BYTE bits, ttl, tos;
48 icmp_handle *handle;
51 /* output for IOCTL_NSIPROXY_WINE_ICMP_ECHO - cf. ICMP_ECHO_REPLY */
52 struct icmp_echo_reply_32
54 UINT addr;
55 UINT status;
56 UINT round_trip_time;
57 USHORT data_size;
58 USHORT num_of_pkts;
59 UINT data_ptr;
60 struct
62 BYTE ttl;
63 BYTE tos;
64 BYTE flags;
65 BYTE options_size;
66 UINT options_ptr;
67 } opts;
70 struct icmp_echo_reply_64
72 UINT addr;
73 UINT status;
74 UINT round_trip_time;
75 USHORT data_size;
76 USHORT num_of_pkts;
77 ULONGLONG data_ptr;
78 struct
80 BYTE ttl;
81 BYTE tos;
82 BYTE flags;
83 BYTE options_size;
84 ULONGLONG options_ptr;
85 } opts;