Lines Matching refs:st

399 static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, int st,  in php_snmp_internal()  argument
422 if (st & SNMP_CMD_WALK) { /* remember root OID */ in php_snmp_internal()
436 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) { in php_snmp_internal()
442 if (st & SNMP_CMD_WALK) { in php_snmp_internal()
452 if (st & SNMP_CMD_GET) { in php_snmp_internal()
454 } else if (st & SNMP_CMD_GETNEXT) { in php_snmp_internal()
456 } else if (st & SNMP_CMD_SET) { in php_snmp_internal()
465 if (st & SNMP_CMD_SET) { in php_snmp_internal()
490 if (st & SNMP_CMD_SET) { in php_snmp_internal()
506 if ((st & SNMP_CMD_WALK) && Z_TYPE_P(return_value) == IS_ARRAY) { in php_snmp_internal()
515 if ((st & SNMP_CMD_WALK) && in php_snmp_internal()
521 st |= SNMP_CMD_GET; in php_snmp_internal()
522 st ^= SNMP_CMD_WALK; in php_snmp_internal()
536 if (st & SNMP_NUMERIC_KEYS) { in php_snmp_internal()
538 } else if (st & SNMP_ORIGINAL_NAMES_AS_KEYS && st & SNMP_CMD_GET) { in php_snmp_internal()
553 } else if (st & SNMP_USE_SUFFIX_AS_KEYS && st & SNMP_CMD_WALK) { in php_snmp_internal()
576 if (st & SNMP_CMD_WALK) { in php_snmp_internal()
592 …if (st & SNMP_CMD_WALK && response->errstat == SNMP_ERR_TOOBIG && objid_query->max_repetitions > 1… in php_snmp_internal()
598 …if (!(st & SNMP_CMD_WALK) || response->errstat != SNMP_ERR_NOSUCHNAME || Z_TYPE_P(return_value) ==… in php_snmp_internal()
603 …if (st & (SNMP_CMD_GET | SNMP_CMD_GETNEXT) && response->errstat == SNMP_ERR_TOOBIG && objid_query-… in php_snmp_internal()
616 if (st & (SNMP_CMD_GET | SNMP_CMD_GETNEXT)) { /* cut out bogus OID and retry */ in php_snmp_internal()
617 …if ((pdu = snmp_fix_pdu(response, ((st & SNMP_CMD_GET) ? SNMP_MSG_GET : SNMP_MSG_GETNEXT) )) != NU… in php_snmp_internal()
663 zval *object, int st, struct objid_query *objid_query, zend_string *oid_str, HashTable *oid_ht, in php_snmp_parse_oid() argument
671 objid_query->array_output = ((st & SNMP_CMD_WALK) ? TRUE : FALSE); in php_snmp_parse_oid()
675 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid()
706 objid_query->array_output = ( (st & SNMP_CMD_SET) ? FALSE : TRUE ); in php_snmp_parse_oid()
710 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid()
765 if (st & SNMP_CMD_WALK) { in php_snmp_parse_oid()
1110 static void php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st, int version) in php_snmp() argument
1132 if (st & SNMP_CMD_SET) { in php_snmp()
1168 if (st & SNMP_CMD_SET) { in php_snmp()
1195 if (st & SNMP_CMD_SET) { in php_snmp()
1201 } else if (st & SNMP_CMD_WALK) { in php_snmp()
1210 st |= SNMP_USE_SUFFIX_AS_KEYS; in php_snmp()
1212 } else if (st & SNMP_CMD_GET) { in php_snmp()
1219 st |= SNMP_ORIGINAL_NAMES_AS_KEYS; in php_snmp()
1230 …if (!php_snmp_parse_oid(getThis(), st, &objid_query, oid_str, oid_ht, type_str, type_ht, value_str… in php_snmp()
1276 php_snmp_internal(INTERNAL_FUNCTION_PARAM_PASSTHRU, st, session, &objid_query); in php_snmp()