Home
last modified time | relevance | path

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

/freebsd/contrib/tcpdump/
H A Dprint-sflow.c314 const struct sflow_generic_counter_t *sflow_gen_counter; in print_sflow_counter_generic() local
319 sflow_gen_counter = (const struct sflow_generic_counter_t *)pointer; in print_sflow_counter_generic()
321 GET_BE_U_4(sflow_gen_counter->ifindex), in print_sflow_counter_generic()
322 GET_BE_U_4(sflow_gen_counter->iftype), in print_sflow_counter_generic()
323 GET_BE_U_8(sflow_gen_counter->ifspeed), in print_sflow_counter_generic()
324 GET_BE_U_4(sflow_gen_counter->ifdirection), in print_sflow_counter_generic()
326 GET_BE_U_4(sflow_gen_counter->ifdirection))); in print_sflow_counter_generic()
328 GET_BE_U_4(sflow_gen_counter->ifstatus), in print_sflow_counter_generic()
329 GET_BE_U_4(sflow_gen_counter->ifstatus)&1 ? "up" : "down", in print_sflow_counter_generic()
330 (GET_BE_U_4(sflow_gen_counter->ifstatus)>>1)&1 ? "up" : "down"); in print_sflow_counter_generic()
[all …]