Lines Matching refs:temp
369 hexbyte(char *buf, uint8_t temp)
374 lo = temp & 0xF;
375 hi = temp >> 4;
567 struct header_32 temp;
579 temp.ts_sec = htole32(hdr->bh_tstamp.tv_sec);
580 temp.ts_usec = htole32(hdr->bh_tstamp.tv_usec);
581 temp.caplen = htole32(hdr->bh_caplen);
582 temp.datalen = htole32(hdr->bh_datalen);
583 temp.hdrlen = hdr->bh_hdrlen;
584 temp.align = BPF_WORDALIGN(1);
589 if ((hdrlen >= sizeof(temp)) && (hdrlen <= 255) &&
591 memcpy(ptr, &temp, sizeof(temp));
592 memset(ptr + sizeof(temp), 0, hdrlen - sizeof(temp));
607 struct header_32 temp;
617 temp.ts_sec = le32toh(hdr32->ts_sec);
618 temp.ts_usec = le32toh(hdr32->ts_usec);
619 temp.caplen = le32toh(hdr32->caplen);
620 temp.datalen = le32toh(hdr32->datalen);
621 temp.hdrlen = hdr32->hdrlen;
622 temp.align = hdr32->align;
624 next = ptr + HEADER_ALIGN(temp.hdrlen + temp.caplen, temp.align);
630 print_apacket(&temp, ptr +
631 temp.hdrlen, temp.caplen);