Class: Nl::Linux::Tc::Structs::TcSfqQoptV1
- Inherits:
-
Struct
- Object
- Struct
- Nl::Linux::Tc::Structs::TcSfqQoptV1
- Defined in:
- nl-linux/generated/nl/linux/tc.rb,
nl-linux/generated/nl/linux/tc.rb
Instance Attribute Summary collapse
-
#depth ⇒ Integer
Maximum number of packets per flow.
- #flags ⇒ Integer
- #headdrop ⇒ Integer
-
#limit ⇒ Integer
HARD maximal flow queue length in bytes.
-
#max_P ⇒ Integer
probability, high resolution.
-
#Plog ⇒ Integer
log(P_max / (qth-max - qth-min)).
-
#qth_max ⇒ Integer
Max average length threshold in bytes.
-
#qth_min ⇒ Integer
Min average length threshold in bytes.
-
#Scell_log ⇒ Integer
Cell size for idle damping.
- #stats ⇒ Structs::TcSfqredStats
- #v0 ⇒ Structs::TcSfqQopt
-
#Wlog ⇒ Integer
log(W).
Class Method Summary collapse
-
.decode(decoder) ⇒ self
Decodes the struct.
Instance Method Summary collapse
-
#encode(encoder) ⇒ void
Encodes the struct.
Instance Attribute Details
#depth ⇒ Integer
Maximum number of packets per flow
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#flags ⇒ Integer
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#headdrop ⇒ Integer
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#limit ⇒ Integer
HARD maximal flow queue length in bytes
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#max_P ⇒ Integer
probability, high resolution
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#Plog ⇒ Integer
log(P_max / (qth-max - qth-min))
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#qth_max ⇒ Integer
Max average length threshold in bytes
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#qth_min ⇒ Integer
Min average length threshold in bytes
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#Scell_log ⇒ Integer
Cell size for idle damping
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#stats ⇒ Structs::TcSfqredStats
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#v0 ⇒ Structs::TcSfqQopt
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#Wlog ⇒ Integer
log(W)
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
Class Method Details
.decode(decoder) ⇒ self
Decodes the struct.
1124 1125 1126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1124 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
Instance Method Details
#encode(encoder) ⇒ void
This method returns an undefined value.
Encodes the struct.
1132 1133 1134 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1132 def encode(encoder) MEMBERS.each {|name, datatype| datatype.encode(encoder, self.public_send(name)) } end |