Lines Matching refs:srtp
90 srtp_session_print_policy(srtp_t srtp);
160 /* initialize srtp library */
163 printf("error: srtp init failed with error code %d\n", status);
224 /* loop over policy array, testing srtp and srtcp for each policy */
331 printf("testing srtp processing time for voice codecs:\n");
424 printf("# testing srtp throughput:\r\n");
446 printf("# testing srtp rejection throughput:\r\n");
462 srtp_t srtp;
472 * allocate and initialize an srtp session
474 status = srtp_create(&srtp, policy);
501 /* srtp protect message */
502 status = srtp_protect(srtp, mesg, &len);
522 srtp_ctx_t *srtp;
532 * allocate and initialize an srtp session
534 status = srtp_create(&srtp, policy);
545 srtp_protect(srtp, (srtp_hdr_t *)mesg, &len);
550 srtp_unprotect(srtp, (srtp_hdr_t *)mesg, &len);
565 fprintf(stderr, "error: unexpected srtp failure (code %d)\n", s);
968 srtp_session_print_policy(srtp_t srtp) {
983 if (srtp == NULL)
987 if (srtp->stream_template != NULL) {
988 stream = srtp->stream_template;
1010 stream = srtp->stream_list;
1140 * These packets were made with the default SRTP policy.
1178 * create a session with a single stream using the default srtp
1277 extern srtp_stream_t srtp_get_stream(srtp_t srtp, uint32_t ssrc);
1314 * srtp policy definitions - these definitions are used above
1327 { /* SRTP policy */
1545 { /* SRTP policy */