Sha256: b95e37d903ee9a3648d297f50584835c161f87e321bad2e879704fbd1692ef11

Contents?: true

Size: 768 Bytes

Versions: 3

Compression:

Stored size: 768 Bytes

Contents

class EventMachine::SFlow::EthernetInterfaceCounters
  attr_accessor :alignment_errors, :fcs_errors, :single_collision_frames, :multiple_collision_frames, :sqe_test_errors, :deferred_transmissions, :late_collisions, :excessive_collisions, :internal_mac_transmit_errors, :carrier_sense_errors, :frames_too_long, :internal_mac_receive_errors, :symbol_errors
  
  def initialize data
    data.extend EventMachine::SFlow::BinaryString
    
    @alignment_errors, @fcs_errors, @single_collision_frames, @multiple_collision_frames, @sqe_test_errors, @deferred_transmissions, @late_collisions, @excessive_collisions, @internal_mac_transmit_errors, @carrier_sense_errors, @frames_too_long, @internal_mac_receive_errors, @symbol_errors = data.unpack("NNNNNNNNNNNNN")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
em-sflow-1.0.3 lib/em-sflow/packet/ethernet_interface_counters.rb
em-sflow-1.0.2 lib/em-sflow/packet/ethernet_interface_counters.rb
em-sflow-1.0.1 lib/em-sflow/packet/ethernet_interface_counters.rb