Home
last modified time | relevance | path

Searched refs:portp (Results 1 – 7 of 7) sorted by relevance

/external/openssh/openbsd-compat/
Drresvport.c62 u_int16_t *portp; in rresvport_af() local
72 portp = &((struct sockaddr_in *)sa)->sin_port; in rresvport_af()
76 portp = &((struct sockaddr_in6 *)sa)->sin6_port; in rresvport_af()
88 *portp = htons(*alport); in rresvport_af()
98 *portp = 0; in rresvport_af()
104 *alport = ntohs(*portp); in rresvport_af()
Dbindresvport.c59 u_int16_t *portp; in bindresvport_sa() local
80 portp = &in->sin_port; in bindresvport_sa()
84 portp = &in6->sin6_port; in bindresvport_sa()
91 port = ntohs(*portp); in bindresvport_sa()
99 *portp = htons(port); in bindresvport_sa()
/external/openssh/
Dmisc.c468 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) in parse_user_host_port() argument
478 if (portp != NULL) in parse_user_host_port()
479 *portp = -1; in parse_user_host_port()
510 if (portp != NULL) in parse_user_host_port()
511 *portp = port; in parse_user_host_port()
/external/curl/tests/server/
Drtspd.c557 char *portp = strchr(doc, ':'); in ProcessRequest() local
558 if(portp && (*(portp + 1) != '\0') && ISDIGIT(*(portp + 1))) in ProcessRequest()
559 req->testno = strtol(portp + 1, NULL, 10); in ProcessRequest()
Dsws.c569 char *portp = NULL; in ProcessRequest() local
599 portp = p + 1; in ProcessRequest()
604 portp = strchr(doc, ':'); in ProcessRequest()
606 if(portp && (*(portp + 1) != '\0') && ISDIGIT(*(portp + 1))) { in ProcessRequest()
607 unsigned long ulnum = strtoul(portp + 1, NULL, 10); in ProcessRequest()
/external/libxml2/
Dnanoftp.c1379 unsigned char ad[6], *adp, *portp; in xmlNanoFTPGetConnection() local
1503 portp = (unsigned char *) &((struct sockaddr_in6 *)&dataAddr)->sin6_port; in xmlNanoFTPGetConnection()
1504 snprintf (buf, sizeof(buf), "EPRT |2|%s|%s|\r\n", adp, portp); in xmlNanoFTPGetConnection()
1509 portp = (unsigned char *) &((struct sockaddr_in *)&dataAddr)->sin_port; in xmlNanoFTPGetConnection()
1512 portp[0] & 0xff, portp[1] & 0xff); in xmlNanoFTPGetConnection()
/external/libpcap/
Dpcap.c1474 char **hostp, char **portp, char **pathp, char *ebuf)
1491 *portp = NULL;
1796 *portp = port;