struct simple_packet_block *spbp;
struct packet_block *pbp;
bpf_u_int32 interface_id = 0xFFFFFFFF;
- size_t pblock_len;
struct interface_description_block *idbp;
struct section_header_block *shbp;
FILE *fp = p->sf.rfile;
t = ((u_int64_t)epbp->timestamp_high) << 32 |
epbp->timestamp_low;
}
- pblock_len = sizeof(*epbp);
goto found;
case BT_SPB:
if (hdr->caplen > p->snapshot)
hdr->caplen = p->snapshot;
t = 0; /* no time stamps */
- pblock_len = sizeof(*spbp);
goto found;
case BT_PB:
t = ((u_int64_t)pbp->timestamp_high) << 32 |
pbp->timestamp_low;
}
- pblock_len = sizeof(*pbp);
goto found;
case BT_IDB: