Class: Nl::Linux::Tc::Structs::TcPolice
- Inherits:
-
Struct
- Object
- Struct
- Nl::Linux::Tc::Structs::TcPolice
- Defined in:
- nl-linux/generated/nl/linux/tc.rb,
nl-linux/generated/nl/linux/tc.rb
Instance Attribute Summary collapse
- #action ⇒ Integer
- #bindcnt ⇒ Integer
- #burst ⇒ Integer
- #capab ⇒ Integer
- #index ⇒ Integer
- #limit ⇒ Integer
- #mtu ⇒ Integer
- #peakrate ⇒ Structs::TcRatespec
- #rate ⇒ Structs::TcRatespec
- #refcnt ⇒ Integer
Class Method Summary collapse
-
.decode(decoder) ⇒ self
Decodes the struct.
Instance Method Summary collapse
-
#encode(encoder) ⇒ void
Encodes the struct.
Instance Attribute Details
#action ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#bindcnt ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#burst ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#capab ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#index ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#limit ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#mtu ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#peakrate ⇒ Structs::TcRatespec
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#rate ⇒ Structs::TcRatespec
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#refcnt ⇒ Integer
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
Class Method Details
.decode(decoder) ⇒ self
Decodes the struct.
2392 2393 2394 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2392 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.
2400 2401 2402 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2400 def encode(encoder) MEMBERS.each {|name, datatype| datatype.encode(encoder, self.public_send(name)) } end |