OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
d1_lib.c File Reference
#include <stdio.h>
#include <openssl/objects.h>
#include "ssl_locl.h"

Go to the source code of this file.

Macros

#define USE_SOCKETS
 

Functions

int dtls1_listen (SSL *s, struct sockaddr *client)
 
long dtls1_default_timeout (void)
 
int dtls1_new (SSL *s)
 
void dtls1_free (SSL *s)
 
void dtls1_clear (SSL *s)
 
long dtls1_ctrl (SSL *s, int cmd, long larg, void *parg)
 
const SSL_CIPHERdtls1_get_cipher (unsigned int u)
 
void dtls1_start_timer (SSL *s)
 
struct timeval * dtls1_get_timeout (SSL *s, struct timeval *timeleft)
 
int dtls1_is_timer_expired (SSL *s)
 
void dtls1_double_timeout (SSL *s)
 
void dtls1_stop_timer (SSL *s)
 
int dtls1_check_timeout_num (SSL *s)
 
int dtls1_handle_timeout (SSL *s)
 

Variables

const char dtls1_version_str [] ="DTLSv1" OPENSSL_VERSION_PTEXT
 
SSL3_ENC_METHOD DTLSv1_enc_data
 

Macro Definition Documentation

#define USE_SOCKETS

Definition at line 61 of file d1_lib.c.

Function Documentation

int dtls1_check_timeout_num ( SSL s)

Definition at line 402 of file d1_lib.c.

void dtls1_clear ( SSL s)

Definition at line 201 of file d1_lib.c.

long dtls1_ctrl ( SSL s,
int  cmd,
long  larg,
void parg 
)

Definition at line 247 of file d1_lib.c.

long dtls1_default_timeout ( void  )

Definition at line 88 of file d1_lib.c.

void dtls1_double_timeout ( SSL s)

Definition at line 383 of file d1_lib.c.

void dtls1_free ( SSL s)

Definition at line 186 of file d1_lib.c.

const SSL_CIPHER* dtls1_get_cipher ( unsigned int  u)

Definition at line 280 of file d1_lib.c.

struct timeval* dtls1_get_timeout ( SSL s,
struct timeval *  timeleft 
)
read

Definition at line 318 of file d1_lib.c.

int dtls1_handle_timeout ( SSL s)

Definition at line 422 of file d1_lib.c.

int dtls1_is_timer_expired ( SSL s)

Definition at line 363 of file d1_lib.c.

int dtls1_listen ( SSL s,
struct sockaddr *  client 
)

Definition at line 470 of file d1_lib.c.

int dtls1_new ( SSL s)

Definition at line 95 of file d1_lib.c.

void dtls1_start_timer ( SSL s)

Definition at line 293 of file d1_lib.c.

void dtls1_stop_timer ( SSL s)

Definition at line 391 of file d1_lib.c.

Variable Documentation

const char dtls1_version_str[] ="DTLSv1" OPENSSL_VERSION_PTEXT

Definition at line 70 of file d1_lib.c.

SSL3_ENC_METHOD DTLSv1_enc_data