Home
last modified time | relevance | path

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

/php-src/ext/snmp/
H A Dsnmp.c159 PHP_SNMP_SESSION_FREE(peername); in netsnmp_session_free()
854 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
857 host_ptr = session->peername; in netsnmp_session_init()
887 *(session->peername) = '\0'; in netsnmp_session_init()
890 pptr = session->peername; in netsnmp_session_init()
897 strcpy(session->peername, "udp6:["); in netsnmp_session_init()
898 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
911 if (strlen(session->peername) == 0) { in netsnmp_session_init()
921 size_t peername_length = strlen(session->peername); in netsnmp_session_init()
922 pptr = session->peername + peername_length; in netsnmp_session_init()
[all …]
/php-src/ext/standard/
H A Dstreamsfuncs.c264 zend_string *peername = NULL; in PHP_FUNCTION() local
304 zpeername ? &peername : NULL, in PHP_FUNCTION()
309 if (peername) { in PHP_FUNCTION()
310 ZEND_TRY_ASSIGN_REF_STR(zpeername, peername); in PHP_FUNCTION()
314 if (peername) { in PHP_FUNCTION()
315 zend_string_release(peername); in PHP_FUNCTION()

Completed in 14 milliseconds