Searched refs:packet (Results 51 - 65 of 65) sorted by relevance

123

/haiku/src/add-ons/kernel/drivers/midi/usb_midi/
H A Dusb_midi.cpp200 usb_midi_event_packet* packet = midiDevice->buffer; local
205 DPRINTF_DEBUG((MY_ID "received packet %x:%d %x %x %x\n",
206 packet->cin, packet->cn,
207 packet->midi[0], packet->midi[1], packet->midi[2]));
209 int pktlen = CINbytes[packet->cin];
210 usbmidi_port_info* port = midiDevice->ports[packet->cn];
215 packet
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6.cpp55 // slots in the fragment packet's hash
469 panic("ipv6 packet reassembly did not work correctly.");
481 FragmentPacket* packet = (FragmentPacket*)data; local
482 TRACE("Assembling FragmentPacket %p timed out!", packet);
485 sFragmentHash.Remove(packet);
488 if (!packet->fFragments.IsEmpty()) {
490 sDomain->module->error_reply(NULL, packet->fFragments.First(),
494 delete packet;
533 \return B_OK if everything went well; if it could reassemble the packet,
560 FragmentPacket* packet local
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4.cpp54 // slots in the fragment packet's hash
430 panic("ipv4 packet reassembly did not work correctly.");
442 FragmentPacket* packet = (FragmentPacket*)data; local
443 TRACE("Assembling FragmentPacket %p timed out!", packet);
446 sFragmentHash.Remove(packet);
449 if (!packet->fFragments.IsEmpty()) {
451 sDomain->module->error_reply(NULL, packet->fFragments.First(),
455 delete packet;
534 \return B_OK if everything went well; if it could reassemble the packet, \a _buffer
553 FragmentPacket* packet local
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.h89 extern uint8 *send_rpc_call(fs_nspace *ns, const struct sockaddr_in *addr, int32 prog, int32 vers, int32 proc, const struct XDROutPacket *packet);
H A Dnfs_add_on.c246 int32 vers, int32 proc, const struct XDROutPacket *packet)
287 XDROutPacketAppend (&rpc_call, packet);
245 send_rpc_call(fs_nspace *ns, const struct sockaddr_in *addr, int32 prog, int32 vers, int32 proc, const struct XDROutPacket *packet) argument
/haiku/headers/private/drivers/
H A Data_types.h69 } packet; member in union:ata_task_file
215 // packet
218 // packet and dma queued result
247 ATA_STATUS_DMA_READY = 0x20, // packet: DMA ready
/haiku/src/bin/network/ping/
H A Dping.c39 * measure round-trip-delays and packet loss across network paths.
191 static int waittime = MAXWAIT; /* timeout for each packet */
221 u_char *datap, packet[IP_MAXPACKET] __aligned(4);
337 case 'G': /* Maximum packet size for ping sweep */
340 errx(EX_USAGE, "invalid packet size: `%s'",
346 "packet size too large: %d > %u",
351 case 'g': /* Minimum packet size for ping sweep */
354 errx(EX_USAGE, "invalid packet size: `%s'",
360 "packet size too large: %d > %u",
371 errx(EX_USAGE, "invalid packet siz
1047 u_char *packet; local
[all...]
H A Dping6.c70 * measure round-trip-delays and packet loss across network paths.
211 static struct sockaddr_in6 src; /* src addr of this packet */
227 static u_char *packet = NULL; variable
237 static int waittime = MAXWAIT; /* timeout for each packet */
536 case 's': /* size of packet to send */
786 if (!(packet = (u_char *)malloc((u_int)packlen)))
787 err(1, "Unable to allocate packet");
920 /* set IP6 packet options */
1207 iov[0].iov_base = (caddr_t)packet;
1242 pr_pack(packet, c
[all...]
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c25 * Attempt to trace the route an ip packet would follow to some
277 /* What a GRE packet header looks like */
288 /* For GRE, we prepare what looks like a PPTP packet */
298 /* Data section of the probe packet */
300 u_char seq; /* sequence number of this packet */
301 u_char ttl; /* ttl packet left with */
302 struct timeval tv; /* time packet left */
305 u_char packet[512]; /* last inbound (icmp) packet */ variable
307 struct ip *outip; /* last output ip packet */
1844 sctp_crc32c(const void *packet, u_int32_t len) argument
[all...]
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp1038 // #pragma mark - packet capture
1605 uint32 packet = strtoul(argv[i], NULL, 0); local
1606 if (packet == 0) {
1607 fprintf(stderr, "invalid packet number: %s\n", argv[i]);
1611 sDropList.insert(packet);
1615 puts("usage: drop <packet-number> [...]\n"
1618 "Specifiying -f flushes the drop list, -r sets the probability a packet\n"
1662 uint32 packet = strtoul(argv[i], NULL, 0); local
1663 if (packet == 0) {
1664 fprintf(stderr, "invalid packet numbe
[all...]
/haiku/src/add-ons/kernel/network/stack/
H A Dlink.cpp86 LocalDatagramSocket("packet capture", socket),
247 LinkProtocol::_MonitorData(net_device_monitor* monitor, net_buffer* packet) argument
249 return ((LinkProtocol*)monitor->cookie)->EnqueueClone(packet);
/haiku/src/add-ons/kernel/busses/usb/
H A Dehci.cpp1003 // a short packet condition existed on this descriptor
1959 // a short packet condition existed on this descriptor,
2949 uint32 packet = 0; local
2959 && packet < isochronousData->packet_count; j++) {
2967 isochronousData->packet_descriptors[packet].actual_length
2971 isochronousData->packet_descriptors[packet].status = B_OK;
2973 isochronousData->packet_descriptors[packet].status = B_ERROR;
3002 // skip to next packet offset
3023 packet++;
3027 TRACE("ReadIsochronousDescriptorChain packet coun
[all...]
H A Dohci.cpp1209 // this is the last td of the transfer or a short packet
1328 uint32 packet = 0; local
1371 for (size_t i = 0; i < frameCount; i++, packet++) {
1373 = &isochronousData->packet_descriptors[packet];
1885 // Set the maximum packet size
2234 // the last packet may be shorter than other ones in this transfer
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dbwimac.c703 const uint32_t *packet; local
709 packet = packet_11a;
713 packet = packet_11bg;
718 TMPLT_WRITE_4(mac, i * 4, packet[i]);
/haiku/src/apps/bootmanager/
H A Dbootman.S80 ; ds:si - address packet
238 ; address packet as required by the EXTENDED_READ BIOS call

Completed in 156 milliseconds

123