Class: Nl::Linux::Psp::AttributeSets::Assoc
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Psp::AttributeSets::Assoc
- Defined in:
- nl-linux/generated/nl/linux/psp.rb
Defined Under Namespace
Classes: Attribute, DevId, RxKey, SockFd, TxKey, Version
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#dev_id ⇒ Integer
PSP device ID.
- #rx_key ⇒ AttributeSets::Keys
-
#sock_fd ⇒ Integer
Sockets which should be bound to the association immediately.
- #tx_key ⇒ AttributeSets::Keys
-
#version ⇒ Integer
PSP versions (AEAD and protocol version) used by this association, dictates the size of the key.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
326 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 326 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
332 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 332 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#dev_id ⇒ Integer
PSP device ID.
297 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 297 def dev_id; self[:"dev_id"]&.value; end |
#rx_key ⇒ AttributeSets::Keys
310 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 310 def rx_key; self[:"rx_key"]&.value; end |
#sock_fd ⇒ Integer
Sockets which should be bound to the association immediately.
319 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 319 def sock_fd; self[:"sock_fd"]&.value; end |
#tx_key ⇒ AttributeSets::Keys
314 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 314 def tx_key; self[:"tx_key"]&.value; end |
#version ⇒ Integer
PSP versions (AEAD and protocol version) used by this association, dictates the size of the key.
Known enum values are defined in Enums::Version.
306 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 306 def version; self[:"version"]&.value; end |