Home
last modified time | relevance | path

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

/PHP-8.0/ext/snmp/
H A Dsnmp.c175 PHP_SNMP_SESSION_FREE(peername); in netsnmp_session_free()
820 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
822 strlcpy(session->peername, hostname, MAX_NAME_LEN); in netsnmp_session_init()
823 host_ptr = session->peername; in netsnmp_session_init()
853 *(session->peername) = '\0'; in netsnmp_session_init()
856 pptr = session->peername; in netsnmp_session_init()
863 strcpy(session->peername, "udp6:["); in netsnmp_session_init()
864 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
883 if (strlen(session->peername) == 0) { in netsnmp_session_init()
893 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
[all …]
/PHP-8.0/ext/standard/
H A Dstreamsfuncs.c261 zend_string *peername = NULL; in PHP_FUNCTION() local
292 zpeername ? &peername : NULL, in PHP_FUNCTION()
297 if (peername) { in PHP_FUNCTION()
298 ZEND_TRY_ASSIGN_REF_STR(zpeername, peername); in PHP_FUNCTION()
302 if (peername) { in PHP_FUNCTION()
303 zend_string_release(peername); in PHP_FUNCTION()

Completed in 20 milliseconds