Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
65 lines
3.1 KiB
C++
65 lines
3.1 KiB
C++
/*++
|
|
|
|
Copyright (c) 1995 - 1997 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
ipifcons.h
|
|
|
|
Abstract:
|
|
Constants needed for the Interface Object
|
|
|
|
--*/
|
|
|
|
#ifndef __ROUTING_IPIFCONS_H__
|
|
#define __ROUTING_IPIFCONS_H__
|
|
|
|
#define MIB_IF_TYPE_OTHER 1
|
|
#define MIB_IF_TYPE_ETHERNET 6
|
|
#define MIB_IF_TYPE_TOKENRING 9
|
|
#define MIB_IF_TYPE_FDDI 15
|
|
#define MIB_IF_TYPE_PPP 23
|
|
#define MIB_IF_TYPE_LOOPBACK 24
|
|
#define MIB_IF_TYPE_SLIP 28
|
|
|
|
#define MIB_IF_ADMIN_STATUS_UP 1
|
|
#define MIB_IF_ADMIN_STATUS_DOWN 2
|
|
#define MIB_IF_ADMIN_STATUS_TESTING 3
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// //
|
|
// The following are the the operational states for WAN and LAN interfaces. //
|
|
// The order of the states seems weird, but is done for a purpose. All //
|
|
// states >= CONNECTED can transmit data right away. States >= DISCONNECTED //
|
|
// can tx data but some set up might be needed. States < DISCONNECTED can //
|
|
// not transmit data. //
|
|
// A card is marked UNREACHABLE if DIM calls InterfaceUnreachable for //
|
|
// reasons other than failure to connect. //
|
|
// //
|
|
// NON_OPERATIONAL -- Valid for LAN Interfaces. Means the card is not //
|
|
// working or not plugged in or has no address. //
|
|
// UNREACHABLE -- Valid for WAN Interfaces. Means the remote site is //
|
|
// not reachable at this time. //
|
|
// DISCONNECTED -- Valid for WAN Interfaces. Means the remote site is //
|
|
// not connected at this time. //
|
|
// CONNECTING -- Valid for WAN Interfaces. Means a connection attempt //
|
|
// has been initiated to the remote site. //
|
|
// CONNECTED -- Valid for WAN Interfaces. Means the remote site is //
|
|
// connected. //
|
|
// OPERATIONAL -- Valid for LAN Interfaces. Means the card is plugged //
|
|
// in and working. //
|
|
// //
|
|
// It is the users duty to convert these values to MIB-II values if they //
|
|
// are to be used by a subagent //
|
|
// //
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#define MIB_IF_OPER_STATUS_NON_OPERATIONAL 0
|
|
#define MIB_IF_OPER_STATUS_UNREACHABLE 1
|
|
#define MIB_IF_OPER_STATUS_DISCONNECTED 2
|
|
#define MIB_IF_OPER_STATUS_CONNECTING 3
|
|
#define MIB_IF_OPER_STATUS_CONNECTED 4
|
|
#define MIB_IF_OPER_STATUS_OPERATIONAL 5
|
|
|
|
#endif //__ROUTING_IPIFCONS_H__
|