#include <openssl/bio.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
#include "../internal.h"
Go to the source code of this file.
|
static void | BIO_CONNECT_free (BIO_CONNECT *c) |
|
static BIO_CONNECT * | BIO_CONNECT_new (void) |
|
int | BIO_do_connect (BIO *bio) |
|
BIO * | BIO_new_connect (const char *hostname) |
|
const BIO_METHOD * | BIO_s_connect (void) |
|
int | BIO_set_conn_hostname (BIO *bio, const char *name) |
|
int | BIO_set_conn_int_port (BIO *bio, const int *port) |
|
int | BIO_set_conn_port (BIO *bio, const char *port_str) |
|
int | BIO_set_nbio (BIO *bio, int on) |
|
static int | closesocket (int sock) |
|
static long | conn_callback_ctrl (BIO *bio, int cmd, bio_info_cb fp) |
|
static void | conn_close_socket (BIO *bio) |
|
static long | conn_ctrl (BIO *bio, int cmd, long num, void *ptr) |
|
static int | conn_free (BIO *bio) |
|
static int | conn_new (BIO *bio) |
|
static int | conn_read (BIO *bio, char *out, int out_len) |
|
static int | conn_state (BIO *bio, BIO_CONNECT *c) |
|
static int | conn_write (BIO *bio, const char *in, int in_len) |
|
static int | split_host_and_port (char **out_host, char **out_port, const char *name) |
|
◆ BIO_CONNECT
◆ anonymous enum
Enumerator |
---|
BIO_CONN_S_BEFORE | |
BIO_CONN_S_BLOCKED_CONNECT | |
BIO_CONN_S_OK | |
Definition at line 84 of file connect.c.
◆ BIO_CONNECT_free()
◆ BIO_CONNECT_new()
◆ BIO_do_connect()
int BIO_do_connect |
( |
BIO * |
bio | ) |
|
◆ BIO_new_connect()
BIO* BIO_new_connect |
( |
const char * |
hostname | ) |
|
◆ BIO_s_connect()
◆ BIO_set_conn_hostname()
int BIO_set_conn_hostname |
( |
BIO * |
bio, |
|
|
const char * |
name |
|
) |
| |
◆ BIO_set_conn_int_port()
◆ BIO_set_conn_port()
int BIO_set_conn_port |
( |
BIO * |
bio, |
|
|
const char * |
port_str |
|
) |
| |
◆ BIO_set_nbio()
◆ closesocket()
static int closesocket |
( |
int |
sock | ) |
|
|
static |
◆ conn_callback_ctrl()
◆ conn_close_socket()
static void conn_close_socket |
( |
BIO * |
bio | ) |
|
|
static |
◆ conn_ctrl()
◆ conn_free()
static int conn_free |
( |
BIO * |
bio | ) |
|
|
static |
◆ conn_new()
static int conn_new |
( |
BIO * |
bio | ) |
|
|
static |
◆ conn_read()
static int conn_read |
( |
BIO * |
bio, |
|
|
char * |
out, |
|
|
int |
out_len |
|
) |
| |
|
static |
◆ conn_state()
◆ conn_write()
◆ split_host_and_port()
static int split_host_and_port |
( |
char ** |
out_host, |
|
|
char ** |
out_port, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ methods_connectp