Lines Matching refs:packet
87 let packet = rtp::packet::Packet { in test_session_srtp_accept() localVariable
94 sa.write_rtp(&packet).await?; in test_session_srtp_accept()
126 let packet = rtp::packet::Packet { in test_session_srtp_listen() localVariable
136 sa.write_rtp(&packet).await?; in test_session_srtp_listen()
169 let packet = rtp::packet::Packet { in test_session_srtp_multi_ssrc() localVariable
176 sa.write_rtp(&packet).await?; in test_session_srtp_multi_ssrc()
199 fn encrypt_srtp(context: &mut Context, pkt: &rtp::packet::Packet) -> Result<Bytes> { in encrypt_srtp()
243 let packet = rtp::packet::Packet { in test_session_srtp_replay_protection() localVariable
252 let encrypted = encrypt_srtp(&mut local_context, &packet)?; in test_session_srtp_replay_protection()
286 for packet in &packets { in test_session_srtp_replay_protection()
287 sa.udp_tx.send(packet).await?; in test_session_srtp_replay_protection()
290 sa.udp_tx.send(packet).await?; in test_session_srtp_replay_protection()
292 for packet in &packets { in test_session_srtp_replay_protection()
294 sa.udp_tx.send(packet).await?; in test_session_srtp_replay_protection()