Home
last modified time | relevance | path

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

/openssh-portable/openbsd-compat/
H A 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()
H A 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()
/openssh-portable/
H A Dmisc.c733 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) in parse_user_host_port() argument
743 if (portp != NULL) in parse_user_host_port()
744 *portp = -1; in parse_user_host_port()
775 if (portp != NULL) in parse_user_host_port()
776 *portp = port; in parse_user_host_port()
858 int *portp, char **pathp) in parse_uri() argument
874 if (portp != NULL) in parse_uri()
875 *portp = -1; in parse_uri()
932 if (portp != NULL) in parse_uri()
933 *portp = port; in parse_uri()
H A Dscp.c624 parse_scp_uri(const char *uri, char **userp, char **hostp, int *portp, in parse_scp_uri() argument
629 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri()
H A Dreadconf.c2513 parse_ssh_uri(const char *uri, char **userp, char **hostp, int *portp) in parse_ssh_uri() argument
2518 r = parse_uri("ssh", uri, userp, hostp, portp, &path); in parse_ssh_uri()

Completed in 47 milliseconds