24#define NONAMELESSUNION
161 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
457 oid->
ids +
base->idLength + 1 };
460 tableEntrySize, makeKey,
compare);
478 oid->
ids +
base->idLength + 1 };
572 if (
row->dwPhysAddrLen)
634 &entryOid, bPduType, &
item, &tableIndex);
649 &entryOid,
item, tableIndex);
659 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
728 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
814 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
869 return key->dwForwardDest -
value->dwForwardDest;
907 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
972 &myOid, bPduType, &
item, &tableIndex);
996 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
1069 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
1130 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
1180 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
1220 row->dwLocalPort = oid->
ids[4];
1285 FIXME(
"0x%02x: unsupported PDU type\n", bPduType);
1319 TRACE(
"(%d, %p, %p)\n", dwUptimeReference, phSubagentTrapEvent,
1320 pFirstSupportedRegion);
1330 *phSubagentTrapEvent =
NULL;
1345 UINT *matchingIndex)
1353 while (indexLow <= indexHigh)
1355 INT cmp,
i = (indexLow + indexHigh) / 2;
1380 TRACE(
"(0x%02x, %p, %p, %p)\n", bPduType, pVarBindList,
1381 pErrorStatus, pErrorIndex);
1399 if (impl && impl->
query)
1438 *pErrorStatus =
error;
1439 *pErrorIndex = errorIndex;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
#define ERROR_INSUFFICIENT_BUFFER
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
static HINSTANCE instance
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
#define HeapFree(x, y, z)
void(* oidToKeyFunc)(AsnObjectIdentifier *oid, void *dst)
static UINT findOidInTable(AsnObjectIdentifier *oid, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare)
static void oidToIpAddrRow(AsnObjectIdentifier *oid, void *dst)
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 void mib2IpRouteCleanup(void)
static AsnInteger32 getItemFromOid(AsnObjectIdentifier *oid, AsnObjectIdentifier *base, BYTE bPduType, UINT *item)
static AsnInteger32 getItemAndIntegerInstanceFromOid(AsnObjectIdentifier *oid, AsnObjectIdentifier *base, BYTE bPduType, UINT *item, UINT *instance)
static UINT minSupportedIDLength
static void mib2UdpEntryCleanup(void)
static void mib2IpStatsInit(void)
static struct structToAsnValue mib2IpNetMap[]
static BOOL mib2IcmpQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static UINT mib2IfEntry[]
static void mib2IpRouteInit(void)
static DWORD copyOperStatus(AsnAny *value, void *src)
static BOOL mib2TcpQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static DWORD copyInt(AsnAny *value, void *src)
static INT setOidWithItemAndIpAddr(AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item, DWORD addr)
static void mib2IfNumberCleanup(void)
static void mib2IpNetInit(void)
static int __cdecl compareUdpRow(const void *a, const void *b)
static void mib2UdpEntryInit(void)
static void mib2IfNumberInit(void)
static struct structToAsnValue mib2TcpMap[]
static void mib2UdpInit(void)
static struct structToAsnValue mib2IfEntryMap[]
BOOL WINAPI SnmpExtensionInit(DWORD dwUptimeReference, HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion)
static PMIB_IPNETTABLE ipNetTable
static BOOL mib2IfEntryQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void oidToIpForwardRow(AsnObjectIdentifier *oid, void *dst)
static struct mibImplementation supportedIDs[]
int(__cdecl * compareFunc)(const void *key, const void *value)
static MIB_UDPSTATS udpStats
static void cleanup(void)
static PMIB_IFTABLE ifTable
static UINT findNextOidInTable(AsnObjectIdentifier *oid, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare)
static int __cdecl compareIpForwardRow(const void *a, const void *b)
static BOOL mib2IfNumberQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static BOOL mib2IpNetQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static struct structToAsnValue mib2IpMap[]
static MIB_IPSTATS ipStats
static PMIB_IPFORWARDTABLE ipRouteTable
static INT setOidWithItem(AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item)
static INT setOidWithItemAndInteger(AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item, UINT instance)
static void setStringValue(AsnAny *value, BYTE type, DWORD len, BYTE *str)
static struct structToAsnValue mib2IpRouteMap[]
static UINT mib2IpRoute[]
static void mib2TcpInit(void)
static struct mibImplementation * findSupportedQuery(UINT *ids, UINT idLength, UINT *matchingIndex)
static DWORD copyIfRowDescr(AsnAny *value, void *src)
static struct structToAsnValue mib2UdpMap[]
static struct structToAsnValue mib2IpAddrMap[]
DWORD(* copyValueFunc)(AsnAny *value, void *src)
static void mib2IpNetCleanup(void)
static BOOL mib2IpAddrQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static UINT findValueInTable(const void *key, struct GenericTable *table, size_t tableEntrySize, compareFunc compare)
static DWORD copyIfRowPhysAddr(AsnAny *value, void *src)
static BOOL mib2UdpEntryQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static MIB_ICMP icmpStats
static void oidToUdpRow(AsnObjectIdentifier *oid, void *dst)
static UINT mib2UdpEntry[]
static BOOL mib2IpRouteQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static PMIB_UDPTABLE udpTable
static DWORD copyIpAddr(AsnAny *value, void *src)
static int __cdecl compareIpAddrRow(const void *a, const void *b)
BOOL WINAPI SnmpExtensionQuery(BYTE bPduType, SnmpVarBindList *pVarBindList, AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex)
static UINT mib2IfNumber[]
static PMIB_IPADDRTABLE ipAddrTable
static struct structToAsnValue mib2UdpEntryMap[]
static BOOL mib2IpStatsQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static AsnInteger32 mapStructEntryToValue(struct structToAsnValue *map, UINT mapLen, void *record, UINT id, SnmpVarBind *pVarBind)
static void mib2IpAddrCleanup(void)
static struct structToAsnValue mib2IcmpMap[]
static MIB_TCPSTATS tcpStats
static DWORD oidToIpAddr(AsnObjectIdentifier *oid)
static DWORD copyIpNetPhysAddr(AsnAny *value, void *src)
BOOL(* varqueryfunc)(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2IpAddrInit(void)
static BOOL mib2UdpQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void mib2IcmpInit(void)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
INT WINAPI SnmpUtilOidAppend(AsnObjectIdentifier *dst, AsnObjectIdentifier *src)
INT WINAPI SnmpUtilOidNCmp(AsnObjectIdentifier *oid1, AsnObjectIdentifier *oid2, UINT count)
INT WINAPI SnmpUtilAsnAnyCpy(AsnAny *dst, AsnAny *src)
VOID WINAPI SnmpUtilOidFree(AsnObjectIdentifier *oid)
INT WINAPI SnmpUtilOidCpy(AsnObjectIdentifier *dst, AsnObjectIdentifier *src)
LPSTR WINAPI SnmpUtilOidToA(AsnObjectIdentifier *oid)
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLuint GLuint GLsizei GLenum type
GLboolean GLboolean GLboolean b
GLenum const GLvoid * addr
GLboolean GLboolean GLboolean GLboolean a
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
struct _MIB_IFROW * PMIB_IFROW
DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable, PULONG pdwSize, BOOL bOrder)
DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, PULONG pdwSize, BOOL bOrder)
DWORD WINAPI GetIpStatistics(PMIB_IPSTATS pStats)
DWORD WINAPI GetIpNetTable(PMIB_IPNETTABLE pIpNetTable, PULONG pdwSize, BOOL bOrder)
DWORD WINAPI GetIcmpStatistics(PMIB_ICMP pStats)
DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats)
DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, PULONG pdwSize, BOOL bOrder)
DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats)
DWORD WINAPI GetUdpTable(PMIB_UDPTABLE pUdpTable, PDWORD pdwSize, BOOL bOrder)
#define MIB_IF_ADMIN_STATUS_TESTING
#define MIB_IF_ADMIN_STATUS_UP
#define MIB_IF_OPER_STATUS_CONNECTED
#define MIB_IF_OPER_STATUS_CONNECTING
#define MIB_IF_ADMIN_STATUS_DOWN
#define MIB_IF_OPER_STATUS_OPERATIONAL
struct _MIB_IPNETROW * PMIB_IPNETROW
static IN DWORD IN LPVOID lpvReserved
#define cmp(status, error)
#define SNMP_ERRORSTATUS_READONLY
#define SNMP_ERRORSTATUS_NOSUCHNAME
#define SNMP_ERRORSTATUS_NOERROR
union AsnAny::@3228 asnValue
MIB_IPFORWARDROW table[1]
#define FIELD_OFFSET(t, f)