Home
last modified time | relevance | path

Searched refs:port_ptr (Results 1 – 6 of 6) sorted by relevance

/external/openssl/crypto/bio/
Db_sock.c175 int BIO_get_port(const char *str, unsigned short *port_ptr) in BIO_get_port() argument
187 *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 …]
Dbio.h654 int BIO_get_port(const char *str, unsigned short *port_ptr);
/external/openssl/apps/
Ds_socket.c476 short *port_ptr) in extract_host_port() argument
493 if (!extract_port(p,port_ptr)) in extract_host_port()
546 int extract_port(char *str, short *port_ptr) in extract_port() argument
553 *port_ptr=(unsigned short)i; in extract_port()
562 *port_ptr=ntohs((unsigned short)s->s_port); in extract_port()
Ds_apps.h161 int extract_port(char *str, short *port_ptr);
/external/ipsec-tools/src/racoon/
Dsockmisc.c1041 u_int16_t *port_ptr; in get_port_ptr() local
1048 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() local
1067 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()
/external/openssl/include/openssl/
Dbio.h654 int BIO_get_port(const char *str, unsigned short *port_ptr);