Class: Nl::Linux::Tc::Structs::TcPeditSel
- Inherits:
-
Struct
- Object
- Struct
- Nl::Linux::Tc::Structs::TcPeditSel
- Defined in:
- nl-linux/generated/nl/linux/tc.rb,
nl-linux/generated/nl/linux/tc.rb
Instance Attribute Summary collapse
- #action ⇒ Integer
- #bindcnt ⇒ Integer
- #capab ⇒ Integer
- #flags ⇒ Integer
- #index ⇒ Integer
- #keys ⇒ Structs::TcPeditKey
- #nkeys ⇒ Integer
- #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
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#bindcnt ⇒ Integer
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#capab ⇒ Integer
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#flags ⇒ Integer
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#index ⇒ Integer
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#keys ⇒ Structs::TcPeditKey
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#nkeys ⇒ Integer
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
#refcnt ⇒ Integer
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
Class Method Details
.decode(decoder) ⇒ self
Decodes the struct.
2436 2437 2438 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2436 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.
2444 2445 2446 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 2444 def encode(encoder) MEMBERS.each {|name, datatype| datatype.encode(encoder, self.public_send(name)) } end |