Lines Matching refs:pptr
635 char *pptr; in php_snmp_parse_oid() local
664 pptr = ZSTR_VAL(type_str); in php_snmp_parse_oid()
665 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
681 pptr = ZSTR_VAL(type_str); in php_snmp_parse_oid()
682 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
708 pptr = Z_STRVAL_P(tmp_type); in php_snmp_parse_oid()
709 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
793 char *pptr, *host_ptr; in netsnmp_session_init() local
818 if ((pptr = strchr(host_ptr, ']'))) { in netsnmp_session_init()
819 if (pptr[1] == ':') { in netsnmp_session_init()
820 remote_port = atoi(pptr + 2); in netsnmp_session_init()
822 *pptr = '\0'; in netsnmp_session_init()
828 if ((pptr = strchr(host_ptr, ':'))) { in netsnmp_session_init()
829 remote_port = atoi(pptr + 1); in netsnmp_session_init()
830 *pptr = '\0'; in netsnmp_session_init()
845 pptr = session->peername; in netsnmp_session_init()
853 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
854 inet_ntop((*res)->sa_family, &(((struct sockaddr_in6*)(*res))->sin6_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
855 strcat(pptr, "]"); in netsnmp_session_init()
857 inet_ntop((*res)->sa_family, &(((struct sockaddr_in*)(*res))->sin_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
867 strcat(pptr, inet_ntoa(((struct sockaddr_in*)(*res))->sin_addr)); in netsnmp_session_init()
882 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
883 sprintf(pptr, ":%d", remote_port); in netsnmp_session_init()