Searched refs:port_ptr (Results 1 – 6 of 6) sorted by relevance
175 int BIO_get_port(const char *str, unsigned short *port_ptr) in BIO_get_port() argument187 *port_ptr=(unsigned short)i; in BIO_get_port()200 *port_ptr=ntohs((unsigned short)s->s_port); in BIO_get_port()205 *port_ptr=80; in BIO_get_port()207 *port_ptr=23; in BIO_get_port()209 *port_ptr=1080; in BIO_get_port()211 *port_ptr=443; in BIO_get_port()213 *port_ptr=443; in BIO_get_port()215 *port_ptr=21; in BIO_get_port()217 *port_ptr=70; in BIO_get_port()[all …]
654 int BIO_get_port(const char *str, unsigned short *port_ptr);
476 short *port_ptr) in extract_host_port() argument493 if (!extract_port(p,port_ptr)) in extract_host_port()546 int extract_port(char *str, short *port_ptr) in extract_port() argument553 *port_ptr=(unsigned short)i; in extract_port()562 *port_ptr=ntohs((unsigned short)s->s_port); in extract_port()
161 int extract_port(char *str, short *port_ptr);
1041 u_int16_t *port_ptr; in get_port_ptr() local1048 port_ptr = &(((struct sockaddr_in *)addr)->sin_port); in get_port_ptr()1051 port_ptr = &(((struct sockaddr_in6 *)addr)->sin6_port); in get_port_ptr()1059 return port_ptr; in get_port_ptr()1065 u_int16_t *port_ptr; in set_port() local1067 port_ptr = get_port_ptr (addr); in set_port()1069 if (port_ptr) in set_port()1070 *port_ptr = htons(new_port); in set_port()1072 return port_ptr; in set_port()