Lines Matching refs:pptr
936 char *pptr; in php_snmp_parse_oid() local
966 pptr = Z_STRVAL_P(type); in php_snmp_parse_oid()
967 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
988 pptr = Z_STRVAL_P(type); in php_snmp_parse_oid()
989 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
1005 pptr = Z_STRVAL_P(tmp_type); in php_snmp_parse_oid()
1006 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
1080 char *pptr, *host_ptr; in netsnmp_session_init() local
1104 if ((pptr = strchr(host_ptr, ']'))) { in netsnmp_session_init()
1105 if (pptr[1] == ':') { in netsnmp_session_init()
1106 session->remote_port = atoi(pptr + 2); in netsnmp_session_init()
1108 *pptr = '\0'; in netsnmp_session_init()
1114 if ((pptr = strchr(host_ptr, ':'))) { in netsnmp_session_init()
1115 session->remote_port = atoi(pptr + 1); in netsnmp_session_init()
1116 *pptr = '\0'; in netsnmp_session_init()
1131 pptr = session->peername; in netsnmp_session_init()
1139 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
1140 inet_ntop((*res)->sa_family, &(((struct sockaddr_in6*)(*res))->sin6_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
1141 strcat(pptr, "]"); in netsnmp_session_init()
1143 inet_ntop((*res)->sa_family, &(((struct sockaddr_in*)(*res))->sin_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
1153 strcat(pptr, inet_ntoa(((struct sockaddr_in*)(*res))->sin_addr)); in netsnmp_session_init()
1168 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
1169 sprintf(pptr, ":%d", session->remote_port); in netsnmp_session_init()