Class: Nl::Linux::MptcpPm::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::MptcpPm::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/mptcp_pm.rb
Instance Method Summary collapse
-
#do_add_addr(**args) ⇒ Nl::Async::Future<void>
Add endpoint.
-
#do_announce(**args) ⇒ Nl::Async::Future<void>
Announce new address.
-
#do_del_addr(**args) ⇒ Nl::Async::Future<void>
Delete endpoint.
-
#do_flush_addrs(**args) ⇒ Nl::Async::Future<void>
Flush addresses.
-
#do_get_addr(**args) ⇒ Nl::Async::Future<Messages::DoGetAddrReply>
Get endpoint information.
-
#do_get_limits(**args) ⇒ Nl::Async::Future<Messages::DoGetLimitsReply>
Get protocol limits.
-
#do_remove(**args) ⇒ Nl::Async::Future<void>
Announce removal.
-
#do_set_flags(**args) ⇒ Nl::Async::Future<void>
Change endpoint flags.
-
#do_set_limits(**args) ⇒ Nl::Async::Future<void>
Set protocol limits.
-
#do_subflow_create(**args) ⇒ Nl::Async::Future<void>
Create subflow.
-
#do_subflow_destroy(**args) ⇒ Nl::Async::Future<void>
Destroy subflow.
-
#dump_get_addr(**args) ⇒ Nl::Async::Stream<Messages::DumpGetAddrReply>
Get endpoint information.
Instance Method Details
#do_add_addr(**args) ⇒ Nl::Async::Future<void>
Add endpoint
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1081 1082 1083 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1081 def do_add_addr(**args) @exchange.call(:"do", Messages::DoAddAddrRequest, nil, args) end |
#do_announce(**args) ⇒ Nl::Async::Future<void>
Announce new address
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1168 1169 1170 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1168 def do_announce(**args) @exchange.call(:"do", Messages::DoAnnounceRequest, nil, args) end |
#do_del_addr(**args) ⇒ Nl::Async::Future<void>
Delete endpoint
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1092 1093 1094 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1092 def do_del_addr(**args) @exchange.call(:"do", Messages::DoDelAddrRequest, nil, args) end |
#do_flush_addrs(**args) ⇒ Nl::Async::Future<void>
Flush addresses
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1121 1122 1123 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1121 def do_flush_addrs(**args) @exchange.call(:"do", Messages::DoFlushAddrsRequest, nil, args) end |
#do_get_addr(**args) ⇒ Nl::Async::Future<Messages::DoGetAddrReply>
Get endpoint information
1102 1103 1104 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1102 def do_get_addr(**args) @exchange.call(:"do", Messages::DoGetAddrRequest, Messages::DoGetAddrReply, args) end |
#do_get_limits(**args) ⇒ Nl::Async::Future<Messages::DoGetLimitsReply>
Get protocol limits
1143 1144 1145 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1143 def do_get_limits(**args) @exchange.call(:"do", Messages::DoGetLimitsRequest, Messages::DoGetLimitsReply, args) end |
#do_remove(**args) ⇒ Nl::Async::Future<void>
Announce removal
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1180 1181 1182 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1180 def do_remove(**args) @exchange.call(:"do", Messages::DoRemoveRequest, nil, args) end |
#do_set_flags(**args) ⇒ Nl::Async::Future<void>
Change endpoint flags
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1156 1157 1158 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1156 def do_set_flags(**args) @exchange.call(:"do", Messages::DoSetFlagsRequest, nil, args) end |
#do_set_limits(**args) ⇒ Nl::Async::Future<void>
Set protocol limits
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1133 1134 1135 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1133 def do_set_limits(**args) @exchange.call(:"do", Messages::DoSetLimitsRequest, nil, args) end |
#do_subflow_create(**args) ⇒ Nl::Async::Future<void>
Create subflow
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1193 1194 1195 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1193 def do_subflow_create(**args) @exchange.call(:"do", Messages::DoSubflowCreateRequest, nil, args) end |
#do_subflow_destroy(**args) ⇒ Nl::Async::Future<void>
Destroy subflow
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
1206 1207 1208 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1206 def do_subflow_destroy(**args) @exchange.call(:"do", Messages::DoSubflowDestroyRequest, nil, args) end |
#dump_get_addr(**args) ⇒ Nl::Async::Stream<Messages::DumpGetAddrReply>
Get endpoint information
1110 1111 1112 |
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 1110 def dump_get_addr(**args) @exchange.call(:"dump", Messages::DumpGetAddrRequest, Messages::DumpGetAddrReply, args) end |