Searched refs:portp (Results 1 – 3 of 3) sorted by relevance
62 u_int16_t *portp; in rresvport_af() local72 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()
59 u_int16_t *portp; in bindresvport_sa() local79 portp = &in->sin_port; in bindresvport_sa()83 portp = &in6->sin6_port; in bindresvport_sa()90 port = ntohs(*portp); in bindresvport_sa()98 *portp = htons(port); in bindresvport_sa()
1372 unsigned char ad[6], *adp, *portp; in xmlNanoFTPGetConnection() local1496 portp = (unsigned char *) &((struct sockaddr_in6 *)&dataAddr)->sin6_port; in xmlNanoFTPGetConnection()1497 snprintf (buf, sizeof(buf), "EPRT |2|%s|%s|\r\n", adp, portp); in xmlNanoFTPGetConnection()1502 portp = (unsigned char *) &((struct sockaddr_in *)&dataAddr)->sin_port; in xmlNanoFTPGetConnection()1505 portp[0] & 0xff, portp[1] & 0xff); in xmlNanoFTPGetConnection()