Sat Apr 26 2014 22:03:24

Asterisk developer's documentation


ast_srtp_policy_res Struct Reference

#include <res_srtp.h>

Collaboration diagram for ast_srtp_policy_res:

Data Fields

struct ast_srtp_policy *(* alloc )(void)
void(* destroy )(struct ast_srtp_policy *policy)
int(* set_master_key )(struct ast_srtp_policy *policy, const unsigned char *key, size_t key_len, const unsigned char *salt, size_t salt_len)
void(* set_ssrc )(struct ast_srtp_policy *policy, unsigned long ssrc, int inbound)
int(* set_suite )(struct ast_srtp_policy *policy, enum ast_srtp_suite suite)

Detailed Description

Definition at line 60 of file res_srtp.h.


Field Documentation

struct ast_srtp_policy*(* alloc)(void) [read]

Definition at line 61 of file res_srtp.h.

Referenced by dtls_srtp_setup(), and sdp_crypto_activate().

void(* destroy)(struct ast_srtp_policy *policy)

Definition at line 62 of file res_srtp.h.

Referenced by dtls_srtp_setup(), and sdp_crypto_activate().

int(* set_master_key)(struct ast_srtp_policy *policy, const unsigned char *key, size_t key_len, const unsigned char *salt, size_t salt_len)

Definition at line 64 of file res_srtp.h.

Referenced by dtls_srtp_setup(), and set_crypto_policy().

void(* set_ssrc)(struct ast_srtp_policy *policy, unsigned long ssrc, int inbound)

Definition at line 65 of file res_srtp.h.

Referenced by dtls_srtp_setup(), and set_crypto_policy().

int(* set_suite)(struct ast_srtp_policy *policy, enum ast_srtp_suite suite)

Definition at line 63 of file res_srtp.h.

Referenced by dtls_srtp_setup(), and set_crypto_policy().


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