OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
d1_pkt.c File Reference
#include <stdio.h>
#include <errno.h>
#include "ssl_locl.h"
#include <openssl/evp.h>
#include <openssl/buffer.h>
#include <openssl/pqueue.h>
#include <openssl/rand.h>

Go to the source code of this file.

Macros

#define USE_SOCKETS
 
#define dtls1_get_unprocessed_record(s)
 
#define dtls1_get_processed_record(s)
 

Functions

int dtls1_get_record (SSL *s)
 
int dtls1_read_bytes (SSL *s, int type, unsigned char *buf, int len, int peek)
 
int dtls1_write_app_data_bytes (SSL *s, int type, const void *buf_, int len)
 
int dtls1_write_bytes (SSL *s, int type, const void *buf, int len)
 
int do_dtls1_write (SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment)
 
int dtls1_dispatch_alert (SSL *s)
 
void dtls1_reset_seq_numbers (SSL *s, int rw)
 

Macro Definition Documentation

#define dtls1_get_processed_record (   s)
Value:
dtls1_retrieve_buffered_record((s), \
&((s)->d1->processed_rcds))

Definition at line 294 of file d1_pkt.c.

#define dtls1_get_unprocessed_record (   s)
Value:
dtls1_retrieve_buffered_record((s), \
&((s)->d1->unprocessed_rcds))

Definition at line 289 of file d1_pkt.c.

#define USE_SOCKETS

Definition at line 118 of file d1_pkt.c.

Function Documentation

int do_dtls1_write ( SSL s,
int  type,
const unsigned char *  buf,
unsigned int  len,
int  create_empty_fragment 
)

Definition at line 1446 of file d1_pkt.c.

int dtls1_dispatch_alert ( SSL s)

Definition at line 1703 of file d1_pkt.c.

int dtls1_get_record ( SSL s)

Definition at line 534 of file d1_pkt.c.

int dtls1_read_bytes ( SSL s,
int  type,
unsigned char *  buf,
int  len,
int  peek 
)

Definition at line 731 of file d1_pkt.c.

void dtls1_reset_seq_numbers ( SSL s,
int  rw 
)

Definition at line 1856 of file d1_pkt.c.

int dtls1_write_app_data_bytes ( SSL s,
int  type,
const void buf_,
int  len 
)

Definition at line 1364 of file d1_pkt.c.

int dtls1_write_bytes ( SSL s,
int  type,
const void buf,
int  len 
)

Definition at line 1436 of file d1_pkt.c.