winhlp32: Don't use strncpy.
[wine.git] / include / udpmib.h
blob56932793b6962b612ed980d4f4adc19885efc60d
1 /*
2 * Copyright (C) 2003 Juan Lang
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_UDPMIB_H
19 #define __WINE_UDPMIB_H
21 #define TCPIP_OWNING_MODULE_SIZE 16
24 /* UDP table */
26 typedef struct _MIB_UDPROW
28 DWORD dwLocalAddr;
29 DWORD dwLocalPort;
30 } MIB_UDPROW, *PMIB_UDPROW;
32 typedef struct _MIB_UDPTABLE
34 DWORD dwNumEntries;
35 MIB_UDPROW table[1];
36 } MIB_UDPTABLE, *PMIB_UDPTABLE;
38 typedef struct _MIB_UDPROW_OWNER_PID
40 DWORD dwLocalAddr;
41 DWORD dwLocalPort;
42 } MIB_UDPROW_OWNER_PID, *PMIB_UDPROW_OWNER_PID;
44 typedef struct _MIB_UDPTABLE_OWNER_PID
46 DWORD dwNumEntries;
47 MIB_UDPROW_OWNER_PID table[1];
48 } MIB_UDPTABLE_OWNER_PID, *PMIB_UDPTABLE_OWNER_PID;
51 /* UDP statistics */
53 typedef struct _MIB_UDPSTATS
55 DWORD dwInDatagrams;
56 DWORD dwNoPorts;
57 DWORD dwInErrors;
58 DWORD dwOutDatagrams;
59 DWORD dwNumAddrs;
60 } MIB_UDPSTATS, *PMIB_UDPSTATS;
62 #endif /* __WINE_UDPMIB_H */