VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/udpmib.h@ 69505

Last change on this file since 69505 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1/*
2 * Copyright (C) 2003 Juan Lang
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 * Oracle 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, Oracle 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
28#ifndef __WINE_UDPMIB_H
29#define __WINE_UDPMIB_H
30
31#define TCPIP_OWNING_MODULE_SIZE 16
32
33
34/* UDP table */
35
36typedef struct _MIB_UDPROW
37{
38 DWORD dwLocalAddr;
39 DWORD dwLocalPort;
40} MIB_UDPROW, *PMIB_UDPROW;
41
42typedef struct _MIB_UDPTABLE
43{
44 DWORD dwNumEntries;
45 MIB_UDPROW table[1];
46} MIB_UDPTABLE, *PMIB_UDPTABLE;
47
48typedef struct _MIB_UDPROW_OWNER_PID
49{
50 DWORD dwLocalAddr;
51 DWORD dwLocalPort;
52 DWORD dwOwningPid;
53} MIB_UDPROW_OWNER_PID, *PMIB_UDPROW_OWNER_PID;
54
55typedef struct _MIB_UDPTABLE_OWNER_PID
56{
57 DWORD dwNumEntries;
58 MIB_UDPROW_OWNER_PID table[1];
59} MIB_UDPTABLE_OWNER_PID, *PMIB_UDPTABLE_OWNER_PID;
60
61typedef struct _MIB_UDPROW_OWNER_MODULE
62{
63 DWORD dwLocalAddr;
64 DWORD dwLocalPort;
65 DWORD dwOwningPid;
66 LARGE_INTEGER liCreateTimestamp;
67 __C89_NAMELESS union
68 {
69 __C89_NAMELESS struct
70 {
71 int SpecificPortBind:1;
72 } __C89_NAMELESSSTRUCTNAME;
73 int dwFlags;
74 } __C89_NAMELESSUNIONNAME;
75 ULONGLONG OwningModuleInfo[TCPIP_OWNING_MODULE_SIZE];
76} MIB_UDPROW_OWNER_MODULE, *PMIB_UDPROW_OWNER_MODULE;
77
78typedef struct _MIB_UDPTABLE_OWNER_MODULE
79{
80 DWORD dwNumEntries;
81 MIB_UDPROW_OWNER_MODULE table[1];
82} MIB_UDPTABLE_OWNER_MODULE, *PMIB_UDPTABLE_OWNER_MODULE;
83
84/* UDP statistics */
85
86typedef struct _MIB_UDPSTATS
87{
88 DWORD dwInDatagrams;
89 DWORD dwNoPorts;
90 DWORD dwInErrors;
91 DWORD dwOutDatagrams;
92 DWORD dwNumAddrs;
93} MIB_UDPSTATS, *PMIB_UDPSTATS;
94
95#endif /* __WINE_UDPMIB_H */
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