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;
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
static PMIB_IPFORWARDTABLE ipRouteTable
static INT setOidWithItemAndIpAddr(AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item, DWORD addr)
static void setStringValue(AsnAny *value, BYTE type, DWORD len, BYTE *str)
DWORD(* copyValueFunc)(AsnAny *value, void *src)
static void mib2IpAddrInit(void)
DWORD WINAPI GetUdpTable(PMIB_UDPTABLE pUdpTable, PDWORD pdwSize, BOOL bOrder)
static PMIB_IPADDRTABLE ipAddrTable
struct _MIB_IPNETROW * PMIB_IPNETROW
#define SNMP_ERRORSTATUS_READONLY
static void mib2IcmpInit(void)
static UINT findNextOidInTable(AsnObjectIdentifier *oid, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare)
static DWORD copyInt(AsnAny *value, void *src)
static BOOL mib2TcpQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
#define MIB_IF_ADMIN_STATUS_DOWN
void(__cdecl *ccp_init)(ExternalCycleCollectionParticipant *
static void mib2UdpEntryCleanup(void)
static UINT mib2IfEntry[]
WINE_DEFAULT_DEBUG_CHANNEL(wmic)
static struct structToAsnValue mib2IcmpMap[]
static struct mibImplementation supportedIDs[]
static DWORD copyOperStatus(AsnAny *value, void *src)
INT WINAPI SnmpUtilAsnAnyCpy(AsnAny *dst, AsnAny *src)
static DWORD copyIfRowDescr(AsnAny *value, void *src)
void(* oidToKeyFunc)(AsnObjectIdentifier *oid, void *dst)
static MIB_ICMP icmpStats
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
static AsnInteger32 getItemAndIntegerInstanceFromOid(AsnObjectIdentifier *oid, AsnObjectIdentifier *base, BYTE bPduType, UINT *item, UINT *instance)
DWORD WINAPI GetIpNetTable(PMIB_IPNETTABLE pIpNetTable, PULONG pdwSize, BOOL bOrder)
GLenum GLsizei GLenum GLenum const GLvoid * table
#define DLL_PROCESS_ATTACH
static BOOL mib2IpAddrQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static BOOL mib2IpNetQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static UINT findValueInTable(const void *key, struct GenericTable *table, size_t tableEntrySize, compareFunc compare)
static void mib2IpRouteInit(void)
#define cmp(status, error)
static int __cdecl compareIpAddrRow(const void *a, const void *b)
DWORD WINAPI GetIpStatistics(PMIB_IPSTATS pStats)
static IN DWORD IN LPVOID lpvReserved
VOID WINAPI SnmpUtilOidFree(AsnObjectIdentifier *oid)
#define SNMP_ERRORSTATUS_NOERROR
static INT setOidWithItemAndInteger(AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item, UINT instance)
static DWORD copyIpAddr(AsnAny *value, void *src)
static UINT mib2IpRoute[]
LPSTR WINAPI SnmpUtilOidToA(AsnObjectIdentifier *oid)
DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable, PULONG pdwSize, BOOL bOrder)
union AsnAny::@3186 asnValue
static int __cdecl compareIpForwardRow(const void *a, const void *b)
DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, PULONG pdwSize, BOOL bOrder)
static struct structToAsnValue mib2IpNetMap[]
static void mib2IfNumberCleanup(void)
static AsnInteger32 mapStructEntryToValue(struct structToAsnValue *map, UINT mapLen, void *record, UINT id, SnmpVarBind *pVarBind)
static BOOL mib2IcmpQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static struct structToAsnValue mib2TcpMap[]
static void mib2IpStatsInit(void)
static DWORD oidToIpAddr(AsnObjectIdentifier *oid)
static void oidToIpForwardRow(AsnObjectIdentifier *oid, void *dst)
static void mib2UdpInit(void)
static void cleanup(void)
static DWORD copyIpNetPhysAddr(AsnAny *value, void *src)
static struct structToAsnValue mib2IpAddrMap[]
#define DLL_PROCESS_DETACH
#define MIB_IF_ADMIN_STATUS_UP
DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats)
GLboolean GLboolean GLboolean b
static struct structToAsnValue mib2IfEntryMap[]
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define MIB_IF_OPER_STATUS_CONNECTING
static int __cdecl compareUdpRow(const void *a, const void *b)
BOOL(* varqueryfunc)(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
DWORD WINAPI GetIcmpStatistics(PMIB_ICMP pStats)
static MIB_UDPSTATS udpStats
INT WINAPI SnmpUtilOidNCmp(AsnObjectIdentifier *oid1, AsnObjectIdentifier *oid2, UINT count)
static BOOL mib2UdpQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static BOOL(WINAPI *pSnmpExtensionInit)(DWORD
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)
MIB_IPFORWARDROW table[1]
static MIB_TCPSTATS tcpStats
struct _MIB_IFROW * PMIB_IFROW
GLenum const GLvoid * addr
static UINT mib2UdpEntry[]
static struct structToAsnValue mib2IpRouteMap[]
static UINT findOidInTable(AsnObjectIdentifier *oid, struct GenericTable *table, size_t tableEntrySize, oidToKeyFunc makeKey, compareFunc compare)
GLsizei const GLfloat * value
static BOOL mib2IfNumberQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static PMIB_UDPTABLE udpTable
static void oidToUdpRow(AsnObjectIdentifier *oid, void *dst)
static struct structToAsnValue mib2UdpMap[]
#define SNMP_ERRORSTATUS_NOSUCHNAME
static void mib2IpAddrCleanup(void)
static BOOL mib2UdpEntryQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static void oidToIpAddrRow(AsnObjectIdentifier *oid, void *dst)
BOOL WINAPI SnmpExtensionQuery(BYTE bPduType, SnmpVarBindList *pVarBindList, AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex)
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
DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, PULONG pdwSize, BOOL bOrder)
#define MIB_IF_ADMIN_STATUS_TESTING
static HINSTANCE instance
static DWORD copyIfRowPhysAddr(AsnAny *value, void *src)
static INT setOidWithItem(AsnObjectIdentifier *dst, AsnObjectIdentifier *base, UINT item)
#define FIELD_OFFSET(t, f)
static BOOL mib2IpStatsQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
static struct structToAsnValue mib2UdpEntryMap[]
static void mib2IpRouteCleanup(void)
static void mib2IfNumberInit(void)
static void mib2IpNetInit(void)
static PMIB_IFTABLE ifTable
static struct structToAsnValue mib2IpMap[]
#define MIB_IF_OPER_STATUS_CONNECTED
static void mib2IpNetCleanup(void)
static struct mibImplementation * findSupportedQuery(UINT *ids, UINT idLength, UINT *matchingIndex)
BOOL WINAPI SnmpExtensionInit(DWORD dwUptimeReference, HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion)
static void mib2UdpEntryInit(void)
INT WINAPI SnmpUtilOidAppend(AsnObjectIdentifier *dst, AsnObjectIdentifier *src)
static BOOL mib2IpRouteQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
INT WINAPI SnmpUtilOidCpy(AsnObjectIdentifier *dst, AsnObjectIdentifier *src)
GLuint GLuint GLsizei GLenum type
static UINT minSupportedIDLength
GLboolean GLboolean GLboolean GLboolean a
static BOOL mib2IfEntryQuery(BYTE bPduType, SnmpVarBind *pVarBind, AsnInteger32 *pErrorStatus)
static UINT mib2IfNumber[]
static AsnInteger32 getItemFromOid(AsnObjectIdentifier *oid, AsnObjectIdentifier *base, BYTE bPduType, UINT *item)
#define MIB_IF_OPER_STATUS_OPERATIONAL
static PMIB_IPNETTABLE ipNetTable
int(__cdecl * compareFunc)(const void *key, const void *value)
#define HeapFree(x, y, z)
static void mib2TcpInit(void)
DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats)
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
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static MIB_IPSTATS ipStats
#define ERROR_INSUFFICIENT_BUFFER