Searched defs:packet (Results 1 - 25 of 509) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_freebsd.c2 * WPA Supplicant - Layer2 packet handling with FreeBSD
80 const u_char *packet; local
85 packet = pcap_next(pcap, &hdr);
87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
90 ethhdr = (struct l2_ethhdr *) packet;
H A Dl2_packet_pcap.c2 * WPA Supplicant - Layer2 packet handling with libpcap/libdnet and WinPcap
122 const u_char *packet; local
127 packet = pcap_next(pcap, &hdr);
129 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
132 ethhdr = (struct l2_ethhdr *) packet;
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_freebsd.c2 * WPA Supplicant - Layer2 packet handling with FreeBSD
80 const u_char *packet; local
85 packet = pcap_next(pcap, &hdr);
87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
90 ethhdr = (struct l2_ethhdr *) packet;
H A Dl2_packet_pcap.c2 * WPA Supplicant - Layer2 packet handling with libpcap/libdnet and WinPcap
122 const u_char *packet; local
127 packet = pcap_next(pcap, &hdr);
129 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
132 ethhdr = (struct l2_ethhdr *) packet;
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_freebsd.c2 * WPA Supplicant - Layer2 packet handling with FreeBSD
80 const u_char *packet; local
85 packet = pcap_next(pcap, &hdr);
87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
90 ethhdr = (struct l2_ethhdr *) packet;
H A Dl2_packet_pcap.c2 * WPA Supplicant - Layer2 packet handling with libpcap/libdnet and WinPcap
122 const u_char *packet; local
127 packet = pcap_next(pcap, &hdr);
129 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
132 ethhdr = (struct l2_ethhdr *) packet;
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPMetaFactory.java108 * @param packet a String contain an XMP-file.
112 public static XMPMeta parseFromString(String packet) throws XMPException argument
114 return parseFromString(packet, null);
122 * @param packet a String contain an XMP-file.
127 public static XMPMeta parseFromString(String packet, ParseOptions options) argument
130 return XMPMetaParser.parse(packet, options);
/external/tremolo/Tremolo/
H A Dogg.h126 packet in the logical bitstream */
151 ogg_reference *packet; member in struct:__anon31582
/external/srtp/srtp/
H A Dekt.c207 uint8_t *packet; local
217 packet = (uint8_t*)base_tag + base_tag_len;
219 /* copy encrypted master key into packet */
221 memcpy(packet, ekt->encrypted_master_key, emk_len);
223 octet_string_hex_string(packet, emk_len));
224 packet += emk_len;
226 /* copy ROC into packet */
228 *((uint32_t *)packet) = be32_to_cpu(roc);
230 octet_string_hex_string(packet, sizeof(roc)));
231 packet
[all...]
/external/speex/libspeex/
H A Djitter.c85 int curr_count; /**< Number of packet timings we got (including those we discarded) */
96 /* Add the timing of a new packet to the TimingBuffer */
100 /* Discard packet that won't make it into the list because they're too early */
140 spx_uint32_t last_returned_timestamp; /**< Useful for getting the next packet with the same timestamp (for fragmented media) */
148 void (*destroy) (void *); /**< Callback for destroying a packet */
151 spx_int32_t concealment_size; /**< Size of the packet loss concealment "units" */
154 int late_cutoff; /**< How late must a packet be for it not to be considered at all */
192 /* Number of packet timings we have received (including those we didn't keep) */
199 /* Compute cost for one lost packet */
247 /* For the next timing we will consider, there will be one more late packet t
368 jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet) argument
465 jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t desired_span, spx_int32_t *start_offset) argument
680 jitter_buffer_get_another(JitterBuffer *jitter, JitterBufferPacket *packet) argument
716 _jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t *start_offset) argument
739 jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t *start_offset) argument
[all...]
H A Dspeex_header.c145 EXPORT SpeexHeader *speex_packet_to_header(char *packet, int size) argument
151 if (packet[i]!=h[i])
166 SPEEX_COPY(le_header, (SpeexHeader*)packet, 1);
/external/smack/src/org/jivesoftware/smack/
H A DBOSHConnection.java37 import org.jivesoftware.smack.packet.Packet;
38 import org.jivesoftware.smack.packet.Presence;
39 import org.jivesoftware.smack.packet.XMPPError;
91 * The Thread environment for sending packet listeners.
417 public void sendPacket(Packet packet) { argument
421 if (packet == null) {
425 // Invoke interceptors for the new packet that is about to be sent.
427 // may modify the content of the packet.
428 firePacketInterceptors(packet);
431 send(ComposableBody.builder().setPayloadXML(packet
575 processPacket(Packet packet) argument
758 private Packet packet; field in class:BOSHConnection.ListenerNotification
760 ListenerNotification(Packet packet) argument
[all...]
H A DConnection.java43 import org.jivesoftware.smack.packet.Packet;
44 import org.jivesoftware.smack.packet.Presence;
146 * List of PacketListeners that will be notified when a new packet was received.
152 * List of PacketListeners that will be notified when a new packet was sent.
158 * List of PacketInterceptors that will be notified when a new packet is about to be
159 * sent to the server. These interceptors may modify the packet before it is being
415 * Sends the specified packet to the server.
417 * @param packet the packet to send.
419 public abstract void sendPacket(Packet packet); argument
689 firePacketSendingListeners(Packet packet) argument
743 firePacketInterceptors(Packet packet) argument
869 notifyListener(Packet packet) argument
914 notifyListener(Packet packet) argument
[all...]
H A DPacketCollector.java27 import org.jivesoftware.smack.packet.Packet;
36 * Each packet collector will queue up a configured number of packets for processing before
51 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
62 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
76 * Explicitly cancels the packet collector so that no more results are
77 * queued up. Once a packet collector has been cancelled, it cannot be
78 * re-enabled. Instead, a new packet collector must be created.
81 // If the packet collecto
148 processPacket(Packet packet) argument
[all...]
H A DPacketInterceptor.java22 import org.jivesoftware.smack.packet.Packet;
30 * This allows event-style programming -- every time a new packet is found,
39 * Process the packet that is about to be sent to the server. The intercepted
40 * packet can be modified by the interceptor.<p>
42 * Interceptors are invoked using the same thread that requested the packet
46 * @param packet the packet to is going to be sent to the server.
48 public void interceptPacket(Packet packet); argument
H A DPacketListener.java23 import org.jivesoftware.smack.packet.Packet;
27 * This allows event-style programming -- every time a new packet is found,
38 * Process the next packet sent to this packet listener.<p>
44 * @param packet the packet to process.
46 public void processPacket(Packet packet); argument
H A DPacketReader.java24 import org.jivesoftware.smack.packet.*;
37 * Listens for XML traffic from the XMPP server and parses it into packet objects.
38 * The packet reader also invokes all packet listeners and collectors.<p>
92 * Starts the packet reader thread and returns once a connection to the server
123 * Shuts the packet reader down.
146 * Cleans up all resources used by the packet reader.
189 // the connectionID lock so that the packet reader startup can finish.
307 * Processes a packet after it's been fully parsed by looping through the installed
308 * packet collector
313 processPacket(Packet packet) argument
417 private Packet packet; field in class:PacketReader.ListenerNotification
419 ListenerNotification(Packet packet) argument
[all...]
H A DPacketWriter.java23 import org.jivesoftware.smack.packet.Packet;
50 * Creates a new packet writer with the specified connection.
78 * Sends the specified packet to the server.
80 * @param packet the packet to send.
82 public void sendPacket(Packet packet) { argument
84 // Invoke interceptors for the new packet that is about to be sent. Interceptors
85 // may modify the content of the packet.
86 connection.firePacketInterceptors(packet);
89 queue.put(packet);
[all...]
H A DRoster.java26 import org.jivesoftware.smack.packet.IQ;
27 import org.jivesoftware.smack.packet.Packet;
28 import org.jivesoftware.smack.packet.Presence;
29 import org.jivesoftware.smack.packet.RosterPacket;
65 // The roster is marked as initialized when at least a single roster packet
165 * {@link org.jivesoftware.smack.packet.Presence.Type#subscribe}.
180 * {@link org.jivesoftware.smack.packet.Presence.Type#subscribe}.
203 RosterPacket packet = new RosterPacket();
205 packet.setVersion(persistentStorage.getRosterVersion());
207 requestPacketId = packet
841 processPacket(Packet packet) argument
960 processPacket(Packet packet) argument
988 processPacket(Packet packet) argument
[all...]
H A DXMPPConnection.java25 import org.jivesoftware.smack.packet.Packet;
26 import org.jivesoftware.smack.packet.Presence;
27 import org.jivesoftware.smack.packet.XMPPError;
103 * Set to true by packet writer if the server acknowledged the compression
399 * packet reader, packet writer, and {@link Roster} will not be removed; thus
402 * @param unavailablePresence the presence packet to send during shutdown.
500 public void sendPacket(Packet packet) { argument
504 if (packet == null) {
507 packetWriter.sendPacket(packet);
[all...]
/external/smack/src/org/jivesoftware/smack/filter/
H A DAndFilter.java23 import org.jivesoftware.smack.packet.Packet;
29 * Implements the logical AND operation over two or more packet filters.
67 * Adds a filter to the filter list for the AND operation. A packet
79 public boolean accept(Packet packet) { argument
81 if (!filter.accept(packet)) {
H A DFromContainsFilter.java23 import org.jivesoftware.smack.packet.Packet;
37 * @param from the from field value the packet must contain.
46 public boolean accept(Packet packet) { argument
47 if (packet.getFrom() == null) {
51 return packet.getFrom().toLowerCase().indexOf(from) != -1;
H A DFromMatchesFilter.java23 import org.jivesoftware.smack.packet.Packet;
30 * if the sender of the packet matches the specified resource.
45 * specified address is a full JID then the filter will only match if the sender of the packet
48 * @param address the from field value the packet must match. Could be a full or bare JID.
58 public boolean accept(Packet packet) { argument
59 if (packet.getFrom() == null) {
63 // Check if the bare JID of the sender of the packet matches the specified JID
64 return packet.getFrom().toLowerCase().startsWith(address);
67 // Check if the full JID of the sender of the packet matches the specified JID
68 return address.equals(packet
[all...]
H A DIQTypeFilter.java22 import org.jivesoftware.smack.packet.IQ;
23 import org.jivesoftware.smack.packet.Packet;
26 * A filter for IQ packet types. Returns true only if the packet is an IQ packet
43 * @see org.jivesoftware.smack.filter.PacketFilter#accept(org.jivesoftware.smack.packet.Packet)
45 public boolean accept(Packet packet) { argument
46 return (packet instanceof IQ && ((IQ) packet).getType().equals(type));
H A DMessageTypeFilter.java23 import org.jivesoftware.smack.packet.Message;
24 import org.jivesoftware.smack.packet.Packet;
29 * @see org.jivesoftware.smack.packet.Message.Type
45 public boolean accept(Packet packet) { argument
46 if (!(packet instanceof Message)) {
50 return ((Message) packet).getType().equals(this.type);

Completed in 798 milliseconds

1234567891011>>