Class: Nl::Linux::Tc::Structs::TcHtbOpt
- Inherits:
-
Struct
- Object
- Struct
- Nl::Linux::Tc::Structs::TcHtbOpt
- Defined in:
- nl-linux/generated/nl/linux/tc.rb,
nl-linux/generated/nl/linux/tc.rb
Instance Attribute Summary collapse
- #buffer ⇒ Integer
- #cbuffer ⇒ Integer
- #ceil ⇒ Structs::TcRatespec
- #level ⇒ Integer
- #prio ⇒ Integer
- #quantum ⇒ Integer
- #rate ⇒ Structs::TcRatespec
Class Method Summary collapse
-
.decode(decoder) ⇒ self
Decodes the struct.
Instance Method Summary collapse
-
#encode(encoder) ⇒ void
Encodes the struct.
Instance Attribute Details
#buffer ⇒ Integer
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#cbuffer ⇒ Integer
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#ceil ⇒ Structs::TcRatespec
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#level ⇒ Integer
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#prio ⇒ Integer
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#quantum ⇒ Integer
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#rate ⇒ Structs::TcRatespec
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
Class Method Details
.decode(decoder) ⇒ self
Decodes the struct.
285 286 287 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 285 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.
293 294 295 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 293 def encode(encoder) MEMBERS.each {|name, datatype| datatype.encode(encoder, self.public_send(name)) } end |