Searched defs:packet (Results 1 - 25 of 143) sorted by relevance

123456

/external/android-clat/
H A Dring.c16 * ring.c - packet ring buffer functions
35 logmsg(ANDROID_LOG_FATAL, "packet socket failed: %s", strerror(errno));
87 * advances to the next position in the packet ring
88 * ring - packet ring buffer
113 * reads a packet from the ring buffer and translates it
114 * read_fd - file descriptor to read original packet from
115 * write_fd - file descriptor to write translated packet to
116 * to_ipv6 - whether the packet is to be translated to ipv6 or ipv4
121 uint8_t *packet = ((uint8_t *) tp) + tp->tp_net; local
122 translate_packet(write_fd, to_ipv6, packet, t
[all...]
H A Dipv4.c27 * translates an icmp packet
28 * out - output packet
29 * icmp - pointer to icmp header in packet
51 * translates an ipv4 packet
52 * out - output packet
53 * packet - packet data
54 * len - size of packet
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
58 const struct iphdr *header = (struct iphdr *) packet;
[all...]
H A Dipv6.c30 * takes an icmp6 packet and sets it up for translation
31 * out - output packet
32 * icmp6 - pointer to icmp6 header in packet
72 * takes an ipv6 packet and hands it off to the layer 4 protocol function
73 * out - output packet
74 * packet - packet data
75 * len - size of packet
78 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
79 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet;
[all...]
/external/deqp/framework/referencerenderer/
H A DrrPrimitivePacket.cpp21 * \brief Primitive packet
40 VertexPacket* packet; local
48 packet = m_vpalloc.alloc();
50 packet->position = position;
51 packet->pointSize = pointSize;
52 packet->primitiveID = primitiveID;
55 packet->outputs[ndx] = varyings[ndx];
57 m_emitted.push_back(packet);
H A DrrVertexPacket.cpp21 * \brief Vertex packet and Vertex packet allocator
85 VertexPacket* packet = *--m_singleAllocPool.end(); local
87 return packet;
/external/kernel-headers/original/uapi/linux/
H A Dpg.h5 pg.h defines the user interface to the generic ATAPI packet
49 char packet[12]; /* packet command */ member in struct:pg_write_hdr
/external/libvorbis/doc/
H A D06-floor0.tex27 codec setup header (third packet). configuration decode proceeds as
40 An end-of-packet condition during any of these bitstream reads renders
48 \subsubsection{packet decode} \label{vorbis:spec:floor0-decode}
50 Extracting a floor0 curve from an audio packet consists of first
62 5) if ( [booknumber] is greater than the highest number decode codebook ) then packet is undecodable
79 \item An end-of-packet condition during decode should be considered a
80 nominal occruence; if end-of-packet is reached during any read
107 vector from packet decode as well as the [floor0_order],
H A D07-floor1.tex33 a difference value decoded from the bitstream packet.
55 list-order Y values as decoded from an example packet are 110, 20, -5,
96 A list of floor X values is stored in the packet header in interleaved
97 format (used in list order during packet decode and synthesis). This
107 books were chosen for representation in a given packet. The
158 An end-of-packet condition while reading any aspect of a floor 1
167 \paragraph{packet decode} \label{vorbis:spec:floor1-decode}
199 12) [cval] = read from packet using codebook number
209 17) vector [floor1_Y] element ([j]+[offset]) = read from packet using codebook
226 An end-of-packet conditio
[all...]
H A D08-residue.tex16 residue vectors into the bitstream packet, and then reconstructs the
231 An end-of-packet condition at any point in header decode renders the
241 \subsubsection{packet decode}
243 Format 0 and 1 packet decode is identical except for specific
244 partition interleave. Format 2 packet decode can be built out of the
302 9) [temp] = read from packet using codebook [residue_classbook] in scalar context
344 An end-of-packet condition during packet decode is to be considered a
367 3) vector [entry_temp] = read vector from packet using current codebook in VQ context
400 2) vector [entry_temp] = read vector from packet usin
[all...]
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.cpp67 // StringExtractorGDBRemote packet;
71 // if (packet.
87 StringExtractorGDBRemote packet; local
88 if (WaitForPacketWithTimeoutMicroSecondsNoLock (packet, timeout_usec))
90 const StringExtractorGDBRemote::ServerPacketType packet_type = packet.GetServerPacketType ();
98 error.SetErrorString("invalid packet");
108 return SendUnimplementedResponse (packet.GetStringRef().c_str()) > 0;
111 return Handle_A (packet);
114 return Handle_qfProcessInfo (packet);
117 return Handle_qsProcessInfo (packet);
187 char packet[16]; local
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_scene_queue.c92 struct scene_packet packet; local
95 packet.scene = NULL;
98 &packet.header,
99 sizeof packet / 4,
104 return packet.scene;
112 struct scene_packet packet; local
114 packet.header.dwords = sizeof packet / 4;
115 packet.header.data24 = 0;
116 packet
[all...]
/external/ppp/pppd/plugins/rp-pppoe/
H A Ddebug.c78 * packet -- a PPPoE packet
83 * Dumps the PPPoE packet to fp in an easy-to-read format
86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument
88 int len = ntohs(packet->length);
97 UINT16_t type = etherType(packet);
113 switch(packet->code) {
125 (int) ntohs(packet->session),
132 (unsigned) packet->ethHdr.h_source[0],
133 (unsigned) packet
[all...]
H A Dcommon.c35 * packet -- the PPPoE discovery packet to parse
36 * func -- function called for each tag in the packet
41 * Parses a PPPoE discovery packet, calling "func" for each tag in the packet.
45 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra) argument
47 UINT16_t len = ntohs(packet->length);
51 if (PPPOE_VER(packet->vertype) != 1) {
52 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype));
55 if (PPPOE_TYPE(packet
98 PPPoEPacket packet; local
170 pppoe_printpkt(PPPoEPacket *packet, void (*printer)(void *, char *, ...), void *arg) argument
281 pppoe_log_packet(const char *prefix, PPPoEPacket *packet) argument
[all...]
/external/iptables/include/linux/netfilter/
H A Dxt_statistic.h29 __u32 packet; member in struct:xt_statistic_info::__anon6391::__anon6393
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_statistic.h29 __u32 packet; member in struct:xt_statistic_info::__anon7046::__anon7048
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_ringbuffer.c73 const struct util_packet *packet )
83 assert(packet->dwords <= ring->mask);
87 while (util_ringbuffer_space(ring) < packet->dwords)
92 for (i = 0; i < packet->dwords; i++) {
94 /* Copy all dwords of the packet. Note we're abusing the
96 * something, but probably not an array of packet structs:
98 ring->buf[ring->head] = packet[i];
110 struct util_packet *packet,
149 packet[i] = ring->buf[ring->tail];
109 util_ringbuffer_dequeue( struct util_ringbuffer *ring, struct util_packet *packet, unsigned max_dwords, boolean wait ) argument
/external/speex/libspeex/
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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DSocketTransportWrapper.java217 * Reads packet bytes from transport connection.
219 * @return packet as byte array or null or empty packet if connection was closed
223 // read packet header
244 throw new IOException("Connection closed in reading packet header");
247 // extract packet length
250 throw new IOException("Wrong packet size detected: " + len);
253 // allocate packet bytes and store header there
257 // read packet data
266 throw new IOException("Connection closed in reading packet dat
278 writePacket(byte[] packet) argument
[all...]
H A DTransportWrapper.java84 * Reads packet from transport connection.
86 * @return packet as byte array or null or empty packet if connection was closed
91 * Writes packet to transport connection.
93 * @param packet packet as byte array
95 public void writePacket(byte[] packet) throws IOException; argument
/external/dhcpcd/
H A Dbpf.c160 * So we pass the buffer in the API so we can loop on >1 packet. */
166 struct bpf_hdr packet; local
183 else if ((size_t)bytes < sizeof(packet))
189 memcpy(&packet, iface->buffer + iface->buffer_pos,
190 sizeof(packet));
191 if (packet.bh_caplen != packet.bh_datalen)
192 goto next; /* Incomplete packet, drop. */
193 if (iface->buffer_pos + packet.bh_caplen + packet
[all...]
/external/eigen/Eigen/src/Core/
H A DCwiseUnaryOp.h107 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::CwiseUnaryOpImpl
109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, colId));
118 EIGEN_STRONG_INLINE PacketScalar packet(Index index) const function in class:Eigen::CwiseUnaryOpImpl
120 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
H A DFlagged.h89 inline const PacketScalar packet(Index row, Index col) const function in class:Eigen::Flagged
91 return m_matrix.template packet<LoadMode>(row, col);
101 inline const PacketScalar packet(Index index) const function in class:Eigen::Flagged
103 return m_matrix.template packet<LoadMode>(index);
H A DForceAlignedAccess.h18 * \brief Enforce aligned packet loads and stores regardless of what is requested
20 * \param ExpressionType the type of the object of which we are forcing aligned packet access
70 inline const PacketScalar packet(Index row, Index col) const function in class:Eigen::ForceAlignedAccess
72 return m_expression.template packet<Aligned>(row, col);
82 inline const PacketScalar packet(Index index) const function in class:Eigen::ForceAlignedAccess
84 return m_expression.template packet<Aligned>(index);
H A DNestByValue.h71 inline const PacketScalar packet(Index row, Index col) const function in class:Eigen::NestByValue
73 return m_expression.template packet<LoadMode>(row, col);
83 inline const PacketScalar packet(Index index) const function in class:Eigen::NestByValue
85 return m_expression.template packet<LoadMode>(index);
/external/flac/libFLAC/
H A Dogg_encoder_aspect.c94 * packet. The packet is prefixed with
95 * + the one-byte packet type 0x7F
99 * - The first packet is flushed to the first page.
100 * - Each subsequent metadata block goes into its own packet.
101 * - Each metadata packet is flushed to page (this is not required,
104 * - Each subsequent FLAC audio frame goes into its own packet.
120 * Treat fLaC magic packet specially. We will note when we see it, then
121 * wait until we get the STREAMINFO and prepend it in that packet
124 ogg_packet packet; local
[all...]

Completed in 633 milliseconds

123456