Home
last modified time | relevance | path

Searched refs:test_packet (Results 1 – 3 of 3) sorted by relevance

/external/srtp/test/
Ddtls_srtp_driver.c121 srtp_hdr_t *test_packet; in test_dtls_srtp() local
140 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
141 if (test_packet == NULL) in test_dtls_srtp()
143 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
149 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
155 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
161 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
/external/webrtc/webrtc/base/
Dsocket_unittest.cc921 rtc::scoped_ptr<char[]> test_packet(new char[test_packet_size]); in UdpReadyToSend() local
923 memset(test_packet.get(), 0, test_packet_size); in UdpReadyToSend()
937 int ret = client->SendTo(test_packet.get(), test_packet_size, test_addr); in UdpReadyToSend()
/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc1330 uint8_t test_packet[15] = {0}; in TestPacketOptions() local
1334 ->SendRtp(test_packet, sizeof(test_packet), options); in TestPacketOptions()