Lines Matching refs:EXTRACT_32BITS
317 EXTRACT_32BITS(sflow_gen_counter->ifindex), in print_sflow_counter_generic()
318 EXTRACT_32BITS(sflow_gen_counter->iftype), in print_sflow_counter_generic()
320 EXTRACT_32BITS(sflow_gen_counter->ifdirection), in print_sflow_counter_generic()
322 EXTRACT_32BITS(sflow_gen_counter->ifdirection))); in print_sflow_counter_generic()
324 EXTRACT_32BITS(sflow_gen_counter->ifstatus), in print_sflow_counter_generic()
325 EXTRACT_32BITS(sflow_gen_counter->ifstatus)&1 ? "up" : "down", in print_sflow_counter_generic()
326 (EXTRACT_32BITS(sflow_gen_counter->ifstatus)>>1)&1 ? "up" : "down"); in print_sflow_counter_generic()
330 EXTRACT_32BITS(sflow_gen_counter->ifinunicastpkts), in print_sflow_counter_generic()
331 EXTRACT_32BITS(sflow_gen_counter->ifinmulticastpkts), in print_sflow_counter_generic()
332 EXTRACT_32BITS(sflow_gen_counter->ifinbroadcastpkts), in print_sflow_counter_generic()
333 EXTRACT_32BITS(sflow_gen_counter->ifindiscards)); in print_sflow_counter_generic()
335 EXTRACT_32BITS(sflow_gen_counter->ifinerrors), in print_sflow_counter_generic()
336 EXTRACT_32BITS(sflow_gen_counter->ifinunkownprotos)); in print_sflow_counter_generic()
340 EXTRACT_32BITS(sflow_gen_counter->ifoutunicastpkts), in print_sflow_counter_generic()
341 EXTRACT_32BITS(sflow_gen_counter->ifoutmulticastpkts), in print_sflow_counter_generic()
342 EXTRACT_32BITS(sflow_gen_counter->ifoutbroadcastpkts), in print_sflow_counter_generic()
343 EXTRACT_32BITS(sflow_gen_counter->ifoutdiscards)); in print_sflow_counter_generic()
345 EXTRACT_32BITS(sflow_gen_counter->ifouterrors), in print_sflow_counter_generic()
346 EXTRACT_32BITS(sflow_gen_counter->ifpromiscmode)); in print_sflow_counter_generic()
361 EXTRACT_32BITS(sflow_eth_counter->alignerrors), in print_sflow_counter_ethernet()
362 EXTRACT_32BITS(sflow_eth_counter->fcserrors), in print_sflow_counter_ethernet()
363 EXTRACT_32BITS(sflow_eth_counter->single_collision_frames), in print_sflow_counter_ethernet()
364 EXTRACT_32BITS(sflow_eth_counter->multiple_collision_frames), in print_sflow_counter_ethernet()
365 EXTRACT_32BITS(sflow_eth_counter->test_errors)); in print_sflow_counter_ethernet()
367 EXTRACT_32BITS(sflow_eth_counter->deferred_transmissions), in print_sflow_counter_ethernet()
368 EXTRACT_32BITS(sflow_eth_counter->late_collisions), in print_sflow_counter_ethernet()
369 EXTRACT_32BITS(sflow_eth_counter->excessive_collisions), in print_sflow_counter_ethernet()
370 EXTRACT_32BITS(sflow_eth_counter->mac_transmit_errors)); in print_sflow_counter_ethernet()
372 EXTRACT_32BITS(sflow_eth_counter->carrier_sense_errors), in print_sflow_counter_ethernet()
373 EXTRACT_32BITS(sflow_eth_counter->frame_too_longs), in print_sflow_counter_ethernet()
374 EXTRACT_32BITS(sflow_eth_counter->mac_receive_errors), in print_sflow_counter_ethernet()
375 EXTRACT_32BITS(sflow_eth_counter->symbol_errors)); in print_sflow_counter_ethernet()
396 EXTRACT_32BITS(sflow_100basevg_counter->in_highpriority_frames), in print_sflow_counter_basevg()
399 EXTRACT_32BITS(sflow_100basevg_counter->in_normpriority_frames), in print_sflow_counter_basevg()
402 EXTRACT_32BITS(sflow_100basevg_counter->in_ipmerrors), in print_sflow_counter_basevg()
403 EXTRACT_32BITS(sflow_100basevg_counter->in_oversized), in print_sflow_counter_basevg()
404 EXTRACT_32BITS(sflow_100basevg_counter->in_data_errors), in print_sflow_counter_basevg()
405 EXTRACT_32BITS(sflow_100basevg_counter->in_null_addressed_frames)); in print_sflow_counter_basevg()
408 EXTRACT_32BITS(sflow_100basevg_counter->out_highpriority_frames), in print_sflow_counter_basevg()
410 EXTRACT_32BITS(sflow_100basevg_counter->transitioninto_frames)); in print_sflow_counter_basevg()
432 EXTRACT_32BITS(sflow_vlan_counter->vlan_id), in print_sflow_counter_vlan()
434 EXTRACT_32BITS(sflow_vlan_counter->unicast_pkt), in print_sflow_counter_vlan()
435 EXTRACT_32BITS(sflow_vlan_counter->multicast_pkt), in print_sflow_counter_vlan()
436 EXTRACT_32BITS(sflow_vlan_counter->broadcast_pkt), in print_sflow_counter_vlan()
437 EXTRACT_32BITS(sflow_vlan_counter->discards)); in print_sflow_counter_vlan()
461 EXTRACT_32BITS(sflow_processor_counter->five_sec_util), in print_sflow_counter_processor()
462 EXTRACT_32BITS(sflow_processor_counter->one_min_util), in print_sflow_counter_processor()
463 EXTRACT_32BITS(sflow_processor_counter->five_min_util), in print_sflow_counter_processor()
491 enterprise = EXTRACT_32BITS(sflow_counter_record->format); in sflow_print_counter_records()
494 counter_len = EXTRACT_32BITS(sflow_counter_record->length); in sflow_print_counter_records()
563 typesource = EXTRACT_32BITS(sflow_counter_sample->typesource); in sflow_print_counter_sample()
564 nrecords = EXTRACT_32BITS(sflow_counter_sample->records); in sflow_print_counter_sample()
569 EXTRACT_32BITS(sflow_counter_sample->seqnum), in sflow_print_counter_sample()
592 nrecords = EXTRACT_32BITS(sflow_expanded_counter_sample->records); in sflow_print_expanded_counter_sample()
595 EXTRACT_32BITS(sflow_expanded_counter_sample->seqnum), in sflow_print_expanded_counter_sample()
596 EXTRACT_32BITS(sflow_expanded_counter_sample->type), in sflow_print_expanded_counter_sample()
597 EXTRACT_32BITS(sflow_expanded_counter_sample->index), in sflow_print_expanded_counter_sample()
616 tok2str(sflow_flow_raw_protocol_values,"Unknown",EXTRACT_32BITS(sflow_flow_raw->protocol)), in print_sflow_raw_packet()
617 EXTRACT_32BITS(sflow_flow_raw->protocol), in print_sflow_raw_packet()
618 EXTRACT_32BITS(sflow_flow_raw->length), in print_sflow_raw_packet()
619 EXTRACT_32BITS(sflow_flow_raw->stripped_bytes), in print_sflow_raw_packet()
620 EXTRACT_32BITS(sflow_flow_raw->header_size)); in print_sflow_raw_packet()
639 EXTRACT_32BITS(sflow_ethernet_frame->length), in print_sflow_ethernet_frame()
640 EXTRACT_32BITS(sflow_ethernet_frame->type)); in print_sflow_ethernet_frame()
655 EXTRACT_32BITS(sflow_extended_sw_data->src_vlan), in print_sflow_extended_switch_data()
656 EXTRACT_32BITS(sflow_extended_sw_data->src_pri), in print_sflow_extended_switch_data()
657 EXTRACT_32BITS(sflow_extended_sw_data->dst_vlan), in print_sflow_extended_switch_data()
658 EXTRACT_32BITS(sflow_extended_sw_data->dst_pri)); in print_sflow_extended_switch_data()
688 enterprise = EXTRACT_32BITS(sflow_flow_record->format); in sflow_print_flow_records()
691 flow_len = EXTRACT_32BITS(sflow_flow_record->length); in sflow_print_flow_records()
762 typesource = EXTRACT_32BITS(sflow_flow_sample->typesource); in sflow_print_flow_sample()
763 nrecords = EXTRACT_32BITS(sflow_flow_sample->records); in sflow_print_flow_sample()
768 EXTRACT_32BITS(sflow_flow_sample->seqnum), in sflow_print_flow_sample()
771 EXTRACT_32BITS(sflow_flow_sample->rate), in sflow_print_flow_sample()
772 EXTRACT_32BITS(sflow_flow_sample->pool), in sflow_print_flow_sample()
773 EXTRACT_32BITS(sflow_flow_sample->drops), in sflow_print_flow_sample()
774 EXTRACT_32BITS(sflow_flow_sample->in_interface), in sflow_print_flow_sample()
775 EXTRACT_32BITS(sflow_flow_sample->out_interface), in sflow_print_flow_sample()
795 nrecords = EXTRACT_32BITS(sflow_expanded_flow_sample->records); in sflow_print_expanded_flow_sample()
798 EXTRACT_32BITS(sflow_expanded_flow_sample->seqnum), in sflow_print_expanded_flow_sample()
799 EXTRACT_32BITS(sflow_expanded_flow_sample->type), in sflow_print_expanded_flow_sample()
800 EXTRACT_32BITS(sflow_expanded_flow_sample->index), in sflow_print_expanded_flow_sample()
801 EXTRACT_32BITS(sflow_expanded_flow_sample->rate), in sflow_print_expanded_flow_sample()
802 EXTRACT_32BITS(sflow_expanded_flow_sample->pool), in sflow_print_expanded_flow_sample()
803 EXTRACT_32BITS(sflow_expanded_flow_sample->drops), in sflow_print_expanded_flow_sample()
804 EXTRACT_32BITS(sflow_expanded_flow_sample->records)); in sflow_print_expanded_flow_sample()
832 if (EXTRACT_32BITS(sflow_datagram->version) != 5) { in sflow_print()
834 EXTRACT_32BITS(sflow_datagram->version)); in sflow_print()
840 EXTRACT_32BITS(sflow_datagram->version), in sflow_print()
841 EXTRACT_32BITS(sflow_datagram->ip_version) == 1 ? "IPv4" : "IPv6", in sflow_print()
843 EXTRACT_32BITS(sflow_datagram->agent_id), in sflow_print()
849 nsamples=EXTRACT_32BITS(sflow_datagram->samples); in sflow_print()
851 EXTRACT_32BITS(sflow_datagram->version), in sflow_print()
852 EXTRACT_32BITS(sflow_datagram->ip_version) == 1 ? "IPv4" : "IPv6", in sflow_print()
854 EXTRACT_32BITS(sflow_datagram->agent_id), in sflow_print()
855 EXTRACT_32BITS(sflow_datagram->seqnum), in sflow_print()
856 EXTRACT_32BITS(sflow_datagram->uptime), in sflow_print()
868 sflow_sample_type = (EXTRACT_32BITS(sflow_sample->format)&0x0FFF); in sflow_print()
869 sflow_sample_len = EXTRACT_32BITS(sflow_sample->len); in sflow_print()