source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ipxrip.h@ 1186

Last change on this file since 1186 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.8 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _IPXRIP_
7#define _IPXRIP_
8
9#include <ipxconst.h>
10
11typedef struct _RIP_GLOBAL_INFO {
12 DWORD EventLogMask;
13} RIP_GLOBAL_INFO,*PRIP_GLOBAL_INFO;
14
15typedef struct _RIP_IF_INFO {
16 ULONG AdminState;
17 ULONG UpdateMode;
18 ULONG PacketType;
19 ULONG Supply;
20 ULONG Listen;
21 ULONG PeriodicUpdateInterval;
22 ULONG AgeIntervalMultiplier;
23} RIP_IF_INFO,*PRIP_IF_INFO;
24
25typedef struct _RIP_ROUTE_FILTER_INFO {
26 UCHAR Network[4];
27 UCHAR Mask[4];
28} RIP_ROUTE_FILTER_INFO,*PRIP_ROUTE_FILTER_INFO;
29
30typedef struct _RIP_IF_FILTERS {
31 ULONG SupplyFilterAction;
32 ULONG SupplyFilterCount;
33 ULONG ListenFilterAction;
34 ULONG ListenFilterCount;
35 RIP_ROUTE_FILTER_INFO RouteFilter[1];
36} RIP_IF_FILTERS,*PRIP_IF_FILTERS;
37
38#define IPX_ROUTE_FILTER_PERMIT 1
39#define IPX_ROUTE_FILTER_DENY 2
40
41typedef struct _RIP_IF_CONFIG {
42 RIP_IF_INFO RipIfInfo;
43 RIP_IF_FILTERS RipIfFilters;
44} RIP_IF_CONFIG,*PRIP_IF_CONFIG;
45
46#define RIP_BASE_ENTRY 0
47#define RIP_INTERFACE_TABLE 1
48
49typedef struct _RIPMIB_BASE {
50 ULONG RIPOperState;
51} RIPMIB_BASE,*PRIPMIB_BASE;
52
53typedef struct _RIP_IF_STATS {
54 ULONG RipIfOperState;
55 ULONG RipIfInputPackets;
56 ULONG RipIfOutputPackets;
57} RIP_IF_STATS,*PRIP_IF_STATS;
58
59typedef struct _RIP_INTERFACE {
60 ULONG InterfaceIndex;
61 RIP_IF_INFO RipIfInfo;
62 RIP_IF_STATS RipIfStats;
63} RIP_INTERFACE,*PRIP_INTERFACE;
64
65typedef struct _RIP_MIB_GET_INPUT_DATA {
66 ULONG TableId;
67 ULONG InterfaceIndex;
68} RIP_MIB_GET_INPUT_DATA,*PRIP_MIB_GET_INPUT_DATA;
69
70typedef struct _RIP_MIB_SET_INPUT_DATA {
71 ULONG TableId;
72 RIP_INTERFACE RipInterface;
73} RIP_MIB_SET_INPUT_DATA,*PRIP_MIB_SET_INPUT_DATA;
74#endif
Note: See TracBrowser for help on using the repository browser.