Home | History | Annotate | Download | only in test

Lines Matching refs:ssrc

123 /* the wildcard_policy is declared below; it has a wildcard ssrc */
259 "wildcard ssrc policy\n");
321 policy.ssrc.type = ssrc_specific;
322 policy.ssrc.value = 0xdecafbad;
365 * srtp_create_test_packet(len, ssrc) returns a pointer to a
367 * by pkt_octet_len and the SSRC value ssrc. The total length of the
378 srtp_create_test_packet(int pkt_octet_len, uint32_t ssrc) {
398 hdr->ssrc = htonl(ssrc); /* synch. source */
468 uint32_t ssrc;
481 * if the ssrc is unspecified, use a predetermined one
483 if (policy->ssrc.type != ssrc_specific) {
484 ssrc = 0xdeadbeef;
486 ssrc = policy->ssrc.value;
492 mesg = srtp_create_test_packet(msg_len_octets, ssrc);
528 uint32_t ssrc = policy->ssrc.value;
540 mesg = srtp_create_test_packet(msg_len_octets, ssrc);
581 uint32_t ssrc;
590 * initialize data buffer, using the ssrc in the policy unless that
594 if (policy->ssrc.type != ssrc_specific)
595 ssrc = 0xdecafbad;
597 ssrc = policy->ssrc.value;
599 hdr = srtp_create_test_packet(msg_len_octets, ssrc);
603 hdr2 = srtp_create_test_packet(msg_len_octets, ssrc);
677 * if the policy uses a 'wildcard' ssrc, then we need to make a copy
687 if (policy->ssrc.type == ssrc_any_outbound) {
688 rcvr_policy->ssrc.type = ssrc_any_inbound;
780 uint32_t ssrc;
789 * initialize data buffer, using the ssrc in the policy unless that
793 if (policy->ssrc.type != ssrc_specific)
794 ssrc = 0xdecafbad;
796 ssrc = policy->ssrc.value;
798 hdr = srtp_create_test_packet(msg_len_octets, ssrc);
802 hdr2 = srtp_create_test_packet(msg_len_octets, ssrc);
876 * if the policy uses a 'wildcard' ssrc, then we need to make a copy
886 if (policy->ssrc.type == ssrc_any_outbound) {
887 rcvr_policy->ssrc.type = ssrc_any_inbound;
989 printf("# SSRC: any %s\r\n"
1015 printf("# SSRC: 0x%08x\r\n"
1024 stream->ssrc,
1091 " ssrc:\t%x\n"
1102 hdr->ssrc,
1179 * policy and with the SSRC value 0xcafebabe
1183 policy.ssrc.type = ssrc_specific;
1184 policy.ssrc.value = 0xcafebabe;
1239 uint32_t ssrc = 0;
1247 * into it (and incrementing the SSRC value as we go along)
1255 p->ssrc.type = ssrc_specific;
1256 p->ssrc.value = ssrc++;
1277 extern srtp_stream_t srtp_get_stream(srtp_t srtp, uint32_t ssrc);
1326 { ssrc_any_outbound, 0 }, /* SSRC */
1351 { ssrc_any_outbound, 0 }, /* SSRC */
1376 { ssrc_any_outbound, 0 }, /* SSRC */
1401 { ssrc_any_outbound, 0 }, /* SSRC */
1426 { ssrc_any_outbound, 0 }, /* SSRC */
1451 { ssrc_any_outbound, 0 }, /* SSRC */
1490 { ssrc_any_outbound, 0 }, /* SSRC */
1544 { ssrc_any_outbound, 0 }, /* SSRC */