Class: Nl::Linux::Psp::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::Psp::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/psp.rb
Instance Method Summary collapse
-
#do_dev_assoc(**args) ⇒ Nl::Async::Future<Messages::DoDevAssocReply>
Associate a network device with a PSP device.
-
#do_dev_disassoc(**args) ⇒ Nl::Async::Future<Messages::DoDevDisassocReply>
Disassociate a network device from a PSP device.
-
#do_dev_get(**args) ⇒ Nl::Async::Future<Messages::DoDevGetReply>
Get / dump information about PSP capable devices on the system.
-
#do_dev_set(**args) ⇒ Nl::Async::Future<Messages::DoDevSetReply>
Set the configuration of a PSP device.
-
#do_get_stats(**args) ⇒ Nl::Async::Future<Messages::DoGetStatsReply>
Get device statistics.
-
#do_key_rotate(**args) ⇒ Nl::Async::Future<Messages::DoKeyRotateReply>
Rotate the device key.
-
#do_rx_assoc(**args) ⇒ Nl::Async::Future<Messages::DoRxAssocReply>
Allocate a new Rx key + SPI pair, associate it with a socket.
-
#do_tx_assoc(**args) ⇒ Nl::Async::Future<Messages::DoTxAssocReply>
Add a PSP Tx association.
-
#dump_dev_get(**args) ⇒ Nl::Async::Stream<Messages::DumpDevGetReply>
Get / dump information about PSP capable devices on the system.
-
#dump_get_stats(**args) ⇒ Nl::Async::Stream<Messages::DumpGetStatsReply>
Get device statistics.
Instance Method Details
#do_dev_assoc(**args) ⇒ Nl::Async::Future<Messages::DoDevAssocReply>
Associate a network device with a PSP device.
Requires CAP_NET_ADMIN in the initial user namespace.
1508 1509 1510 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1508 def do_dev_assoc(**args) @exchange.call(:"do", Messages::DoDevAssocRequest, Messages::DoDevAssocReply, args) end |
#do_dev_disassoc(**args) ⇒ Nl::Async::Future<Messages::DoDevDisassocReply>
Disassociate a network device from a PSP device.
Requires CAP_NET_ADMIN in the initial user namespace.
1524 1525 1526 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1524 def do_dev_disassoc(**args) @exchange.call(:"do", Messages::DoDevDisassocRequest, Messages::DoDevDisassocReply, args) end |
#do_dev_get(**args) ⇒ Nl::Async::Future<Messages::DoDevGetReply>
Get / dump information about PSP capable devices on the system.
1411 1412 1413 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1411 def do_dev_get(**args) @exchange.call(:"do", Messages::DoDevGetRequest, Messages::DoDevGetReply, args) end |
#do_dev_set(**args) ⇒ Nl::Async::Future<Messages::DoDevSetReply>
Set the configuration of a PSP device.
Requires CAP_NET_ADMIN in the initial user namespace.
1433 1434 1435 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1433 def do_dev_set(**args) @exchange.call(:"do", Messages::DoDevSetRequest, Messages::DoDevSetReply, args) end |
#do_get_stats(**args) ⇒ Nl::Async::Future<Messages::DoGetStatsReply>
Get device statistics.
1484 1485 1486 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1484 def do_get_stats(**args) @exchange.call(:"do", Messages::DoGetStatsRequest, Messages::DoGetStatsReply, args) end |
#do_key_rotate(**args) ⇒ Nl::Async::Future<Messages::DoKeyRotateReply>
Rotate the device key.
Requires CAP_NET_ADMIN in the initial user namespace.
1444 1445 1446 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1444 def do_key_rotate(**args) @exchange.call(:"do", Messages::DoKeyRotateRequest, Messages::DoKeyRotateReply, args) end |
#do_rx_assoc(**args) ⇒ Nl::Async::Future<Messages::DoRxAssocReply>
Allocate a new Rx key + SPI pair, associate it with a socket.
1459 1460 1461 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1459 def do_rx_assoc(**args) @exchange.call(:"do", Messages::DoRxAssocRequest, Messages::DoRxAssocReply, args) end |
#do_tx_assoc(**args) ⇒ Nl::Async::Future<Messages::DoTxAssocReply>
Add a PSP Tx association.
1475 1476 1477 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1475 def do_tx_assoc(**args) @exchange.call(:"do", Messages::DoTxAssocRequest, Messages::DoTxAssocReply, args) end |
#dump_dev_get(**args) ⇒ Nl::Async::Stream<Messages::DumpDevGetReply>
Get / dump information about PSP capable devices on the system.
1419 1420 1421 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1419 def dump_dev_get(**args) @exchange.call(:"dump", Messages::DumpDevGetRequest, Messages::DumpDevGetReply, args) end |
#dump_get_stats(**args) ⇒ Nl::Async::Stream<Messages::DumpGetStatsReply>
Get device statistics.
1492 1493 1494 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1492 def dump_get_stats(**args) @exchange.call(:"dump", Messages::DumpGetStatsRequest, Messages::DumpGetStatsReply, args) end |