Home | History | Annotate | Download | only in libpcap

Lines Matching defs:ifaces

223 	struct pcap_ng_if *ifaces;	/* array of interface information */
541 if (ps->ifaces == NULL) {
546 ps->ifaces = malloc(sizeof (struct pcap_ng_if));
553 ps->ifaces = realloc(ps->ifaces, ps->ifaces_size * sizeof (struct pcap_ng_if));
555 if (ps->ifaces == NULL) {
580 ps->ifaces[ps->ifcount - 1].tsresol = tsresol;
581 ps->ifaces[ps->ifcount - 1].tsoffset = tsoffset;
595 ps->ifaces[ps->ifcount - 1].scale_type = PASS_THROUGH;
602 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN;
609 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_UP;
619 ps->ifaces[ps->ifcount - 1].scale_type = PASS_THROUGH;
626 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN;
633 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_UP;
923 free(ps->ifaces);
935 free(ps->ifaces);
1215 sec = t / ps->ifaces[interface_id].tsresol + ps->ifaces[interface_id].tsoffset;
1216 frac = t % ps->ifaces[interface_id].tsresol;
1217 switch (ps->ifaces[interface_id].scale_type) {
1231 * XXX - if ps->ifaces[interface_id].tsresol is a power
1233 * ps->ifaces[interface_id].tsresol and ps->user_tsresol,
1238 * ps->ifaces[interface_id].tsresol is a power of 2?
1240 frac *= ps->ifaces[interface_id].tsresol;
1249 * XXX - if ps->ifaces[interface_id].tsresol is a power
1251 * ps->user_tsresol and ps->ifaces[interface_id].tsresol,
1256 * ps->ifaces[interface_id].tsresol is a power of 2?
1259 frac /= ps->ifaces[interface_id].tsresol;