/external/ppp/pppd/ |
demand.c | 64 struct packet { struct 66 struct packet *next; 70 struct packet *pend_q; 71 struct packet *pend_qtail; 138 struct packet *pkt, *nextpkt; 265 * We apply the active_filter to see if we want this packet to 273 struct packet *pkt; 283 pkt = (struct packet *) malloc(sizeof(struct packet) + len); 305 struct packet *pkt, *prev, *nextpkt [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
Client.java | 535 * Send a non-DDM packet to the client. 537 * Equivalent to sendAndConsume(packet, null). 539 void sendAndConsume(JdwpPacket packet) throws IOException { 540 sendAndConsume(packet, null); 544 * Send a DDM packet to the client. 548 * until this packet completes, so we synchronize on the channel. 553 void sendAndConsume(JdwpPacket packet, ChunkHandler replyHandler) 558 Log.v("ddms", "Not sending packet -- client is closed"); 565 * this before sending the packet, in case the response comes back 566 * before our thread returns from the packet-send function [all...] |
HandleThread.java | 271 JdwpPacket packet = new JdwpPacket(rawBuf); local 279 finishChunkPacket(packet, CHUNK_THEN, buf.position()); 281 client.sendAndConsume(packet, mInst); 299 JdwpPacket packet = new JdwpPacket(rawBuf); local 304 finishChunkPacket(packet, CHUNK_STKL, buf.position()); 306 client.sendAndConsume(packet, mInst); 369 JdwpPacket packet = new JdwpPacket(rawBuf); local 374 finishChunkPacket(packet, CHUNK_THST, buf.position()); 376 client.sendAndConsume(packet, mInst);
|
Debugger.java | 200 * have a full packet in the buffer. If the buffer is at capacity, 227 * Return information for the first full JDWP packet in the buffer. 229 * If we don't yet have a full packet, return null. 257 // see if we have another packet in the buffer 266 Log.e("ddms", "Unknown packet while waiting for client handshake"); 282 * Forward a packet to the client. 287 * Consumes the packet. 289 void forwardPacketToClient(JdwpPacket packet) throws IOException { 290 mClient.sendAndConsume(packet); 320 * Send a packet to the debugger [all...] |
HandleNativeHeap.java | 95 JdwpPacket packet = new JdwpPacket(rawBuf); local 100 finishChunkPacket(packet, CHUNK_NHGT, buf.position()); 102 client.sendAndConsume(packet, mInst); 105 packet = new JdwpPacket(rawBuf); 111 finishChunkPacket(packet, CHUNK_NHSG, buf.position()); 113 client.sendAndConsume(packet, mInst);
|
ChunkHandler.java | 147 * Allocate a ByteBuffer with enough space to hold the JDWP packet 161 * Return the slice of the JDWP packet buffer that holds just the 182 static void finishChunkPacket(JdwpPacket packet, int type, int chunkLen) { 183 ByteBuffer buf = packet.getPayload(); 188 packet.finishPacket(CHUNK_HEADER_LEN + chunkLen);
|
/external/grub/netboot/ |
3c509.c | 143 /* set early threshold for minimal packet length */ 159 const char *p) /* Packet */ 172 len=s+ETH_HLEN; /* actual length of packet */ 199 /* write packet */ 255 /* read packet */ 259 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2); 261 nic->packet[rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1); 271 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2); 273 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1); 287 /* acknowledge reception of packet */ [all...] |
/external/dropbear/ |
Android.mk | 13 common-session.c packet.c common-algo.c common-kex.c \ 15 tcp-accept.c listener.c process-packet.c \
|
/external/iptables/extensions/ |
libipt_statistic.c | 20 " --every n Match every nth packet\n" 21 " --packet p Initial counter value (0 <= p <= n-1, default 0)\n" 30 { "packet", 1, 0, '4' }, 85 exit_error(PARAMETER_PROBLEM, "double --packet"); 87 &info->u.nth.packet) == -1) 89 "cannot parse --packet `%s'", optarg); 115 "--packet can only be used in nth mode"); 116 info->u.nth.count = info->u.nth.every - info->u.nth.packet; 133 if (info->u.nth.packet) 134 printf("%spacket %u ", prefix, info->u.nth.packet); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 39 * packet, a new UDPMessageChannel is created (upto the max thread pool size). 190 DatagramPacket packet = new DatagramPacket(message, bufsize); local 191 sock.receive(packet); 240 this.messageQueue.add(packet); 244 new UDPMessageChannel(sipStack, this, packet);
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder.h | 45 Main header file for the Packet Video AMR Wide Band decoder library. The 139 void mime_unsorting(uint8 packet[],
|
/frameworks/base/media/libstagefright/include/ |
VorbisDecoder.h | 63 int decodePacket(MediaBuffer *packet, MediaBuffer *out);
|
/external/netcat/data/ |
rip.d | 22 ### RIP packet redux
|
/external/qemu/hw/ |
usb-msd.c | 50 USBPacket *packet; member in struct:__anon6498 175 USBPacket *p = s->packet; 184 if (s->packet) { 186 /* A deferred packet with no write data remaining must be 187 the status read packet. */ 200 s->packet = NULL; 212 /* Set s->packet to NULL before calling usb_packet_complete 215 DPRINTF("Packet complete %p\n", p); 216 s->packet = NULL; 347 s->packet = NULL [all...] |
/external/speex/libspeex/ |
speex_header.c | 145 EXPORT SpeexHeader *speex_packet_to_header(char *packet, int size) 151 if (packet[i]!=h[i]) 166 SPEEX_COPY(le_header, (SpeexHeader*)packet, 1);
|
/external/libnfc-nxp/src/ |
phHciNfc_Generic.c | 223 * The phHciNfc_Receive_HCP function receive the HCI Host Control Packet 639 * \brief Sends the HCP Packet to the lower link layer . 641 * This function Sends the HCI Data in the HCP packet format to the below 721 * \brief Receives the HCP Packet from the lower link layer . 723 * This function receives the HCI Data in the HCP packet format from the below 740 phHciNfc_HCP_Packet_t *packet = NULL; local 744 packet = (phHciNfc_HCP_Packet_t *)pdata; 745 chainbit = (uint8_t) GET_BITS8( packet->hcp_header, 807 * \brief Receives the HCP Packet from the lower link layer . 809 * This function receives the HCI Data in the HCP packet format from the belo 826 phHciNfc_HCP_Packet_t *packet = NULL; local 900 phHciNfc_HCP_Packet_t *packet = NULL; local 988 phHciNfc_HCP_Packet_t *packet = (phHciNfc_HCP_Packet_t *)pdata; local 1064 phHciNfc_HCP_Packet_t *packet = NULL; local 1182 phHciNfc_HCP_Packet_t *packet = NULL; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
INetworkSystem.java | 57 public int recv(FileDescriptor fd, DatagramPacket packet, byte[] data, int offset, 59 public int recvDirect(FileDescriptor fd, DatagramPacket packet, int address, int offset,
|
OSNetworkSystem.java | 70 public native int recv(FileDescriptor fd, DatagramPacket packet, 74 public native int recvDirect(FileDescriptor fd, DatagramPacket packet,
|
/external/dnsmasq/src/ |
forward.c | 27 /* Send a UDP packet with its source address set as "source" 29 static void send_from(int fd, int nowild, char *packet, size_t len, 47 iov[0].iov_base = packet; 279 packet straight away (helps modem users when offline) */ 332 /* Keep info in case we want to re-send this packet */ 387 /* If upstream is advertising a larger UDP packet size 453 sections of the packet. Find the new length here and put back pseudoheader 461 /* packet from peer server, extract data for cache, and send to 467 ssize_t n = recvfrom(fd, daemon->packet, daemon->edns_pktsz, 0, &serveraddr.sa, &addrlen); 471 /* packet buffer overwritten * 729 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); local [all...] |
dnsmasq.c | 121 daemon->packet = safe_malloc(daemon->packet_buff_sz); 1248 } packet; local 1270 memset(&packet.icmp, 0, sizeof(packet.icmp)); 1271 packet.icmp.icmp_type = ICMP_ECHO; 1272 packet.icmp.icmp_id = id; 1274 j += ((u16 *)&packet.icmp)[i]; 1277 packet.icmp.icmp_cksum = (j == 0xffff) ? j : ~j; 1279 while (sendto(fd, (char *)&packet.icmp, sizeof(struct icmp), 0, [all...] |
/external/openssl/ssl/ |
s23_pkt.c | 100 p=s->packet;
|
/external/wpa_supplicant/ |
l2_packet_freebsd.c | 2 * WPA Supplicant - Layer2 packet handling with FreeBSD 79 const u_char *packet; local 84 packet = pcap_next(pcap, &hdr); 86 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 89 ethhdr = (struct l2_ethhdr *) packet;
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_freebsd.c | 2 * WPA Supplicant - Layer2 packet handling with FreeBSD 82 const u_char *packet; local 87 packet = pcap_next(pcap, &hdr); 89 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 92 ethhdr = (struct l2_ethhdr *) packet;
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 212 uint8_t packet[kTSPacketSize]; local 213 ssize_t n = mDataSource->readAt(mOffset, packet, kTSPacketSize); 215 if (isDiscontinuity(packet, n)) { 221 mParser->feedTSPacket(packet, kTSPacketSize);
|
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 54 * The max Packet size must be at least 256 according to the OBEX 92 * Write the OBEX CONNECT packet to the server. 94 * Byte 1&2: Connect Packet Length 97 * Byte 5&6: Max OBEX Packet Length (Defined in MAX_PACKET_SIZE) 111 // check with local max packet size 113 throw new IOException("Packet size exceeds max packet size"); 122 * Byte 1&2: Packet Length 125 * Byte 5&6: Max OBEX packet Length 206 throw new IOException("Packet size exceeds max packet size") [all...] |