Home
last modified time | relevance | path

Searched refs:tsresol (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dsf-pcapng.c201 uint64_t tsresol; /* time stamp resolution */ member
460 process_idb_options(pcap_t *p, struct block_cursor *cursor, uint64_t *tsresol, in process_idb_options() argument
537 *tsresol = ((uint64_t)1) << tsresol_shift; in process_idb_options()
557 *tsresol = 1; in process_idb_options()
559 *tsresol *= 10; in process_idb_options()
595 uint64_t tsresol; in add_interface() local
706 tsresol = 1000000; /* microsecond resolution */ in add_interface()
714 if (process_idb_options(p, cursor, &tsresol, &tsoffset, &is_binary, in add_interface()
718 ps->ifaces[ps->ifcount - 1].tsresol = tsresol; in add_interface()
725 if (tsresol == ps->user_tsresol) { in add_interface()
[all …]
/external/scapy/scapy/
Dutils.py971 tsresol = 1000000
978 tsresol = orb(options[4])
979 tsresol = (2 if tsresol & 128 else 10) ** (tsresol & 127)
988 + (tsresol,))
1034 s, (linktype, tsresol, tshigh, tslow, wirelen) = rp
1044 p.time = float((tshigh << 32) + tslow) / tsresol