Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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(* get_fingerprint_hash )(struct ast_rtp_instance *instance)
 
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 621 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 625 of file rtp_engine.h.

Referenced by ast_sdp_get_rtp_profile().

enum ast_rtp_dtls_connection(* get_connection) (struct ast_rtp_instance *instance)

Get the current connection state

Definition at line 631 of file rtp_engine.h.

const char*(* get_fingerprint) (struct ast_rtp_instance *instance)

Get the local fingerprint

Definition at line 641 of file rtp_engine.h.

enum ast_rtp_dtls_hash(* get_fingerprint_hash) (struct ast_rtp_instance *instance)

Get the local fingerprint hash type

Definition at line 639 of file rtp_engine.h.

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

Get the current setup state

Definition at line 633 of file rtp_engine.h.

void(* reset) (struct ast_rtp_instance *instance)

Reset the connection and start fresh

Definition at line 629 of file rtp_engine.h.

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 623 of file rtp_engine.h.

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

Set the remote fingerprint

Definition at line 637 of file rtp_engine.h.

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

Set the remote setup state

Definition at line 635 of file rtp_engine.h.

void(* stop) (struct ast_rtp_instance *instance)

Stop and terminate DTLS SRTP support

Definition at line 627 of file rtp_engine.h.


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