Home
last modified time | relevance | path

Searched refs:contextEngineID (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/snmp/
H A Dsnmp.c177 PHP_SNMP_SESSION_FREE(contextEngineID); in netsnmp_session_free()
1044 …tic bool netsnmp_session_set_contextEngineID(struct snmp_session *s, zend_string * contextEngineID) in netsnmp_session_set_contextEngineID() argument
1049 if (!snmp_hex_to_binary(&ebuf, &ebuf_len, &eout_len, 1, ZSTR_VAL(contextEngineID))) { in netsnmp_session_set_contextEngineID()
1051 php_error_docref(NULL, E_WARNING, "Bad engine ID value '%s'", ZSTR_VAL(contextEngineID)); in netsnmp_session_set_contextEngineID()
1056 if (s->contextEngineID) { in netsnmp_session_set_contextEngineID()
1057 efree(s->contextEngineID); in netsnmp_session_set_contextEngineID()
1060 s->contextEngineID = ebuf; in netsnmp_session_set_contextEngineID()
1069 zend_string *priv_passphrase, zend_string *contextName, zend_string *contextEngineID) in netsnmp_session_set_security() argument
1114 …if (contextEngineID && ZSTR_LEN(contextEngineID) && !netsnmp_session_set_contextEngineID(session, in netsnmp_session_set_security()
/PHP-8.1/ext/snmp/tests/
H A Dsnmp-object.phpt151 echo "SNMPv3, setting contextEngineID (authPriv)\n";
245 SNMPv3, setting contextEngineID (authPriv)

Completed in 15 milliseconds