Sat Apr 26 2014 22:03:24

Asterisk developer's documentation


ast_rtp_engine_dtls Struct Reference

Structure that represents the optional DTLS SRTP support within an RTP engine. More...

#include <rtp_engine.h>

Data Fields

int(* active )(struct ast_rtp_instance *instance)
enum ast_rtp_dtls_connection(* get_connection )(struct ast_rtp_instance *instance)
const char *(* get_fingerprint )(struct ast_rtp_instance *instance, enum ast_rtp_dtls_hash hash)
enum ast_rtp_dtls_setup(* get_setup )(struct ast_rtp_instance *instance)
void(* reset )(struct ast_rtp_instance *instance)
int(* set_configuration )(struct ast_rtp_instance *instance, const struct ast_rtp_dtls_cfg *dtls_cfg)
void(* set_fingerprint )(struct ast_rtp_instance *instance, enum ast_rtp_dtls_hash hash, const char *fingerprint)
void(* set_setup )(struct ast_rtp_instance *instance, enum ast_rtp_dtls_setup setup)
void(* stop )(struct ast_rtp_instance *instance)

Detailed Description

Structure that represents the optional DTLS SRTP support within an RTP engine.

Definition at line 396 of file rtp_engine.h.


Field Documentation

int(* active)(struct ast_rtp_instance *instance)

Get if the DTLS SRTP support is active or not

Definition at line 400 of file rtp_engine.h.

Referenced by add_dtls_to_sdp(), get_sdp_rtp_profile(), and process_sdp().

Get the current connection state

Definition at line 406 of file rtp_engine.h.

Referenced by add_dtls_to_sdp().

const char*(* get_fingerprint)(struct ast_rtp_instance *instance, enum ast_rtp_dtls_hash hash)

Get the local fingerprint

Definition at line 414 of file rtp_engine.h.

Referenced by add_dtls_to_sdp().

enum ast_rtp_dtls_setup(* get_setup)(struct ast_rtp_instance *instance)

Get the current setup state

Definition at line 408 of file rtp_engine.h.

Referenced by add_dtls_to_sdp().

void(* reset)(struct ast_rtp_instance *instance)

Reset the connection and start fresh

Definition at line 404 of file rtp_engine.h.

Referenced by process_sdp_a_dtls().

int(* set_configuration)(struct ast_rtp_instance *instance, const struct ast_rtp_dtls_cfg *dtls_cfg)

Set the configuration of the DTLS support on the instance

Definition at line 398 of file rtp_engine.h.

Referenced by dialog_initialize_dtls_srtp().

void(* set_fingerprint)(struct ast_rtp_instance *instance, enum ast_rtp_dtls_hash hash, const char *fingerprint)

Set the remote fingerprint

Definition at line 412 of file rtp_engine.h.

Referenced by process_sdp_a_dtls().

void(* set_setup)(struct ast_rtp_instance *instance, enum ast_rtp_dtls_setup setup)

Set the remote setup state

Definition at line 410 of file rtp_engine.h.

Referenced by process_sdp_a_dtls().

void(* stop)(struct ast_rtp_instance *instance)

Stop and terminate DTLS SRTP support

Definition at line 402 of file rtp_engine.h.

Referenced by process_crypto().


The documentation for this struct was generated from the following file: