/freebsd-9.3-release/sys/boot/i386/boot0/ |
H A D | boot0ext.S | 376 testb $FL_PACKET,_FLAGS(%bp) # Try the packet interface? 390 orb $0x40,%ah # Use disk packet 393 testb $0x40,%ah # Using packet mode? 403 # packet and zero %al,
|
H A D | boot0.S | 68 * (called 'packet') or CHS mode, whether to force a drive number, 160 .set USEPACKET, 0x80 # the 'packet' flag 559 * Don't use packet mode for a floppy. 571 testb $USEPACKET,_FLAGS(%bp) # Use packet interface? 581 orb $0x40,%ah # Use disk packet
|
/freebsd-9.3-release/sys/netncp/ |
H A D | ncp_conn.h | 58 #define NCPFL_SIGNACTIVE 0x1000 /* packet signing active */ 107 char packet[NCP_MAX_PACKET_SIZE];/* Here we prepare requests and receive replies */ member in struct:ncp_buf 177 /* Fields used to make packet signatures */ 181 /* Fields used for packet bursting */ 182 u_long bc_pktseq; /* raw packet sequence */ 186 u_long bc_pktsize; /* negotiated burst packet size */
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_socket.c | 598 * tweak endian-dependent fields in the IP packet. 605 * from the beginning of the IP packet before we customize it for BSD. 610 struct ip *packet; local 615 /* Check that the packet isn't too big or too small. */ 620 packet = (struct ip *)malloc(linux_args->len, M_TEMP, M_WAITOK); 622 /* Make kernel copy of the packet to be sent */ 623 if ((error = copyin(PTRIN(linux_args->msg), packet, 628 packet->ip_len = linux_args->len; 629 packet->ip_off = ntohs(packet [all...] |
/freebsd-9.3-release/sys/powerpc/powermac/ |
H A D | pmu.c | 726 uint8_t packet[16], resp[16]; local 728 /* construct an ADB command packet and send it */ 730 packet[0] = command_byte; 732 packet[1] = 0; 733 packet[2] = len; 735 packet[i + 3] = data[i]; 738 replen = pmu_send(sc, PMU_ADB_CMD, len + 3, packet, 16, resp);
|
/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | s3_pkt.c | 127 * If extend == 0, obtain new n-byte packet; if extend == 1, increase 128 * packet by another n bytes. The packet will be in the sub-array of 129 * s->s3->rbuf.buf specified by s->packet and s->packet_length. (If 136 /* start with empty packet ... */ 139 s->packet = s->s3->rbuf.buf + s->s3->rbuf.offset; 146 * operation returns the whole packet at once (as long as it fits into 183 * pointed to by 'packet', 'newb' extra ones at the end 185 if (s->packet != s->s3->rbuf.buf) { 187 memmove(s->s3->rbuf.buf, s->packet, of [all...] |
H A D | s2_lib.c | 322 s->packet = s2->rbuf;
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evdns.c | 139 /* maximum number of addresses from a single packet */ 172 u8 *request; /* the dns packet data */ 176 int tx_count; /* the number of times that this packet has been sent */ 500 /* and wait longer to send the next probe packet. */ 866 /* this processes a parsed reply packet */ 960 name_parse(u8 *packet, int length, int *idx, char *name_out, int name_out_len) { argument 964 #define GET32(x) do { if (j + 4 > length) goto err; memcpy(&t32_, packet + j, 4); j += 4; x = ntohl(t32_); } while (0) 965 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&t_, packet + j, 2); j += 2; x = ntohs(t_); } while (0) 966 #define GET8(x) do { if (j >= length) goto err; x = packet[j++]; } while (0) 975 /* packet 1017 reply_parse(struct evdns_base *base, u8 *packet, int length) argument 1218 request_parse(u8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, ev_socklen_t addrlen) argument 1376 u8 packet[1500]; local 1411 u8 packet[1500]; local [all...] |
/freebsd-9.3-release/contrib/traceroute/ |
H A D | traceroute.c | 37 * Attempt to trace the route an ip packet would follow to some 60 * traceroute to nis.nsf.net (35.1.1.48), 64 hops max, 56 byte packet 273 /* What a GRE packet header looks like */ 284 /* For GRE, we prepare what looks like a PPTP packet */ 294 /* Data section of the probe packet */ 296 u_char seq; /* sequence number of this packet */ 297 u_char ttl; /* ttl packet left with */ 298 struct timeval tv; /* time packet left */ 309 u_char packet[512]; /* last inbound (icmp) packet */ variable [all...] |
/freebsd-9.3-release/sbin/ping/ |
H A D | ping.c | 51 * measure round-trip-delays and packet loss across network paths. 187 int waittime = MAXWAIT; /* timeout for each packet */ 227 u_char *datap, packet[IP_MAXPACKET] __aligned(4); 303 case 'G': /* Maximum packet size for ping sweep */ 306 errx(EX_USAGE, "invalid packet size: `%s'", 311 "packet size too large: %lu > %u", 317 case 'g': /* Minimum packet size for ping sweep */ 320 errx(EX_USAGE, "invalid packet size: `%s'", 325 "packet size too large: %lu > %u", 339 "packet siz 945 u_char *packet; local [all...] |
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper.c | 121 * setup before packet input/output comes online. It is called 188 * of the type of packet I/O supported by an interface. 433 /* Setup the global packet input options */ 458 /* Each packet output queue has an associated priority. The higher the 459 priority, the more often it can send a packet. A priority of 8 means 470 /* Setup the IPD/PIP and PKO for the ports discovered above. Here packet 498 start packet output using tags */ 663 * Enable packet input/output from the hardware. This function is 722 * Called after all internal packet IO paths are setup. This 723 * function enables IPD/PIP and begins packet inpu 1036 cvmx_buf_ptr_t packet; local [all...] |
/freebsd-9.3-release/tools/tools/net80211/w00t/ap/ |
H A D | ap.c | 72 char packet[4096]; member in struct:params 452 assert(sizeof(p->packet) >= len); 454 memcpy(p->packet, wh, len); 458 wh = (struct ieee80211_frame*) p->packet; 724 /* read packet */ 776 send_frame(p, p->packet, p->packet_len);
|
/freebsd-9.3-release/sys/dev/drm2/radeon/ |
H A D | radeon_drm.h | 71 /* New style per-packet identifiers for use in cmd_buffer ioctl with 73 * state bits and the packet size: 179 #define RADEON_CMD_PACKET3 5 /* emit hw packet */ 180 #define RADEON_CMD_PACKET3_CLIP 6 /* emit hw packet wrapped in cliprects */ 194 } packet; member in union:__anon7721 262 unsigned char cmd_type, packet, pad0, pad1; member in struct:__anon7729::__anon7733 265 unsigned char cmd_type, packet; member in struct:__anon7729::__anon7734 650 * - allows updating of tcl packet, vector and scalar state
|
H A D | r300_cmdbuf.c | 435 * Emit a clear packet from userspace. 482 /* carefully check packet contents */ 495 ("Offset failed range check (k=%d i=%d) while processing 3D_LOAD_VBPNTR packet.\n", 507 ("Offset failed range check (k=%d i=%d) while processing 3D_LOAD_VBPNTR packet.\n", 517 ("Malformed 3D_LOAD_VBPNTR packet (k=%d i=%d narrays=%d count+1=%d).\n", 522 /* all clear, output packet */ 593 DRM_ERROR("3D_DRAW_INDX_2: packet size %i, expected %i\n", 621 header->packet3.packet != R300_CMD_PACKET3_RAW || 661 /* Fixme !! This simply emits a packet without much checking. 667 /* Is it packet [all...] |
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_qos_parser_l.l | 167 PACKET_LIFE packet\-life
|
/freebsd-9.3-release/sbin/dhclient/ |
H A D | dispatch.c | 139 * Wait for packets to come in using poll(). When a packet comes in, 140 * call receive_packet to receive the packet and possibly strip hardware 207 /* Wait for a packet or a timeout... XXX */ 254 struct dhcp_packet packet; member in union:__anon5438 283 (*bootp_packet_handler)(ip, &u.packet, result,
|
/freebsd-9.3-release/sys/dev/isci/scil/ |
H A D | scic_sds_stp_packet_request.c | 82 * @param[in] this_request This parameter specifies the stp packet request object 133 * @param[in] task_context The task_context to be reconstruct for packet 177 MAX(atapi_cdb_length, stp_request->type.packet.device_preferred_cdb_length); 214 * @param[in] task_context The task_context to be reconstruct for packet 264 *@brief This methods builds sgl for internal REQUEST SENSE stp packet 426 this_request->type.packet.device_preferred_cdb_length = 456 * If successfully, then the state for the packet request 648 * @brief This method processes an unsolicited frame while the packet request is 700 * @brief This method processes an unsolicited frame while the packet request is
|
/freebsd-9.3-release/usr.sbin/IPXrouted/ |
H A D | trace.c | 313 fprintf(fd, "*** end packet history ***\n"); 366 fprintf(fd, "size=%d cp=%p packet=%p\n", size, 367 cp, packet); 410 fprintf(fd, "size=%d cp=%p packet=%p\n", size, 411 cp, packet);
|
/freebsd-9.3-release/sys/dev/ata/ |
H A D | atapi-cd.h | 239 u_int8_t fp :1; /* fixed packet type */ 258 u_int32_t packet_size; /* packet size in bytes */ 283 u_int8_t fp :1; /* fixed packet */ 284 u_int8_t packet :1; /* packet track */ member in struct:acd_track_info
|
/freebsd-9.3-release/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 679 time_print("Warning: short packet in get_victim_ssid()\n"); 1097 time_print("WARNING: Got NON wep packet from %s dlen %d stype=%x\n", 1248 unsigned char packet[4096]; local 1255 assert (len < sizeof(packet) + sizeof(*eh)); 1268 rd = read(fd, &packet[6], sizeof(packet)-6); 1286 packet[6+i] ^= body[i]; 1290 crc = crc32(crc, &packet[6], dlen); 1291 pcrc = (unsigned long*) (&packet[6+dlen]); 1301 eh = (struct ether_header*) packet; [all...] |
/freebsd-9.3-release/sys/compat/ndis/ |
H A D | kern_ndis.c | 501 /* Release packet when refcount hits zero, otherwise return. */ 625 * Map an NDIS packet to an mbuf list. When an NDIS driver receives a 626 * packet, it will hand it to us in the form of an ndis_packet, 709 * Create an NDIS packet from an mbuf chain. 712 * into an NDIS packet which will be fed into the NDIS driver's 718 * actual memory segments in which the packet data resides. 903 * Either the driver already handed the packet to 920 ndis_send_packet(arg, packet) 922 ndis_packet *packet; 940 status = MSCALL3(sendfunc, adapter, packet, [all...] |
/freebsd-9.3-release/sbin/ping6/ |
H A D | ping6.c | 83 * measure round-trip-delays and packet loss across network paths. 212 struct sockaddr_in6 src; /* src addr of this packet */ 225 u_char *packet = NULL; variable 534 case 's': /* size of packet to send */ 731 if (!(packet = (u_char *)malloc((u_int)packlen))) 732 err(1, "Unable to allocate packet"); 861 /* set IP6 packet options */ 1090 /* last packet sent, timeout reached? */ 1151 iov[0].iov_base = (caddr_t)packet; 1185 pr_pack(packet, c [all...] |
/freebsd-9.3-release/sys/boot/i386/boot2/ |
H A D | boot1.S | 95 * Setup an EDD disk packet and pass it to read 106 push $0x10 # Size of packet 285 mov %bp,%si # Disk packet
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | remote.c | 210 long offset; /* Offset into G packet. */ 213 int in_g_packet; /* Always part of G packet. */ 228 packet. It is used as a heuristic when determining the maximum 231 packet. The size does not include packet overhead (headers and 235 /* This is the maximum size (in chars) of a non read/write packet. 273 /* Compute packet size by accumulating the size of all registers. */ 278 /* Default maximum number of characters in a packet body. Many 281 as the maximum packet-size to ensure that the packet an 4560 enum Z_packet_type packet = watchpoint_to_Z_packet (type); local 4595 enum Z_packet_type packet = watchpoint_to_Z_packet (type); local [all...] |
/freebsd-9.3-release/sys/dev/drm/ |
H A D | r300_cmdbuf.c | 449 * Emit a clear packet from userspace. 502 /* carefully check packet contents */ 511 ("Offset failed range check (k=%d i=%d) while processing 3D_LOAD_VBPNTR packet.\n", 522 ("Offset failed range check (k=%d i=%d) while processing 3D_LOAD_VBPNTR packet.\n", 532 ("Malformed 3D_LOAD_VBPNTR packet (k=%d i=%d narrays=%d count+1=%d).\n", 537 /* all clear, output packet */ 610 DRM_ERROR("3D_DRAW_INDX_2: packet size %i, expected %i\n", 638 header.packet3.packet != R300_CMD_PACKET3_RAW || 680 /* Fixme !! This simply emits a packet without much checking. 686 /* Is it packet [all...] |