/external/openssl/ssl/ |
H A D | dtls1.h | 232 unsigned int mtu; /* max DTLS packet size */ 266 unsigned char *packet; member in struct:dtls1_record_data_st
|
/external/ping/ |
H A D | ping_common.c | 184 case 's': /* size of packet to send */ 187 fprintf(stderr, "ping: illegal negative packet size %d.\n", datalen); 276 * Compose and transmit an ICMP ECHO REQUEST packet. The IP packet 378 /* Hard local error. Pretend we sent packet. */ 391 /* Set socket buffers, "alloc" is an estimate of memory taken by single packet. */ 507 void main_loop(int icmp_sock, __u8 *packet, int packlen) argument 518 iov.iov_base = (char *)packet; 800 printf(", %d%% packet loss",
|
H A D | ping.c | 47 * measure round-trip-delays and packet loss across network paths. 118 u_char *packet; local 481 /* Estimate memory eaten by single packet. It is rough estimate. 519 fprintf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 523 fprintf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 529 if (!(packet = (u_char *)malloc((u_int)packlen))) { 541 main_loop(icmp_sock, packet, packlen); 648 * Compose and transmit an ICMP ECHO REQUEST packet. The IP packet 713 * Print out the packet, i [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | if.c | 26 #include <netpacket/packet.h> 113 * packet -- a received PPPoE packet 115 * ethernet packet type (see /usr/include/net/ethertypes.h) 117 * Checks the ethernet packet header to determine its type. 120 * Note that the ethernet type names come from "pppoe.h" and the packet 121 * packet structure names use the LINUX dialect to maintain consistency 126 etherType(PPPoEPacket *packet) argument 128 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 201 * Initializes the packet filte [all...] |
/external/qemu/hw/ |
H A D | smc91c111.c | 171 /* Try to allocate a packet. Returns 0x80 on failure. */ 226 /* Release the memory allocated to a packet. */ 227 static void smc91c111_release_packet(smc91c111_state *s, int packet) argument 229 s->allocated &= ~(1 << packet); 293 /* Add a packet to the TX FIFO. */ 294 static void smc91c111_queue_tx(smc91c111_state *s, int packet) argument 298 s->tx_fifo[s->tx_fifo_len++] = packet; 693 /* Short packets are padded with zeros. Receiving a packet
|
H A D | bt-hci.c | 435 uint8_t *packet, mask; local 449 packet = hci->evt_packet(hci->opaque); 450 packet[0] = evt; 451 packet[1] = len; 453 return &packet[2]; 459 uint8_t *packet = bt_hci_event_start(hci, evt, len); local 461 if (!packet) 465 memcpy(packet, params, len); 484 uint8_t *packet = bt_hci_event_start(hci, EVT_CMD_COMPLETE, local 486 evt_cmd_complete *params = (evt_cmd_complete *) packet; [all...] |
H A D | usb-ohci.c | 37 /* Dump packet contents. */ 590 static void ohci_async_complete_packet(USBPacket *packet, void *opaque) argument 594 dprintf("Async packet complete\n"); 727 /* Last packet in the ISO TD */ 821 /* Last data packet of ISO TD - retire the TD to the Done Queue */ 930 /* ??? The hardware should allow one active packet per 931 endpoint. We only allow one active packet per controller.
|
/external/smack/src/org/jivesoftware/smack/ |
H A D | Connection.java | 43 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...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
H A D | VCard.java | 21 package org.jivesoftware.smackx.packet; 42 import org.jivesoftware.smack.packet.IQ; 43 import org.jivesoftware.smack.packet.Packet; 44 import org.jivesoftware.smack.packet.XMPPError;
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
H A D | AgentSession.java | 31 import org.jivesoftware.smackx.workgroup.packet.*;
36 import org.jivesoftware.smack.packet.*;
40 import org.jivesoftware.smackx.packet.MUCUser;
116 public void processPacket(Packet packet) {
118 handlePacket(packet);
132 * packet listeners that were added by this agent session will be removed.
362 // Send information about max chats and current chats as a packet extension.
679 private void handlePacket(Packet packet) {
argument 680 if (packet instanceof OfferRequestProvider.OfferRequestPacket) {
687 reply.setPacketID(packet [all...] |
/external/speex/libspeex/ |
H A D | jitter.c | 85 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...] |
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_sock_rfc.c | 90 uint8_t* packet; member in struct:__anon991
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
H A D | channel.cc | 43 talk_base::Buffer packet; member in struct:cricket::PacketMessageData 68 static bool ValidPacket(bool rtcp, const talk_base::Buffer* packet) { argument 69 // Check the packet size. We could check the header too if needed. 70 return (packet && 71 packet->length() >= (!rtcp ? kMinRtpPacketLen : kMinRtcpPacketLen) && 72 packet->length() <= kMaxRtpPacketLen); 75 static uint16 GetRtpSeqNum(const talk_base::Buffer* packet) { argument 76 return (packet->length() >= kMinRtpPacketLen) ? 77 talk_base::GetBE16(packet->data() + 2) : 0; 80 static uint32 GetRtpSsrc(const talk_base::Buffer* packet) { argument 85 GetRtcpType(const talk_base::Buffer* packet) argument 209 SendPacket(talk_base::Buffer* packet) argument 213 SendRtcp(talk_base::Buffer* packet) argument 249 SendPacket(bool rtcp, talk_base::Buffer* packet) argument 329 HandlePacket(bool rtcp, talk_base::Buffer* packet) argument [all...] |
H A D | mediaengine.h | 253 virtual void OnPacketReceived(talk_base::Buffer* packet) {} argument 254 virtual void OnRtcpReceived(talk_base::Buffer* packet) {} argument
|
/external/dhcpcd/ |
H A D | dhcpcd.c | 368 /* If we failed to send a raw packet this normally means 384 /* Even if we fail to send a packet we should continue as we are 664 uint8_t *packet; local 672 * The benefit is that if we get >1 DHCP packet in our buffer and 674 packet = xmalloc(udp_dhcp_len); 677 packet, udp_dhcp_len, &partialcsum); 680 if (valid_udp_packet(packet, bytes, &from, partialcsum) == -1) { 681 syslog(LOG_ERR, "%s: invalid UDP packet from %s", 688 "%s: non whitelisted DHCP packet from %s", 695 "%s: blacklisted DHCP packet fro [all...] |
/external/grub/netboot/ |
H A D | eepro100.c | 78 * looks at the recieve buffer to see if there is already a packet there. 234 char packet[1518]; member in struct:RxFD 365 * This transmits a packet. 369 * unsigned short s: size of the data-part of the packet. 370 * char *p: the data for the packet. 390 printf ("transmitting type %hX packet (%d bytes). status = %hX, cmd=%hX\n", 432 * This recieves a packet from the network. 436 * returns: 1 if a packet was recieved. 439 * returns the packet in the array nic->packet [all...] |
/external/libmtp/src/ |
H A D | libusb-glue.c | 787 * Much reading packet logs and having fun with trials and errors 793 * 2. Send first packet, max size to be sizeof(endpoint) but only when using 832 // this is the last packet 841 // we are first packet, but not last packet 912 // there might be a zero packet waiting for us... 925 printf("LIBMTP panic: unable to read in zero packet, response 0x%04x", zeroresult); 1233 PTPUSBBulkContainer *packet, unsigned long *rlen) 1241 /* If there is a buffered packet, just use it. */ 1242 memcpy(packet, param 1232 ptp_usb_getpacket(PTPParams *params, PTPUSBBulkContainer *packet, unsigned long *rlen) argument [all...] |
/external/smack/src/org/jivesoftware/smackx/muc/ |
H A D | MultiUserChat.java | 52 import org.jivesoftware.smack.packet.IQ; 53 import org.jivesoftware.smack.packet.Message; 54 import org.jivesoftware.smack.packet.Packet; 55 import org.jivesoftware.smack.packet.PacketExtension; 56 import org.jivesoftware.smack.packet.Presence; 57 import org.jivesoftware.smack.packet.Registration; 61 import org.jivesoftware.smackx.packet.DiscoverInfo; 62 import org.jivesoftware.smackx.packet.DiscoverItems; 63 import org.jivesoftware.smackx.packet.MUCAdmin; 64 import org.jivesoftware.smackx.packet 2013 getMUCUserExtension(Packet packet) argument [all...] |
/external/kernel-headers/original/linux/ |
H A D | tty.h | 187 unsigned char stopped:1, hw_stopped:1, flow_stopped:1, packet:1; member in struct:tty_struct
|
/external/libusb/libusb/ |
H A D | libusb.h | 327 /** Maximum packet size for endpoint 0 */ 381 /** Maximum packet size this endpoint is capable of sending/receiving. */ 511 * Setup packet for control transfers. */ 685 * Isochronous packet descriptor. */ 687 /** Length of data to request in this packet */ 693 /** Status code for this packet */ 738 * \ref libusb_iso_packet_descriptor::status "status" field in each packet 764 /** Isochronous packet descriptors, for isochronous transfers only. */ 824 * buffer, as the setup packet comes first. 840 * Get the control setup packet o 1059 libusb_get_iso_packet_buffer( struct libusb_transfer *transfer, unsigned int packet) argument 1101 libusb_get_iso_packet_buffer_simple( struct libusb_transfer *transfer, unsigned int packet) argument [all...] |
/external/mdnsresponder/mDNSPosix/ |
H A D | mDNSPosix.c | 149 // mDNS core calls this routine when it needs to send a packet. 212 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d", 215 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a", errno, strerror(errno), dst); 228 DNSMessage packet; local 242 packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromLen, &packetInfo, &ttl); 251 // convince mDNS Core that this isn't a spoof packet. 253 // packet arrived as a multicast and, if so, set its 261 // no way to tell the destination address or interface this packet arrived on, 273 // We only accept the packet i [all...] |
/external/openssh/ |
H A D | packet.c | 1 /* $OpenBSD: packet.c,v 1.173 2011/05/06 21:14:05 djm Exp $ */ 6 * This file contains code implementing the packet protocol and communication 16 * SSH2 packet format added by Markus Friedl. 64 #include "packet.h" 97 struct packet { struct 98 TAILQ_ENTRY(packet) next; 128 /* Buffer for the partial outgoing packet being constructed. */ 131 /* Buffer for the incoming packet currently being processed. */ 134 /* Scratch buffer for packet compression/decompression. */ 139 * Flag indicating whether packet compressio [all...] |
/external/ping6/ |
H A D | ping6.c | 86 * measure round-trip-delays and packet loss across network paths. 227 struct sockaddr_in6 src; /* src addr of this packet */ 330 u_char *datap, *packet; local 558 case 's': /* size of packet to send */ 757 if (!(packet = (u_char *)malloc(packlen))) 758 err(1, "Unable to allocate packet"); 880 /* set IP6 packet options */ 1131 iov[0].iov_base = (caddr_t)packet; 1165 pr_pack(packet, cc, &m); 1227 * Compose and transmit an ICMP ECHO REQUEST packet [all...] |
/external/qemu/android/ |
H A D | sdk-controller-socket.c | 58 /* The packet is a message. */ 60 /* The packet is a query. */ 62 /* The packet is a response to a query. */ 107 /* Data packet descriptor. 110 * header, with packet data immediately following this header. 115 /* Total size of the data to transfer with this packet, including this 118 /* Encodes packet type. See SDKCTL_PACKET_XXX for the list of packet types 126 * When packet descriptors are allocated by this API, they are allocated large 127 * enough to contain this header, and packet dat 166 SDKCtlPacketHeader* packet; member in struct:SDKCtlDirectPacket 186 SDKCtlPacketHeader packet; member in struct:SDKCtlQueryHeader 247 SDKCtlPacketHeader packet; member in struct:SDKCtlQueryReplyHeader 264 SDKCtlPacketHeader packet; member in struct:SDKCtlMessageHeader 276 SDKCtlPacket packet; member in struct:SDKCtlMessage 325 SDKCtlPacket* packet; member in struct:SDKCtlIODispatcher 624 SDKCtlPacket* const packet = local 644 _sdkctl_packet_free(SDKCtlPacket* packet) argument 659 _sdkctl_packet_reference(SDKCtlPacket* packet) argument 668 _sdkctl_packet_release(SDKCtlPacket* packet) argument 691 SDKCtlPacket* const packet = (SDKCtlPacket*)io_opaque; local 735 _sdkctl_packet_transmit(SDKCtlPacket* packet) argument 757 SDKCtlDirectPacket* const packet = local 773 _sdkctl_direct_packet_free(SDKCtlDirectPacket* packet) argument 788 sdkctl_direct_packet_reference(SDKCtlDirectPacket* packet) argument 797 sdkctl_direct_packet_release(SDKCtlDirectPacket* packet) argument 821 SDKCtlDirectPacket* const packet = (SDKCtlDirectPacket*)io_opaque; local 864 sdkctl_direct_packet_send(SDKCtlDirectPacket* packet, void* data, on_sdkctl_direct_cb cb, void* cb_opaque) argument 1300 _on_sdkctl_packet_received(SDKCtlSocket* sdkctl, SDKCtlPacket* packet) argument 1512 SDKCtlPacket* const packet = dispatcher->packet; local [all...] |
/external/qemu/ |
H A D | usb-linux.c | 206 USBPacket *packet; member in struct:AsyncURB 263 p = aurb->packet; 299 aurb->packet = NULL; 445 aurb->packet = p; 585 aurb->packet = p;
|