HomeSort by relevance Sort by last modified time
    Searched refs:pdu_len (Results 1 - 25 of 42) sorted by null

1 2

  /external/blktrace/btt/
mmap.c 69 tp->pdu_len = be16_to_cpu(t->pdu_len);
72 if (tp->pdu_len) {
73 *pdu = malloc(tp->pdu_len);
74 memcpy(*pdu, t+1, tp->pdu_len);
78 return sizeof(*tp) + tp->pdu_len;
trace.c 60 char msg[iop->t.pdu_len + 1];
65 memcpy(msg, iop->pdu, iop->t.pdu_len);
66 msg[iop->t.pdu_len] = '\0';
  /external/tcpdump/
print-rpki-rtr.c 175 u_int pdu_type, pdu_len, hexdump; local
180 pdu_len = EXTRACT_32BITS(pdu_header->length);
181 ND_TCHECK2(*tptr, pdu_len);
188 pdu_type, pdu_len));
258 tlen = pdu_len;
308 print_unknown_data(ndo,tptr,"\n\t ", pdu_len);
320 u_int tlen, pdu_type, pdu_len; local
338 pdu_len = EXTRACT_32BITS(pdu_header->length);
339 ND_TCHECK2(*tptr, pdu_len);
342 if (!pdu_type || !pdu_len) {
    [all...]
print-ldp.c 568 u_short pdu_len,msg_len,msg_type,msg_tlen; local
584 pdu_len = EXTRACT_16BITS(&ldp_com_header->pdu_length);
585 if (pdu_len < sizeof(const struct ldp_common_header)-4) {
589 pdu_len,
599 pdu_len));
607 tlen = pdu_len - (sizeof(const struct ldp_common_header)-4); /* Type & Length fields not included */
688 return pdu_len+4;
print-isoclns.c 619 uint8_t pdu_len[2]; member in struct:isis_iih_lan_header
628 uint8_t pdu_len[2]; member in struct:isis_iih_ptp_header
633 uint8_t pdu_len[2]; member in struct:isis_lsp_header
642 uint8_t pdu_len[2]; member in struct:isis_csnp_header
649 uint8_t pdu_len[2]; member in struct:isis_psnp_header
2084 u_short packet_len,pdu_len, key_id; local
    [all...]
  /external/fio/
server.h 23 uint32_t pdu_len; /* length of post-cmd layload */ member in struct:fio_net_cmd
218 uint32_t pdu_len, uint64_t tag)
225 cmd->pdu_len = cpu_to_le32(pdu_len);
230 const void *pdu, uint32_t pdu_len,
233 __fio_init_net_cmd(cmd, opcode, pdu_len, tag);
236 memcpy(&cmd->payload, pdu, pdu_len);
blktrace.c 64 if (t->pdu_len == 0)
67 dprint(FD_BLKTRACE, "discard pdu len %u\n", t->pdu_len);
68 return trace_fifo_get(td, fifo, fd, NULL, t->pdu_len);
322 t->pdu_len = fio_swap16(t->pdu_len);
389 } else if (t.pdu_len != ret) {
390 log_err("fio: discarded %d of %d\n", ret, t.pdu_len);
server.c 202 cmd->pdu_len = le32_to_cpu(cmd->pdu_len);
212 if (cmd->pdu_len > FIO_SERVER_MAX_FRAGMENT_PDU) {
213 log_err("fio: command payload too large: %u\n", cmd->pdu_len);
243 cmd_size = sizeof(cmd) + cmd.pdu_len + 1;
246 cmd_size += cmd.pdu_len;
271 if (!cmd.pdu_len)
276 ret = fio_recv_data(sk, pdu, cmd.pdu_len);
281 crc = fio_crc16(pdu, cmd.pdu_len);
289 pdu_offset += cmd.pdu_len;
353 uint32_t pdu_len; local
    [all...]
blktrace_api.h 105 __u16 pdu_len; /* length of data after this trace */ member in struct:blk_io_trace
  /external/blktrace/
blkparse_fmt.c 115 static char *dump_pdu(unsigned char *pdu_buf, int pdu_len)
120 if (!pdu_buf || !pdu_len)
123 for (len = 0, i = 0; i < pdu_len; i++) {
134 if (!pdu_buf[i] && pdu_rest_is_zero(pdu_buf + i, pdu_len - i)) {
164 int pdu_len, unsigned char *pdu_buf, char field,
219 char *p = dump_pdu(pdu_buf, pdu_len);
258 int pdu_len, unsigned char *pdu_buf,
277 print_field(act, pci, t, elapsed, pdu_len, pdu_buf, *p++,
285 int pdu_len, unsigned char *pdu_buf)
316 char *p = dump_pdu(pdu_buf, pdu_len);
    [all...]
blkrawverify.c 116 fprintf(ofp, " %8s: %u\n", "pdu_len", bit->pdu_len);
195 if (bit->pdu_len) {
198 pdu_buf = malloc(bit->pdu_len);
199 n = fread(pdu_buf, bit->pdu_len, 1, ifp);
blktrace.h 119 t->pdu_len = be16_to_cpu(t->pdu_len);
blkiomon.c 124 fprintf(debug.fp, "pdu_len %16d\n", bit->pdu_len);
151 fprintf(debug.fp, "pdu_len %16d %16d\n", bit1->pdu_len, bit2->pdu_len);
438 if (fwrite(pdu_buf, bit->pdu_len, 1, drvdata.fp) != 1)
488 if (bit->pdu_len) {
489 pdu_buf = realloc(pdu_buf, bit->pdu_len);
490 if (fread(pdu_buf, bit->pdu_len, 1, ifp) != 1) {
blktrace_api.h 106 __u16 pdu_len; /* length of data after this trace */ member in struct:blk_io_trace
  /external/blktrace/btreplay/
btrecord.c 490 __u16 pdu_len; local
516 pdu_len = t.pdu_len;
523 pdu_len = be16_to_cpu(t.pdu_len);
527 if (pdu_len) {
528 char buf[pdu_len];
530 ret = read(iip->ifd, buf, pdu_len);
535 else if (ret < (ssize_t)pdu_len) {
  /bionic/libc/kernel/uapi/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace
  /development/ndk/platforms/android-21/include/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace
  /external/kernel-headers/original/uapi/linux/
blktrace_api.h 109 __u16 pdu_len; /* length of data after this trace */ member in struct:blk_io_trace
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
blktrace_api.h 108 __u16 pdu_len; /* length of data after this trace */ member in struct:blk_io_trace
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
blktrace_api.h 109 __u16 pdu_len; /* length of data after this trace */ member in struct:blk_io_trace
  /prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace
  /prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace
  /prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace
  /prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace
  /prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/
blktrace_api.h 121 __u16 pdu_len; member in struct:blk_io_trace

Completed in 787 milliseconds

1 2