Lines Matching defs:tsresol
380 process_idb_options(pcap_t *p, struct block_cursor *cursor, u_int *tsresol,
444 *tsresol = 1 << (tsresol_opt & 0x7F);
449 *tsresol = 1;
451 *tsresol *= 10;
453 if (*tsresol == 0) {
653 p->sf.tsresol = 1000000; /* microsecond resolution */
702 if (process_idb_options(p, &cursor, &p->sf.tsresol,
711 if (p->sf.tsresol > 1000000) {
716 p->sf.tsscale = (p->sf.tsresol / 1000000);
722 p->sf.tsscale = (1000000 / p->sf.tsresol);
778 u_int tsresol;
939 tsresol = 1000000; /* microsecond resolution */
950 if (process_idb_options(p, &cursor, &tsresol, &tsoffset,
953 if (tsresol != p->sf.tsresol) {
1065 sec = t / p->sf.tsresol + p->sf.tsoffset;
1066 frac = t % p->sf.tsresol;
1067 if (p->sf.tsresol > 1000000) {