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);
1216 sec = t / ps->ifaces[interface_id].tsresol + ps->ifaces[interface_id].tsoffset;
1217 frac = t % ps->ifaces[interface_id].tsresol;
1223 switch (ps->ifaces[interface_id].scale_type) {
1244 * XXX - if ps->ifaces[interface_id].tsresol is a power
1246 * ps->user_tsresol and ps->ifaces[interface_id].tsresol
1248 * ps->ifaces[interface_id].tsresol and ps->user_tsresol
1254 * ps->ifaces[interface_id].tsresol is a power of 2?
1257 frac /= ps->ifaces[interface_id].tsresol;