Searched refs:packet (Results 1 - 3 of 3) sorted by path

/system/core/libcutils/
H A Dmq.c72 /** A generic packet of bytes. */
77 /** Reading a packet header. */
87 /** A packet header. */
100 /** A packet which will be sent to a peer. */
114 /** Frees all resources associated with this packet. */
115 void (*free)(OutgoingPacket* packet);
120 /** Next packet in the queue. */
264 /** Frees a simple, i.e. header-only, outgoing packet. */
265 static void outgoingPacketFree(OutgoingPacket* packet) { argument
266 ALOGD("Freeing outgoing packet
635 OutgoingPacket* packet = NULL; local
802 outgoingPacketFreeSocket(OutgoingPacket* packet) argument
853 OutgoingPacket* packet = calloc(1, sizeof(OutgoingPacket)); local
1120 outgoingPacketFreeBytes(OutgoingPacket* packet) argument
1137 OutgoingPacket* packet = calloc(1, sizeof(OutgoingPacket)); local
1184 outgoingPacketFreeSharedBytes(OutgoingPacket* packet) argument
1205 OutgoingPacket* packet = calloc(1, sizeof(OutgoingPacket)); local
[all...]
/system/core/libnetutils/
H A DAndroid.mk9 packet.c
H A Dpacket.c164 } packet; local
170 nread = read(s, &packet, sizeof(packet));
175 * The raw packet interface gives us all packets received by the
184 } else if (packet.ip.version != IPVERSION || packet.ip.ihl != (sizeof(packet.ip) >> 2)) {
186 ALOGD("Not a valid IP packet");
188 } else if (nread < ntohs(packet.ip.tot_len)) {
190 ALOGD("Packet was truncated (read %d, needed %d)", nread, ntohs(packet
[all...]

Completed in 29 milliseconds