Class: Nl::Linux::Fou
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Fou
- Defined in:
- nl-linux/generated/nl/linux/fou.rb
Overview
Foo-over-UDP.
Defined Under Namespace
Modules: AttributeSets, Enums, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"fou"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_add(**args) ⇒ void
Add port.
-
#do_del(**args) ⇒ void
Delete port.
-
#do_get(**args) ⇒ Messages::DoGetReply
Get tunnel info.
-
#dump_get(**args, &block) ⇒ Object
Get tunnel info.
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Fou .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/fou.rb', line 26 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
575 576 577 578 |
# File 'nl-linux/generated/nl/linux/fou.rb', line 575 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_add(**args) ⇒ void
This method returns an undefined value.
Add port.
Requires CAP_NET_ADMIN in the initial user namespace.
450 451 452 |
# File 'nl-linux/generated/nl/linux/fou.rb', line 450 def do_add(**args) (:"do", Messages::DoAddRequest, nil, args) end |
#do_del(**args) ⇒ void
This method returns an undefined value.
Delete port.
Requires CAP_NET_ADMIN in the initial user namespace.
468 469 470 |
# File 'nl-linux/generated/nl/linux/fou.rb', line 468 def do_del(**args) (:"do", Messages::DoDelRequest, nil, args) end |
#do_get(**args) ⇒ Messages::DoGetReply
Get tunnel info.
484 485 486 |
# File 'nl-linux/generated/nl/linux/fou.rb', line 484 def do_get(**args) (:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#dump_get(**args) ⇒ Array<Messages::DumpGetReply> #dump_get(**args) {|reply| ... } ⇒ void
Get tunnel info.
500 501 502 |
# File 'nl-linux/generated/nl/linux/fou.rb', line 500 def dump_get(**args, &block) (:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block) end |