Home
last modified time | relevance | path

Searched refs:CUPS_SNMP_MAX_OID (Results 1 – 3 of 3) sorted by relevance

/external/libcups/cups/
Dsnmp-private.h33 #define CUPS_SNMP_MAX_OID 128 /* Maximum number of OID numbers */ macro
77 int oid[CUPS_SNMP_MAX_OID]; /* OID value */
92 int object_name[CUPS_SNMP_MAX_OID];
Dsnmp.c184 i < CUPS_SNMP_MAX_OID && oid[i] >= 0 && packet->object_name[i] >= 0; in _cupsSNMPIsOID()
194 i < CUPS_SNMP_MAX_OID && oid[i] == packet->object_name[i])); in _cupsSNMPIsOID()
196 return (i < CUPS_SNMP_MAX_OID && oid[i] == packet->object_name[i]); in _cupsSNMPIsOID()
234 i < CUPS_SNMP_MAX_OID && prefix[i] >= 0 && packet->object_name[i] >= 0; in _cupsSNMPIsOIDPrefixed()
244 i < CUPS_SNMP_MAX_OID)); in _cupsSNMPIsOIDPrefixed()
246 return (i < CUPS_SNMP_MAX_OID); in _cupsSNMPIsOIDPrefixed()
560 int lastoid[CUPS_SNMP_MAX_OID]; in _cupsSNMPWalk()
584 _cupsSNMPCopyOID(packet.object_name, prefix, CUPS_SNMP_MAX_OID); in _cupsSNMPWalk()
622 _cupsSNMPCopyOID(lastoid, packet.object_name, CUPS_SNMP_MAX_OID); in _cupsSNMPWalk()
685 for (i = 0; oid[i] >= 0 && i < (CUPS_SNMP_MAX_OID - 1); i ++) in _cupsSNMPWrite()
[all …]
Dtestsnmp.c207 int oid[CUPS_SNMP_MAX_OID]; /* OID */ in show_oid()