Class: Nl::Linux::Tc::SubMessages::TcaStatsAppMsg::Pie

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Constant Summary collapse

FIXED_HEADER =
Structs::TcPieXstats
ATTRIBUTE_SET =
nil

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#avg_dq_rate ⇒ Integer

Current average dq rate in bits/pie-time

Returns:

  • (Integer)


13964
# File 'nl-linux/generated/nl/linux/tc.rb', line 13964

def avg_dq_rate; fixed_header.avg_dq_rate; end

#delay ⇒ Integer

Current delay in ms

Returns:

  • (Integer)


13960
# File 'nl-linux/generated/nl/linux/tc.rb', line 13960

def delay; fixed_header.delay; end

#dq_rate_estimating ⇒ Integer

Is avg-dq-rate being calculated?

Returns:

  • (Integer)


13968
# File 'nl-linux/generated/nl/linux/tc.rb', line 13968

def dq_rate_estimating; fixed_header.dq_rate_estimating; end

#dropped ⇒ Integer

Packets dropped due to pie action

Returns:

  • (Integer)


13976
# File 'nl-linux/generated/nl/linux/tc.rb', line 13976

def dropped; fixed_header.dropped; end

#ecn_mark ⇒ Integer

Packets marked with ECN

Returns:

  • (Integer)


13988
# File 'nl-linux/generated/nl/linux/tc.rb', line 13988

def ecn_mark; fixed_header.ecn_mark; end

#maxq ⇒ Integer

Maximum queue size

Returns:

  • (Integer)


13984
# File 'nl-linux/generated/nl/linux/tc.rb', line 13984

def maxq; fixed_header.maxq; end

#overlimit ⇒ Integer

Dropped due to lack of space in queue

Returns:

  • (Integer)


13980
# File 'nl-linux/generated/nl/linux/tc.rb', line 13980

def overlimit; fixed_header.overlimit; end

#packets_in ⇒ Integer

Total number of packets enqueued

Returns:

  • (Integer)


13972
# File 'nl-linux/generated/nl/linux/tc.rb', line 13972

def packets_in; fixed_header.packets_in; end

#prob ⇒ Integer

Current probability

Returns:

  • (Integer)


13956
# File 'nl-linux/generated/nl/linux/tc.rb', line 13956

def prob; fixed_header.prob; end