Lines Matching refs:tcpoids
56 static struct tcp_index *tcpoids; variable
163 oid = realloc(tcpoids, tcp_total * sizeof(tcpoids[0])); in fetch_tcp()
165 free(tcpoids); in fetch_tcp()
169 tcpoids = oid; in fetch_tcp()
173 oid = tcpoids; in fetch_tcp()
198 qsort(tcpoids, tcp_total, sizeof(tcpoids[0]), tcp_compare); in fetch_tcp()
305 if (index_compare(&value->var, sub, &tcpoids[i].index) < 0) in op_tcpconn()
309 index_append(&value->var, sub, &tcpoids[i].index); in op_tcpconn()
314 if (index_compare(&value->var, sub, &tcpoids[i].index) == 0) in op_tcpconn()
332 switch (tcpoids[i].tp->t_state) { in op_tcpconn()
374 value->v.ipaddress[0] = tcpoids[i].index.subs[0]; in op_tcpconn()
375 value->v.ipaddress[1] = tcpoids[i].index.subs[1]; in op_tcpconn()
376 value->v.ipaddress[2] = tcpoids[i].index.subs[2]; in op_tcpconn()
377 value->v.ipaddress[3] = tcpoids[i].index.subs[3]; in op_tcpconn()
381 value->v.integer = tcpoids[i].index.subs[4]; in op_tcpconn()
385 value->v.ipaddress[0] = tcpoids[i].index.subs[5]; in op_tcpconn()
386 value->v.ipaddress[1] = tcpoids[i].index.subs[6]; in op_tcpconn()
387 value->v.ipaddress[2] = tcpoids[i].index.subs[7]; in op_tcpconn()
388 value->v.ipaddress[3] = tcpoids[i].index.subs[8]; in op_tcpconn()
392 value->v.integer = tcpoids[i].index.subs[9]; in op_tcpconn()