Class: Nl::Linux::MptcpPm
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::MptcpPm
- Defined in:
- nl-linux/generated/nl/linux/mptcp_pm.rb
Overview
Multipath TCP.
Defined Under Namespace
Modules: AttributeSets, Enums, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"mptcp_pm"- 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_addr(**args) ⇒ void
Add endpoint.
-
#do_announce(**args) ⇒ void
Announce new address.
-
#do_del_addr(**args) ⇒ void
Delete endpoint.
-
#do_flush_addrs(**args) ⇒ void
Flush addresses.
-
#do_get_addr(**args) ⇒ Messages::DoGetAddrReply
Get endpoint information.
-
#do_get_limits(**args) ⇒ Messages::DoGetLimitsReply
Get protocol limits.
-
#do_remove(**args) ⇒ void
Announce removal.
-
#do_set_flags(**args) ⇒ void
Change endpoint flags.
-
#do_set_limits(**args) ⇒ void
Set protocol limits.
-
#do_subflow_create(**args) ⇒ void
Create subflow.
-
#do_subflow_destroy(**args) ⇒ void
Destroy subflow.
-
#dump_get_addr(**args, &block) ⇒ Object
Get endpoint information.
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ MptcpPm .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.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.
1214 1215 1216 1217 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1214 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_addr(**args) ⇒ void
This method returns an undefined value.
Add endpoint
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
932 933 934 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 932 def do_add_addr(**args) (:"do", Messages::DoAddAddrRequest, nil, args) end |
#do_announce(**args) ⇒ void
This method returns an undefined value.
Announce new address
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1027 1028 1029 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1027 def do_announce(**args) (:"do", Messages::DoAnnounceRequest, nil, args) end |
#do_del_addr(**args) ⇒ void
This method returns an undefined value.
Delete endpoint
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
943 944 945 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 943 def do_del_addr(**args) (:"do", Messages::DoDelAddrRequest, nil, args) end |
#do_flush_addrs(**args) ⇒ void
This method returns an undefined value.
Flush addresses
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
980 981 982 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 980 def do_flush_addrs(**args) (:"do", Messages::DoFlushAddrsRequest, nil, args) end |
#do_get_addr(**args) ⇒ Messages::DoGetAddrReply
Get endpoint information
953 954 955 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 953 def do_get_addr(**args) (:"do", Messages::DoGetAddrRequest, Messages::DoGetAddrReply, args) end |
#do_get_limits(**args) ⇒ Messages::DoGetLimitsReply
Get protocol limits
1002 1003 1004 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1002 def do_get_limits(**args) (:"do", Messages::DoGetLimitsRequest, Messages::DoGetLimitsReply, args) end |
#do_remove(**args) ⇒ void
This method returns an undefined value.
Announce removal
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1039 1040 1041 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1039 def do_remove(**args) (:"do", Messages::DoRemoveRequest, nil, args) end |
#do_set_flags(**args) ⇒ void
This method returns an undefined value.
Change endpoint flags
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1015 1016 1017 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1015 def do_set_flags(**args) (:"do", Messages::DoSetFlagsRequest, nil, args) end |
#do_set_limits(**args) ⇒ void
This method returns an undefined value.
Set protocol limits
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
992 993 994 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 992 def do_set_limits(**args) (:"do", Messages::DoSetLimitsRequest, nil, args) end |
#do_subflow_create(**args) ⇒ void
This method returns an undefined value.
Create subflow
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1052 1053 1054 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1052 def do_subflow_create(**args) (:"do", Messages::DoSubflowCreateRequest, nil, args) end |
#do_subflow_destroy(**args) ⇒ void
This method returns an undefined value.
Destroy subflow
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1065 1066 1067 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1065 def do_subflow_destroy(**args) (:"do", Messages::DoSubflowDestroyRequest, nil, args) end |
#dump_get_addr(**args) ⇒ Array<Messages::DumpGetAddrReply> #dump_get_addr(**args) {|reply| ... } ⇒ void
Get endpoint information
969 970 971 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 969 def dump_get_addr(**args, &block) (:"dump", Messages::DumpGetAddrRequest, Messages::DumpGetAddrReply, args, &block) end |