Lines Matching refs:pptr
637 char *pptr; in php_snmp_parse_oid() local
666 pptr = ZSTR_VAL(type_str); in php_snmp_parse_oid()
667 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
683 pptr = ZSTR_VAL(type_str); in php_snmp_parse_oid()
684 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
710 pptr = Z_STRVAL_P(tmp_type); in php_snmp_parse_oid()
711 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
795 char *pptr, *host_ptr; in netsnmp_session_init() local
820 if ((pptr = strchr(host_ptr, ']'))) { in netsnmp_session_init()
821 if (pptr[1] == ':') { in netsnmp_session_init()
822 remote_port = atoi(pptr + 2); in netsnmp_session_init()
824 *pptr = '\0'; in netsnmp_session_init()
830 if ((pptr = strchr(host_ptr, ':'))) { in netsnmp_session_init()
831 remote_port = atoi(pptr + 1); in netsnmp_session_init()
832 *pptr = '\0'; in netsnmp_session_init()
847 pptr = session->peername; in netsnmp_session_init()
855 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
856 inet_ntop((*res)->sa_family, &(((struct sockaddr_in6*)(*res))->sin6_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
857 strcat(pptr, "]"); in netsnmp_session_init()
859 inet_ntop((*res)->sa_family, &(((struct sockaddr_in*)(*res))->sin_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
869 strcat(pptr, inet_ntoa(((struct sockaddr_in*)(*res))->sin_addr)); in netsnmp_session_init()
884 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
885 sprintf(pptr, ":%d", remote_port); in netsnmp_session_init()