Searched defs:packet (Results 226 - 250 of 509) sorted by relevance

1234567891011>>

/external/smack/src/org/jivesoftware/smackx/
H A DReportedData.java23 import org.jivesoftware.smack.packet.Packet;
24 import org.jivesoftware.smack.packet.PacketExtension;
25 import org.jivesoftware.smackx.packet.DataForm;
45 * Returns a new ReportedData if the packet is used for reporting data and includes an
48 * @param packet the packet used for reporting data.
50 public static ReportedData getReportedDataFrom(Packet packet) { argument
51 // Check if the packet includes the DataForm extension
52 PacketExtension packetExtension = packet.getExtension("x","jabber:x:data");
/external/smack/src/org/jivesoftware/smackx/packet/
H A DDataForm.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.PacketExtension;
57 * <li>form -> This packet contains a form to fill out. Display it to the user (if your
H A DMUCOwner.java21 package org.jivesoftware.smackx.packet;
22 import org.jivesoftware.smack.packet.IQ;
30 * IQ packet that serves for granting and revoking ownership privileges, granting
99 // Add packet extensions, if any are defined.
H A DMessageEvent.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.PacketExtension;
76 * Returns the XML element name of the extension sub-packet root element.
79 * @return the XML element name of the packet extension.
86 * Returns the XML namespace of the extension sub-packet root element.
89 * @return the XML namespace of the packet extension.
156 * The packet id is not used when the message is a request for notifications
257 * The packet id is not used when the message is a request for notifications
H A DMultipleAddresses.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.PacketExtension;
30 * Packet extension that contains the list of addresses that a packet should be sent or was sent.
47 * Adds a new address to which the packet is going to be sent or was sent.
54 * @param delivered true when the packet was already delivered to this address.
71 * Indicate that the packet being sent should not be replied.
H A DOfflineMessageRequest.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.IQ;
119 // Add packet extensions, if any are defined.
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
H A DAgentRoster.java22 import org.jivesoftware.smackx.workgroup.packet.AgentStatus;
23 import org.jivesoftware.smackx.workgroup.packet.AgentStatusRequest;
28 import org.jivesoftware.smack.packet.Packet;
29 import org.jivesoftware.smack.packet.Presence;
58 // The roster is marked as initialized when at least a single roster packet
282 public void processPacket(Packet packet) { argument
283 Presence presence = (Presence)packet;
292 // If an "available" packet, add it to the presence map. Each presence map will hold
295 // Ignore the presence packet unless it has an agent status extension.
324 fireEvent(EVENT_PRESENCE_CHANGED, packet);
358 processPacket(Packet packet) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
H A DAgentStatus.java19 package org.jivesoftware.smackx.workgroup.packet;
21 import org.jivesoftware.smack.packet.PacketExtension;
30 * Agent status packet.
43 * Element name of the packet extension.
48 * Namespace of the packet extension.
/external/android-clat/
H A Dclatd.c107 * Binds the packet socket and attaches the receive filter to it.
118 logmsg(ANDROID_LOG_FATAL, "binding packet socket: %s", strerror(errno));
127 // doesn't match, jump ahead to statement that returns 0 (ignore packet). Repeat for the other
128 // three words of the IPv6 address, and if they all match, return PACKETLEN (accept packet).
146 logmsg(ANDROID_LOG_FATAL, "attach packet filter failed: %s", strerror(errno));
232 * opens a packet socket to receive IPv6 packets and a raw socket to send them
255 logmsg(ANDROID_LOG_FATAL, "packet socket failed: %s", strerror(errno));
263 * picks the clat IPv6 address and configures packet translation to use it.
306 // Update our packet socket filter to reflect the new 464xlat IP address.
360 * reads a packet fro
366 uint8_t buf[PACKETLEN], *packet; local
[all...]
/external/chromium_org/content/browser/renderer_host/p2p/
H A Dsocket_host_test_utils.cc175 void CreateRandomPacket(std::vector<char>* packet) { argument
177 packet->resize(size);
179 (*packet)[i] = rand() % 256;
181 // Always set the first bit to ensure that generated packet is not
182 // valid STUN packet.
183 (*packet)[0] = (*packet)[0] | 0x80;
186 static void CreateStunPacket(std::vector<char>* packet, uint16 type) { argument
187 CreateRandomPacket(packet);
188 *reinterpret_cast<uint16*>(&*packet
195 CreateStunRequest(std::vector<char>* packet) argument
199 CreateStunResponse(std::vector<char>* packet) argument
203 CreateStunError(std::vector<char>* packet) argument
[all...]
/external/chromium_org/media/cast/net/
H A Dcast_transport_sender_impl.cc241 NOTREACHED() << "Invalid request for sending RTCP packet.";
313 void CastTransportSenderImpl::OnReceivedPacket(scoped_ptr<Packet> packet) { argument
315 audio_rtcp_session_->IncomingRtcpPacket(&packet->front(),
316 packet->size())) {
320 video_rtcp_session_->IncomingRtcpPacket(&packet->front(),
321 packet->size())) {
324 VLOG(1) << "Stale packet received.";
/external/chromium_org/media/cast/net/pacing/
H A Dpaced_sender.cc127 // packet Y sent just before X. Reject retransmission of X if ACK for
172 bool PacedSender::SendRtcpPacket(uint32 ssrc, PacketRef packet) { argument
176 make_pair(PacketType_RTCP, packet);
180 packet,
281 PacketRef packet = PopNextPacket(&packet_type, &packet_key); local
287 LogPacketEvent(packet->data, PACKET_RETRANSMITTED);
290 LogPacketEvent(packet->data, PACKET_SENT_TO_NETWORK);
296 const bool socket_blocked = !transport_->SendPacket(packet, cb);
323 void PacedSender::LogPacketEvent(const Packet& packet, CastLoggingEvent event) { argument
324 // Get SSRC from packet an
[all...]
/external/chromium_org/media/cast/receiver/
H A Dframe_receiver.cc73 bool FrameReceiver::ProcessPacket(scoped_ptr<Packet> packet) { argument
76 if (Rtcp::IsRtcpPacket(&packet->front(), packet->size())) {
77 rtcp_.IncomingRtcpPacket(&packet->front(), packet->size());
82 if (!packet_parser_.ParsePacket(&packet->front(),
83 packet->size(),
104 bool FrameReceiver::ParseSenderSsrc(const uint8* packet, argument
108 reinterpret_cast<const char*>(packet), length);
134 // Update lip-sync values upon receiving the first packet o
[all...]
/external/chromium_org/media/cdm/ppapi/external_clear_key/
H A Dffmpeg_cdm_audio_decoder.cc257 AVPacket packet; local
258 av_init_packet(&packet);
259 packet.data = const_cast<uint8_t*>(compressed_buffer);
260 packet.size = compressed_buffer_size;
268 // Each audio packet may contain several frames, so we must call the decoder
269 // until we've exhausted the packet. Regardless of the packet size we always
278 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet);
289 << timestamp.InMicroseconds() << " us, packet size: "
295 // Update packet siz
[all...]
H A Dffmpeg_cdm_video_decoder.cc217 // Create a packet for input data.
218 AVPacket packet; local
219 av_init_packet(&packet);
222 packet.data = const_cast<uint8_t*>(compressed_frame);
223 packet.size = compressed_frame_size;
239 &packet);
243 << timestamp << " us, packet size: " << packet.size << " bytes";
/external/chromium_org/media/filters/
H A Dffmpeg_audio_decoder.cc241 AVPacket packet; local
242 av_init_packet(&packet);
244 packet.data = NULL;
245 packet.size = 0;
247 packet.data = const_cast<uint8*>(buffer->data());
248 packet.size = buffer->data_size();
251 // Each audio packet may contain several frames, so we must call the decoder
252 // until we've exhausted the packet. Regardless of the packet size we always
258 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet);
[all...]
H A Dffmpeg_video_decoder.cc260 // Create a packet for input data.
262 AVPacket packet; local
263 av_init_packet(&packet);
265 packet.data = NULL;
266 packet.size = 0;
268 packet.data = const_cast<uint8*>(buffer->data());
269 packet.size = buffer->data_size();
279 &packet);
286 // FFmpeg says some codecs might have multiple frames per packet. Previous
289 DCHECK_EQ(result, packet
[all...]
/external/chromium_org/media/midi/
H A Dmidi_manager_mac.cc149 // Go through each packet and process separately.
151 // Each packet contains MIDI data for one or more messages (like note-on).
152 const MIDIPacket &packet = packet_list->packet[i]; local
153 double timestamp_seconds = MIDITimeStampToSeconds(packet.timeStamp);
157 packet.data,
158 packet.length,
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dudp_node.cc14 #include "nacl_io/socket/packet.h"
135 Packet* packet = new Packet(filesystem()->ppapi()); local
136 packet->Copy(data_, length_error, addr_);
138 emitter_->WriteRXPacket_Locked(packet);
256 Packet* packet = emitter_->ReadRXPacket_Locked(); local
260 if (packet) {
261 int capped_len = static_cast<int32_t>(std::min<int>(len, packet->len()));
262 memcpy(buf, packet->buffer(), capped_len);
264 if (packet->addr() != 0) {
265 filesystem_->ppapi()->AddRefResource(packet
297 Packet* packet = new Packet(filesystem_->ppapi()); local
[all...]
/external/chromium_org/net/dns/
H A Ddns_response.cc28 DnsRecordParser::DnsRecordParser(const void* packet, argument
31 : packet_(reinterpret_cast<const char*>(packet)),
72 // If seen the whole packet, then we must be in a loop.
/external/chromium_org/net/quic/
H A Dquic_dispatcher.cc78 // payload of the packet.
80 const QuicPublicResetPacket& /*packet*/) OVERRIDE {
84 const QuicVersionNegotiationPacket& /*packet*/) OVERRIDE {
209 const QuicEncryptedPacket& packet) {
212 current_packet_ = &packet;
213 // ProcessPacket will cause the packet to be dispatched in
216 framer_.ProcessPacket(packet);
217 // TODO(rjshade): Return a status describing if/why a packet was dropped,
235 // Ensure the packet has a version negotiation bit set before creating a new
237 // have the flag set. Otherwise it may be a stray packet
207 ProcessPacket(const IPEndPoint& server_address, const IPEndPoint& client_address, const QuicEncryptedPacket& packet) argument
[all...]
H A Dquic_packet_creator_test.cc81 void ProcessPacket(QuicPacket* packet) { argument
84 *packet));
102 // Returns the number of bytes consumed by the header of packet, including
111 // Returns the number of bytes of overhead that will be added to a packet
119 // frame, assuming it is the last frame in the packet
146 // Run all packet creator tests with all supported versions of QUIC, and with
147 // and without version in the packet header.
173 ProcessPacket(serialized.packet);
174 delete serialized.packet;
178 // Enable FEC protection, and send FEC packet ever
[all...]
H A Dquic_packet_generator_test.cc45 MOCK_METHOD1(OnSerializedPacket, void(const SerializedPacket& packet));
77 // Simple struct for describing the contents of a packet.
79 // that a packet contains the expected frames.
121 delete packet_.packet;
123 delete packet2_.packet;
125 delete packet3_.packet;
127 delete packet4_.packet;
129 delete packet5_.packet;
131 delete packet6_.packet;
133 delete packet7_.packet;
164 CheckPacketContains(const PacketContents& contents, const SerializedPacket& packet) argument
199 CheckPacketHasSingleStreamFrame(const SerializedPacket& packet) argument
208 CheckPacketIsFec(const SerializedPacket& packet, QuicPacketSequenceNumber fec_group) argument
[all...]
H A Dquic_time_wait_list_manager.cc56 // server_address - server address on which a packet what was received for
58 // client_address - address of the client that sent that packet. Needed to send
59 // the public reset packet back to the client.
60 // packet - the pending public reset packet that is to be sent to the client.
61 // created instance takes the ownership of this packet.
66 QuicEncryptedPacket* packet)
69 packet_(packet) {}
73 QuicEncryptedPacket* packet() { return packet_.get(); } function in class:net::QuicTimeWaitListManager::QueuedPacket
154 const QuicEncryptedPacket& /*packet*/) {
64 QueuedPacket(const IPEndPoint& server_address, const IPEndPoint& client_address, QuicEncryptedPacket* packet) argument
193 QuicPublicResetPacket packet; local
209 BuildPublicReset( const QuicPublicResetPacket& packet) argument
216 SendOrQueuePacket(QueuedPacket* packet) argument
[all...]
/external/chromium_org/net/quic/test_tools/
H A Dquic_test_utils.h63 // Create an encrypted packet for testing.
81 // of bytes of stream data that will fit in such a packet.
100 // nack ranges of width 1 packet, starting from |least_unacked|.
104 // Returns a SerializedPacket whose |packet| member is owned by the caller, and
106 // packet could not be created.
160 void(const QuicVersionNegotiationPacket& packet));
196 const QuicPublicResetPacket& packet) OVERRIDE {}
198 const QuicVersionNegotiationPacket& packet) OVERRIDE {}
292 const QuicEncryptedPacket& packet));
311 const QuicEncryptedPacket& packet) {
309 ProcessUdpPacketInternal(const IPEndPoint& self_address, const IPEndPoint& peer_address, const QuicEncryptedPacket& packet) argument
[all...]

Completed in 1123 milliseconds

1234567891011>>