ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

main.c File Reference
#include "config.h"
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <limits.h>
#include "windef.h"
#include "winbase.h"
#include "snmp.h"
#include "iphlpapi.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  structToAsnValue
struct  mibImplementation
struct  GenericTable

Defines

#define NONAMELESSUNION

Typedefs

typedef DWORD(* copyValueFunc )(AsnAny *value, void *src)
typedef BOOL(* varqueryfunc )(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
typedef void(* oidToKeyFunc )(AsnObjectIdentifier *oid, void *dst)
typedef int(* compareFunc )(const void *key, const void *value)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (inetmib1)
static DWORD copyInt (AsnAny *value, void *src)
static void setStringValue (AsnAny *value, BYTE type, DWORD len, BYTE *str)
static AsnInteger32 mapStructEntryToValue (struct structToAsnValue *map, UINT mapLen, void *record, UINT id, SnmpVarBind *pVarBind)
static DWORD copyIpAddr (AsnAny *value, void *src)
static void mib2IfNumberInit (void)
static void mib2IfNumberCleanup (void)
static BOOL mib2IfNumberQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static DWORD copyOperStatus (AsnAny *value, void *src)
static AsnInteger32 getItemAndIntegerInstanceFromOid (AsnObjectIdentifier *oid, AsnObjectIdentifier *base, BYTE bPduType, UINT *item, UINT *instance)
static AsnInteger32 getItemFromOid (AsnObjectIdentifier *oid, AsnObjectIdentifier *base, BYTE bPduType, UINT *item)
static DWORD oidToIpAddr (AsnObjectIdentifier *oid)
static UINT findValueInTable (const void *key, struct GenericTable *table, size_t tableEntrySize, compareFunc compare)
static UINT findOidInTable (AsnObjectIdentifier *oid, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare)
static UINT findNextOidInTable (AsnObjectIdentifier *oid, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare)
static AsnInteger32 getItemAndInstanceFromTable (AsnObjectIdentifier *oid, AsnObjectIdentifier *base, UINT instanceLen, BYTE bPduType, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare, UINT *item, UINT *instance)
static INT setOidWithItem (AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item)
static INT setOidWithItemAndIpAddr (AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item, DWORD addr)
static INT setOidWithItemAndInteger (AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item, UINT instance)
static DWORD copyIfRowDescr (AsnAny *value, void *src)
static DWORD copyIfRowPhysAddr (AsnAny *value, void *src)
static BOOL mib2IfEntryQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2IpStatsInit (void)
static BOOL mib2IpStatsQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2IpAddrInit (void)
static void mib2IpAddrCleanup (void)
static void oidToIpAddrRow (AsnObjectIdentifier *oid, void *dst)
static int compareIpAddrRow (const void *a, const void *b)
static BOOL mib2IpAddrQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2IpRouteInit (void)
static void mib2IpRouteCleanup (void)
static void oidToIpForwardRow (AsnObjectIdentifier *oid, void *dst)
static int compareIpForwardRow (const void *a, const void *b)
static BOOL mib2IpRouteQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static DWORD copyIpNetPhysAddr (AsnAny *value, void *src)
static void mib2IpNetInit (void)
static void mib2IpNetCleanup (void)
static BOOL mib2IpNetQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2IcmpInit (void)
static BOOL mib2IcmpQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2TcpInit (void)
static BOOL mib2TcpQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2UdpInit (void)
static BOOL mib2UdpQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2UdpEntryInit (void)
static void mib2UdpEntryCleanup (void)
static void oidToUdpRow (AsnObjectIdentifier *oid, void *dst)
static int compareUdpRow (const void *a, const void *b)
static BOOL mib2UdpEntryQuery (BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
BOOL WINAPI SnmpExtensionInit (DWORD dwUptimeReference, HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion)
static void cleanup (void)
static struct mibImplementationfindSupportedQuery (UINT *ids, UINT idLength, UINT *matchingIndex)
BOOL WINAPI SnmpExtensionQuery (BYTE bPduType, SnmpVarBindList *pVarBindList, AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex)
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)

Variables

static UINT mib2 [] = { 1,3,6,1,2,1 }
static UINT mib2System [] = { 1,3,6,1,2,1,1 }
static UINT mib2IfNumber [] = { 1,3,6,1,2,1,2,1 }
static PMIB_IFTABLE ifTable
static struct structToAsnValue mib2IfEntryMap []
static UINT mib2IfEntry [] = { 1,3,6,1,2,1,2,2,1 }
static UINT mib2Ip [] = { 1,3,6,1,2,1,4 }
static MIB_IPSTATS ipStats
static struct structToAsnValue mib2IpMap []
static UINT mib2IpAddr [] = { 1,3,6,1,2,1,4,20,1 }
static PMIB_IPADDRTABLE ipAddrTable
static struct structToAsnValue mib2IpAddrMap []
static UINT mib2IpRoute [] = { 1,3,6,1,2,1,4,21,1 }
static PMIB_IPFORWARDTABLE ipRouteTable
static struct structToAsnValue mib2IpRouteMap []
static UINT mib2IpNet [] = { 1,3,6,1,2,1,4,22,1 }
static PMIB_IPNETTABLE ipNetTable
static struct structToAsnValue mib2IpNetMap []
static UINT mib2Icmp [] = { 1,3,6,1,2,1,5 }
static MIB_ICMP icmpStats
static struct structToAsnValue mib2IcmpMap []
static UINT mib2Tcp [] = { 1,3,6,1,2,1,6 }
static MIB_TCPSTATS tcpStats
static struct structToAsnValue mib2TcpMap []
static UINT mib2Udp [] = { 1,3,6,1,2,1,7 }
static MIB_UDPSTATS udpStats
static struct structToAsnValue mib2UdpMap []
static UINT mib2UdpEntry [] = { 1,3,6,1,2,1,7,5,1 }
static PMIB_UDPTABLE udpTable
static struct structToAsnValue mib2UdpEntryMap []
static struct mibImplementation supportedIDs []
static UINT minSupportedIDLength

Generated on Sat May 26 2012 04:39:27 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.