Home
last modified time | relevance | path

Searched refs:IP_PACKET_SIZE (Results 1 – 22 of 22) sorted by relevance

/external/webrtc/test/fuzzers/
Dulpfec_header_reader_fuzzer.cc27 std::min(size, static_cast<size_t>(IP_PACKET_SIZE)); in FuzzOneInput()
29 packet.pkt->data.EnsureCapacity(IP_PACKET_SIZE); in FuzzOneInput()
Dflexfec_header_reader_fuzzer.cc27 std::min(size, static_cast<size_t>(IP_PACKET_SIZE)); in FuzzOneInput()
29 packet.pkt->data.EnsureCapacity(IP_PACKET_SIZE); in FuzzOneInput()
Dulpfec_generator_fuzzer.cc45 packet.EnsureCapacity(IP_PACKET_SIZE); in FuzzOneInput()
Dforward_error_correction_fuzzer.cc71 received_packet.pkt->data.EnsureCapacity(IP_PACKET_SIZE); in FuzzOneInput()
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_transceiver_config.cc42 if (max_packet_size > IP_PACKET_SIZE) { in Validate()
44 << " more than " << IP_PACKET_SIZE << " is unsupported."; in Validate()
Drtcp_packet.cc33 RTC_CHECK_LE(max_length, IP_PACKET_SIZE); in Build()
34 uint8_t buffer[IP_PACKET_SIZE]; in Build()
Dforward_error_correction.cc139 IP_PACKET_SIZE) { in EncodeFec()
143 << IP_PACKET_SIZE << " bytes."; in EncodeFec()
153 generated_fec_packets_[i].data.EnsureCapacity(IP_PACKET_SIZE); in EncodeFec()
154 memset(generated_fec_packets_[i].data.data(), 0, IP_PACKET_SIZE); in EncodeFec()
556 std::min(size_t{IP_PACKET_SIZE - kRtpHeaderSize}, in StartPacketRecovery()
557 IP_PACKET_SIZE - fec_packet.fec_header_size)) { in StartPacketRecovery()
562 recovered_packet->pkt->data.EnsureCapacity(IP_PACKET_SIZE); in StartPacketRecovery()
591 if (new_size > size_t{IP_PACKET_SIZE - kRtpHeaderSize}) { in FinishPacketRecovery()
Drtcp_sender.cc90 RTC_CHECK_LE(max_packet_size, IP_PACKET_SIZE); in PacketSender()
114 uint8_t buffer_[IP_PACKET_SIZE];
177 max_packet_size_(IP_PACKET_SIZE - 28), // IPv4 + UDP by default. in RTCPSender()
1012 RTC_DCHECK_LE(max_packet_size, IP_PACKET_SIZE); in SendCombinedRtcpPacket()
Dulpfec_receiver_impl.cc85 if (rtp_packet.size() > IP_PACKET_SIZE) { in AddReceivedRedPacket()
Drtcp_transceiver_impl.cc64 RTC_CHECK_LE(max_packet_size, IP_PACKET_SIZE); in PacketSender()
88 uint8_t buffer_[IP_PACKET_SIZE];
Dfec_test_helper.cc162 static_cast<size_t>(IP_PACKET_SIZE - kRtpHeaderSize)); in BuildFlexfecPacket()
Drtp_rtcp_impl2.cc82 SetMaxRtpPacketSize(IP_PACKET_SIZE - kTcpOverIpv4HeaderSize); in ModuleRtpRtcpImpl2()
408 RTC_DCHECK_LE(rtp_packet_size, IP_PACKET_SIZE) in SetMaxRtpPacketSize()
Drtp_rtcp_impl.cc84 SetMaxRtpPacketSize(IP_PACKET_SIZE - kTcpOverIpv4HeaderSize); in ModuleRtpRtcpImpl()
446 RTC_DCHECK_LE(rtp_packet_size, IP_PACKET_SIZE) in SetMaxRtpPacketSize()
Drtp_sender.cc170 max_packet_size_(IP_PACKET_SIZE - 28), // Default is IP-v4/UDP. in RTPSender()
269 RTC_DCHECK_LE(max_packet_size, IP_PACKET_SIZE); in SetMaxRtpPacketSize()
Drtp_fec_unittest.cc60 IP_PACKET_SIZE - kRtpHeaderSize - kTransportOverhead - in RtpFecTest()
/external/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h32 #define IP_PACKET_SIZE 1500 // we assume ethernet macro
/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_legacy.cc698 RTC_DCHECK(packet.size() <= IP_PACKET_SIZE); in EncodeRtcpPacket()
699 uint8_t buffer[IP_PACKET_SIZE]; in EncodeRtcpPacket()
Drtc_event_log_encoder_new_format.cc274 RTC_DCHECK(packet.size() <= IP_PACKET_SIZE); in RemoveNonWhitelistedRtcpBlocks()
328 uint8_t buffer[IP_PACKET_SIZE]; in EncodeRtcpPacket()
/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc252 IP_PACKET_SIZE - 12 - 28 - fec->MaxPacketOverhead()); in RunTest()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.cc559 RTC_CHECK_LE(rtp_packet->headers_size() + payload_size, IP_PACKET_SIZE); in RandomizeRtpPacket()
587 : prng_.Rand(0u, static_cast<uint32_t>(IP_PACKET_SIZE - in NewRtpPacketIncoming()
616 : prng_.Rand(0u, static_cast<uint32_t>(IP_PACKET_SIZE - in NewRtpPacketOutgoing()
Drtc_event_log_parser.cc1074 memset(last_incoming_rtcp_packet_, 0, IP_PACKET_SIZE); in Clear()
1417 uint8_t header[IP_PACKET_SIZE]; in StoreParsedLegacyEvent()
1454 uint8_t packet[IP_PACKET_SIZE]; in StoreParsedLegacyEvent()
1460 RTC_PARSE_CHECK_OR_RETURN_LE(total_length, IP_PACKET_SIZE); in StoreParsedLegacyEvent()
1605 static_cast<size_t>(IP_PACKET_SIZE)); in GetRtpHeader()
1656 static_cast<unsigned>(IP_PACKET_SIZE)); in GetRtcpPacket()
Drtc_event_log_parser.h866 uint8_t last_incoming_rtcp_packet_[IP_PACKET_SIZE]; in RTC_POP_IGNORING_WUNDEF()