Lines Matching refs:st

673 static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, int st,  in php_snmp_internal()  argument
696 if (st & SNMP_CMD_WALK) { /* remember root OID */ in php_snmp_internal()
710 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) { in php_snmp_internal()
716 if (st & SNMP_CMD_WALK) { in php_snmp_internal()
726 if (st & SNMP_CMD_GET) { in php_snmp_internal()
728 } else if (st & SNMP_CMD_GETNEXT) { in php_snmp_internal()
730 } else if (st & SNMP_CMD_SET) { in php_snmp_internal()
739 if (st & SNMP_CMD_SET) { in php_snmp_internal()
764 if (st & SNMP_CMD_SET) { in php_snmp_internal()
779 if ((st & SNMP_CMD_WALK) && Z_TYPE_P(return_value) == IS_ARRAY) { in php_snmp_internal()
788 if ((st & SNMP_CMD_WALK) && in php_snmp_internal()
794 st |= SNMP_CMD_GET; in php_snmp_internal()
795 st ^= SNMP_CMD_WALK; in php_snmp_internal()
809 if (st & SNMP_NUMERIC_KEYS) { in php_snmp_internal()
811 } else if (st & SNMP_ORIGINAL_NAMES_AS_KEYS && st & SNMP_CMD_GET) { in php_snmp_internal()
826 } else if (st & SNMP_USE_SUFFIX_AS_KEYS && st & SNMP_CMD_WALK) { in php_snmp_internal()
849 if (st & SNMP_CMD_WALK) { in php_snmp_internal()
865 …if (st & SNMP_CMD_WALK && response->errstat == SNMP_ERR_TOOBIG && objid_query->max_repetitions > 1… in php_snmp_internal()
871 …if (!(st & SNMP_CMD_WALK) || response->errstat != SNMP_ERR_NOSUCHNAME || Z_TYPE_P(return_value) ==… in php_snmp_internal()
876 …if (st & (SNMP_CMD_GET | SNMP_CMD_GETNEXT) && response->errstat == SNMP_ERR_TOOBIG && objid_query-… in php_snmp_internal()
889 if (st & (SNMP_CMD_GET | SNMP_CMD_GETNEXT)) { /* cut out bogus OID and retry */ in php_snmp_internal()
890 …if ((pdu = snmp_fix_pdu(response, ((st & SNMP_CMD_GET) ? SNMP_MSG_GET : SNMP_MSG_GETNEXT) )) != NU… in php_snmp_internal()
936 static int php_snmp_parse_oid(zval *object, int st, struct objid_query *objid_query, zval *oid, zva… in php_snmp_parse_oid() argument
946 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid()
957 objid_query->array_output = ((st & SNMP_CMD_WALK) ? TRUE : FALSE); in php_snmp_parse_oid()
961 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid()
984 objid_query->array_output = ( (st & SNMP_CMD_SET) ? FALSE : TRUE ); in php_snmp_parse_oid()
988 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid()
1043 if (st & SNMP_CMD_WALK) { in php_snmp_parse_oid()
1366 static void php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st, int version) in php_snmp() argument
1388 if (st & SNMP_CMD_SET) { in php_snmp()
1404 if (st & SNMP_CMD_SET) { in php_snmp()
1419 if (st & SNMP_CMD_SET) { in php_snmp()
1423 } else if (st & SNMP_CMD_WALK) { in php_snmp()
1428 st |= SNMP_USE_SUFFIX_AS_KEYS; in php_snmp()
1430 } else if (st & SNMP_CMD_GET) { in php_snmp()
1435 st |= SNMP_ORIGINAL_NAMES_AS_KEYS; in php_snmp()
1446 if (!php_snmp_parse_oid(getThis(), st, &objid_query, oid, type, value)) { in php_snmp()
1492 php_snmp_internal(INTERNAL_FUNCTION_PARAM_PASSTHRU, st, session, &objid_query); in php_snmp()