Class: Nl::Linux::Fou::Messages::DoAddRequest
Overview
Add port.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary
collapse
- TYPE =
1
nil
- ATTRIBUTE_SET =
AttributeSets::Fou
- ATTRIBUTES =
Ractor.make_shareable(%i[port ipproto type remcsum_nopartial local_v4 local_v6 peer_v4 peer_v6 peer_port ifindex])
Instance Attribute Summary
#attributes, #fixed_header
Instance Method Summary
collapse
decode
#append_attribute, decode, #initialize
#encode, #initialize
Instance Method Details
#ifindex ⇒ Integer
245
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 245
def ifindex; attributes[:"ifindex"]&.value; end
|
#ipproto ⇒ Integer
213
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 213
def ipproto; attributes[:"ipproto"]&.value; end
|
#local_v4 ⇒ Integer
225
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 225
def local_v4; attributes[:"local_v4"]&.value; end
|
#local_v6 ⇒ String
229
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 229
def local_v6; attributes[:"local_v6"]&.value; end
|
#peer_port ⇒ Integer
241
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 241
def peer_port; attributes[:"peer_port"]&.value; end
|
#peer_v4 ⇒ Integer
233
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 233
def peer_v4; attributes[:"peer_v4"]&.value; end
|
#peer_v6 ⇒ String
237
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 237
def peer_v6; attributes[:"peer_v6"]&.value; end
|
#port ⇒ Integer
209
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 209
def port; attributes[:"port"]&.value; end
|
#remcsum_nopartial ⇒ Integer
221
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 221
def remcsum_nopartial; attributes[:"remcsum_nopartial"]&.value; end
|
#type ⇒ Integer
217
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 217
def type; attributes[:"type"]&.value; end
|