Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/********************************************************************/ /** Microsoft LAN Manager **/ /** Copyright(c) Microsoft Corp., 1990-1992 **/ /********************************************************************/ /* :ts=4 */
//** LLINFO.H - Lower layer SNMP information definitions.
//
// This file contains all of the definitions for SNMP information collected
// by layers below IP.
#ifndef LLINFO_INCLUDED
#define LLINFO_INCLUDED
#ifndef CTE_TYPEDEFS_DEFINED
#define CTE_TYPEDEFS_DEFINED
typedef unsigned long ulong; typedef unsigned short ushort; typedef unsigned char uchar; typedef unsigned int uint;
#endif // CTE_TYPEDEFS_DEFINED
#define IF_MIB_STATS_ID 1
#define MAX_PHYSADDR_SIZE 8
typedef struct IPNetToMediaEntry { ulong inme_index; ulong inme_physaddrlen; uchar inme_physaddr[MAX_PHYSADDR_SIZE]; ulong inme_addr; ulong inme_type; } IPNetToMediaEntry;
#define INME_TYPE_OTHER 1
#define INME_TYPE_INVALID 2
#define INME_TYPE_DYNAMIC 3
#define INME_TYPE_STATIC 4
#define MAX_IFDESCR_LEN 256
#define IFE_FIXED_SIZE offsetof(struct IFEntry, if_descr)
typedef struct IFEntry { ulong if_index; ulong if_type; ulong if_mtu; ulong if_speed; ulong if_physaddrlen; uchar if_physaddr[MAX_PHYSADDR_SIZE]; ulong if_adminstatus; ulong if_operstatus; ulong if_lastchange; ulong if_inoctets; ulong if_inucastpkts; ulong if_innucastpkts; ulong if_indiscards; ulong if_inerrors; ulong if_inunknownprotos; ulong if_outoctets; ulong if_outucastpkts; ulong if_outnucastpkts; ulong if_outdiscards; ulong if_outerrors; ulong if_outqlen; ulong if_descrlen; uchar if_descr[1]; } IFEntry;
#define IF_TYPE_OTHER 1
#define IF_TYPE_ETHERNET 6
#define IF_TYPE_TOKENRING 9
#define IF_TYPE_FDDI 15
#define IF_TYPE_PPP 23
#define IF_TYPE_LOOPBACK 24
#define IF_TYPE_SLIP 28
#define IF_STATUS_UP 1
#define IF_STATUS_DOWN 2
#define IF_STATUS_TESTING 3
#endif // LLINFO_INCLUDED
|