Home
last modified time | relevance | path

Searched refs:SampleOctets (Results 1 – 3 of 3) sorted by relevance

/external/libppp/src/
Dthroughput.c50 t->in.SampleOctets = (long long *) in throughput_init()
51 calloc(period, sizeof *t->in.SampleOctets); in throughput_init()
53 t->out.SampleOctets = (long long *) in throughput_init()
54 calloc(period, sizeof *t->out.SampleOctets); in throughput_init()
72 if (t && t->in.SampleOctets) { in throughput_destroy()
74 free(t->in.SampleOctets); in throughput_destroy()
75 free(t->out.SampleOctets); in throughput_destroy()
76 t->in.SampleOctets = NULL; in throughput_destroy()
77 t->out.SampleOctets = NULL; in throughput_destroy()
92 t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0; in throughput_uptime()
[all …]
Dthroughput.h44 unsigned long long *SampleOctets; member
Dphysical.c642 p->link.stats.total.in.SampleOctets = (long long *)iov[(*niov)++].iov_base; in iov2physical()
643 p->link.stats.total.out.SampleOctets = (long long *)iov[(*niov)++].iov_base; in iov2physical()
729 iov[*niov].iov_base = p ? (void *)p->link.stats.total.in.SampleOctets : NULL; in physical2iov()
732 iov[*niov].iov_base = p ? (void *)p->link.stats.total.out.SampleOctets : NULL; in physical2iov()