Home
last modified time | relevance | path

Searched refs:packet_length (Results 1 – 25 of 48) sorted by relevance

12

/external/u-boot/drivers/net/
Dlan91c96.c304 int packet_length) in smc_send_packet() argument
317 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send_packet()
519 word packet_length; in smc_rcv() local
543 packet_length = stat_len >> 16; in smc_rcv()
546 packet_length = SMC_inw(dev, LAN91C96_DATA_HIGH); in smc_rcv()
549 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
551 PRINTK2 ("RCV: STATUS %4x LENGTH %4x\n", status, packet_length); in smc_rcv()
555 packet_length -= 4; /*4; */ in smc_rcv()
565 packet_length >> 2, packet_length & 3); in smc_rcv()
571 packet_length >> 2); in smc_rcv()
[all …]
Dsmc91111.c415 static int smc_send(struct eth_device *dev, void *packet, int packet_length) in smc_send() argument
434 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send()
669 word packet_length; in smc_rcv() local
697 packet_length = stat_len >> 16; in smc_rcv()
700 packet_length = SMC_inw( dev, SMC91111_DATA_REG ); in smc_rcv()
703 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
705 PRINTK2("RCV: STATUS %4x LENGTH %4x\n", status, packet_length ); in smc_rcv()
709 packet_length -= 4; /*4; */ in smc_rcv()
719 packet_length >> 2, packet_length & 3 ); in smc_rcv()
725 packet_length >> 2); in smc_rcv()
[all …]
Daltera_tse.c184 int packet_length; in altera_tse_recv_sgdma() local
189 packet_length = rx_desc->actual_bytes_transferred; in altera_tse_recv_sgdma()
190 debug("recv %d bytes\n", packet_length); in altera_tse_recv_sgdma()
193 return packet_length; in altera_tse_recv_sgdma()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc78 size_t packet_length, in PutRTPPacket() argument
87 assert(packet_length > 3); in PutRTPPacket()
89 if (packet_length > IP_PACKET_SIZE) { in PutRTPPacket()
91 << packet_length; in PutRTPPacket()
116 memcpy(stored_packets_[prev_index_].data, packet, packet_length); in PutRTPPacket()
117 stored_packets_[prev_index_].length = packet_length; in PutRTPPacket()
177 size_t* packet_length, in GetPacketAndSetSendTime() argument
180 RTC_CHECK_GE(*packet_length, static_cast<size_t>(IP_PACKET_SIZE)); in GetPacketAndSetSendTime()
217 GetPacket(index, packet, packet_length, stored_time_ms); in GetPacketAndSetSendTime()
223 size_t* packet_length, in GetPacket() argument
[all …]
Dreceive_statistics_impl.cc53 size_t packet_length, in IncomingPacket() argument
55 UpdateCounters(header, packet_length, retransmitted); in IncomingPacket()
60 size_t packet_length, in UpdateCounters() argument
65 incoming_bitrate_.Update(packet_length); in UpdateCounters()
66 receive_counters_.transmitted.AddPacket(packet_length, header); in UpdateCounters()
68 receive_counters_.retransmitted.AddPacket(packet_length, header); in UpdateCounters()
172 size_t packet_length) { in FecPacketReceived() argument
175 receive_counters_.fec.AddPacket(packet_length, header); in FecPacketReceived()
393 size_t packet_length, in IncomingPacket() argument
410 impl->IncomingPacket(header, packet_length, retransmitted); in IncomingPacket()
[all …]
Drtp_packet_history.h41 size_t packet_length,
59 size_t* packet_length,
62 bool GetBestFittingPacket(uint8_t* packet, size_t* packet_length,
72 size_t* packet_length,
77 void VerifyAndAllocatePacketLength(size_t packet_length, uint32_t start_index)
Dreceive_statistics_impl.h46 size_t packet_length,
48 void FecPacketReceived(const RTPHeader& header, size_t packet_length);
58 size_t packet_length,
106 size_t packet_length,
109 size_t packet_length) override;
Drtp_format_h264.cc198 size_t packet_length = avg_size; in PacketizeFuA() local
200 packet_length = fragment_length; in PacketizeFuA()
203 packet_length, in PacketizeFuA()
205 fragment_length == packet_length, in PacketizeFuA()
208 offset += packet_length; in PacketizeFuA()
209 fragment_length -= packet_length; in PacketizeFuA()
Drtp_payload_registry.cc237 size_t* packet_length, in RestoreOriginalPacket() argument
240 return RestoreOriginalPacket(*restored_packet, packet, packet_length, in RestoreOriginalPacket()
246 size_t* packet_length, in RestoreOriginalPacket() argument
250 *packet_length) { in RestoreOriginalPacket()
260 *packet_length - header.headerLength - kRtxHeaderSize); in RestoreOriginalPacket()
261 *packet_length -= kRtxHeaderSize; in RestoreOriginalPacket()
Dnack_rtx_unittest.cc105 size_t packet_length = len; in SendRtp() local
130 restored_packet, ptr, &packet_length, rtp_receiver_->SSRC(), header)); in SendRtp()
131 if (!parser->Parse(restored_packet, packet_length, &header)) { in SendRtp()
145 packet_length - header.headerLength, in SendRtp()
Drtcp_packet.cc606 RawPacket::RawPacket(const uint8_t* packet, size_t packet_length) in RawPacket() argument
607 : buffer_length_(packet_length), length_(packet_length) { in RawPacket()
608 buffer_.reset(new uint8_t[packet_length]); in RawPacket()
609 memcpy(buffer_.get(), packet, packet_length); in RawPacket()
Dfec_receiver_impl.cc79 size_t packet_length, uint8_t ulpfec_payload_type) { in AddReceivedRedPacket() argument
82 size_t payload_data_length = packet_length - header.headerLength; in AddReceivedRedPacket()
Dfec_receiver_impl.h33 size_t packet_length,
/external/webrtc/webrtc/video/
Dvie_receiver.cc320 size_t packet_length, in ReceivePacket() argument
324 return ParseAndHandleEncapsulatingHeader(packet, packet_length, header); in ReceivePacket()
327 assert(packet_length >= header.headerLength); in ReceivePacket()
328 size_t payload_length = packet_length - header.headerLength; in ReceivePacket()
339 size_t packet_length, in ParseAndHandleEncapsulatingHeader() argument
344 rtp_receive_statistics_->FecPacketReceived(header, packet_length); in ParseAndHandleEncapsulatingHeader()
349 header, packet, packet_length, ulpfec_pt) != 0) { in ParseAndHandleEncapsulatingHeader()
354 if (header.headerLength + header.paddingLength == packet_length) { in ParseAndHandleEncapsulatingHeader()
360 if (packet_length < header.headerLength) in ParseAndHandleEncapsulatingHeader()
362 if (packet_length > sizeof(restored_packet_)) in ParseAndHandleEncapsulatingHeader()
[all …]
Dvie_receiver.h85 bool OnRecoveredPacket(const uint8_t* packet, size_t packet_length) override;
93 size_t packet_length,
99 size_t packet_length,
/external/webrtc/webrtc/test/channel_transport/
Dchannel_transport.cc51 const size_t packet_length, in IncomingRTPPacket() argument
55 channel_, incoming_rtp_packet, packet_length, PacketTime()); in IncomingRTPPacket()
60 const size_t packet_length, in IncomingRTCPPacket() argument
64 packet_length); in IncomingRTCPPacket()
Dchannel_transport.h31 const size_t packet_length,
36 const size_t packet_length,
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Dreceive_statistics.h57 size_t packet_length,
62 size_t packet_length) = 0;
86 size_t packet_length,
89 size_t packet_length) override;
Drtp_payload_registry.h93 size_t* packet_length,
99 size_t* packet_length,
Dfec_receiver.h38 size_t packet_length,
/external/u-boot/drivers/misc/
Dcros_ec_i2c.c47 uint8_t packet_length; member
93 ec_response_i2c->packet_length == 0) in cros_ec_i2c_packet()
96 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_i2c_packet()
98 __func__, ec_response_i2c->packet_length); in cros_ec_i2c_packet()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/
Dbwe_rtp_play.cc77 size_t packet_length = packet.length; in main() local
82 packet_length = packet.original_length; in main()
85 packet_length - header.headerLength, header, true); in main()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtc_event_log_source.cc43 !rtp_packet.has_packet_length() || rtp_packet.packet_length() == 0 || in GetRtpPacket()
45 rtp_packet.packet_length() < rtp_packet.header().size()) in GetRtpPacket()
88 rtp_packet->packet_length(), in NextPacket()
/external/webrtc/webrtc/call/
Drtc_event_log.cc53 size_t packet_length) override {} in LogRtpHeader() argument
80 size_t packet_length) override;
333 size_t packet_length) {
335 if (packet_length < 12u) {
343 if (packet_length < 12u + cc * 4u + 4u) {
356 rtp_event.mutable_rtp_packet()->set_packet_length(packet_length);
/external/u-boot/board/gdsys/common/
Dcmd_ioloop.c48 u16 packet_length; member
94 .packet_length = size, in io_send()

12